@carbon/charts 0.54.12 → 0.55.0

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 CHANGED
@@ -3,6 +3,36 @@
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.55.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.14...v0.55.0) (2022-03-14)
7
+
8
+
9
+ ### Features
10
+
11
+ * **core:** add v11 classnames to modal & overflow menu ([#1329](https://github.com/carbon-design-system/carbon-charts/issues/1329)) ([f79c4ac](https://github.com/carbon-design-system/carbon-charts/commit/f79c4ac389bf3c1456ff92aa374669a26c743d63))
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.54.14](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.13...v0.54.14) (2022-03-14)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **core:** enable heatmap value domain to support small values ([#1325](https://github.com/carbon-design-system/carbon-charts/issues/1325)) ([378845c](https://github.com/carbon-design-system/carbon-charts/commit/378845c040681e9a528357487cd60352777b95d3)), closes [#1321](https://github.com/carbon-design-system/carbon-charts/issues/1321) [#1326](https://github.com/carbon-design-system/carbon-charts/issues/1326)
23
+
24
+
25
+
26
+
27
+
28
+ ## [0.54.13](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.12...v0.54.13) (2022-03-09)
29
+
30
+ **Note:** Version bump only for package @carbon/charts
31
+
32
+
33
+
34
+
35
+
6
36
  ## [0.54.12](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.11...v0.54.12) (2022-02-04)
7
37
 
8
38
 
@@ -46,6 +46,40 @@ export declare const heatmapQuantizeLegendOption: {
46
46
  };
47
47
  experimental: boolean;
48
48
  };
49
+ export declare const heatmapPositiveNegativeOptions: {
50
+ title: string;
51
+ axes: {
52
+ bottom: {
53
+ title: string;
54
+ mapsTo: string;
55
+ scaleType: string;
56
+ };
57
+ left: {
58
+ title: string;
59
+ mapsTo: string;
60
+ scaleType: string;
61
+ };
62
+ };
63
+ heatmap: {
64
+ colorLegend: {
65
+ title: string;
66
+ };
67
+ };
68
+ experimental: boolean;
69
+ } & {
70
+ title: string;
71
+ heatmap: {
72
+ colorLegend: {
73
+ title: string;
74
+ type: string;
75
+ };
76
+ };
77
+ };
78
+ export declare const heatmapPositiveNegativeData: {
79
+ value: number;
80
+ letter: string;
81
+ month: string;
82
+ }[];
49
83
  export declare const heatmapDomainOptions: {
50
84
  title: string;
51
85
  axes: {
@@ -5,7 +5,13 @@ export declare class ColorScaleLegend extends Legend {
5
5
  renderType: RenderTypes;
6
6
  private gradient_id;
7
7
  init(): void;
8
- handleAxisComplete: (event: CustomEvent<any>) => void;
8
+ handleAxisCompleteEvent: (event: CustomEvent<any>) => void;
9
9
  render(animate?: boolean): void;
10
+ drawLinear(colorPairing: any, legendGroupElement: any, barWidth: any): void;
11
+ /**
12
+ * Renders quantized legend
13
+ * @returns number (range start)
14
+ */
15
+ drawQuantize(colorPairing: any, colorScheme: any, customColorsEnabled: any, legendGroupElement: any, barWidth: any): number;
10
16
  destroy(): void;
11
17
  }
@@ -12,11 +12,11 @@ export declare class HeatmapModel extends ChartModelCartesian {
12
12
  * Get min and maximum value of the display data
13
13
  * @returns Array consisting of smallest and largest values in data
14
14
  */
15
- getValueDomain(): any[];
15
+ getValueDomain(): number[];
16
16
  /**
17
17
  * @override
18
18
  * @param value
19
- * @returns
19
+ * @returns string
20
20
  */
21
21
  getFillColor(value: number): any;
22
22
  /**
@@ -1,7 +1,7 @@
1
+ export * from './getting-started/vanilla';
1
2
  export * from './getting-started/angular';
2
3
  export * from './getting-started/react';
3
4
  export * from './getting-started/vue';
4
- export * from './getting-started/vanilla';
5
5
  export * from './api';
6
6
  export * from './tabular-data-format';
7
7
  export * from './themes';