@carbon/charts 1.11.2 → 1.11.4

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.
Files changed (59) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/{_baseEach-477c04db.js → _baseEach-326db134.js} +2 -2
  3. package/dist/{_baseEach-477c04db.js.map → _baseEach-326db134.js.map} +1 -1
  4. package/dist/{_baseEach-05847c57.mjs → _baseEach-9b6a12fa.mjs} +2 -2
  5. package/dist/{_baseEach-05847c57.mjs.map → _baseEach-9b6a12fa.mjs.map} +1 -1
  6. package/dist/angle-utils-264ed176.mjs +840 -0
  7. package/dist/angle-utils-264ed176.mjs.map +1 -0
  8. package/dist/angle-utils-ccc0d890.js +3 -0
  9. package/dist/angle-utils-ccc0d890.js.map +1 -0
  10. package/dist/chart.d.ts +1 -1
  11. package/dist/{choropleth-9a359c3b.mjs → choropleth-141685a0.mjs} +280 -277
  12. package/dist/choropleth-141685a0.mjs.map +1 -0
  13. package/dist/{choropleth-2f8ec4a1.js → choropleth-b1a3729f.js} +9 -9
  14. package/dist/choropleth-b1a3729f.js.map +1 -0
  15. package/dist/color-scale-utils-2cd523be.js +2 -0
  16. package/dist/color-scale-utils-2cd523be.js.map +1 -0
  17. package/dist/color-scale-utils-b9604b2c.mjs +3335 -0
  18. package/dist/color-scale-utils-b9604b2c.mjs.map +1 -0
  19. package/dist/components/index.js +1 -1
  20. package/dist/components/index.mjs +4 -4
  21. package/dist/demo/charts/index.d.ts +9 -6
  22. package/dist/demo/index.js +197 -193
  23. package/dist/demo/index.js.map +1 -1
  24. package/dist/demo/index.mjs +2119 -1592
  25. package/dist/demo/index.mjs.map +1 -1
  26. package/dist/demo/utils/index.d.ts +1 -1
  27. package/dist/demo/utils/package-versions.d.ts +20 -0
  28. package/dist/demo/utils/stackblitz/angular.d.ts +3 -0
  29. package/dist/demo/utils/stackblitz/index.d.ts +5 -0
  30. package/dist/demo/utils/stackblitz/react.d.ts +3 -0
  31. package/dist/demo/utils/stackblitz/svelte.d.ts +3 -0
  32. package/dist/demo/utils/stackblitz/vanilla-js.d.ts +3 -0
  33. package/dist/demo/utils/stackblitz/vue.d.ts +3 -0
  34. package/dist/{index-e425a7b5.mjs → index-4b5d1e49.mjs} +3 -3
  35. package/dist/{index-e425a7b5.mjs.map → index-4b5d1e49.mjs.map} +1 -1
  36. package/dist/{index-4203ca23.js → index-eace9da9.js} +2 -2
  37. package/dist/{index-4203ca23.js.map → index-eace9da9.js.map} +1 -1
  38. package/dist/index.js +1 -1
  39. package/dist/index.js.map +1 -1
  40. package/dist/index.mjs +126 -125
  41. package/dist/index.mjs.map +1 -1
  42. package/dist/model/index.js +1 -1
  43. package/dist/model/index.js.map +1 -1
  44. package/dist/model/index.mjs +34 -34
  45. package/dist/model/index.mjs.map +1 -1
  46. package/dist/services/index.js +1 -1
  47. package/dist/services/index.mjs +10 -10
  48. package/package.json +5 -5
  49. package/dist/angle-utils-512bc5cd.js +0 -2
  50. package/dist/angle-utils-512bc5cd.js.map +0 -1
  51. package/dist/angle-utils-7255d1d9.mjs +0 -387
  52. package/dist/angle-utils-7255d1d9.mjs.map +0 -1
  53. package/dist/choropleth-2f8ec4a1.js.map +0 -1
  54. package/dist/choropleth-9a359c3b.mjs.map +0 -1
  55. package/dist/color-scale-utils-222feda6.mjs +0 -3815
  56. package/dist/color-scale-utils-222feda6.mjs.map +0 -1
  57. package/dist/color-scale-utils-79786095.js +0 -3
  58. package/dist/color-scale-utils-79786095.js.map +0 -1
  59. package/dist/demo/utils/sandbox.d.ts +0 -36
package/CHANGELOG.md CHANGED
@@ -3,6 +3,32 @@
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.11.4](https://github.com/carbon-design-system/carbon-charts/compare/v1.11.3...v1.11.4) (2023-07-06)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **image download:** fixes 1566
11
+ ([#1607](https://github.com/carbon-design-system/carbon-charts/issues/1607))
12
+ ([eee0808](https://github.com/carbon-design-system/carbon-charts/commit/eee080845ea76dda142c748cf7c5c6287592aea7))
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
+
19
+ ## [1.11.3](https://github.com/carbon-design-system/carbon-charts/compare/v1.11.2...v1.11.3) (2023-07-03)
20
+
21
+ ### Bug Fixes
22
+
23
+ - StackBlitz dependencies & render(animate: boolean) values
24
+ ([#1601](https://github.com/carbon-design-system/carbon-charts/issues/1601))
25
+ ([40cb8ec](https://github.com/carbon-design-system/carbon-charts/commit/40cb8ecb810cdacd3a9bd89c64b6f1bde3b3a202))
26
+
27
+ # Change Log
28
+
29
+ All notable changes to this project will be documented in this file. See
30
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
31
+
6
32
  ## [1.11.2](https://github.com/carbon-design-system/carbon-charts/compare/v1.11.1...v1.11.2) (2023-06-28)
7
33
 
8
34
  **Note:** Version bump only for package @carbon/charts
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./color-scale-utils-79786095.js");function f(e,a){return e&&n.baseFor(e,a,n.keys)}function h(e,a){return function(r,u){if(r==null)return r;if(!n.isArrayLike(r))return e(r,u);for(var t=r.length,s=a?t:-1,b=Object(r);(a?s--:++s<t)&&u(b[s],s,b)!==!1;);return r}}var i=h(f);const E=i;exports.baseEach=E;
2
- //# sourceMappingURL=_baseEach-477c04db.js.map
1
+ "use strict";const n=require("./color-scale-utils-2cd523be.js");function f(e,a){return e&&n.baseFor(e,a,n.keys)}function h(e,a){return function(r,u){if(r==null)return r;if(!n.isArrayLike(r))return e(r,u);for(var t=r.length,s=a?t:-1,b=Object(r);(a?s--:++s<t)&&u(b[s],s,b)!==!1;);return r}}var i=h(f);const E=i;exports.baseEach=E;
2
+ //# sourceMappingURL=_baseEach-326db134.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"_baseEach-477c04db.js","sources":["../node_modules/lodash-es/_baseForOwn.js","../node_modules/lodash-es/_createBaseEach.js","../node_modules/lodash-es/_baseEach.js"],"sourcesContent":["import baseFor from './_baseFor.js';\nimport keys from './keys.js';\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nexport default baseForOwn;\n","import isArrayLike from './isArrayLike.js';\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nexport default createBaseEach;\n","import baseForOwn from './_baseForOwn.js';\nimport createBaseEach from './_createBaseEach.js';\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nexport default baseEach;\n"],"names":["baseForOwn","object","iteratee","baseFor","keys","createBaseEach","eachFunc","fromRight","collection","isArrayLike","length","index","iterable","baseEach","baseEach$1"],"mappings":"gEAWA,SAASA,EAAWC,EAAQC,EAAU,CACpC,OAAOD,GAAUE,EAAO,QAACF,EAAQC,EAAUE,EAAI,IAAA,CACjD,CCHA,SAASC,EAAeC,EAAUC,EAAW,CAC3C,OAAO,SAASC,EAAYN,EAAU,CACpC,GAAIM,GAAc,KAChB,OAAOA,EAET,GAAI,CAACC,EAAAA,YAAYD,CAAU,EACzB,OAAOF,EAASE,EAAYN,CAAQ,EAMtC,QAJIQ,EAASF,EAAW,OACpBG,EAAQJ,EAAYG,EAAS,GAC7BE,EAAW,OAAOJ,CAAU,GAExBD,EAAYI,IAAU,EAAEA,EAAQD,IAClCR,EAASU,EAASD,CAAK,EAAGA,EAAOC,CAAQ,IAAM,IAAnD,CAIF,OAAOJ,CACX,CACA,CClBA,IAAIK,EAAWR,EAAeL,CAAU,EAExC,MAAAc,EAAeD","x_google_ignoreList":[0,1,2]}
1
+ {"version":3,"file":"_baseEach-326db134.js","sources":["../node_modules/lodash-es/_baseForOwn.js","../node_modules/lodash-es/_createBaseEach.js","../node_modules/lodash-es/_baseEach.js"],"sourcesContent":["import baseFor from './_baseFor.js';\nimport keys from './keys.js';\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nexport default baseForOwn;\n","import isArrayLike from './isArrayLike.js';\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nexport default createBaseEach;\n","import baseForOwn from './_baseForOwn.js';\nimport createBaseEach from './_createBaseEach.js';\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nexport default baseEach;\n"],"names":["baseForOwn","object","iteratee","baseFor","keys","createBaseEach","eachFunc","fromRight","collection","isArrayLike","length","index","iterable","baseEach","baseEach$1"],"mappings":"gEAWA,SAASA,EAAWC,EAAQC,EAAU,CACpC,OAAOD,GAAUE,EAAO,QAACF,EAAQC,EAAUE,EAAI,IAAA,CACjD,CCHA,SAASC,EAAeC,EAAUC,EAAW,CAC3C,OAAO,SAASC,EAAYN,EAAU,CACpC,GAAIM,GAAc,KAChB,OAAOA,EAET,GAAI,CAACC,EAAAA,YAAYD,CAAU,EACzB,OAAOF,EAASE,EAAYN,CAAQ,EAMtC,QAJIQ,EAASF,EAAW,OACpBG,EAAQJ,EAAYG,EAAS,GAC7BE,EAAW,OAAOJ,CAAU,GAExBD,EAAYI,IAAU,EAAEA,EAAQD,IAClCR,EAASU,EAASD,CAAK,EAAGA,EAAOC,CAAQ,IAAM,IAAnD,CAIF,OAAOJ,CACX,CACA,CClBA,IAAIK,EAAWR,EAAeL,CAAU,EAExC,MAAAc,EAAeD","x_google_ignoreList":[0,1,2]}
@@ -1,4 +1,4 @@
1
- import { b as f, k as t, i as h } from "./color-scale-utils-222feda6.mjs";
1
+ import { b as f, k as t, i as h } from "./color-scale-utils-b9604b2c.mjs";
2
2
  function i(a, e) {
3
3
  return a && f(a, e, t);
4
4
  }
@@ -18,4 +18,4 @@ const v = E;
18
18
  export {
19
19
  v as b
20
20
  };
21
- //# sourceMappingURL=_baseEach-05847c57.mjs.map
21
+ //# sourceMappingURL=_baseEach-9b6a12fa.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"_baseEach-05847c57.mjs","sources":["../node_modules/lodash-es/_baseForOwn.js","../node_modules/lodash-es/_createBaseEach.js","../node_modules/lodash-es/_baseEach.js"],"sourcesContent":["import baseFor from './_baseFor.js';\nimport keys from './keys.js';\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nexport default baseForOwn;\n","import isArrayLike from './isArrayLike.js';\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nexport default createBaseEach;\n","import baseForOwn from './_baseForOwn.js';\nimport createBaseEach from './_createBaseEach.js';\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nexport default baseEach;\n"],"names":["baseForOwn","object","iteratee","baseFor","keys","createBaseEach","eachFunc","fromRight","collection","isArrayLike","length","index","iterable","baseEach","baseEach$1"],"mappings":";AAWA,SAASA,EAAWC,GAAQC,GAAU;AACpC,SAAOD,KAAUE,EAAQF,GAAQC,GAAUE,CAAI;AACjD;ACHA,SAASC,EAAeC,GAAUC,GAAW;AAC3C,SAAO,SAASC,GAAYN,GAAU;AACpC,QAAIM,KAAc;AAChB,aAAOA;AAET,QAAI,CAACC,EAAYD,CAAU;AACzB,aAAOF,EAASE,GAAYN,CAAQ;AAMtC,aAJIQ,IAASF,EAAW,QACpBG,IAAQJ,IAAYG,IAAS,IAC7BE,IAAW,OAAOJ,CAAU,IAExBD,IAAYI,MAAU,EAAEA,IAAQD,MAClCR,EAASU,EAASD,CAAK,GAAGA,GAAOC,CAAQ,MAAM;AAAnD;AAIF,WAAOJ;AAAA,EACX;AACA;AClBA,IAAIK,IAAWR,EAAeL,CAAU;AAExC,MAAAc,IAAeD;","x_google_ignoreList":[0,1,2]}
1
+ {"version":3,"file":"_baseEach-9b6a12fa.mjs","sources":["../node_modules/lodash-es/_baseForOwn.js","../node_modules/lodash-es/_createBaseEach.js","../node_modules/lodash-es/_baseEach.js"],"sourcesContent":["import baseFor from './_baseFor.js';\nimport keys from './keys.js';\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nexport default baseForOwn;\n","import isArrayLike from './isArrayLike.js';\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nexport default createBaseEach;\n","import baseForOwn from './_baseForOwn.js';\nimport createBaseEach from './_createBaseEach.js';\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nexport default baseEach;\n"],"names":["baseForOwn","object","iteratee","baseFor","keys","createBaseEach","eachFunc","fromRight","collection","isArrayLike","length","index","iterable","baseEach","baseEach$1"],"mappings":";AAWA,SAASA,EAAWC,GAAQC,GAAU;AACpC,SAAOD,KAAUE,EAAQF,GAAQC,GAAUE,CAAI;AACjD;ACHA,SAASC,EAAeC,GAAUC,GAAW;AAC3C,SAAO,SAASC,GAAYN,GAAU;AACpC,QAAIM,KAAc;AAChB,aAAOA;AAET,QAAI,CAACC,EAAYD,CAAU;AACzB,aAAOF,EAASE,GAAYN,CAAQ;AAMtC,aAJIQ,IAASF,EAAW,QACpBG,IAAQJ,IAAYG,IAAS,IAC7BE,IAAW,OAAOJ,CAAU,IAExBD,IAAYI,MAAU,EAAEA,IAAQD,MAClCR,EAASU,EAASD,CAAK,GAAGA,GAAOC,CAAQ,MAAM;AAAnD;AAIF,WAAOJ;AAAA,EACX;AACA;AClBA,IAAIK,IAAWR,EAAeL,CAAU;AAExC,MAAAc,IAAeD;","x_google_ignoreList":[0,1,2]}