@carbon/charts 0.41.72 → 0.41.76
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 +36 -3
- package/build/demo/data/bullet.d.ts +0 -6
- package/build/demo/data/circle-pack.d.ts +15 -0
- package/build/src/components/graphs/circle-pack.d.ts +1 -1
- package/build/src/configuration-non-customizable.d.ts +8 -1
- package/build/src/interfaces/charts.d.ts +1 -0
- package/build/src/interfaces/enums.d.ts +1 -1
- package/build/src/model-circle-pack.d.ts +2 -2
- package/bundle.js +1 -1
- package/components/essentials/legend.js +15 -15
- package/components/essentials/legend.js.map +1 -1
- package/components/graphs/bar-simple.js +3 -1
- package/components/graphs/bar-simple.js.map +1 -1
- package/components/graphs/circle-pack.d.ts +1 -1
- package/components/graphs/circle-pack.js +14 -4
- package/components/graphs/circle-pack.js.map +1 -1
- package/components/graphs/pie.js +3 -3
- package/components/graphs/pie.js.map +1 -1
- package/configuration-non-customizable.d.ts +8 -1
- package/configuration-non-customizable.js +26 -1
- package/configuration-non-customizable.js.map +1 -1
- package/configuration.js +23 -2
- package/configuration.js.map +1 -1
- package/demo/data/bullet.d.ts +0 -6
- package/demo/data/bullet.js +0 -20
- package/demo/data/bullet.js.map +1 -1
- package/demo/data/bundle.js +1 -1
- package/demo/data/circle-pack.d.ts +15 -0
- package/demo/data/circle-pack.js +15 -0
- package/demo/data/circle-pack.js.map +1 -1
- package/demo/data/index.js +5 -0
- package/demo/data/index.js.map +1 -1
- package/demo/styles.css +0 -12
- package/demo/styles.css.map +1 -1
- package/demo/styles.min.css +1 -1
- package/demo/styles.min.css.map +1 -1
- package/demo/tsconfig.tsbuildinfo +5 -5
- package/interfaces/charts.d.ts +1 -0
- package/interfaces/charts.js.map +1 -1
- package/interfaces/enums.d.ts +1 -1
- package/interfaces/enums.js +10 -10
- package/interfaces/enums.js.map +1 -1
- package/model-circle-pack.d.ts +2 -2
- package/model-circle-pack.js +2 -2
- package/model-circle-pack.js.map +1 -1
- package/package.json +1 -1
- package/styles/graphs/_circle-pack.scss +0 -4
- package/styles-g10.css +0 -3
- package/styles-g10.css.map +1 -1
- package/styles-g10.min.css +1 -1
- package/styles-g10.min.css.map +1 -1
- package/styles-g100.css +0 -3
- package/styles-g100.css.map +1 -1
- package/styles-g100.min.css +1 -1
- package/styles-g100.min.css.map +1 -1
- package/styles-g90.css +0 -3
- package/styles-g90.css.map +1 -1
- package/styles-g90.min.css +1 -1
- package/styles-g90.min.css.map +1 -1
- package/styles.css +0 -3
- package/styles.css.map +1 -1
- package/styles.min.css +1 -1
- package/styles.min.css.map +1 -1
- package/tools.js +8 -8
- package/tools.js.map +1 -1
- package/tsconfig.tsbuildinfo +30 -29
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [0.41.
|
|
6
|
+
## [0.41.76](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.75...v0.41.76) (2021-06-24)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @carbon/charts
|
|
9
9
|
|
|
@@ -11,7 +11,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
# Change Log
|
|
15
|
+
|
|
16
|
+
All notable changes to this project will be documented in this file. See
|
|
17
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
18
|
+
|
|
19
|
+
## [0.41.75](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.74...v0.41.75) (2021-06-24)
|
|
15
20
|
|
|
16
21
|
**Note:** Version bump only for package @carbon/charts
|
|
17
22
|
|
|
@@ -19,7 +24,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
19
24
|
|
|
20
25
|
|
|
21
26
|
|
|
22
|
-
## [0.41.
|
|
27
|
+
## [0.41.74](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.73...v0.41.74) (2021-06-24)
|
|
28
|
+
|
|
29
|
+
**Note:** Version bump only for package @carbon/charts
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## [0.41.73](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.72...v0.41.73) (2021-06-24)
|
|
23
36
|
|
|
24
37
|
**Note:** Version bump only for package @carbon/charts
|
|
25
38
|
|
|
@@ -27,6 +40,26 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
27
40
|
|
|
28
41
|
|
|
29
42
|
|
|
43
|
+
## [0.41.72](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.71...v0.41.72) (2021-06-23)
|
|
44
|
+
|
|
45
|
+
**Note:** Version bump only for package @carbon/charts
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
## [0.41.71](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.70...v0.41.71) (2021-06-21)
|
|
52
|
+
|
|
53
|
+
**Note:** Version bump only for package @carbon/charts
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
## [0.41.70](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.69...v0.41.70) (2021-06-21)
|
|
60
|
+
|
|
61
|
+
**Note:** Version bump only for package @carbon/charts
|
|
62
|
+
|
|
30
63
|
# Change Log
|
|
31
64
|
|
|
32
65
|
All notable changes to this project will be documented in this file. See
|
|
@@ -12,6 +12,21 @@ export declare const circlePackTwoLevelOptions: {
|
|
|
12
12
|
enabled: boolean;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
+
export declare const circlePackTwoLevelCustomColorsOptions: {
|
|
16
|
+
experimental: string;
|
|
17
|
+
title: string;
|
|
18
|
+
canvasZoom: {
|
|
19
|
+
enabled: boolean;
|
|
20
|
+
};
|
|
21
|
+
color: {
|
|
22
|
+
scale: {
|
|
23
|
+
'Asia': string;
|
|
24
|
+
'South America': string;
|
|
25
|
+
'North America': string;
|
|
26
|
+
'Europe': string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
15
30
|
export declare const circlePackSingleOptions: {
|
|
16
31
|
experimental: string;
|
|
17
32
|
title: string;
|
|
@@ -4,7 +4,7 @@ export declare class CirclePack extends Component {
|
|
|
4
4
|
focal: any;
|
|
5
5
|
render(animate?: boolean): void;
|
|
6
6
|
unhighlightChildren(childData: any): void;
|
|
7
|
-
highlightChildren(childData: any
|
|
7
|
+
highlightChildren(childData: any): void;
|
|
8
8
|
getZoomClass(node: any): "focal" | "non-focal";
|
|
9
9
|
addLegendListeners(): void;
|
|
10
10
|
removeBackgroundListeners(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ZoomBarTypes } from './interfaces';
|
|
1
|
+
import { ZoomBarTypes, LegendItemTypes } from './interfaces';
|
|
2
2
|
import { easeCubicInOut } from 'd3-ease';
|
|
3
3
|
export declare const area: {
|
|
4
4
|
opacity: {
|
|
@@ -27,6 +27,9 @@ export declare const canvasZoomSettings: {
|
|
|
27
27
|
export declare const circlePack: {
|
|
28
28
|
circles: {
|
|
29
29
|
fillOpacity: number;
|
|
30
|
+
hover: {
|
|
31
|
+
stroke: string;
|
|
32
|
+
};
|
|
30
33
|
};
|
|
31
34
|
padding: {
|
|
32
35
|
mainGroup: number;
|
|
@@ -219,3 +222,7 @@ export declare const zoomBar: {
|
|
|
219
222
|
handleBarWidth: number;
|
|
220
223
|
handleBarHeight: number;
|
|
221
224
|
};
|
|
225
|
+
export declare const defaultLegendAdditionalItems: {
|
|
226
|
+
type: LegendItemTypes;
|
|
227
|
+
name: string;
|
|
228
|
+
}[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChartModel } from './model';
|
|
2
|
-
import {
|
|
2
|
+
import { LegendItemTypes } from './interfaces/enums';
|
|
3
3
|
/** The charting model layer which includes mainly the chart data and options,
|
|
4
4
|
* as well as some misc. information to be shared among components */
|
|
5
5
|
export declare class CirclePackChartModel extends ChartModel {
|
|
@@ -12,7 +12,7 @@ export declare class CirclePackChartModel extends ChartModel {
|
|
|
12
12
|
} | {
|
|
13
13
|
legend: {
|
|
14
14
|
additionalItems: {
|
|
15
|
-
type:
|
|
15
|
+
type: LegendItemTypes;
|
|
16
16
|
name: string;
|
|
17
17
|
}[];
|
|
18
18
|
};
|