@banyan_cloud/roots 1.0.65 → 1.0.66

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/dist/cjs/index.js CHANGED
@@ -106900,6 +106900,7 @@ use([install$8, install$5, install$9, install$a, install$1, install$i, install])
106900
106900
  var BaseAreaChart = function BaseAreaChart(props) {
106901
106901
  var _seriesData$chartData, _seriesData$chartData6, _seriesData$metaData$, _seriesData$metaData;
106902
106902
  var title = props.title,
106903
+ gridOptions = props.gridOptions,
106903
106904
  gridContainLabel = props.gridContainLabel,
106904
106905
  seriesData = props.seriesData,
106905
106906
  tooltip = props.tooltip,
@@ -106985,9 +106986,9 @@ var BaseAreaChart = function BaseAreaChart(props) {
106985
106986
  title: {
106986
106987
  text: title
106987
106988
  },
106988
- grid: {
106989
+ grid: _objectSpread2({
106989
106990
  containLabel: gridContainLabel
106990
- },
106991
+ }, gridOptions),
106991
106992
  tooltip: _objectSpread2({}, tooltip),
106992
106993
  legend: {
106993
106994
  show: legendShow,
@@ -107025,8 +107026,8 @@ var BaseAreaChart = function BaseAreaChart(props) {
107025
107026
  };
107026
107027
  BaseAreaChart.propTypes = {
107027
107028
  title: propTypes$1.exports.string,
107029
+ gridOptions: propTypes$1.exports.object,
107028
107030
  gridContainLabel: propTypes$1.exports.bool,
107029
- // eslint-disable-next-line react/forbid-prop-types
107030
107031
  tooltip: propTypes$1.exports.object,
107031
107032
  legendShow: propTypes$1.exports.bool,
107032
107033
  xAxisShow: propTypes$1.exports.bool,
@@ -107037,7 +107038,6 @@ BaseAreaChart.propTypes = {
107037
107038
  yAxisLineShow: propTypes$1.exports.bool,
107038
107039
  yAxisTickShow: propTypes$1.exports.bool,
107039
107040
  cursor: propTypes$1.exports.string,
107040
- // eslint-disable-next-line react/forbid-prop-types
107041
107041
  seriesOption: propTypes$1.exports.arrayOf(propTypes$1.exports.object),
107042
107042
  lineStyleWidth: propTypes$1.exports.number,
107043
107043
  lineStyleType: propTypes$1.exports.oneOf(['dashed', 'solid', 'dotted']),
@@ -107049,6 +107049,12 @@ BaseAreaChart.propTypes = {
107049
107049
  };
107050
107050
  BaseAreaChart.defaultProps = {
107051
107051
  title: '',
107052
+ gridOptions: {
107053
+ left: 0,
107054
+ right: 0,
107055
+ bottom: 0,
107056
+ top: 0
107057
+ },
107052
107058
  gridContainLabel: false,
107053
107059
  tooltip: {},
107054
107060
  stacked: false,