@vtx/modals2 5.0.17 → 5.0.18

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.
@@ -35,7 +35,9 @@ var BarCharts = function BarCharts(_ref) {
35
35
  _ref$otherProps = _ref.otherProps,
36
36
  otherProps = _ref$otherProps === void 0 ? {} : _ref$otherProps,
37
37
  _ref$tooltipProps = _ref.tooltipProps,
38
- tooltipProps = _ref$tooltipProps === void 0 ? {} : _ref$tooltipProps;
38
+ tooltipProps = _ref$tooltipProps === void 0 ? {} : _ref$tooltipProps,
39
+ _ref$barBorderRadius = _ref.barBorderRadius,
40
+ barBorderRadius = _ref$barBorderRadius === void 0 ? [0, 0, 0, 0] : _ref$barBorderRadius;
39
41
  var lineColors = ['#1FB64D'];
40
42
  var _useSettings = useSettings(),
41
43
  chartFontColor = _useSettings.chartFontColor,
@@ -143,7 +145,8 @@ var BarCharts = function BarCharts(_ref) {
143
145
  }, {
144
146
  offset: 0,
145
147
  color: colors[1]
146
- }])
148
+ }]),
149
+ borderRadius: barBorderRadius || [0, 0, 0, 0]
147
150
  }
148
151
  };
149
152
  })), _toConsumableArray(lineList.map(function (item, index) {
@@ -14,7 +14,7 @@
14
14
  }
15
15
  }
16
16
  &-text {
17
- max-height: 274px;
17
+ max-height: 300px;
18
18
  overflow-y: auto;
19
19
  overflow-x: hidden;
20
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtx/modals2",
3
- "version": "5.0.17",
3
+ "version": "5.0.18",
4
4
  "description": "弹窗组件",
5
5
  "license": "MIT",
6
6
  "module": "lib/index.js",