@hi-ui/table 4.4.1 → 4.4.2-alpha.0

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @hi-ui/table
2
2
 
3
+ ## 4.4.2-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 459c7940c: fix: 修复双表格结构下,无法设置空状态内容问题
8
+
3
9
  ## 4.4.1
4
10
 
5
11
  ### Patch Changes
@@ -154,7 +154,9 @@ var TableBody = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
154
154
  style: {
155
155
  width: canScroll && scrollWidth !== undefined ? scrollWidth : '100%'
156
156
  }
157
- }, /*#__PURE__*/React__default["default"].createElement(ColGroupContent.ColGroupContent, null), /*#__PURE__*/React__default["default"].createElement(TbodyContent.TbodyContent, null));
157
+ }, /*#__PURE__*/React__default["default"].createElement(ColGroupContent.ColGroupContent, null), /*#__PURE__*/React__default["default"].createElement(TbodyContent.TbodyContent, {
158
+ emptyContent: emptyContent
159
+ }));
158
160
  var scrollBodyProps = {
159
161
  ref: scrollBodyElementRef,
160
162
  className: cls,
@@ -141,7 +141,9 @@ var TableBody = /*#__PURE__*/forwardRef(function (_ref, ref) {
141
141
  style: {
142
142
  width: canScroll && scrollWidth !== undefined ? scrollWidth : '100%'
143
143
  }
144
- }, /*#__PURE__*/React__default.createElement(ColGroupContent, null), /*#__PURE__*/React__default.createElement(TbodyContent, null));
144
+ }, /*#__PURE__*/React__default.createElement(ColGroupContent, null), /*#__PURE__*/React__default.createElement(TbodyContent, {
145
+ emptyContent: emptyContent
146
+ }));
145
147
  var scrollBodyProps = {
146
148
  ref: scrollBodyElementRef,
147
149
  className: cls,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hi-ui/table",
3
- "version": "4.4.1",
3
+ "version": "4.4.2-alpha.0",
4
4
  "description": "A sub-package for @hi-ui/hiui.",
5
5
  "keywords": [],
6
6
  "author": "HiUI <mi-hiui@xiaomi.com>",