@carbon/charts 1.11.12 → 1.11.14
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 +21 -0
- package/dist/{_baseEach-c7ca68a6.mjs → _baseEach-9c20c3b4.mjs} +2 -2
- package/dist/_baseEach-9c20c3b4.mjs.map +1 -0
- package/dist/{_baseEach-e8e98018.js → _baseEach-c254cbf6.js} +2 -2
- package/dist/_baseEach-c254cbf6.js.map +1 -0
- package/dist/{angle-utils-7efc92a5.mjs → angle-utils-edabc527.mjs} +2 -2
- package/dist/angle-utils-edabc527.mjs.map +1 -0
- package/dist/{angle-utils-a22da679.js → angle-utils-f4be8d20.js} +2 -2
- package/dist/angle-utils-f4be8d20.js.map +1 -0
- package/dist/{choropleth-16598e45.js → choropleth-161e9be8.js} +3 -3
- package/dist/choropleth-161e9be8.js.map +1 -0
- package/dist/{choropleth-8d45a771.mjs → choropleth-ebfc4dda.mjs} +6 -6
- package/dist/choropleth-ebfc4dda.mjs.map +1 -0
- package/dist/{color-scale-utils-a737b2e5.mjs → color-scale-utils-149f8038.mjs} +758 -694
- package/dist/color-scale-utils-149f8038.mjs.map +1 -0
- package/dist/color-scale-utils-f797f768.js +2 -0
- package/dist/color-scale-utils-f797f768.js.map +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/index.mjs +67 -68
- package/dist/components/index.mjs.map +1 -1
- package/dist/demo/charts/bar.d.ts +16 -4
- package/dist/demo/charts/line.d.ts +1 -1
- package/dist/demo/charts/time-series-axis.d.ts +10 -3
- package/dist/demo/index.js +47 -40
- package/dist/demo/index.js.map +1 -1
- package/dist/demo/index.mjs +1610 -2130
- package/dist/demo/index.mjs.map +1 -1
- package/dist/demo/styles.css +11273 -10550
- package/dist/demo/styles.css.map +1 -1
- package/dist/demo/utils/stackblitz/object-to-string.d.ts +5 -0
- package/dist/{index-daeaa9f4.mjs → index-38625a66.mjs} +3 -3
- package/dist/index-38625a66.mjs.map +1 -0
- package/dist/{index-e014597a.js → index-c5b4f8ab.js} +2 -2
- package/dist/index-c5b4f8ab.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +153 -154
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/axis-scales.d.ts +1 -1
- package/dist/model/index.js +1 -1
- package/dist/model/index.js.map +1 -1
- package/dist/model/index.mjs +30 -31
- package/dist/model/index.mjs.map +1 -1
- package/dist/services/index.js +1 -1
- package/dist/services/index.mjs +26 -27
- package/dist/services/index.mjs.map +1 -1
- package/dist/styles.css.map +1 -1
- package/dist/styles.min.css.map +1 -1
- package/package.json +49 -42
- package/scss/demos.scss +4 -0
- package/dist/_baseEach-c7ca68a6.mjs.map +0 -1
- package/dist/_baseEach-e8e98018.js.map +0 -1
- package/dist/angle-utils-7efc92a5.mjs.map +0 -1
- package/dist/angle-utils-a22da679.js.map +0 -1
- package/dist/choropleth-16598e45.js.map +0 -1
- package/dist/choropleth-8d45a771.mjs.map +0 -1
- package/dist/color-scale-utils-56bbe3f2.js +0 -2
- package/dist/color-scale-utils-56bbe3f2.js.map +0 -1
- package/dist/color-scale-utils-a737b2e5.mjs.map +0 -1
- package/dist/index-becfb567.mjs +0 -72
- package/dist/index-becfb567.mjs.map +0 -1
- package/dist/index-d865d500.js +0 -2
- package/dist/index-d865d500.js.map +0 -1
- package/dist/index-daeaa9f4.mjs.map +0 -1
- package/dist/index-e014597a.js.map +0 -1
package/dist/components/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../choropleth-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../choropleth-161e9be8.js");require("d3");require("../color-scale-utils-f797f768.js");require("../enums-aa2efd99.js");require("../a11y-c7c9d087.js");require("../angle-utils-f4be8d20.js");require("d3-sankey");require("../_baseEach-c254cbf6.js");require("d3-cloud");exports.Alluvial=e.Alluvial;exports.Area=e.Area;exports.Axis=e.Axis;exports.AxisChartsTooltip=e.AxisChartsTooltip;exports.Bar=e.Bar;exports.BinnedRuler=e.BinnedRuler;exports.Boxplot=e.Boxplot;exports.Bubble=e.Bubble;exports.Bullet=e.Bullet;exports.CanvasChartClip=e.CanvasChartClip;exports.ChartBrush=e.ChartBrush;exports.ChartClip=e.ChartClip;exports.Choropleth=e.Choropleth;exports.CirclePack=e.CirclePack;exports.ColorScaleLegend=e.ColorScaleLegend;exports.Component=e.Component;exports.Donut=e.Donut;exports.Gauge=e.Gauge;exports.GeoProjection=e.GeoProjection;exports.Grid=e.Grid;exports.GroupedBar=e.GroupedBar;exports.Heatmap=e.Heatmap;exports.Highlight=e.Highlight;exports.Histogram=e.Histogram;exports.HoverAxis=e.HoverAxis;exports.LayoutComponent=e.LayoutComponent;exports.Legend=e.Legend;exports.Line=e.Line;exports.Lollipop=e.Lollipop;exports.Meter=e.Meter;exports.MeterTitle=e.MeterTitle;exports.Modal=e.Modal;exports.Pie=e.Pie;exports.Radar=e.Radar;exports.Ruler=e.Ruler;exports.Scatter=e.Scatter;exports.SimpleBar=e.SimpleBar;exports.Skeleton=e.Skeleton;exports.SkeletonLines=e.SkeletonLines;exports.Spacer=e.Spacer;exports.StackedArea=e.StackedArea;exports.StackedBar=e.StackedBar;exports.StackedRuler=e.StackedRuler;exports.StackedScatter=e.StackedScatter;exports.Threshold=e.Threshold;exports.Title=e.Title;exports.Toolbar=e.Toolbar;exports.Tooltip=e.Tooltip;exports.Tree=e.Tree;exports.Treemap=e.Treemap;exports.TwoDimensionalAxes=e.TwoDimensionalAxes;exports.WordCloud=e.WordCloud;exports.ZeroLine=e.ZeroLine;exports.ZoomBar=e.ZoomBar;exports.arrowLeft=e.arrowLeft;exports.arrowRight=e.arrowRight;exports.buildBezierPathString=e.buildBezierPathString;exports.buildElbowPathString=e.buildElbowPathString;exports.buildStraightPathString=e.buildStraightPathString;exports.circle=e.circle;exports.diamond=e.diamond;exports.square=e.square;exports.tee=e.tee;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,76 +1,75 @@
|
|
|
1
|
-
import { h as
|
|
1
|
+
import { h as d, k as m, X as h, A as u, a8 as S, F as C, B as c, o as g, p as B, C as T, f as L, e as b, r as k, s as A, q as x, a9 as P, D as R, z as w, a7 as G, G as H, x as v, E as M, H as f, I as D, Y as Z, b as j, L as q, j as y, K as z, O as E, N as W, M as F, P as I, Q as J, R as K, l as N, w as O, m as Q, J as U, S as V, t as X, y as Y, v as _, u as $, g as aa, T as sa, a as ea, d as ra, U as oa, V as ta, i as ia, W as la, n as pa, Z as na, _ as da, $ as ma, a0 as ha, a1 as ua, a2 as Sa, a3 as Ca, a4 as ca, a5 as ga, a6 as Ba } from "../choropleth-ebfc4dda.mjs";
|
|
2
2
|
import "d3";
|
|
3
|
-
import "../color-scale-utils-
|
|
3
|
+
import "../color-scale-utils-149f8038.mjs";
|
|
4
4
|
import "../enums-a96ef472.mjs";
|
|
5
|
-
import "../index-becfb567.mjs";
|
|
6
5
|
import "../a11y-7bad4f48.mjs";
|
|
7
|
-
import "../angle-utils-
|
|
6
|
+
import "../angle-utils-edabc527.mjs";
|
|
8
7
|
import "d3-sankey";
|
|
9
|
-
import "../_baseEach-
|
|
8
|
+
import "../_baseEach-9c20c3b4.mjs";
|
|
10
9
|
import "d3-cloud";
|
|
11
10
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
11
|
+
d as Alluvial,
|
|
12
|
+
m as Area,
|
|
13
|
+
h as Axis,
|
|
14
|
+
u as AxisChartsTooltip,
|
|
15
|
+
S as Bar,
|
|
16
|
+
C as BinnedRuler,
|
|
17
|
+
c as Boxplot,
|
|
18
|
+
g as Bubble,
|
|
19
|
+
B as Bullet,
|
|
20
|
+
T as CanvasChartClip,
|
|
21
|
+
L as ChartBrush,
|
|
22
|
+
b as ChartClip,
|
|
23
|
+
k as Choropleth,
|
|
24
|
+
A as CirclePack,
|
|
25
|
+
x as ColorScaleLegend,
|
|
26
|
+
P as Component,
|
|
27
|
+
R as Donut,
|
|
28
|
+
w as Gauge,
|
|
29
|
+
G as GeoProjection,
|
|
30
|
+
H as Grid,
|
|
31
|
+
v as GroupedBar,
|
|
32
|
+
M as Heatmap,
|
|
33
|
+
f as Highlight,
|
|
34
|
+
D as Histogram,
|
|
35
|
+
Z as HoverAxis,
|
|
36
|
+
j as LayoutComponent,
|
|
37
|
+
q as Legend,
|
|
38
|
+
y as Line,
|
|
39
|
+
z as Lollipop,
|
|
40
|
+
E as Meter,
|
|
41
|
+
W as MeterTitle,
|
|
42
|
+
F as Modal,
|
|
43
|
+
I as Pie,
|
|
44
|
+
J as Radar,
|
|
45
|
+
K as Ruler,
|
|
46
|
+
N as Scatter,
|
|
47
|
+
O as SimpleBar,
|
|
48
|
+
Q as Skeleton,
|
|
49
|
+
U as SkeletonLines,
|
|
50
|
+
V as Spacer,
|
|
51
|
+
X as StackedArea,
|
|
52
|
+
Y as StackedBar,
|
|
53
|
+
_ as StackedRuler,
|
|
54
|
+
$ as StackedScatter,
|
|
55
|
+
aa as Threshold,
|
|
56
|
+
sa as Title,
|
|
57
|
+
ea as Toolbar,
|
|
58
|
+
ra as Tooltip,
|
|
59
|
+
oa as Tree,
|
|
60
|
+
ta as Treemap,
|
|
61
|
+
ia as TwoDimensionalAxes,
|
|
62
|
+
la as WordCloud,
|
|
63
|
+
pa as ZeroLine,
|
|
64
|
+
na as ZoomBar,
|
|
65
|
+
da as arrowLeft,
|
|
66
|
+
ma as arrowRight,
|
|
67
|
+
ha as buildBezierPathString,
|
|
68
|
+
ua as buildElbowPathString,
|
|
69
|
+
Sa as buildStraightPathString,
|
|
70
|
+
Ca as circle,
|
|
71
|
+
ca as diamond,
|
|
72
|
+
ga as square,
|
|
73
|
+
Ba as tee
|
|
75
74
|
};
|
|
76
75
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
|
|
@@ -314,14 +314,20 @@ export declare const simpleBarTurkishLocaleOptions: {
|
|
|
314
314
|
axes: {
|
|
315
315
|
left: {
|
|
316
316
|
mapsTo: string;
|
|
317
|
+
ticks: {
|
|
318
|
+
formatter: (ticks: any) => any;
|
|
319
|
+
};
|
|
317
320
|
};
|
|
318
321
|
bottom: {
|
|
319
322
|
mapsTo: string;
|
|
320
323
|
scaleType: string;
|
|
324
|
+
ticks: {
|
|
325
|
+
formatter: (ticks: any) => any;
|
|
326
|
+
};
|
|
321
327
|
};
|
|
322
328
|
};
|
|
323
|
-
|
|
324
|
-
|
|
329
|
+
tooltip: {
|
|
330
|
+
valueFormatter: (value: any, category: string) => any;
|
|
325
331
|
};
|
|
326
332
|
};
|
|
327
333
|
export declare const simpleHorizontalBarTimeSeriesOptions: {
|
|
@@ -341,14 +347,20 @@ export declare const simpleBarTimeSeriesDenseOptions: {
|
|
|
341
347
|
axes: {
|
|
342
348
|
left: {
|
|
343
349
|
mapsTo: string;
|
|
350
|
+
ticks: {
|
|
351
|
+
formatter: (ticks: number) => string;
|
|
352
|
+
};
|
|
344
353
|
};
|
|
345
354
|
bottom: {
|
|
346
355
|
mapsTo: string;
|
|
347
356
|
scaleType: string;
|
|
357
|
+
ticks: {
|
|
358
|
+
formatter: (ticks: Date) => string;
|
|
359
|
+
};
|
|
348
360
|
};
|
|
349
361
|
};
|
|
350
|
-
|
|
351
|
-
|
|
362
|
+
tooltip: {
|
|
363
|
+
valueFormatter: (value: any, category: string) => any;
|
|
352
364
|
};
|
|
353
365
|
bars: {
|
|
354
366
|
maxWidth: number;
|
|
@@ -153,13 +153,20 @@ export declare const lineTimeSeriesDataMonthlyCustomLocale: {
|
|
|
153
153
|
export declare const lineTimeSeriesMonthlyCustomLocaleOptions: {
|
|
154
154
|
title: string;
|
|
155
155
|
axes: {
|
|
156
|
-
left: {
|
|
156
|
+
left: {
|
|
157
|
+
ticks: {
|
|
158
|
+
formatter: (ticks: number) => string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
157
161
|
bottom: {
|
|
158
162
|
scaleType: string;
|
|
163
|
+
ticks: {
|
|
164
|
+
formatter: (ticks: Date) => string;
|
|
165
|
+
};
|
|
159
166
|
};
|
|
160
167
|
};
|
|
161
|
-
|
|
162
|
-
|
|
168
|
+
tooltip: {
|
|
169
|
+
valueFormatter: (value: any, category: string) => any;
|
|
163
170
|
};
|
|
164
171
|
legend: {
|
|
165
172
|
clickable: boolean;
|