dlt-for-react 2.1.9 → 2.1.10

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 CHANGED
@@ -17,6 +17,7 @@ npm publish
17
17
  #### V2.1.9—2024 年 6 月 26 日
18
18
 
19
19
  1. KyTable组件高级搜索新增单个日期的开始|结束搜索条件
20
+ 2. 优化KyECharts组件的props传参style
20
21
 
21
22
  #### V2.1.7—2024 年 6 月 12 日
22
23
  1. 解决升级echarts5.0版本 部分api不兼容的问题
@@ -110,7 +110,7 @@ var KyECharts = function KyECharts(_ref) {
110
110
  props = (0, _objectWithoutProperties3.default)(_ref, ['style', 'className', 'notMerge', 'lazyUpdate']);
111
111
 
112
112
  return _react2.default.createElement(_core2.default, (0, _extends3.default)({
113
- style: { width: '100%', height: '100%' },
113
+ style: style,
114
114
  className: (0, _classnames2.default)('ky-echarts', className),
115
115
  echarts: echarts,
116
116
  notMerge: notMerge,
@@ -126,6 +126,7 @@ var KyECharts = function KyECharts(_ref) {
126
126
 
127
127
  KyECharts.defaultProps = {
128
128
  notMerge: true,
129
- lazyUpdate: true
129
+ lazyUpdate: true,
130
+ style: { width: '100%', height: '100%' }
130
131
  };
131
132
  exports.default = KyECharts;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dlt-for-react",
3
- "version": "2.1.9",
3
+ "version": "2.1.10",
4
4
  "description": "dlt for react",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {