@carbon/charts 0.49.4 → 0.50.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.
Files changed (73) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/build/src/components/essentials/threshold.d.ts +1 -0
  3. package/build/src/services/essentials/transitions.d.ts +0 -3
  4. package/build/stories/tutorials/feature-flags.d.ts +4 -0
  5. package/build/stories/tutorials/index.d.ts +1 -0
  6. package/bundle.js +1 -1
  7. package/components/essentials/threshold.d.ts +1 -0
  8. package/components/essentials/threshold.js +42 -16
  9. package/components/essentials/threshold.js.map +1 -1
  10. package/components/graphs/alluvial.js +14 -2
  11. package/components/graphs/alluvial.js.map +1 -1
  12. package/components/graphs/area-stacked.js +14 -2
  13. package/components/graphs/area-stacked.js.map +1 -1
  14. package/components/graphs/area.js +14 -2
  15. package/components/graphs/area.js.map +1 -1
  16. package/components/graphs/bar-grouped.js +14 -4
  17. package/components/graphs/bar-grouped.js.map +1 -1
  18. package/components/graphs/bar-simple.js +14 -4
  19. package/components/graphs/bar-simple.js.map +1 -1
  20. package/components/graphs/bar-stacked.js +14 -3
  21. package/components/graphs/bar-stacked.js.map +1 -1
  22. package/components/graphs/bullet.js +14 -4
  23. package/components/graphs/bullet.js.map +1 -1
  24. package/components/graphs/circle-pack.js +21 -3
  25. package/components/graphs/circle-pack.js.map +1 -1
  26. package/components/graphs/histogram.js +14 -3
  27. package/components/graphs/histogram.js.map +1 -1
  28. package/components/graphs/line.js +14 -2
  29. package/components/graphs/line.js.map +1 -1
  30. package/components/graphs/lollipop.js +14 -2
  31. package/components/graphs/lollipop.js.map +1 -1
  32. package/components/graphs/meter.js +0 -1
  33. package/components/graphs/meter.js.map +1 -1
  34. package/components/graphs/pie.js +28 -4
  35. package/components/graphs/pie.js.map +1 -1
  36. package/components/graphs/radar.js +134 -17
  37. package/components/graphs/radar.js.map +1 -1
  38. package/components/graphs/scatter.js +28 -4
  39. package/components/graphs/scatter.js.map +1 -1
  40. package/components/graphs/treemap.js +28 -4
  41. package/components/graphs/treemap.js.map +1 -1
  42. package/components/graphs/wordcloud.js +30 -5
  43. package/components/graphs/wordcloud.js.map +1 -1
  44. package/demo/styles.css +9236 -10907
  45. package/demo/styles.css.map +1 -1
  46. package/demo/styles.min.css +1 -1
  47. package/demo/styles.min.css.map +1 -1
  48. package/package.json +1 -1
  49. package/services/essentials/transitions.d.ts +0 -3
  50. package/services/essentials/transitions.js +1 -25
  51. package/services/essentials/transitions.js.map +1 -1
  52. package/styles/_chart-feature-flags.scss +4 -0
  53. package/styles/_type.scss +7 -2
  54. package/styles/components/_modal.scss +0 -4
  55. package/styles/components/_toolbar.scss +0 -4
  56. package/styles/styles.scss +1 -0
  57. package/styles-g10.css +45 -3525
  58. package/styles-g10.css.map +1 -1
  59. package/styles-g10.min.css +1 -1
  60. package/styles-g10.min.css.map +1 -1
  61. package/styles-g100.css +46 -3526
  62. package/styles-g100.css.map +1 -1
  63. package/styles-g100.min.css +1 -1
  64. package/styles-g100.min.css.map +1 -1
  65. package/styles-g90.css +46 -3526
  66. package/styles-g90.css.map +1 -1
  67. package/styles-g90.min.css +1 -1
  68. package/styles-g90.min.css.map +1 -1
  69. package/styles.css +45 -3525
  70. package/styles.css.map +1 -1
  71. package/styles.min.css +1 -1
  72. package/styles.min.css.map +1 -1
  73. package/tsconfig.tsbuildinfo +21 -22
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.50.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.49.7...v0.50.0) (2021-09-30)
7
+
8
+
9
+ ### Features
10
+
11
+ * **core:** remove overflow menu and modal imports in chart styles ([#1170](https://github.com/carbon-design-system/carbon-charts/issues/1170)) ([4ca6839](https://github.com/carbon-design-system/carbon-charts/commit/4ca683928b8cea7c47b6e3f287b0fff9736eee5f)), closes [#1115](https://github.com/carbon-design-system/carbon-charts/issues/1115)
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.49.7](https://github.com/carbon-design-system/carbon-charts/compare/v0.49.6...v0.49.7) (2021-09-27)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **core:** optimize transition to not return new transition on root element ([#1169](https://github.com/carbon-design-system/carbon-charts/issues/1169)) ([fe4d592](https://github.com/carbon-design-system/carbon-charts/commit/fe4d592991e9cbf68c4b9efab0be4aa46dfcd416)), closes [#1143](https://github.com/carbon-design-system/carbon-charts/issues/1143)
23
+
24
+
25
+
26
+
27
+
28
+ ## [0.49.6](https://github.com/carbon-design-system/carbon-charts/compare/v0.49.5...v0.49.6) (2021-09-23)
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * **core:** correctly draw the threshold from multiple axes ([#1159](https://github.com/carbon-design-system/carbon-charts/issues/1159)) ([1bba0d3](https://github.com/carbon-design-system/carbon-charts/commit/1bba0d38cc0b08fc56861d5923d1f7f3293e80a8)), closes [#1153](https://github.com/carbon-design-system/carbon-charts/issues/1153)
34
+
35
+
36
+
37
+
38
+
39
+ ## [0.49.5](https://github.com/carbon-design-system/carbon-charts/compare/v0.49.4...v0.49.5) (2021-09-23)
40
+
41
+ **Note:** Version bump only for package @carbon/charts
42
+
43
+
44
+
45
+
46
+
6
47
  ## [0.49.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.49.3...v0.49.4) (2021-09-22)
7
48
 
8
49
 
@@ -15,5 +15,6 @@ export declare class Threshold extends Component {
15
15
  event: any;
16
16
  datum: any;
17
17
  }): void;
18
+ constructDatumObj(d: any, element: any): {};
18
19
  addEventListeners(): void;
19
20
  }
@@ -1,5 +1,4 @@
1
1
  import { Service } from '../service';
2
- import { Transition } from 'd3-transition';
3
2
  interface setupTransitionConfigs {
4
3
  transition?: any;
5
4
  name?: string;
@@ -8,8 +7,6 @@ interface setupTransitionConfigs {
8
7
  export declare class Transitions extends Service {
9
8
  pendingTransitions: {};
10
9
  init(): void;
11
- getTransition(name: string, animate?: boolean): Transition<any, any, any, any>;
12
- getInstantTransition(name?: string): Transition<any, any, any, any>;
13
10
  setupTransition({ transition: t, name, animate }: setupTransitionConfigs): any;
14
11
  getPendingTransitions(): {};
15
12
  }
@@ -0,0 +1,4 @@
1
+ export declare const featureFlagTutorial: {
2
+ name: string;
3
+ content: string;
4
+ };
@@ -5,6 +5,7 @@ export * from './getting-started/vanilla';
5
5
  export * from './api';
6
6
  export * from './tabular-data-format';
7
7
  export * from './themes';
8
+ export * from './feature-flags';
8
9
  export * from './event-listeners';
9
10
  export * from './color-palette';
10
11
  export * from './dual-axes';