@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/index.js CHANGED
@@ -106878,6 +106878,7 @@ use([install$8, install$5, install$9, install$a, install$1, install$i, install])
106878
106878
  var BaseAreaChart = function BaseAreaChart(props) {
106879
106879
  var _seriesData$chartData, _seriesData$chartData6, _seriesData$metaData$, _seriesData$metaData;
106880
106880
  var title = props.title,
106881
+ gridOptions = props.gridOptions,
106881
106882
  gridContainLabel = props.gridContainLabel,
106882
106883
  seriesData = props.seriesData,
106883
106884
  tooltip = props.tooltip,
@@ -106963,9 +106964,9 @@ var BaseAreaChart = function BaseAreaChart(props) {
106963
106964
  title: {
106964
106965
  text: title
106965
106966
  },
106966
- grid: {
106967
+ grid: _objectSpread2({
106967
106968
  containLabel: gridContainLabel
106968
- },
106969
+ }, gridOptions),
106969
106970
  tooltip: _objectSpread2({}, tooltip),
106970
106971
  legend: {
106971
106972
  show: legendShow,
@@ -107003,8 +107004,8 @@ var BaseAreaChart = function BaseAreaChart(props) {
107003
107004
  };
107004
107005
  BaseAreaChart.propTypes = {
107005
107006
  title: propTypes$1.exports.string,
107007
+ gridOptions: propTypes$1.exports.object,
107006
107008
  gridContainLabel: propTypes$1.exports.bool,
107007
- // eslint-disable-next-line react/forbid-prop-types
107008
107009
  tooltip: propTypes$1.exports.object,
107009
107010
  legendShow: propTypes$1.exports.bool,
107010
107011
  xAxisShow: propTypes$1.exports.bool,
@@ -107015,7 +107016,6 @@ BaseAreaChart.propTypes = {
107015
107016
  yAxisLineShow: propTypes$1.exports.bool,
107016
107017
  yAxisTickShow: propTypes$1.exports.bool,
107017
107018
  cursor: propTypes$1.exports.string,
107018
- // eslint-disable-next-line react/forbid-prop-types
107019
107019
  seriesOption: propTypes$1.exports.arrayOf(propTypes$1.exports.object),
107020
107020
  lineStyleWidth: propTypes$1.exports.number,
107021
107021
  lineStyleType: propTypes$1.exports.oneOf(['dashed', 'solid', 'dotted']),
@@ -107027,6 +107027,12 @@ BaseAreaChart.propTypes = {
107027
107027
  };
107028
107028
  BaseAreaChart.defaultProps = {
107029
107029
  title: '',
107030
+ gridOptions: {
107031
+ left: 0,
107032
+ right: 0,
107033
+ bottom: 0,
107034
+ top: 0
107035
+ },
107030
107036
  gridContainLabel: false,
107031
107037
  tooltip: {},
107032
107038
  stacked: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@banyan_cloud/roots",
3
- "version": "1.0.65",
3
+ "version": "1.0.66",
4
4
  "description": "Design System Library which drives the Banyan Cloud products",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",