@hi-ui/table 4.9.0 → 4.9.1
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/CHANGELOG.md +9 -0
- package/lib/cjs/BaseTable.js +1 -1
- package/lib/esm/BaseTable.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @hi-ui/table
|
|
2
2
|
|
|
3
|
+
## 4.9.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3083](https://github.com/XiaoMi/hiui/pull/3083) [`28dfa39`](https://github.com/XiaoMi/hiui/commit/28dfa390a9870432b597cc01107f25090651e689) Thanks [@zyprepare](https://github.com/zyprepare)! - fix(table): 修复空状态下设置边框左边框不显示问题 (#3082)
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`a8a4a7ecf`](https://github.com/XiaoMi/hiui/commit/a8a4a7ecf9fe056a9a16d03641b297bb01b17970)]:
|
|
10
|
+
- @hi-ui/drawer@4.3.1
|
|
11
|
+
|
|
3
12
|
## 4.9.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
package/lib/cjs/BaseTable.js
CHANGED
|
@@ -265,7 +265,7 @@ var BaseTable = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
265
265
|
bottom: stickyFooterBottom
|
|
266
266
|
} : undefined
|
|
267
267
|
}, typeAssertion.isFunction(footerRender) ? footerRender( /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, extraFooter)) : extraFooter);
|
|
268
|
-
var cls = classname.cx(prefixCls, className, hasBorder && prefixCls + "--bordered", (hasScrollToLeft || hasLeftFixedColumns) && prefixCls + "--bordered-left-none", striped && prefixCls + "--striped", size && prefixCls + "--size-" + size, virtual && prefixCls + "--virtual");
|
|
268
|
+
var cls = classname.cx(prefixCls, className, hasBorder && prefixCls + "--bordered", (hasScrollToLeft || hasLeftFixedColumns) && data.length > 0 && prefixCls + "--bordered-left-none", striped && prefixCls + "--striped", size && prefixCls + "--size-" + size, virtual && prefixCls + "--virtual");
|
|
269
269
|
return /*#__PURE__*/React__default["default"].createElement("div", Object.assign({
|
|
270
270
|
ref: ref,
|
|
271
271
|
role: role,
|
package/lib/esm/BaseTable.js
CHANGED
|
@@ -252,7 +252,7 @@ var BaseTable = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
252
252
|
bottom: stickyFooterBottom
|
|
253
253
|
} : undefined
|
|
254
254
|
}, isFunction(footerRender) ? footerRender( /*#__PURE__*/React__default.createElement(React__default.Fragment, null, extraFooter)) : extraFooter);
|
|
255
|
-
var cls = cx(prefixCls, className, hasBorder && prefixCls + "--bordered", (hasScrollToLeft || hasLeftFixedColumns) && prefixCls + "--bordered-left-none", striped && prefixCls + "--striped", size && prefixCls + "--size-" + size, virtual && prefixCls + "--virtual");
|
|
255
|
+
var cls = cx(prefixCls, className, hasBorder && prefixCls + "--bordered", (hasScrollToLeft || hasLeftFixedColumns) && data.length > 0 && prefixCls + "--bordered-left-none", striped && prefixCls + "--striped", size && prefixCls + "--size-" + size, virtual && prefixCls + "--virtual");
|
|
256
256
|
return /*#__PURE__*/React__default.createElement("div", Object.assign({
|
|
257
257
|
ref: ref,
|
|
258
258
|
role: role,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hi-ui/table",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.1",
|
|
4
4
|
"description": "A sub-package for @hi-ui/hiui.",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "HiUI <mi-hiui@xiaomi.com>",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@hi-ui/checkbox": "^4.0.10",
|
|
49
49
|
"@hi-ui/classname": "^4.0.5",
|
|
50
50
|
"@hi-ui/dom-utils": "^4.0.7",
|
|
51
|
-
"@hi-ui/drawer": "^4.1
|
|
51
|
+
"@hi-ui/drawer": "^4.3.1",
|
|
52
52
|
"@hi-ui/empty-state": "^4.1.1",
|
|
53
53
|
"@hi-ui/env": "^4.0.7",
|
|
54
54
|
"@hi-ui/func-utils": "^4.0.4",
|