@carbon/charts 0.51.3 → 0.52.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.
Files changed (58) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/build/demo/data/alluvial.d.ts +34 -2
  3. package/build/src/components/essentials/modal.d.ts +0 -1
  4. package/build/src/components/graphs/alluvial.d.ts +1 -0
  5. package/build/src/services/essentials/files.d.ts +1 -1
  6. package/bundle.js +1 -1
  7. package/chart.js +1 -0
  8. package/chart.js.map +1 -1
  9. package/charts/combo.js.map +1 -1
  10. package/components/component.js +6 -2
  11. package/components/component.js.map +1 -1
  12. package/components/essentials/modal.d.ts +0 -1
  13. package/components/essentials/modal.js +0 -5
  14. package/components/essentials/modal.js.map +1 -1
  15. package/components/graphs/alluvial.d.ts +1 -0
  16. package/components/graphs/alluvial.js +46 -4
  17. package/components/graphs/alluvial.js.map +1 -1
  18. package/components/graphs/bar-stacked.js +1 -1
  19. package/components/graphs/bar-stacked.js.map +1 -1
  20. package/demo/create-codesandbox.js +1 -1
  21. package/demo/create-codesandbox.js.map +1 -1
  22. package/demo/data/alluvial.d.ts +34 -2
  23. package/demo/data/alluvial.js +175 -17
  24. package/demo/data/alluvial.js.map +1 -1
  25. package/demo/data/bundle.js +1 -1
  26. package/demo/data/hightlight.js +1 -1
  27. package/demo/data/hightlight.js.map +1 -1
  28. package/demo/data/index.js +6 -1
  29. package/demo/data/index.js.map +1 -1
  30. package/demo/styles.css +4 -0
  31. package/demo/styles.css.map +1 -1
  32. package/demo/styles.min.css +1 -1
  33. package/demo/styles.min.css.map +1 -1
  34. package/demo/tsconfig.tsbuildinfo +5 -5
  35. package/package.json +1 -1
  36. package/services/essentials/files.d.ts +1 -1
  37. package/services/essentials/files.js +4 -4
  38. package/services/essentials/files.js.map +1 -1
  39. package/services/service.js +6 -2
  40. package/services/service.js.map +1 -1
  41. package/styles/components/_highlights.scss +1 -0
  42. package/styles-g10.css +1 -0
  43. package/styles-g10.css.map +1 -1
  44. package/styles-g10.min.css +1 -1
  45. package/styles-g10.min.css.map +1 -1
  46. package/styles-g100.css +1 -0
  47. package/styles-g100.css.map +1 -1
  48. package/styles-g100.min.css +1 -1
  49. package/styles-g100.min.css.map +1 -1
  50. package/styles-g90.css +1 -0
  51. package/styles-g90.css.map +1 -1
  52. package/styles-g90.min.css +1 -1
  53. package/styles-g90.min.css.map +1 -1
  54. package/styles.css +1 -0
  55. package/styles.css.map +1 -1
  56. package/styles.min.css +1 -1
  57. package/styles.min.css.map +1 -1
  58. package/tsconfig.tsbuildinfo +11 -11
package/CHANGELOG.md CHANGED
@@ -3,6 +3,47 @@
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.52.2](https://github.com/carbon-design-system/carbon-charts/compare/v0.52.1...v0.52.2) (2021-11-19)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **core:** add linear gradient support to alluvial links ([#1192](https://github.com/carbon-design-system/carbon-charts/issues/1192)) ([f2170b1](https://github.com/carbon-design-system/carbon-charts/commit/f2170b15b78797e0fcced2367b5b60c2b4e3a332)), closes [#1189](https://github.com/carbon-design-system/carbon-charts/issues/1189)
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.52.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.52.0...v0.52.1) (2021-11-19)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **core:** set pointer events of highlight elements to none ([#1220](https://github.com/carbon-design-system/carbon-charts/issues/1220)) ([5594054](https://github.com/carbon-design-system/carbon-charts/commit/5594054f791e4bd48b121104a3280e9934d90d6f)), closes [#1212](https://github.com/carbon-design-system/carbon-charts/issues/1212)
23
+
24
+
25
+
26
+
27
+
28
+ # [0.52.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.51.4...v0.52.0) (2021-11-18)
29
+
30
+ **Note:** Version bump only for package @carbon/charts
31
+
32
+
33
+
34
+
35
+
36
+ ## [0.51.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.51.3...v0.51.4) (2021-11-16)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * **svelte:** remove default export in `index.html` ([#1218](https://github.com/carbon-design-system/carbon-charts/issues/1218)) ([63f99d1](https://github.com/carbon-design-system/carbon-charts/commit/63f99d1b57d1b034292cc44aad93ca2de69beaed))
42
+
43
+
44
+
45
+
46
+
6
47
  ## [0.51.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.51.2...v0.51.3) (2021-11-03)
7
48
 
8
49
 
@@ -6,12 +6,12 @@ export declare const alluvialSimpleData: {
6
6
  export declare const alluvialSimpleOptions: {
7
7
  title: string;
8
8
  alluvial: {
9
- units: string;
10
9
  nodes: {
11
10
  name: string;
12
11
  category: string;
13
12
  }[];
14
13
  };
14
+ height: string;
15
15
  };
16
16
  export declare const alluvialSimpleCustomColorOptions: {
17
17
  title: string;
@@ -23,12 +23,44 @@ export declare const alluvialSimpleCustomColorOptions: {
23
23
  };
24
24
  };
25
25
  alluvial: {
26
- units: string;
27
26
  nodes: {
28
27
  name: string;
29
28
  category: string;
30
29
  }[];
31
30
  };
31
+ height: string;
32
+ };
33
+ export declare const alluvialGradientData: {
34
+ source: string;
35
+ target: string;
36
+ value: number;
37
+ }[];
38
+ export declare const alluvialSimpleGradientOptions: {
39
+ title: string;
40
+ color: {
41
+ scale: {
42
+ Cards: string;
43
+ 'About Modal': string;
44
+ 'Create Flow': string;
45
+ 'Page Header': string;
46
+ Notifications: string;
47
+ 'Data and AI, AI Apps': string;
48
+ 'Data and AI, Info Architecture': string;
49
+ Security: string;
50
+ Automation: string;
51
+ 'Public Cloud': string;
52
+ };
53
+ gradient: {
54
+ enabled: boolean;
55
+ };
56
+ };
57
+ alluvial: {
58
+ nodes: {
59
+ name: string;
60
+ category: string;
61
+ }[];
62
+ };
63
+ height: string;
32
64
  };
33
65
  export declare const alluvialMultipleCategoryOptions: {
34
66
  title: string;
@@ -6,7 +6,6 @@ export declare class Modal extends Component {
6
6
  modal: any;
7
7
  constructor(model: ChartModel, services: any, configs?: any);
8
8
  handleShowModal: () => void;
9
- handleHideModal: () => void;
10
9
  addEventListeners(): void;
11
10
  removeEventListeners(): void;
12
11
  getModalHTML(): string;
@@ -4,6 +4,7 @@ export declare class Alluvial extends Component {
4
4
  type: string;
5
5
  renderType: RenderTypes;
6
6
  private graph;
7
+ gradient_id: string;
7
8
  render(animate?: boolean): void;
8
9
  addLineEventListener(): void;
9
10
  addNodeEventListener(): void;
@@ -1,6 +1,6 @@
1
1
  import { Service } from '../service';
2
2
  export declare class Files extends Service {
3
3
  constructor(model: any, services: any);
4
- downloadCSV(content: any, filename: any, mimeType: any): void;
4
+ downloadCSV(content: any, filename: any): void;
5
5
  downloadImage(uri: any, name: any): void;
6
6
  }