@carbon/charts-react 1.7.6 → 1.8.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,19 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.8.0](https://github.com/carbon-design-system/carbon-charts/compare/v1.7.6...v1.8.0) (2023-06-03)
7
+
8
+ ### Features
9
+
10
+ - **core:** Add choropleth chart
11
+ ([#1487](https://github.com/carbon-design-system/carbon-charts/issues/1487))
12
+ ([62caeb1](https://github.com/carbon-design-system/carbon-charts/commit/62caeb1fd6fab9e2a39d85b024f2d9b97f8bd1fa))
13
+
14
+ # Change Log
15
+
16
+ All notable changes to this project will be documented in this file. See
17
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
18
+
6
19
  ## [1.7.6](https://github.com/carbon-design-system/carbon-charts/compare/v1.7.5...v1.7.6) (2023-05-01)
7
20
 
8
21
  **Note:** Version bump only for package @carbon/charts-react
package/bundle.js CHANGED
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("react"),require("@carbon/charts")):"function"==typeof define&&define.amd?define(["exports","react","@carbon/charts"],e):e((t=t||self).ChartsReact={},t.React,t.Charts)}(this,(function(t,e,r){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e,r=r&&r.hasOwnProperty("default")?r.default:r;var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function a(t,e){return t(e={exports:{}},e.exports),e.exports}var i=a((function(t,r){var n,a=o&&o.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0});var u=function(t){function e(e){var r=t.call(this,e)||this,o=e.options,n=e.data;return o||console.error("Missing options!"),n||console.error("Missing data!"),r.data=e.data||[],r.options=e.options||{},Object.assign(r,r.chart),r}return a(e,t),e.prototype.shouldComponentUpdate=function(t){return this.props.data!==t.data||this.props.options!==t.options},e.prototype.componentDidUpdate=function(){this.chart.model.setData(this.props.data),this.chart.model.setOptions(this.props.options)},e}(i(e).default.Component);r.default=u}));n(i);var u=a((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.hasChartBeenInitialized=void 0;e.hasChartBeenInitialized=function(t){return!!t.querySelector("div.cds--cc--chart-wrapper")}}));n(u);u.hasChartBeenInitialized;var c=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.AreaChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(c);var p=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.StackedAreaChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(p);var f=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.GroupedBarChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(f);var s=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.SimpleBarChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(s);var l=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.StackedBarChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(l);var h=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.BoxplotChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(h);var d=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.BubbleChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(d);var _=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.BulletChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(_);var y=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.DonutChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(y);var v=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.GaugeChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(v);var C=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.HistogramChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(C);var O=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.LineChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(O);var m=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.LollipopChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(m);var b=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.PieChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(b);var j=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.ScatterChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(j);var P=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.MeterChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(P);var M=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.RadarChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(M);var w=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.ComboChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(w);var R=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.TreeChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(R);var B=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.TreemapChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(B);var D=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.CirclePackChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(D);var A=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.WordCloudChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(A);var x=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.AlluvialChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(x);var z=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.HeatmapChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(z);var I=a((function(t,e){var r=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.HeatmapChart=e.AlluvialChart=e.WordCloudChart=e.CirclePackChart=e.TreemapChart=e.TreeChart=e.ComboChart=e.RadarChart=e.MeterChart=e.ScatterChart=e.PieChart=e.LollipopChart=e.LineChart=e.HistogramChart=e.GaugeChart=e.DonutChart=e.BulletChart=e.BubbleChart=e.BoxplotChart=e.StackedBarChart=e.SimpleBarChart=e.GroupedBarChart=e.StackedAreaChart=e.AreaChart=void 0;var n=r(c);e.AreaChart=n.default;var a=r(p);e.StackedAreaChart=a.default;var i=r(f);e.GroupedBarChart=i.default;var u=r(s);e.SimpleBarChart=u.default;var I=r(l);e.StackedBarChart=I.default;var E=r(h);e.BoxplotChart=E.default;var N=r(d);e.BubbleChart=N.default;var S=r(_);e.BulletChart=S.default;var g=r(y);e.DonutChart=g.default;var k=r(v);e.GaugeChart=k.default;var T=r(C);e.HistogramChart=T.default;var G=r(O);e.LineChart=G.default;var H=r(m);e.LollipopChart=H.default;var L=r(b);e.PieChart=L.default;var W=r(j);e.ScatterChart=W.default;var q=r(P);e.MeterChart=q.default;var U=r(M);e.RadarChart=U.default;var F=r(w);e.ComboChart=F.default;var J=r(R);e.TreeChart=J.default;var K=r(B);e.TreemapChart=K.default;var Q=r(D);e.CirclePackChart=Q.default;var V=r(A);e.WordCloudChart=V.default;var X=r(x);e.AlluvialChart=X.default;var Y=r(z);e.HeatmapChart=Y.default})),E=n(I),N=I.HeatmapChart,S=I.AlluvialChart,g=I.WordCloudChart,k=I.CirclePackChart,T=I.TreemapChart,G=I.TreeChart,H=I.ComboChart,L=I.RadarChart,W=I.MeterChart,q=I.ScatterChart,U=I.PieChart,F=I.LollipopChart,J=I.LineChart,K=I.HistogramChart,Q=I.GaugeChart,V=I.DonutChart,X=I.BulletChart,Y=I.BubbleChart,Z=I.BoxplotChart,$=I.StackedBarChart,tt=I.SimpleBarChart,et=I.GroupedBarChart,rt=I.StackedAreaChart,ot=I.AreaChart;t.AlluvialChart=S,t.AreaChart=ot,t.BoxplotChart=Z,t.BubbleChart=Y,t.BulletChart=X,t.CirclePackChart=k,t.ComboChart=H,t.DonutChart=V,t.GaugeChart=Q,t.GroupedBarChart=et,t.HeatmapChart=N,t.HistogramChart=K,t.LineChart=J,t.LollipopChart=F,t.MeterChart=W,t.PieChart=U,t.RadarChart=L,t.ScatterChart=q,t.SimpleBarChart=tt,t.StackedAreaChart=rt,t.StackedBarChart=$,t.TreeChart=G,t.TreemapChart=T,t.WordCloudChart=g,t.default=E,Object.defineProperty(t,"__esModule",{value:!0})}));
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("react"),require("@carbon/charts")):"function"==typeof define&&define.amd?define(["exports","react","@carbon/charts"],e):e((t=t||self).ChartsReact={},t.React,t.Charts)}(this,(function(t,e,r){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e,r=r&&r.hasOwnProperty("default")?r.default:r;var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function a(t,e){return t(e={exports:{}},e.exports),e.exports}var i=a((function(t,r){var n,a=o&&o.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0});var u=function(t){function e(e){var r=t.call(this,e)||this,o=e.options,n=e.data;return o||console.error("Missing options!"),n||console.error("Missing data!"),r.data=e.data||[],r.options=e.options||{},Object.assign(r,r.chart),r}return a(e,t),e.prototype.shouldComponentUpdate=function(t){return this.props.data!==t.data||this.props.options!==t.options},e.prototype.componentDidUpdate=function(){this.chart.model.setData(this.props.data),this.chart.model.setOptions(this.props.options)},e}(i(e).default.Component);r.default=u}));n(i);var u=a((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.hasChartBeenInitialized=void 0;e.hasChartBeenInitialized=function(t){return!!t.querySelector("div.cds--cc--chart-wrapper")}}));n(u);u.hasChartBeenInitialized;var c=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.AreaChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(c);var p=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.StackedAreaChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(p);var f=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.GroupedBarChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(f);var s=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.SimpleBarChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(s);var l=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.StackedBarChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(l);var h=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.BoxplotChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(h);var d=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.BubbleChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(d);var _=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.BulletChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(_);var y=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.DonutChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(y);var v=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.GaugeChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(v);var C=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.HistogramChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(C);var O=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.LineChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(O);var m=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.LollipopChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(m);var b=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.PieChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(b);var j=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.ScatterChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(j);var P=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.MeterChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(P);var M=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.RadarChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(M);var R=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.ComboChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(R);var w=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.TreeChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(w);var D=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.TreemapChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(D);var B=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.CirclePackChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(B);var A=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.WordCloudChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(A);var E=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.AlluvialChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(E);var x=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.HeatmapChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(x);var I=a((function(t,n){var a,c=o&&o.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});var f=p(e),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.componentDidMount=function(){!1===u.hasChartBeenInitialized(this.chartRef)&&(this.chart=new r.EXPERIMENTAL_ChoroplethChart(this.chartRef,{data:this.props.data,options:this.props.options}))},e.prototype.render=function(){var t=this;return f.default.createElement("div",{ref:function(e){return t.chartRef=e},className:"chart-holder"})},e}(p(i).default);n.default=s}));n(I);var N=a((function(t,e){var r=o&&o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.EXPERIMENTAL_ChoroplethChart=e.HeatmapChart=e.AlluvialChart=e.WordCloudChart=e.CirclePackChart=e.TreemapChart=e.TreeChart=e.ComboChart=e.RadarChart=e.MeterChart=e.ScatterChart=e.PieChart=e.LollipopChart=e.LineChart=e.HistogramChart=e.GaugeChart=e.DonutChart=e.BulletChart=e.BubbleChart=e.BoxplotChart=e.StackedBarChart=e.SimpleBarChart=e.GroupedBarChart=e.StackedAreaChart=e.AreaChart=void 0;var n=r(c);e.AreaChart=n.default;var a=r(p);e.StackedAreaChart=a.default;var i=r(f);e.GroupedBarChart=i.default;var u=r(s);e.SimpleBarChart=u.default;var N=r(l);e.StackedBarChart=N.default;var z=r(h);e.BoxplotChart=z.default;var S=r(d);e.BubbleChart=S.default;var g=r(_);e.BulletChart=g.default;var T=r(y);e.DonutChart=T.default;var k=r(v);e.GaugeChart=k.default;var L=r(C);e.HistogramChart=L.default;var G=r(O);e.LineChart=G.default;var H=r(m);e.LollipopChart=H.default;var W=r(b);e.PieChart=W.default;var X=r(j);e.ScatterChart=X.default;var q=r(P);e.MeterChart=q.default;var U=r(M);e.RadarChart=U.default;var F=r(R);e.ComboChart=F.default;var J=r(w);e.TreeChart=J.default;var K=r(D);e.TreemapChart=K.default;var Q=r(B);e.CirclePackChart=Q.default;var V=r(A);e.WordCloudChart=V.default;var Y=r(E);e.AlluvialChart=Y.default;var Z=r(x);e.HeatmapChart=Z.default;var $=r(I);e.EXPERIMENTAL_ChoroplethChart=$.default})),z=n(N),S=N.EXPERIMENTAL_ChoroplethChart,g=N.HeatmapChart,T=N.AlluvialChart,k=N.WordCloudChart,L=N.CirclePackChart,G=N.TreemapChart,H=N.TreeChart,W=N.ComboChart,X=N.RadarChart,q=N.MeterChart,U=N.ScatterChart,F=N.PieChart,J=N.LollipopChart,K=N.LineChart,Q=N.HistogramChart,V=N.GaugeChart,Y=N.DonutChart,Z=N.BulletChart,$=N.BubbleChart,tt=N.BoxplotChart,et=N.StackedBarChart,rt=N.SimpleBarChart,ot=N.GroupedBarChart,nt=N.StackedAreaChart,at=N.AreaChart;t.AlluvialChart=T,t.AreaChart=at,t.BoxplotChart=tt,t.BubbleChart=$,t.BulletChart=Z,t.CirclePackChart=L,t.ComboChart=W,t.DonutChart=Y,t.EXPERIMENTAL_ChoroplethChart=S,t.GaugeChart=V,t.GroupedBarChart=ot,t.HeatmapChart=g,t.HistogramChart=Q,t.LineChart=K,t.LollipopChart=J,t.MeterChart=q,t.PieChart=F,t.RadarChart=X,t.ScatterChart=U,t.SimpleBarChart=rt,t.StackedAreaChart=nt,t.StackedBarChart=et,t.TreeChart=H,t.TreemapChart=G,t.WordCloudChart=k,t.default=z,Object.defineProperty(t,"__esModule",{value:!0})}));
@@ -0,0 +1,12 @@
1
+ import { EXPERIMENTAL_ChoroplethChart as CC } from '@carbon/charts';
2
+ import BaseChart from './base-chart';
3
+ import { ChartConfig, ChoroplethChartOptions } from '@carbon/charts/interfaces';
4
+ declare type ChoroplethChartProps = ChartConfig<ChoroplethChartOptions>;
5
+ export default class EXPERIMENTAL_ChoroplethChart extends BaseChart<ChoroplethChartOptions> {
6
+ chartRef: HTMLDivElement;
7
+ props: ChoroplethChartProps;
8
+ chart: CC;
9
+ componentDidMount(): void;
10
+ render(): JSX.Element;
11
+ }
12
+ export {};
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ extendStatics(d, b);
11
+ function __() { this.constructor = d; }
12
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
+ };
14
+ })();
15
+ var __importDefault = (this && this.__importDefault) || function (mod) {
16
+ return (mod && mod.__esModule) ? mod : { "default": mod };
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ var react_1 = __importDefault(require("react"));
20
+ var charts_1 = require("@carbon/charts");
21
+ var base_chart_1 = __importDefault(require("./base-chart"));
22
+ var utils_1 = require("./utils");
23
+ var EXPERIMENTAL_ChoroplethChart = /** @class */ (function (_super) {
24
+ __extends(EXPERIMENTAL_ChoroplethChart, _super);
25
+ function EXPERIMENTAL_ChoroplethChart() {
26
+ return _super !== null && _super.apply(this, arguments) || this;
27
+ }
28
+ EXPERIMENTAL_ChoroplethChart.prototype.componentDidMount = function () {
29
+ if (utils_1.hasChartBeenInitialized(this.chartRef) === false) {
30
+ this.chart = new charts_1.EXPERIMENTAL_ChoroplethChart(this.chartRef, {
31
+ data: this.props.data,
32
+ options: this.props.options,
33
+ });
34
+ }
35
+ };
36
+ EXPERIMENTAL_ChoroplethChart.prototype.render = function () {
37
+ var _this = this;
38
+ return (react_1.default.createElement("div", { ref: function (chartRef) { return (_this.chartRef = chartRef); }, className: "chart-holder" }));
39
+ };
40
+ return EXPERIMENTAL_ChoroplethChart;
41
+ }(base_chart_1.default));
42
+ exports.default = EXPERIMENTAL_ChoroplethChart;
package/index.d.ts CHANGED
@@ -22,4 +22,5 @@ import CirclePackChart from './circle-pack-chart';
22
22
  import WordCloudChart from './wordcloud-chart';
23
23
  import AlluvialChart from './alluvial-chart';
24
24
  import HeatmapChart from './heatmap-chart';
25
- export { AreaChart, StackedAreaChart, GroupedBarChart, SimpleBarChart, StackedBarChart, BoxplotChart, BubbleChart, BulletChart, DonutChart, GaugeChart, HistogramChart, LineChart, LollipopChart, PieChart, ScatterChart, MeterChart, RadarChart, ComboChart, TreeChart, TreemapChart, CirclePackChart, WordCloudChart, AlluvialChart, HeatmapChart, };
25
+ import EXPERIMENTAL_ChoroplethChart from './choropleth-chart';
26
+ export { AreaChart, StackedAreaChart, GroupedBarChart, SimpleBarChart, StackedBarChart, BoxplotChart, BubbleChart, BulletChart, DonutChart, GaugeChart, HistogramChart, LineChart, LollipopChart, PieChart, ScatterChart, MeterChart, RadarChart, ComboChart, TreeChart, TreemapChart, CirclePackChart, WordCloudChart, AlluvialChart, HeatmapChart, EXPERIMENTAL_ChoroplethChart, };
package/index.js CHANGED
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.HeatmapChart = exports.AlluvialChart = exports.WordCloudChart = exports.CirclePackChart = exports.TreemapChart = exports.TreeChart = exports.ComboChart = exports.RadarChart = exports.MeterChart = exports.ScatterChart = exports.PieChart = exports.LollipopChart = exports.LineChart = exports.HistogramChart = exports.GaugeChart = exports.DonutChart = exports.BulletChart = exports.BubbleChart = exports.BoxplotChart = exports.StackedBarChart = exports.SimpleBarChart = exports.GroupedBarChart = exports.StackedAreaChart = exports.AreaChart = void 0;
6
+ exports.EXPERIMENTAL_ChoroplethChart = exports.HeatmapChart = exports.AlluvialChart = exports.WordCloudChart = exports.CirclePackChart = exports.TreemapChart = exports.TreeChart = exports.ComboChart = exports.RadarChart = exports.MeterChart = exports.ScatterChart = exports.PieChart = exports.LollipopChart = exports.LineChart = exports.HistogramChart = exports.GaugeChart = exports.DonutChart = exports.BulletChart = exports.BubbleChart = exports.BoxplotChart = exports.StackedBarChart = exports.SimpleBarChart = exports.GroupedBarChart = exports.StackedAreaChart = exports.AreaChart = void 0;
7
7
  var area_chart_1 = __importDefault(require("./area-chart"));
8
8
  exports.AreaChart = area_chart_1.default;
9
9
  var area_chart_stacked_1 = __importDefault(require("./area-chart-stacked"));
@@ -52,3 +52,5 @@ var alluvial_chart_1 = __importDefault(require("./alluvial-chart"));
52
52
  exports.AlluvialChart = alluvial_chart_1.default;
53
53
  var heatmap_chart_1 = __importDefault(require("./heatmap-chart"));
54
54
  exports.HeatmapChart = heatmap_chart_1.default;
55
+ var choropleth_chart_1 = __importDefault(require("./choropleth-chart"));
56
+ exports.EXPERIMENTAL_ChoroplethChart = choropleth_chart_1.default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbon/charts-react",
3
- "version": "1.7.6",
3
+ "version": "1.8.0",
4
4
  "description": "Carbon charting components for React",
5
5
  "main": "./bundle.js",
6
6
  "module": "./index.js",
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "homepage": "https://github.com/carbon-design-system/carbon-charts#readme",
51
51
  "dependencies": {
52
- "@carbon/charts": "^1.7.6",
52
+ "@carbon/charts": "^1.8.0",
53
53
  "@carbon/icons-react": "^10.49.0",
54
54
  "@carbon/telemetry": "0.1.0"
55
55
  },