@hi-ui/table 4.0.0-alpha.29 → 4.0.0-alpha.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -14
- package/package.json +21 -21
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
| expandedRender | 表格展开项 | (record: dataItem, index: number) => ReactNode \| Promise | - | - |
|
|
28
28
|
| rowExpandable | 设置是否允许行展开 | (record: dataItem ) => ReactNode \| Boolean | - | true |
|
|
29
29
|
| onExpand | 表格展开时的回调函数 | (expanded, row: object) => void | - | - |
|
|
30
|
-
|
|
|
30
|
+
| expandedRowKeys | 内嵌式表格以及树形表格展开的行 | number[] | - | - |
|
|
31
31
|
| maxHeight | 表格最大高度,当穿过该高度时,展示滚动条且表头固定 | number | - | - |
|
|
32
32
|
| fixedToColumn | 表格列冻结设置,为 string 时仅支持从左侧冻结至某一列 | string \| FixedOption | columns 中对应的 dataKey | null |
|
|
33
33
|
| size | 配置表格尺寸 | string | 'large' \| 'default' \| 'small' \| 'mini' | 'default' |
|
|
@@ -151,16 +151,14 @@
|
|
|
151
151
|
|
|
152
152
|
## CHANGELOG
|
|
153
153
|
|
|
154
|
-
| 参数 | 变更类型 | 变更内容
|
|
155
|
-
| -------------------- | ---------- |
|
|
156
|
-
| selectFilters | deprecated | 取消内嵌 Select
|
|
157
|
-
| onLoadChildren | feature | 必须返回数据 -> 返回 undefined 不做任何处理
|
|
158
|
-
|
|
|
159
|
-
| onEmbedExpand | feature | 字段:onExpand -> onEmbedExpand
|
|
160
|
-
| stickyFooter | feature | boolean
|
|
161
|
-
|
|
|
162
|
-
|
|
|
163
|
-
|
|
|
164
|
-
|
|
|
165
|
-
| onFixedToColumn | feature | 1. 定义:冻结列回调;2. 类型:对象 | 强化功能持久化 |
|
|
166
|
-
| showRowHighlight | feature | - | 强化功能持久化 |
|
|
154
|
+
| 参数 | 变更类型 | 变更内容 | 解决的问题 |
|
|
155
|
+
| -------------------- | ---------- | ------------------------------------------- | ------------------------------------------- |
|
|
156
|
+
| selectFilters | deprecated | 取消内嵌 Select | - | 使用 filterDropdown 能替代满足场景 |
|
|
157
|
+
| onLoadChildren | feature | 必须返回数据 -> 返回 undefined 不做任何处理 | - | 强化功能:支持自定义控制更新 |
|
|
158
|
+
| expandedEmbedRowKeys | feature | - | 字段:expandRowKeys -> expandedEmbedRowKeys | 强化功能:支持内嵌面板独立控制 |
|
|
159
|
+
| onEmbedExpand | feature | 字段:onExpand -> onEmbedExpand | 强化功能:支持内嵌面板独立控制 |
|
|
160
|
+
| stickyFooter | feature | boolean | 强化功能:支持底部吸底 |
|
|
161
|
+
| defaultFixedToColumn | feature | 1. 定义:非受控;2. 类型:对象 | 强化功能持久化 |
|
|
162
|
+
| fixedToColumn | feature | 1. 定义:受控;2. 类型:对象 | 强化功能持久化 |
|
|
163
|
+
| onFixedToColumn | feature | 1. 定义:冻结列回调;2. 类型:对象 | 强化功能持久化 |
|
|
164
|
+
| showRowHighlight | feature | - | 强化功能持久化 |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hi-ui/table",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.32",
|
|
4
4
|
"description": "A sub-package for @hi-ui/hiui.",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "HIUI <mi-hiui@xiaomi.com>",
|
|
@@ -43,32 +43,32 @@
|
|
|
43
43
|
"url": "https://github.com/XiaoMi/hiui/issues"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@hi-ui/button": "^4.0.0-alpha.
|
|
47
|
-
"@hi-ui/checkbox": "^4.0.0-alpha.
|
|
46
|
+
"@hi-ui/button": "^4.0.0-alpha.25",
|
|
47
|
+
"@hi-ui/checkbox": "^4.0.0-alpha.32",
|
|
48
48
|
"@hi-ui/classname": "^4.0.0-alpha.3",
|
|
49
|
-
"@hi-ui/core-css": "^4.0.0-alpha.
|
|
49
|
+
"@hi-ui/core-css": "^4.0.0-alpha.14",
|
|
50
50
|
"@hi-ui/dom-utils": "^4.0.0-alpha.7",
|
|
51
|
-
"@hi-ui/drawer": "^4.0.0-alpha.
|
|
52
|
-
"@hi-ui/empty-state": "^4.0.0-alpha.
|
|
51
|
+
"@hi-ui/drawer": "^4.0.0-alpha.26",
|
|
52
|
+
"@hi-ui/empty-state": "^4.0.0-alpha.20",
|
|
53
53
|
"@hi-ui/env": "^4.0.0-alpha.6",
|
|
54
|
-
"@hi-ui/icon-button": "^4.0.0-alpha.
|
|
55
|
-
"@hi-ui/icons": "^4.0.0-alpha.
|
|
56
|
-
"@hi-ui/loading": "^4.0.0-alpha.
|
|
57
|
-
"@hi-ui/locale-context": "^4.0.0-alpha.
|
|
58
|
-
"@hi-ui/pagination": "^4.0.0-alpha.
|
|
59
|
-
"@hi-ui/popper": "^4.0.0-alpha.
|
|
60
|
-
"@hi-ui/react-utils": "^4.0.0-alpha.
|
|
61
|
-
"@hi-ui/select": "^4.0.0-alpha.
|
|
62
|
-
"@hi-ui/spinner": "^4.0.0-alpha.
|
|
54
|
+
"@hi-ui/icon-button": "^4.0.0-alpha.17",
|
|
55
|
+
"@hi-ui/icons": "^4.0.0-alpha.29",
|
|
56
|
+
"@hi-ui/loading": "^4.0.0-alpha.24",
|
|
57
|
+
"@hi-ui/locale-context": "^4.0.0-alpha.19",
|
|
58
|
+
"@hi-ui/pagination": "^4.0.0-alpha.36",
|
|
59
|
+
"@hi-ui/popper": "^4.0.0-alpha.25",
|
|
60
|
+
"@hi-ui/react-utils": "^4.0.0-alpha.8",
|
|
61
|
+
"@hi-ui/select": "^4.0.0-alpha.35",
|
|
62
|
+
"@hi-ui/spinner": "^4.0.0-alpha.3",
|
|
63
63
|
"@hi-ui/times": "^4.0.0-alpha.4",
|
|
64
|
-
"@hi-ui/tree-utils": "^4.0.0-alpha.
|
|
65
|
-
"@hi-ui/type-assertion": "^4.0.0-alpha.
|
|
64
|
+
"@hi-ui/tree-utils": "^4.0.0-alpha.13",
|
|
65
|
+
"@hi-ui/type-assertion": "^4.0.0-alpha.14",
|
|
66
66
|
"@hi-ui/use-cache": "^4.0.0-alpha.3",
|
|
67
|
-
"@hi-ui/use-check": "^4.0.0-alpha.
|
|
67
|
+
"@hi-ui/use-check": "^4.0.0-alpha.21",
|
|
68
68
|
"@hi-ui/use-check-state": "^4.0.0-alpha.1",
|
|
69
69
|
"@hi-ui/use-latest": "^4.0.0-alpha.5",
|
|
70
|
-
"@hi-ui/use-toggle": "^4.0.0-alpha.
|
|
71
|
-
"@hi-ui/use-uncontrolled-state": "^4.0.0-alpha.
|
|
70
|
+
"@hi-ui/use-toggle": "^4.0.0-alpha.12",
|
|
71
|
+
"@hi-ui/use-uncontrolled-state": "^4.0.0-alpha.14",
|
|
72
72
|
"@hi-ui/use-update-effect": "^4.0.0-alpha.3",
|
|
73
73
|
"axios": "^0.24.0",
|
|
74
74
|
"react-resizable": "^3.0.4"
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"react": "^17.0.1",
|
|
84
84
|
"react-dom": "^17.0.1"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "420774ce836a4ead70f844c6f815b3cda0a0c7d4"
|
|
87
87
|
}
|