Skip to content

Commit

Permalink
Merge pull request #1794 from VisActor/release/1.0.3
Browse files Browse the repository at this point in the history
[Auto release] release 1.0.3
  • Loading branch information
fangsmile authored May 24, 2024
2 parents 438a6ea + 375756f commit a5ccb8d
Show file tree
Hide file tree
Showing 17 changed files with 10,687 additions and 30 deletions.
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":"1.0.2","mainProject":"@visactor/vtable","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"1.0.3","mainProject":"@visactor/vtable","nextBump":"patch"}]
8 changes: 7 additions & 1 deletion docs/assets/guide/en/theme_and_style/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,13 @@ Contains the following configuration items:

### Maximum number of rows setting

- `lineamp`: Set the maximum number of rows of the unit, you can set number or'auto ', set it to'auto', it will be automatically calculated
- `lineClamp`: Set the maximum number of rows of the unit, you can set number or'auto ', set it to'auto', it will be automatically calculated

### Cell padding

- `padding`: defines the padding of the cell

The width and height of a cell consists of two parts: padding and content.

Through the above introduction, you have mastered the use of style in VTable, and then you can create a table with a personalized style according to your needs.

Expand Down
8 changes: 7 additions & 1 deletion docs/assets/guide/zh/theme_and_style/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,13 @@ style 提供了一系列的单元格配置式,简要介绍如下。

### 最大行数设置

- `lineamp`:设置单元的最大行数, 可设置 number 或者 'auto',设置为 'auto',则会自动计算
- `lineClamp`:设置单元的最大行数, 可设置 number 或者 'auto',设置为 'auto',则会自动计算

### 单元格内边距

- `padding`:定义单元格的内边距

单元格的宽高是包括了两部分,padding 内边距和内容

通过以上介绍,您已经掌握了 VTable 中样式 Style 的使用方法,接来就可以根据需求创建具有个性化风格的表格。

Expand Down
2 changes: 1 addition & 1 deletion packages/openinula-vtable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/openinula-vtable",
"version": "1.0.2",
"version": "1.0.3",
"description": "The openinula version of VTable",
"keywords": [
"openinula",
Expand Down
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": "1.0.2",
"version": "1.0.3",
"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": "1.0.2",
"version": "1.0.3",
"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": "1.0.2",
"version": "1.0.3",
"description": "The export util of VTable",
"author": {
"name": "VisActor",
Expand Down
2 changes: 1 addition & 1 deletion packages/vtable-search/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vtable-search",
"version": "1.0.2",
"version": "1.0.3",
"description": "The search util of VTable",
"author": {
"name": "VisActor",
Expand Down
15 changes: 15 additions & 0 deletions packages/vtable/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
{
"name": "@visactor/vtable",
"entries": [
{
"version": "1.0.3",
"tag": "@visactor/vtable_v1.0.3",
"date": "Fri, 24 May 2024 10:31:16 GMT",
"comments": {
"none": [
{
"comment": "refactor: legends support ser array form #1740\n\n"
},
{
"comment": "fix: first col tree mode compute col width error #1778\n\n"
}
]
}
},
{
"version": "1.0.2",
"tag": "@visactor/vtable_v1.0.2",
Expand Down
14 changes: 13 additions & 1 deletion packages/vtable/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# Change Log - @visactor/vtable

This log was last generated on Fri, 24 May 2024 10:08:07 GMT and should not be manually modified.
This log was last generated on Fri, 24 May 2024 10:31:16 GMT and should not be manually modified.

## 1.0.3
Fri, 24 May 2024 10:31:16 GMT

### Updates

- refactor: legends support ser array form #1740


- fix: first col tree mode compute col width error #1778



## 1.0.2
Fri, 24 May 2024 10:08:07 GMT
Expand Down
4 changes: 4 additions & 0 deletions packages/vtable/examples/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,10 @@ export const menus = [
path: 'pivot-chart',
name: 'pivotChart-legend'
},
{
path: 'pivot-chart',
name: 'pivotChart-two-legends'
},
{
path: 'pivot-chart',
name: 'pivotChart-hideHeader'
Expand Down
Loading

0 comments on commit a5ccb8d

Please sign in to comment.