@carbon/charts 1.16.5 → 1.16.7

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 (43) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +3 -4
  3. package/dist/angle-utils-BSzg7qin.mjs +1681 -0
  4. package/dist/angle-utils-BSzg7qin.mjs.map +1 -0
  5. package/dist/array-BRmw0x1E.mjs +32 -0
  6. package/dist/array-BRmw0x1E.mjs.map +1 -0
  7. package/dist/choropleth-BwaUZYh6.mjs +11722 -0
  8. package/dist/choropleth-BwaUZYh6.mjs.map +1 -0
  9. package/dist/color-scale-utils-DAbXVtf-.mjs +5722 -0
  10. package/dist/color-scale-utils-DAbXVtf-.mjs.map +1 -0
  11. package/dist/components/essentials/geo-projection.d.ts +7 -5
  12. package/dist/components/essentials/highlights.d.ts +1 -1
  13. package/dist/components/essentials/threshold.d.ts +1 -1
  14. package/dist/components/essentials/tooltip.d.ts +1 -1
  15. package/dist/components/index.mjs +3 -3
  16. package/dist/demo/index.mjs +244 -264
  17. package/dist/demo/index.mjs.map +1 -1
  18. package/dist/enums-DwsxZqjR.mjs.map +1 -1
  19. package/dist/index-DnyOi0rJ.mjs +1477 -0
  20. package/dist/index-DnyOi0rJ.mjs.map +1 -0
  21. package/dist/index.mjs +35 -35
  22. package/dist/interfaces/axis-scales.d.ts +3 -3
  23. package/dist/interfaces/charts.d.ts +5 -3
  24. package/dist/interfaces/components.d.ts +4 -3
  25. package/dist/interfaces/model.d.ts +30 -6
  26. package/dist/model/index.mjs +1321 -17
  27. package/dist/model/index.mjs.map +1 -1
  28. package/dist/services/index.mjs +16 -16
  29. package/dist/umd/bundle.umd.js +11 -11
  30. package/dist/umd/bundle.umd.js.map +1 -1
  31. package/package.json +2 -15
  32. package/dist/_baseEach-Bp7pBkX8.mjs +0 -20
  33. package/dist/_baseEach-Bp7pBkX8.mjs.map +0 -1
  34. package/dist/angle-utils-BCx3SRS2.mjs +0 -849
  35. package/dist/angle-utils-BCx3SRS2.mjs.map +0 -1
  36. package/dist/choropleth-B7eXF9sA.mjs +0 -8662
  37. package/dist/choropleth-B7eXF9sA.mjs.map +0 -1
  38. package/dist/color-scale-utils-BaTmNvWt.mjs +0 -3467
  39. package/dist/color-scale-utils-BaTmNvWt.mjs.map +0 -1
  40. package/dist/wordcloud-BsEQRUwL.mjs +0 -1169
  41. package/dist/wordcloud-BsEQRUwL.mjs.map +0 -1
  42. package/dist/zoom-E2POxw6n.mjs +0 -739
  43. package/dist/zoom-E2POxw6n.mjs.map +0 -1
@@ -5,12 +5,14 @@ export declare class GeoProjection extends Component {
5
5
  renderType: RenderTypes;
6
6
  render(): void;
7
7
  /**
8
- * @info
9
- * Depending on projection, we may need to provide additional configuration
10
- * e.g. sizing
8
+ * Retrieves the D3 geographic projection based on the options provided.
11
9
  *
12
- * In such case, function can be refactored so that
13
- * projection should return an object with the configuraiton & function
10
+ * This method selects a geographic projection from the available D3 projections
11
+ * based on the `projection` property in the `thematic` options. If the projection
12
+ * is not supported or is missing, an error is thrown.
13
+ *
14
+ * @returns {d3.GeoProjection} - The D3 geographic projection corresponding to the selected option.
15
+ * @throws {Error} If the projection is not supported or is missing.
14
16
  */
15
17
  getProjection(): any;
16
18
  }
@@ -1,4 +1,4 @@
1
- import { default as Position } from '@carbon/utils-position';
1
+ import { Position } from '@carbon/utils-position';
2
2
  import { Component } from '../component';
3
3
  import { ChartModel } from '../../model/model';
4
4
  import { RenderTypes } from '../../interfaces/enums';
@@ -1,4 +1,4 @@
1
- import { default as Position } from '@carbon/utils-position';
1
+ import { Position } from '@carbon/utils-position';
2
2
  import { Component } from '../component';
3
3
  import { ChartModel } from '../../model/model';
4
4
  import { RenderTypes } from '../../interfaces/enums';
@@ -1,4 +1,4 @@
1
- import { default as Position } from '@carbon/utils-position';
1
+ import { Position } from '@carbon/utils-position';
2
2
  import { Component } from '../component';
3
3
  import { ChartModel } from '../../model/model';
4
4
  import { RenderTypes } from '../../interfaces/enums';
@@ -1,4 +1,4 @@
1
- import { v as e, w as r, A as o, k as t, x as i, B as l, y as n, z as d, D as h, l as p, a as u, C as S, E as c, F as C, m as g, a8 as B, I as m, J as T, n as L, G as b, K as k, N as A, o as x, O as P, H as R, a6 as w, L as G, P as H, Q as v, U as M, M as f, p as D, V as Z, W as j, R as q, X as y, Y as z, _ as E, $ as W, a7 as F, a0 as I, a1 as J, S as K, a2 as N, q as O, r as Q, T as U, u as V, a3 as X, a4 as Y, b as _, a5 as $, Z as aa, c as sa, d as ea, e as ra, f as oa, g as ta, h as ia, i as la, j as na, s as da, t as ha } from "../choropleth-B7eXF9sA.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-BwaUZYh6.mjs";
2
2
  export {
3
3
  e as Alluvial,
4
4
  r as Area,
@@ -12,8 +12,8 @@ export {
12
12
  p as CanvasChartClip,
13
13
  u as ChartBrush,
14
14
  S as ChartClip,
15
- c as Choropleth,
16
- C as CirclePack,
15
+ C as Choropleth,
16
+ c as CirclePack,
17
17
  g as ColorScaleLegend,
18
18
  B as Component,
19
19
  m as Donut,