@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/esm/index.js CHANGED
@@ -106880,6 +106880,7 @@ use([install$8, install$5, install$9, install$a, install$1, install$i, install])
106880
106880
  var BaseAreaChart = function BaseAreaChart(props) {
106881
106881
  var _seriesData$chartData, _seriesData$chartData6, _seriesData$metaData$, _seriesData$metaData;
106882
106882
  var title = props.title,
106883
+ gridOptions = props.gridOptions,
106883
106884
  gridContainLabel = props.gridContainLabel,
106884
106885
  seriesData = props.seriesData,
106885
106886
  tooltip = props.tooltip,
@@ -106965,9 +106966,9 @@ var BaseAreaChart = function BaseAreaChart(props) {
106965
106966
  title: {
106966
106967
  text: title
106967
106968
  },
106968
- grid: {
106969
+ grid: _objectSpread2({
106969
106970
  containLabel: gridContainLabel
106970
- },
106971
+ }, gridOptions),
106971
106972
  tooltip: _objectSpread2({}, tooltip),
106972
106973
  legend: {
106973
106974
  show: legendShow,
@@ -107005,8 +107006,8 @@ var BaseAreaChart = function BaseAreaChart(props) {
107005
107006
  };
107006
107007
  BaseAreaChart.propTypes = {
107007
107008
  title: propTypes$1.exports.string,
107009
+ gridOptions: propTypes$1.exports.object,
107008
107010
  gridContainLabel: propTypes$1.exports.bool,
107009
- // eslint-disable-next-line react/forbid-prop-types
107010
107011
  tooltip: propTypes$1.exports.object,
107011
107012
  legendShow: propTypes$1.exports.bool,
107012
107013
  xAxisShow: propTypes$1.exports.bool,
@@ -107017,7 +107018,6 @@ BaseAreaChart.propTypes = {
107017
107018
  yAxisLineShow: propTypes$1.exports.bool,
107018
107019
  yAxisTickShow: propTypes$1.exports.bool,
107019
107020
  cursor: propTypes$1.exports.string,
107020
- // eslint-disable-next-line react/forbid-prop-types
107021
107021
  seriesOption: propTypes$1.exports.arrayOf(propTypes$1.exports.object),
107022
107022
  lineStyleWidth: propTypes$1.exports.number,
107023
107023
  lineStyleType: propTypes$1.exports.oneOf(['dashed', 'solid', 'dotted']),
@@ -107029,6 +107029,12 @@ BaseAreaChart.propTypes = {
107029
107029
  };
107030
107030
  BaseAreaChart.defaultProps = {
107031
107031
  title: '',
107032
+ gridOptions: {
107033
+ left: 0,
107034
+ right: 0,
107035
+ bottom: 0,
107036
+ top: 0
107037
+ },
107032
107038
  gridContainLabel: false,
107033
107039
  tooltip: {},
107034
107040
  stacked: false,