@carbon/charts 1.16.11 → 1.17.1
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 +22 -0
- package/README.md +2 -26
- package/dist/{angle-utils-ByrL6LVp.mjs → angle-utils-Cq7fAZ_G.mjs} +2 -2
- package/dist/{angle-utils-ByrL6LVp.mjs.map → angle-utils-Cq7fAZ_G.mjs.map} +1 -1
- package/dist/{array-6NAAybxf.mjs → array-Dp6N70oc.mjs} +2 -2
- package/dist/{array-6NAAybxf.mjs.map → array-Dp6N70oc.mjs.map} +1 -1
- package/dist/{choropleth-BAn8HIaC.mjs → choropleth-BVD28Asn.mjs} +4 -10
- package/dist/choropleth-BVD28Asn.mjs.map +1 -0
- package/dist/{color-scale-utils-CSwgszB6.mjs → color-scale-utils-BpobzRX6.mjs} +2 -2
- package/dist/{color-scale-utils-CSwgszB6.mjs.map → color-scale-utils-BpobzRX6.mjs.map} +1 -1
- package/dist/components/diagrams/buildPaths.d.ts +15 -27
- package/dist/components/essentials/legend.spec.d.ts +1 -0
- package/dist/components/essentials/title.spec.d.ts +1 -0
- package/dist/components/index.mjs +1 -1
- package/dist/{index-fFi6OCaz.mjs → index-CeYuVh-h.mjs} +3 -3
- package/dist/{index-fFi6OCaz.mjs.map → index-CeYuVh-h.mjs.map} +1 -1
- package/dist/index.mjs +7 -7
- package/dist/model/index.mjs +2 -2
- package/dist/selectedGroups.spec.d.ts +1 -0
- package/dist/services/index.mjs +3 -3
- package/dist/services/time-series.spec.d.ts +1 -0
- package/dist/tests/index.d.ts +2 -0
- package/dist/tests/test-environment.d.ts +16 -0
- package/dist/tests/tools.d.ts +4 -0
- package/dist/tools.spec.d.ts +1 -0
- package/dist/umd/bundle.umd.cjs +1 -1
- package/dist/umd/bundle.umd.cjs.map +1 -1
- package/dist/umd/bundle.umd.js +1 -1
- package/package.json +18 -26
- package/dist/choropleth-BAn8HIaC.mjs.map +0 -1
- package/dist/demo/charts/alluvial.d.ts +0 -110
- package/dist/demo/charts/area.d.ts +0 -225
- package/dist/demo/charts/bar.d.ts +0 -763
- package/dist/demo/charts/boxplot.d.ts +0 -35
- package/dist/demo/charts/bubble.d.ts +0 -142
- package/dist/demo/charts/bullet.d.ts +0 -25
- package/dist/demo/charts/chart-types.d.ts +0 -128
- package/dist/demo/charts/choropleth.d.ts +0 -736
- package/dist/demo/charts/circle-pack.d.ts +0 -91
- package/dist/demo/charts/combo.d.ts +0 -483
- package/dist/demo/charts/donut.d.ts +0 -65
- package/dist/demo/charts/gauge.d.ts +0 -40
- package/dist/demo/charts/heatmap.d.ts +0 -126
- package/dist/demo/charts/hightlight.d.ts +0 -41
- package/dist/demo/charts/histogram.d.ts +0 -64
- package/dist/demo/charts/index.d.ts +0 -62
- package/dist/demo/charts/line.d.ts +0 -362
- package/dist/demo/charts/lollipop.d.ts +0 -40
- package/dist/demo/charts/meter.d.ts +0 -95
- package/dist/demo/charts/pie.d.ts +0 -47
- package/dist/demo/charts/radar.d.ts +0 -64
- package/dist/demo/charts/scatter.d.ts +0 -119
- package/dist/demo/charts/step.d.ts +0 -96
- package/dist/demo/charts/time-series-axis.d.ts +0 -326
- package/dist/demo/charts/toolbar.d.ts +0 -12
- package/dist/demo/charts/topojson-110.d.ts +0 -360
- package/dist/demo/charts/tree.d.ts +0 -30
- package/dist/demo/charts/treemap.d.ts +0 -15
- package/dist/demo/charts/wordcloud.d.ts +0 -14
- package/dist/demo/charts/zoom-bar.d.ts +0 -79
- package/dist/demo/index.d.ts +0 -4
- package/dist/demo/index.mjs +0 -51456
- package/dist/demo/index.mjs.map +0 -1
- package/dist/demo/styles.css +0 -34613
- package/dist/demo/styles.css.map +0 -1
- package/dist/demo/utils/index.d.ts +0 -2
- package/dist/demo/utils/package-versions.d.ts +0 -18
- package/dist/demo/utils/stackblitz/angular.d.ts +0 -3
- package/dist/demo/utils/stackblitz/index.d.ts +0 -5
- package/dist/demo/utils/stackblitz/object-to-string.d.ts +0 -5
- package/dist/demo/utils/stackblitz/react.d.ts +0 -3
- package/dist/demo/utils/stackblitz/svelte.d.ts +0 -3
- package/dist/demo/utils/stackblitz/vanilla-js.d.ts +0 -3
- package/dist/demo/utils/stackblitz/vue.d.ts +0 -3
- package/dist/demo/utils/story-widgets.d.ts +0 -6
- 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
|
|
6
|
-
* @
|
|
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
|
|
16
|
-
* @param
|
|
17
|
-
* @param
|
|
18
|
-
* @
|
|
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
|
|
27
|
-
* @param source - The source coordinates
|
|
28
|
-
* @param
|
|
29
|
-
* @param
|
|
30
|
-
* @param
|
|
31
|
-
* @param
|
|
32
|
-
* @param
|
|
33
|
-
* @
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
1477
|
+
//# sourceMappingURL=index-CeYuVh-h.mjs.map
|