@carbon/charts 1.16.1 → 1.16.2
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 +9 -0
- package/dist/_baseEach-DHzZsRNB.mjs +20 -0
- package/dist/{_baseEach-Ch85zB0O.mjs.map → _baseEach-DHzZsRNB.mjs.map} +1 -1
- package/dist/{angle-utils-GQFx3vKM.mjs → angle-utils-D8sXyiIj.mjs} +84 -89
- package/dist/{angle-utils-GQFx3vKM.mjs.map → angle-utils-D8sXyiIj.mjs.map} +1 -1
- package/dist/axis-chart.d.ts +6 -6
- package/dist/chart.d.ts +6 -6
- package/dist/charts/alluvial.d.ts +4 -4
- package/dist/charts/area-stacked.d.ts +3 -3
- package/dist/charts/area.d.ts +3 -3
- package/dist/charts/bar-grouped.d.ts +3 -3
- package/dist/charts/bar-simple.d.ts +3 -3
- package/dist/charts/bar-stacked.d.ts +3 -3
- package/dist/charts/boxplot.d.ts +4 -4
- package/dist/charts/bubble.d.ts +3 -3
- package/dist/charts/bullet.d.ts +4 -4
- package/dist/charts/choropleth.d.ts +7 -7
- package/dist/charts/circle-pack.d.ts +4 -4
- package/dist/charts/combo.d.ts +3 -3
- package/dist/charts/donut.d.ts +3 -3
- package/dist/charts/gauge.d.ts +4 -4
- package/dist/charts/heatmap.d.ts +7 -7
- package/dist/charts/histogram.d.ts +4 -4
- package/dist/charts/index.d.ts +24 -24
- package/dist/charts/line.d.ts +3 -3
- package/dist/charts/lollipop.d.ts +3 -3
- package/dist/charts/meter.d.ts +4 -4
- package/dist/charts/pie.d.ts +4 -4
- package/dist/charts/radar.d.ts +4 -4
- package/dist/charts/scatter.d.ts +3 -3
- package/dist/charts/tree.d.ts +4 -4
- package/dist/charts/treemap.d.ts +4 -4
- package/dist/charts/wordcloud.d.ts +4 -4
- package/dist/{choropleth-DdBUe80H.mjs → choropleth-C6lDAtOg.mjs} +1122 -1110
- package/dist/choropleth-C6lDAtOg.mjs.map +1 -0
- package/dist/{color-scale-utils-CiW9fERh.mjs → color-scale-utils-C93P4hee.mjs} +1093 -1116
- package/dist/color-scale-utils-C93P4hee.mjs.map +1 -0
- package/dist/components/axes/axis.d.ts +3 -3
- package/dist/components/axes/chart-clip.d.ts +2 -2
- package/dist/components/axes/grid-brush.d.ts +1 -1
- package/dist/components/axes/grid.d.ts +1 -1
- package/dist/components/axes/hover-axis.d.ts +1 -1
- package/dist/components/axes/ruler-binned.d.ts +1 -1
- package/dist/components/axes/ruler.d.ts +2 -2
- package/dist/components/axes/toolbar.d.ts +1 -1
- package/dist/components/axes/two-dimensional-axes.d.ts +2 -2
- package/dist/components/axes/zero-line.d.ts +1 -1
- package/dist/components/axes/zoom-bar.d.ts +2 -2
- package/dist/components/component.d.ts +3 -3
- package/dist/components/essentials/color-scale-legend.d.ts +2 -2
- package/dist/components/essentials/geo-projection.d.ts +1 -1
- package/dist/components/essentials/highlights.d.ts +3 -3
- package/dist/components/essentials/legend.d.ts +1 -1
- package/dist/components/essentials/modal.d.ts +1 -1
- package/dist/components/essentials/threshold.d.ts +3 -3
- package/dist/components/essentials/title-meter.d.ts +1 -1
- package/dist/components/essentials/title.d.ts +1 -1
- package/dist/components/essentials/tooltip.d.ts +3 -3
- package/dist/components/graphs/alluvial.d.ts +1 -1
- package/dist/components/graphs/area-stacked.d.ts +1 -1
- package/dist/components/graphs/area.d.ts +1 -1
- package/dist/components/graphs/bar-grouped.d.ts +2 -2
- package/dist/components/graphs/bar-simple.d.ts +1 -1
- package/dist/components/graphs/bar-stacked.d.ts +1 -1
- package/dist/components/graphs/boxplot.d.ts +1 -1
- package/dist/components/graphs/bubble.d.ts +2 -2
- package/dist/components/graphs/bullet.d.ts +1 -1
- package/dist/components/graphs/circle-pack.d.ts +1 -1
- package/dist/components/graphs/donut.d.ts +1 -1
- package/dist/components/graphs/gauge.d.ts +1 -1
- package/dist/components/graphs/heatmap.d.ts +1 -1
- package/dist/components/graphs/histogram.d.ts +1 -1
- package/dist/components/graphs/line.d.ts +1 -1
- package/dist/components/graphs/lollipop.d.ts +1 -1
- package/dist/components/graphs/meter.d.ts +1 -1
- package/dist/components/graphs/pie.d.ts +1 -1
- package/dist/components/graphs/radar.d.ts +1 -1
- package/dist/components/graphs/scatter-stacked.d.ts +1 -1
- package/dist/components/graphs/scatter.d.ts +2 -2
- package/dist/components/graphs/skeleton-lines.d.ts +1 -1
- package/dist/components/graphs/skeleton.d.ts +1 -1
- package/dist/components/graphs/tree.d.ts +1 -1
- package/dist/components/graphs/treemap.d.ts +1 -1
- package/dist/components/graphs/wordcloud.d.ts +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/components/layout/layout.d.ts +3 -3
- package/dist/configuration-non-customizable.d.ts +1 -1
- package/dist/configuration.d.ts +2 -2
- package/dist/demo/charts/index.d.ts +2 -2
- package/dist/demo/index.mjs +115 -108
- package/dist/demo/index.mjs.map +1 -1
- package/dist/demo/styles.css +226 -63
- package/dist/demo/styles.css.map +1 -1
- package/dist/demo/utils/stackblitz/angular.d.ts +1 -1
- package/dist/demo/utils/stackblitz/react.d.ts +1 -1
- package/dist/demo/utils/stackblitz/svelte.d.ts +1 -1
- package/dist/demo/utils/stackblitz/vanilla-js.d.ts +1 -1
- package/dist/demo/utils/stackblitz/vue.d.ts +1 -1
- package/dist/index.mjs +8 -8
- package/dist/interfaces/axis-scales.d.ts +4 -4
- package/dist/interfaces/charts.d.ts +2 -2
- package/dist/interfaces/components.d.ts +2 -2
- package/dist/interfaces/services.d.ts +8 -8
- package/dist/model/cartesian-charts.d.ts +1 -1
- package/dist/model/circle-pack.d.ts +1 -1
- package/dist/model/heatmap.d.ts +1 -1
- package/dist/model/index.mjs +1 -1
- package/dist/model/model.d.ts +1 -1
- package/dist/services/essentials/dom-utils.d.ts +2 -2
- package/dist/services/essentials/files.d.ts +1 -1
- package/dist/services/essentials/transitions.d.ts +1 -1
- package/dist/services/index.mjs +3 -3
- package/dist/services/scales-cartesian.d.ts +3 -3
- package/dist/services/service.d.ts +1 -1
- package/dist/services/time-series.d.ts +1 -1
- package/dist/services/zoom.d.ts +1 -1
- package/dist/styles.css +4 -0
- package/dist/styles.css.map +1 -1
- package/dist/styles.min.css +1 -1
- package/dist/styles.min.css.map +1 -1
- package/dist/tools.d.ts +1 -1
- package/dist/umd/bundle.umd.js +19 -19
- package/dist/umd/bundle.umd.js.map +1 -1
- package/dist/{wordcloud-DQKXuKDM.mjs → wordcloud-KxSjz0Gg.mjs} +5 -5
- package/dist/{wordcloud-DQKXuKDM.mjs.map → wordcloud-KxSjz0Gg.mjs.map} +1 -1
- package/dist/{zoom-DyHfBf_y.mjs → zoom-B7KfNcH9.mjs} +3 -3
- package/dist/{zoom-DyHfBf_y.mjs.map → zoom-B7KfNcH9.mjs.map} +1 -1
- package/package.json +21 -19
- package/styles.css +4 -0
- package/styles.min.css +1 -1
- package/dist/_baseEach-Ch85zB0O.mjs +0 -20
- package/dist/choropleth-DdBUe80H.mjs.map +0 -1
- package/dist/color-scale-utils-CiW9fERh.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ChartModel } from '../../model/model';
|
|
2
|
-
import { ScaleTypes, RenderTypes } from '../../interfaces/enums';
|
|
3
|
-
import { Component } from '../component';
|
|
4
1
|
import { AxisScale, Selection as D3Selection } from 'd3';
|
|
2
|
+
import { Component } from '../component';
|
|
3
|
+
import { ScaleTypes, RenderTypes } from '../../interfaces/enums';
|
|
4
|
+
import { ChartModel } from '../../model/model';
|
|
5
5
|
export declare class Axis extends Component {
|
|
6
6
|
type: string;
|
|
7
7
|
renderType: RenderTypes;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
2
|
-
import { ChartModel } from '../../model/model';
|
|
3
1
|
import { Component } from '../component';
|
|
2
|
+
import { ChartModel } from '../../model/model';
|
|
3
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
4
4
|
export declare class ChartClip extends Component {
|
|
5
5
|
type: string;
|
|
6
6
|
renderType: RenderTypes;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChartModel } from '../../model/model';
|
|
2
1
|
import { Axis } from './axis';
|
|
2
|
+
import { ChartModel } from '../../model/model';
|
|
3
3
|
export declare class HoverAxis extends Axis {
|
|
4
4
|
constructor(model: ChartModel, services: any, configs?: any);
|
|
5
5
|
render(animate?: boolean): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
2
|
-
import { Component } from '../component';
|
|
3
1
|
import { Selection } from 'd3';
|
|
2
|
+
import { Component } from '../component';
|
|
3
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
4
4
|
export type GenericSvgSelection = Selection<SVGGraphicsElement, any, Element, any>;
|
|
5
5
|
export declare class Ruler extends Component {
|
|
6
6
|
type: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RenderTypes, ToolbarControlTypes } from '../../interfaces/enums';
|
|
2
1
|
import { Component } from '../component';
|
|
2
|
+
import { RenderTypes, ToolbarControlTypes } from '../../interfaces/enums';
|
|
3
3
|
export declare class Toolbar extends Component {
|
|
4
4
|
static buttonID: number;
|
|
5
5
|
type: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
2
|
-
import { Threshold } from '../essentials/threshold';
|
|
3
1
|
import { Component } from '../component';
|
|
2
|
+
import { Threshold } from '../essentials/threshold';
|
|
3
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
4
4
|
export declare class TwoDimensionalAxes extends Component {
|
|
5
5
|
type: string;
|
|
6
6
|
renderType: RenderTypes;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
2
|
-
import { ChartModelCartesian } from '../../model/cartesian-charts';
|
|
3
1
|
import { Component } from '../component';
|
|
2
|
+
import { ChartModelCartesian } from '../../model/cartesian-charts';
|
|
3
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
4
4
|
export declare class ZoomBar extends Component {
|
|
5
5
|
type: string;
|
|
6
6
|
renderType: RenderTypes;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Services } from '../interfaces/services';
|
|
2
|
-
import { RenderTypes } from '../interfaces/enums';
|
|
3
|
-
import { ChartModel } from '../model/model';
|
|
4
1
|
import { Selection as D3Selection } from 'd3';
|
|
2
|
+
import { ChartModel } from '../model/model';
|
|
3
|
+
import { RenderTypes } from '../interfaces/enums';
|
|
4
|
+
import { Services } from '../interfaces/services';
|
|
5
5
|
export declare class Component {
|
|
6
6
|
type: string;
|
|
7
7
|
renderType: RenderTypes;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChartModel } from '../../model';
|
|
2
|
-
import { Legend } from './legend';
|
|
3
1
|
import { RenderTypes } from '../../interfaces/enums';
|
|
2
|
+
import { Legend } from './legend';
|
|
3
|
+
import { ChartModel } from '../../model';
|
|
4
4
|
export declare class ColorScaleLegend extends Legend {
|
|
5
5
|
type: string;
|
|
6
6
|
renderType: RenderTypes;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
2
|
-
import { ChartModel } from '../../model/model';
|
|
3
|
-
import { Component } from '../component';
|
|
4
1
|
import { default as Position } from '@carbon/utils-position';
|
|
2
|
+
import { Component } from '../component';
|
|
3
|
+
import { ChartModel } from '../../model/model';
|
|
4
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
5
5
|
export declare class Highlight extends Component {
|
|
6
6
|
type: string;
|
|
7
7
|
renderType: RenderTypes;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
2
|
-
import { ChartModel } from '../../model/model';
|
|
3
|
-
import { Component } from '../component';
|
|
4
1
|
import { default as Position } from '@carbon/utils-position';
|
|
2
|
+
import { Component } from '../component';
|
|
3
|
+
import { ChartModel } from '../../model/model';
|
|
4
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
5
5
|
export declare class Threshold extends Component {
|
|
6
6
|
type: string;
|
|
7
7
|
renderType: RenderTypes;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
2
|
-
import { ChartModel } from '../../model/model';
|
|
3
|
-
import { Component } from '../component';
|
|
4
1
|
import { default as Position } from '@carbon/utils-position';
|
|
2
|
+
import { Component } from '../component';
|
|
3
|
+
import { ChartModel } from '../../model/model';
|
|
4
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
5
5
|
export declare class Tooltip extends Component {
|
|
6
6
|
type: string;
|
|
7
7
|
renderType: RenderTypes;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
2
|
-
import { Bar } from './bar';
|
|
3
1
|
import { ScaleBand } from 'd3';
|
|
2
|
+
import { Bar } from './bar';
|
|
3
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
4
4
|
export declare class GroupedBar extends Bar {
|
|
5
5
|
type: string;
|
|
6
6
|
renderType: RenderTypes;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
2
|
-
import { Scatter } from './scatter';
|
|
3
1
|
import { Selection } from 'd3';
|
|
2
|
+
import { Scatter } from './scatter';
|
|
3
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
4
4
|
export declare class Bubble extends Scatter {
|
|
5
5
|
type: string;
|
|
6
6
|
renderType: RenderTypes;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
2
|
-
import { Component } from '../component';
|
|
3
1
|
import { Selection } from 'd3';
|
|
2
|
+
import { Component } from '../component';
|
|
3
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
4
4
|
export declare class Scatter extends Component {
|
|
5
5
|
type: string;
|
|
6
6
|
renderType: RenderTypes;
|
|
@@ -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-
|
|
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-C6lDAtOg.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as Alluvial,
|
|
4
4
|
r as Area,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ChartModel } from '../../model/model';
|
|
2
|
-
import { LayoutComponentChild } from '../../interfaces/components';
|
|
3
|
-
import { LayoutConfigs } from '../../interfaces/layout';
|
|
4
1
|
import { Component } from '../component';
|
|
2
|
+
import { LayoutConfigs } from '../../interfaces/layout';
|
|
3
|
+
import { LayoutComponentChild } from '../../interfaces/components';
|
|
4
|
+
import { ChartModel } from '../../model/model';
|
|
5
5
|
export declare class LayoutComponent extends Component {
|
|
6
6
|
static instanceID: number;
|
|
7
7
|
type: string;
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { GridOptions, RulerOptions, TooltipOptions } from './interfaces/components';
|
|
2
|
-
import { TimeScaleOptions } from './interfaces/axis-scales';
|
|
3
1
|
import { AlluvialChartOptions, AreaChartOptions, AxisChartOptions, BarChartOptions, BaseChartOptions, BubbleChartOptions, BulletChartOptions, ChoroplethChartOptions, CirclePackChartOptions, ComboChartOptions, DonutChartOptions, GaugeChartOptions, HeatmapChartOptions, HistogramChartOptions, LineChartOptions, MeterChartOptions, PieChartOptions, ProportionalMeterChartOptions, RadarChartOptions, ScatterChartOptions, StackedBarChartOptions, ThematicChartOptions, TreeChartOptions, WorldCloudChartOptions } from './interfaces/charts';
|
|
2
|
+
import { TimeScaleOptions } from './interfaces/axis-scales';
|
|
3
|
+
import { GridOptions, RulerOptions, TooltipOptions } from './interfaces/components';
|
|
4
4
|
/**
|
|
5
5
|
* Grid options
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChartTabularData } from '../../interfaces/model';
|
|
2
|
-
import { BaseChartOptions } from '../../interfaces/charts';
|
|
3
1
|
import { Project } from '@stackblitz/sdk';
|
|
2
|
+
import { BaseChartOptions } from '../../interfaces/charts';
|
|
3
|
+
import { ChartTabularData } from '../../interfaces/model';
|
|
4
4
|
import * as areaDemos from './area';
|
|
5
5
|
import * as barDemos from './bar';
|
|
6
6
|
import * as boxplotDemos from './boxplot';
|