@carbon/charts 1.16.10 → 1.17.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.
Files changed (76) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +2 -26
  3. package/dist/{angle-utils-ByrL6LVp.mjs → angle-utils-Cq7fAZ_G.mjs} +2 -2
  4. package/dist/{angle-utils-ByrL6LVp.mjs.map → angle-utils-Cq7fAZ_G.mjs.map} +1 -1
  5. package/dist/{array-6NAAybxf.mjs → array-Dp6N70oc.mjs} +2 -2
  6. package/dist/{array-6NAAybxf.mjs.map → array-Dp6N70oc.mjs.map} +1 -1
  7. package/dist/{choropleth-BAn8HIaC.mjs → choropleth-BVD28Asn.mjs} +4 -10
  8. package/dist/choropleth-BVD28Asn.mjs.map +1 -0
  9. package/dist/{color-scale-utils-CSwgszB6.mjs → color-scale-utils-BpobzRX6.mjs} +2 -2
  10. package/dist/{color-scale-utils-CSwgszB6.mjs.map → color-scale-utils-BpobzRX6.mjs.map} +1 -1
  11. package/dist/components/diagrams/buildPaths.d.ts +15 -27
  12. package/dist/components/essentials/legend.spec.d.ts +1 -0
  13. package/dist/components/essentials/title.spec.d.ts +1 -0
  14. package/dist/components/index.mjs +1 -1
  15. package/dist/{index-fFi6OCaz.mjs → index-CeYuVh-h.mjs} +3 -3
  16. package/dist/{index-fFi6OCaz.mjs.map → index-CeYuVh-h.mjs.map} +1 -1
  17. package/dist/index.mjs +7 -7
  18. package/dist/model/index.mjs +2 -2
  19. package/dist/selectedGroups.spec.d.ts +1 -0
  20. package/dist/services/index.mjs +3 -3
  21. package/dist/services/time-series.spec.d.ts +1 -0
  22. package/dist/tests/index.d.ts +2 -0
  23. package/dist/tests/test-environment.d.ts +16 -0
  24. package/dist/tests/tools.d.ts +4 -0
  25. package/dist/tools.spec.d.ts +1 -0
  26. package/dist/umd/bundle.umd.cjs +1 -1
  27. package/dist/umd/bundle.umd.cjs.map +1 -1
  28. package/dist/umd/bundle.umd.js +86 -0
  29. package/package.json +19 -27
  30. package/dist/choropleth-BAn8HIaC.mjs.map +0 -1
  31. package/dist/demo/charts/alluvial.d.ts +0 -110
  32. package/dist/demo/charts/area.d.ts +0 -225
  33. package/dist/demo/charts/bar.d.ts +0 -763
  34. package/dist/demo/charts/boxplot.d.ts +0 -35
  35. package/dist/demo/charts/bubble.d.ts +0 -142
  36. package/dist/demo/charts/bullet.d.ts +0 -25
  37. package/dist/demo/charts/chart-types.d.ts +0 -128
  38. package/dist/demo/charts/choropleth.d.ts +0 -736
  39. package/dist/demo/charts/circle-pack.d.ts +0 -91
  40. package/dist/demo/charts/combo.d.ts +0 -483
  41. package/dist/demo/charts/donut.d.ts +0 -65
  42. package/dist/demo/charts/gauge.d.ts +0 -40
  43. package/dist/demo/charts/heatmap.d.ts +0 -126
  44. package/dist/demo/charts/hightlight.d.ts +0 -41
  45. package/dist/demo/charts/histogram.d.ts +0 -64
  46. package/dist/demo/charts/index.d.ts +0 -62
  47. package/dist/demo/charts/line.d.ts +0 -362
  48. package/dist/demo/charts/lollipop.d.ts +0 -40
  49. package/dist/demo/charts/meter.d.ts +0 -95
  50. package/dist/demo/charts/pie.d.ts +0 -47
  51. package/dist/demo/charts/radar.d.ts +0 -64
  52. package/dist/demo/charts/scatter.d.ts +0 -119
  53. package/dist/demo/charts/step.d.ts +0 -96
  54. package/dist/demo/charts/time-series-axis.d.ts +0 -326
  55. package/dist/demo/charts/toolbar.d.ts +0 -12
  56. package/dist/demo/charts/topojson-110.d.ts +0 -360
  57. package/dist/demo/charts/tree.d.ts +0 -30
  58. package/dist/demo/charts/treemap.d.ts +0 -15
  59. package/dist/demo/charts/wordcloud.d.ts +0 -14
  60. package/dist/demo/charts/zoom-bar.d.ts +0 -79
  61. package/dist/demo/index.d.ts +0 -4
  62. package/dist/demo/index.mjs +0 -51456
  63. package/dist/demo/index.mjs.map +0 -1
  64. package/dist/demo/styles.css +0 -34613
  65. package/dist/demo/styles.css.map +0 -1
  66. package/dist/demo/utils/index.d.ts +0 -2
  67. package/dist/demo/utils/package-versions.d.ts +0 -18
  68. package/dist/demo/utils/stackblitz/angular.d.ts +0 -3
  69. package/dist/demo/utils/stackblitz/index.d.ts +0 -5
  70. package/dist/demo/utils/stackblitz/object-to-string.d.ts +0 -5
  71. package/dist/demo/utils/stackblitz/react.d.ts +0 -3
  72. package/dist/demo/utils/stackblitz/svelte.d.ts +0 -3
  73. package/dist/demo/utils/stackblitz/vanilla-js.d.ts +0 -3
  74. package/dist/demo/utils/stackblitz/vue.d.ts +0 -3
  75. package/dist/demo/utils/story-widgets.d.ts +0 -6
  76. package/scss/demos.scss +0 -412
@@ -1,40 +1,28 @@
1
1
  import { Coordinates } from '../../interfaces/layout';
2
2
  /**
3
3
  * Returns a path string for a straight path
4
- * @param source - The source coordinates
5
- * @param source.x - The source's x coordinate
6
- * @param source.y - The source's y coordinate
7
- * @param target - The target coordinates
8
- * @param target.x - The target's x coordinate
9
- * @param target.y - The target's y coordinate
10
- * @return The path string
4
+ * @param {Coordinates} source - The source coordinates
5
+ * @param {Coordinates} target - The target coordinates
6
+ * @return {string} The path string
11
7
  */
12
8
  declare const buildStraightPathString: (source: Coordinates, target: Coordinates) => string;
13
9
  /**
14
10
  * Returns a path string for an elbow path with a bend point
15
- * @param source - The source coordinates
16
- * @param source.x - The source's x coordinate
17
- * @param source.y - The source's y coordinate
18
- * @param target - The target coordinates
19
- * @param target.x - The target's x coordinate
20
- * @param target.y - The target's y coordinate
21
- * @param percent - Where the bend point should appear between the source and target
22
- * @return The path string
11
+ * @param {Coordinates} source - The source coordinates
12
+ * @param {Coordinates} target - The target coordinates
13
+ * @param {number} percent - Where the bend point should appear between the source and target
14
+ * @return {string} The path string
23
15
  */
24
16
  declare const buildElbowPathString: (source: Coordinates, target: Coordinates, percent?: number) => string;
25
17
  /**
26
- * Returns a path string for an path with a custom bezier curve
27
- * @param source - The source coordinates
28
- * @param source.x - The source's x coordinate
29
- * @param source.y - The source's y coordinate
30
- * @param target - The target coordinates
31
- * @param target.x - The target's x coordinate
32
- * @param target.y - The target's y coordinate
33
- * @param cpx1 - X coordinate for the first control point
34
- * @param cpy1 - Y coordinate for the first control point
35
- * @param cpx2 - X coordinate for the second control point
36
- * @param cpy2 - Y coordinate for the second control point
37
- * @return The path string
18
+ * Returns a path string for a path with a custom bezier curve.
19
+ * @param {Coordinates} source - The source coordinates.
20
+ * @param {Coordinates} target - The target coordinates.
21
+ * @param {number} cpx1 - X coordinate for the first control point.
22
+ * @param {number} cpy1 - Y coordinate for the first control point.
23
+ * @param {number} cpx2 - X coordinate for the second control point.
24
+ * @param {number} cpy2 - Y coordinate for the second control point.
25
+ * @returns {string} The path string.
38
26
  */
39
27
  declare const buildBezierPathString: (source: Coordinates, target: Coordinates, cpx1: number, cpy1: number, cpx2: number, cpy2: number) => string;
40
28
  export { buildStraightPathString, buildElbowPathString, buildBezierPathString };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,4 @@
1
- import { h as e, k as r, X as o, A as t, a8 as i, F as l, B as n, o as d, p as h, C as p, f as u, e as S, r as C, s as c, q as g, a9 as B, D as m, z as T, a7 as L, G as b, x as k, E as A, H as x, I as P, Y as R, b as w, L as G, j as H, K as v, O as M, N as f, M as D, P as Z, Q as j, R as q, l as y, w as z, m as E, J as W, S as F, t as I, y as J, v as K, u as N, g as O, T as Q, a as U, d as V, U as X, V as Y, i as _, W as $, n as aa, Z as sa, _ as ea, $ as ra, a0 as oa, a1 as ta, a2 as ia, a3 as la, a4 as na, a5 as da, a6 as ha } from "../choropleth-BAn8HIaC.mjs";
1
+ import { h as e, k as r, X as o, A as t, a8 as i, F as l, B as n, o as d, p as h, C as p, f as u, e as S, r as C, s as c, q as g, a9 as B, D as m, z as T, a7 as L, G as b, x as k, E as A, H as x, I as P, Y as R, b as w, L as G, j as H, K as v, O as M, N as f, M as D, P as Z, Q as j, R as q, l as y, w as z, m as E, J as W, S as F, t as I, y as J, v as K, u as N, g as O, T as Q, a as U, d as V, U as X, V as Y, i as _, W as $, n as aa, Z as sa, _ as ea, $ as ra, a0 as oa, a1 as ta, a2 as ia, a3 as la, a4 as na, a5 as da, a6 as ha } from "../choropleth-BVD28Asn.mjs";
2
2
  export {
3
3
  e as Alluvial,
4
4
  r as Area,
@@ -1,5 +1,5 @@
1
- import { a3 as Bt, aC as Lt, aD as Nt, aE as Ct, aF as ft, aG as It, aH as Zt, aI as Ft, a2 as zt, aJ as Vt, aK as Yt, aL as Ht, aM as Xt, _ as Gt, W as $t, ax as j, aN as Ut, aO as Kt, n as W, g as c, F as J, aP as x, aQ as P, aR as qt, aS as mt, aT as dt, h as Q, ar as jt, ao as Wt, ad as pt, ai as Jt, H as Qt } from "./color-scale-utils-CSwgszB6.mjs";
2
- import { z as ti, A as O, g as tt, S as A, D as ii, s as ni, v as ei, x as si, u as oi, y as ai } from "./angle-utils-ByrL6LVp.mjs";
1
+ import { a3 as Bt, aC as Lt, aD as Nt, aE as Ct, aF as ft, aG as It, aH as Zt, aI as Ft, a2 as zt, aJ as Vt, aK as Yt, aL as Ht, aM as Xt, _ as Gt, W as $t, ax as j, aN as Ut, aO as Kt, n as W, g as c, F as J, aP as x, aQ as P, aR as qt, aS as mt, aT as dt, h as Q, ar as jt, ao as Wt, ad as pt, ai as Jt, H as Qt } from "./color-scale-utils-BpobzRX6.mjs";
2
+ import { z as ti, A as O, g as tt, S as A, D as ii, s as ni, v as ei, x as si, u as oi, y as ai } from "./angle-utils-Cq7fAZ_G.mjs";
3
3
  import { _ as E, e as _, i as N, S as m } from "./enums-DwsxZqjR.mjs";
4
4
  function xt(i) {
5
5
  var t = i == null ? 0 : i.length;
@@ -1474,4 +1474,4 @@ export {
1474
1474
  hn as c,
1475
1475
  xt as f
1476
1476
  };
1477
- //# sourceMappingURL=index-fFi6OCaz.mjs.map
1477
+ //# sourceMappingURL=index-CeYuVh-h.mjs.map