@carbon/charts 0.41.48 → 0.41.52

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 (272) hide show
  1. package/CHANGELOG.md +20 -11
  2. package/build/demo/data/CHART_TYPES.d.ts +93 -0
  3. package/build/demo/data/bar.d.ts +17 -23
  4. package/build/demo/data/combo.d.ts +3 -0
  5. package/build/demo/data/index.d.ts +16 -92
  6. package/build/demo/data/line.d.ts +3 -77
  7. package/build/demo/data/scatter.d.ts +0 -18
  8. package/build/demo/data/wordcloud.d.ts +14 -0
  9. package/build/src/charts/index.d.ts +1 -0
  10. package/build/src/charts/wordcloud.d.ts +6 -0
  11. package/build/src/components/graphs/wordcloud.d.ts +10 -0
  12. package/build/src/components/index.d.ts +1 -0
  13. package/build/src/configuration.d.ts +2 -1
  14. package/build/src/interfaces/charts.d.ts +23 -0
  15. package/build/src/interfaces/events.d.ts +9 -0
  16. package/bundle.js +1 -1
  17. package/charts/index.d.ts +1 -0
  18. package/charts/index.js +1 -0
  19. package/charts/index.js.map +1 -1
  20. package/charts/wordcloud.d.ts +6 -0
  21. package/charts/wordcloud.js +46 -0
  22. package/charts/wordcloud.js.map +1 -0
  23. package/components/essentials/tooltip-axis.js +1 -1
  24. package/components/essentials/tooltip-axis.js.map +1 -1
  25. package/components/essentials/tooltip.js +5 -2
  26. package/components/essentials/tooltip.js.map +1 -1
  27. package/components/graphs/boxplot.js +2 -2
  28. package/components/graphs/boxplot.js.map +1 -1
  29. package/components/graphs/wordcloud.d.ts +10 -0
  30. package/components/graphs/wordcloud.js +229 -0
  31. package/components/graphs/wordcloud.js.map +1 -0
  32. package/components/index.d.ts +1 -0
  33. package/components/index.js +1 -0
  34. package/components/index.js.map +1 -1
  35. package/configuration.d.ts +2 -1
  36. package/configuration.js +22 -0
  37. package/configuration.js.map +1 -1
  38. package/demo/data/CHART_TYPES.d.ts +93 -0
  39. package/demo/data/CHART_TYPES.js +93 -0
  40. package/demo/data/CHART_TYPES.js.map +1 -0
  41. package/demo/data/area.js +1 -1
  42. package/demo/data/area.js.map +1 -1
  43. package/demo/data/bar.d.ts +17 -23
  44. package/demo/data/bar.js +60 -68
  45. package/demo/data/bar.js.map +1 -1
  46. package/demo/data/boxplot.js +2 -2
  47. package/demo/data/boxplot.js.map +1 -1
  48. package/demo/data/bundle.js +1 -1
  49. package/demo/data/combo.d.ts +3 -0
  50. package/demo/data/combo.js +3 -0
  51. package/demo/data/combo.js.map +1 -1
  52. package/demo/data/index.d.ts +16 -92
  53. package/demo/data/index.js +404 -512
  54. package/demo/data/index.js.map +1 -1
  55. package/demo/data/line.d.ts +3 -77
  56. package/demo/data/line.js +9 -73
  57. package/demo/data/line.js.map +1 -1
  58. package/demo/data/scatter.d.ts +0 -18
  59. package/demo/data/scatter.js +0 -51
  60. package/demo/data/scatter.js.map +1 -1
  61. package/demo/data/wordcloud.d.ts +14 -0
  62. package/demo/data/wordcloud.js +105 -0
  63. package/demo/data/wordcloud.js.map +1 -0
  64. package/demo/styles.css +2827 -28
  65. package/demo/styles.css.map +1 -1
  66. package/demo/styles.min.css +1 -1
  67. package/demo/styles.min.css.map +1 -1
  68. package/demo/tsconfig.tsbuildinfo +47 -312
  69. package/interfaces/charts.d.ts +23 -0
  70. package/interfaces/charts.js.map +1 -1
  71. package/interfaces/events.d.ts +9 -0
  72. package/interfaces/events.js +10 -0
  73. package/interfaces/events.js.map +1 -1
  74. package/model.js +1 -1
  75. package/model.js.map +1 -1
  76. package/package.json +8 -7
  77. package/styles/_type.scss +4 -2
  78. package/styles/graphs/_wordcloud.scss +7 -0
  79. package/styles/graphs/index.scss +1 -0
  80. package/styles/vendor/@carbon/colors/README.md +4 -3
  81. package/styles/vendor/@carbon/colors/es/index.js +13 -12
  82. package/styles/vendor/@carbon/colors/lib/index.js +98 -93
  83. package/styles/vendor/@carbon/colors/package.json +14 -10
  84. package/styles/vendor/@carbon/colors/scss/colors.scss +1 -1
  85. package/styles/vendor/@carbon/colors/scss/index.scss +1 -1
  86. package/styles/vendor/@carbon/colors/scss/mixins.scss +33 -13
  87. package/styles/vendor/@carbon/colors/umd/index.js +99 -94
  88. package/styles/vendor/@carbon/elements/README.md +0 -6
  89. package/styles/vendor/@carbon/elements/es/index.js +4 -11
  90. package/styles/vendor/@carbon/elements/lib/index.js +959 -13
  91. package/styles/vendor/@carbon/elements/package.json +17 -13
  92. package/styles/vendor/@carbon/elements/scss/colors/colors.scss +1 -1
  93. package/styles/vendor/@carbon/elements/scss/colors/index.scss +1 -1
  94. package/styles/vendor/@carbon/elements/scss/colors/mixins.scss +33 -13
  95. package/styles/vendor/@carbon/elements/scss/grid/_inlined/_mixins.scss +82 -22
  96. package/styles/vendor/@carbon/elements/scss/grid/_mixins.scss +82 -22
  97. package/styles/vendor/@carbon/elements/scss/grid/modules/_breakpoint.scss +266 -0
  98. package/styles/vendor/@carbon/{themes/node_modules/@carbon/colors/scss/colors.scss → elements/scss/grid/modules/_config.scss} +6 -6
  99. package/styles/vendor/@carbon/elements/scss/grid/modules/_css-grid.scss +350 -0
  100. package/styles/vendor/@carbon/elements/scss/grid/modules/_mixins.scss +323 -0
  101. package/styles/vendor/@carbon/elements/scss/grid/vendor/@carbon/layout/_breakpoint.scss +8 -3
  102. package/styles/vendor/@carbon/elements/scss/grid/vendor/@carbon/layout/modules/_breakpoint.scss +232 -0
  103. package/styles/vendor/@carbon/elements/scss/grid/vendor/@carbon/layout/modules/_convert.scss +40 -0
  104. package/styles/vendor/@carbon/elements/scss/grid/vendor/@carbon/layout/modules/_spacing.scss +9 -0
  105. package/styles/vendor/@carbon/elements/scss/grid/vendor/@carbon/layout/modules/_utilities.scss +41 -0
  106. package/styles/vendor/@carbon/elements/scss/grid/vendor/@carbon/layout/modules/generated/_fluid-spacing.scss +37 -0
  107. package/styles/vendor/@carbon/elements/scss/grid/vendor/@carbon/layout/modules/generated/_spacing.scss +85 -0
  108. package/styles/vendor/@carbon/elements/scss/layout/_breakpoint.scss +8 -3
  109. package/styles/vendor/@carbon/elements/scss/layout/modules/_breakpoint.scss +232 -0
  110. package/styles/vendor/@carbon/elements/scss/layout/modules/_convert.scss +40 -0
  111. package/styles/vendor/@carbon/elements/scss/layout/modules/_spacing.scss +9 -0
  112. package/styles/vendor/@carbon/elements/scss/layout/modules/_utilities.scss +41 -0
  113. package/styles/vendor/@carbon/elements/scss/layout/modules/generated/_fluid-spacing.scss +37 -0
  114. package/styles/vendor/@carbon/elements/scss/layout/modules/generated/_spacing.scss +85 -0
  115. package/styles/vendor/@carbon/elements/scss/motion/motion.scss +24 -0
  116. package/styles/vendor/@carbon/elements/scss/themes/generated/_mixins.scss +643 -138
  117. package/styles/vendor/@carbon/elements/scss/themes/generated/_themes.scss +154 -77
  118. package/styles/vendor/@carbon/elements/scss/themes/generated/_tokens.scss +157 -75
  119. package/styles/vendor/@carbon/elements/scss/themes/modules/_theme.scss +50 -0
  120. package/styles/vendor/@carbon/elements/scss/themes/modules/_themes.scss +8 -0
  121. package/styles/vendor/@carbon/elements/scss/themes/modules/_utilities.scss +18 -0
  122. package/styles/vendor/@carbon/elements/scss/themes/modules/generated/_themes.scss +247 -0
  123. package/styles/vendor/@carbon/elements/scss/type/_font-family.scss +2 -2
  124. package/styles/vendor/@carbon/elements/scss/type/_inlined/_font-family.scss +2 -2
  125. package/styles/vendor/@carbon/elements/scss/type/_inlined/_reset.scss +9 -3
  126. package/styles/vendor/@carbon/elements/scss/type/_inlined/_scale.scss +2 -2
  127. package/styles/vendor/@carbon/elements/scss/type/_inlined/_styles.scss +60 -57
  128. package/styles/vendor/@carbon/elements/scss/type/_inlined/font-face/_mono.scss +72 -72
  129. package/styles/vendor/@carbon/elements/scss/type/_inlined/font-face/_sans-condensed.scss +302 -0
  130. package/styles/vendor/@carbon/elements/scss/type/_inlined/font-face/_sans.scss +84 -84
  131. package/styles/vendor/@carbon/elements/scss/type/_inlined/font-face/_serif.scss +72 -72
  132. package/styles/vendor/@carbon/elements/scss/type/_reset.scss +9 -3
  133. package/styles/vendor/@carbon/elements/scss/type/_scale.scss +2 -2
  134. package/styles/vendor/@carbon/elements/scss/type/_styles.scss +60 -57
  135. package/styles/vendor/@carbon/elements/scss/type/font-face/_mono.scss +72 -72
  136. package/styles/vendor/@carbon/elements/scss/type/font-face/_sans-condensed.scss +302 -0
  137. package/styles/vendor/@carbon/elements/scss/type/font-face/_sans.scss +84 -84
  138. package/styles/vendor/@carbon/elements/scss/type/font-face/_serif.scss +72 -72
  139. package/styles/vendor/@carbon/elements/scss/type/modules/_classes.scss +42 -0
  140. package/styles/vendor/@carbon/elements/scss/type/modules/_font-family.scss +70 -0
  141. package/styles/vendor/@carbon/elements/scss/type/modules/_prefix.scss +11 -0
  142. package/styles/vendor/@carbon/elements/scss/type/modules/_reset.scss +92 -0
  143. package/styles/vendor/@carbon/elements/scss/type/modules/_scale.scss +56 -0
  144. package/styles/vendor/@carbon/elements/scss/type/modules/_styles.scss +713 -0
  145. package/styles/vendor/@carbon/elements/scss/type/vendor/@carbon/layout/_breakpoint.scss +8 -3
  146. package/styles/vendor/@carbon/elements/scss/type/vendor/@carbon/layout/modules/_breakpoint.scss +232 -0
  147. package/styles/vendor/@carbon/elements/scss/type/vendor/@carbon/layout/modules/_convert.scss +40 -0
  148. package/styles/vendor/@carbon/elements/scss/type/vendor/@carbon/layout/modules/_spacing.scss +9 -0
  149. package/styles/vendor/@carbon/elements/scss/type/vendor/@carbon/layout/modules/_utilities.scss +41 -0
  150. package/styles/vendor/@carbon/elements/scss/type/vendor/@carbon/layout/modules/generated/_fluid-spacing.scss +37 -0
  151. package/styles/vendor/@carbon/elements/scss/type/vendor/@carbon/layout/modules/generated/_spacing.scss +85 -0
  152. package/styles/vendor/@carbon/elements/src/__tests__/PublicAPI-test.js +12 -0
  153. package/styles/vendor/@carbon/elements/src/__tests__/__snapshots__/PublicAPI-test.js.snap +306 -0
  154. package/styles/vendor/@carbon/elements/src/index.js +166 -4
  155. package/styles/vendor/@carbon/elements/umd/index.js +961 -17
  156. package/styles/vendor/@carbon/layout/README.md +0 -6
  157. package/styles/vendor/@carbon/layout/es/index.js +1 -1
  158. package/styles/vendor/@carbon/{themes/node_modules/@carbon/colors/scss → layout}/index.scss +5 -6
  159. package/styles/vendor/@carbon/layout/lib/index.js +30 -30
  160. package/styles/vendor/@carbon/layout/package.json +14 -10
  161. package/styles/vendor/@carbon/layout/scss/_breakpoint.scss +8 -3
  162. package/styles/vendor/@carbon/layout/scss/modules/_breakpoint.scss +232 -0
  163. package/styles/vendor/@carbon/layout/scss/modules/_convert.scss +40 -0
  164. package/styles/vendor/@carbon/layout/scss/modules/_spacing.scss +9 -0
  165. package/styles/vendor/@carbon/layout/scss/modules/_utilities.scss +41 -0
  166. package/styles/vendor/@carbon/layout/scss/modules/generated/_fluid-spacing.scss +37 -0
  167. package/styles/vendor/@carbon/layout/scss/modules/generated/_spacing.scss +85 -0
  168. package/styles/vendor/@carbon/layout/umd/index.js +31 -31
  169. package/styles/vendor/@carbon/motion/README.md +0 -6
  170. package/styles/vendor/@carbon/motion/es/index.js +8 -1
  171. package/styles/vendor/@carbon/motion/index.scss +56 -0
  172. package/styles/vendor/@carbon/motion/lib/index.js +14 -0
  173. package/styles/vendor/@carbon/motion/package.json +10 -6
  174. package/styles/vendor/@carbon/motion/scss/motion.scss +24 -0
  175. package/styles/vendor/@carbon/motion/src/index.js +16 -0
  176. package/styles/vendor/@carbon/motion/umd/index.js +15 -1
  177. package/styles/vendor/@carbon/themes/README.md +5 -4
  178. package/styles/vendor/@carbon/themes/es/index.js +719 -57
  179. package/styles/vendor/@carbon/themes/index.scss +9 -0
  180. package/styles/vendor/@carbon/themes/lib/index.js +1297 -251
  181. package/styles/vendor/@carbon/themes/metadata.yml +3 -0
  182. package/styles/vendor/@carbon/themes/package.json +23 -14
  183. package/styles/vendor/@carbon/themes/scss/_mixins.scss +27 -146
  184. package/styles/vendor/@carbon/themes/scss/_theme-maps.scss +3 -263
  185. package/styles/vendor/@carbon/themes/scss/_tokens.scss +2 -297
  186. package/styles/vendor/@carbon/themes/scss/generated/_mixins.scss +1851 -0
  187. package/styles/vendor/@carbon/themes/scss/generated/_themes.scss +1534 -0
  188. package/styles/vendor/@carbon/themes/scss/generated/_tokens.scss +1757 -0
  189. package/styles/vendor/@carbon/themes/scss/modules/_theme.scss +50 -0
  190. package/styles/vendor/@carbon/themes/scss/modules/_themes.scss +8 -0
  191. package/styles/vendor/@carbon/themes/scss/modules/_utilities.scss +18 -0
  192. package/styles/vendor/@carbon/themes/scss/modules/generated/_themes.scss +247 -0
  193. package/styles/vendor/@carbon/themes/scss/themes.scss +3 -2
  194. package/styles/vendor/@carbon/themes/src/g10.js +97 -5
  195. package/styles/vendor/@carbon/themes/src/g100.js +96 -4
  196. package/styles/vendor/@carbon/themes/src/g90.js +98 -6
  197. package/styles/vendor/@carbon/themes/src/index.js +5 -3
  198. package/styles/vendor/@carbon/themes/src/tokens.js +112 -2
  199. package/styles/vendor/@carbon/themes/src/tools.js +25 -0
  200. package/styles/vendor/@carbon/themes/src/v9.js +181 -0
  201. package/styles/vendor/@carbon/themes/src/white.js +98 -3
  202. package/styles/vendor/@carbon/themes/umd/index.js +1297 -254
  203. package/styles/vendor/@carbon/type/README.md +0 -6
  204. package/styles/vendor/@carbon/type/es/index.js +111 -82
  205. package/styles/vendor/@carbon/type/lib/index.js +132 -103
  206. package/styles/vendor/@carbon/type/package.json +12 -8
  207. package/styles/vendor/@carbon/type/scss/_font-family.scss +2 -2
  208. package/styles/vendor/@carbon/type/scss/_inlined/_font-family.scss +2 -2
  209. package/styles/vendor/@carbon/type/scss/_inlined/_reset.scss +9 -3
  210. package/styles/vendor/@carbon/type/scss/_inlined/_scale.scss +2 -2
  211. package/styles/vendor/@carbon/type/scss/_inlined/_styles.scss +60 -57
  212. package/styles/vendor/@carbon/type/scss/_inlined/font-face/_mono.scss +72 -72
  213. package/styles/vendor/@carbon/type/scss/_inlined/font-face/_sans-condensed.scss +302 -0
  214. package/styles/vendor/@carbon/type/scss/_inlined/font-face/_sans.scss +84 -84
  215. package/styles/vendor/@carbon/type/scss/_inlined/font-face/_serif.scss +72 -72
  216. package/styles/vendor/@carbon/type/scss/_reset.scss +9 -3
  217. package/styles/vendor/@carbon/type/scss/_scale.scss +2 -2
  218. package/styles/vendor/@carbon/type/scss/_styles.scss +60 -57
  219. package/styles/vendor/@carbon/type/scss/font-face/_mono.scss +72 -72
  220. package/styles/vendor/@carbon/type/scss/font-face/_sans-condensed.scss +302 -0
  221. package/styles/vendor/@carbon/type/scss/font-face/_sans.scss +84 -84
  222. package/styles/vendor/@carbon/type/scss/font-face/_serif.scss +72 -72
  223. package/styles/vendor/@carbon/type/scss/modules/_classes.scss +42 -0
  224. package/styles/vendor/@carbon/type/scss/modules/_font-family.scss +70 -0
  225. package/styles/vendor/@carbon/type/scss/modules/_prefix.scss +11 -0
  226. package/styles/vendor/@carbon/type/scss/modules/_reset.scss +92 -0
  227. package/styles/vendor/@carbon/type/scss/modules/_scale.scss +56 -0
  228. package/styles/vendor/@carbon/type/scss/modules/_styles.scss +713 -0
  229. package/styles/vendor/@carbon/type/scss/vendor/@carbon/layout/_breakpoint.scss +8 -3
  230. package/styles/vendor/@carbon/type/scss/vendor/@carbon/layout/modules/_breakpoint.scss +232 -0
  231. package/styles/vendor/@carbon/type/scss/vendor/@carbon/layout/modules/_convert.scss +40 -0
  232. package/styles/vendor/@carbon/type/scss/vendor/@carbon/layout/modules/_spacing.scss +9 -0
  233. package/styles/vendor/@carbon/type/scss/vendor/@carbon/layout/modules/_utilities.scss +41 -0
  234. package/styles/vendor/@carbon/type/scss/vendor/@carbon/layout/modules/generated/_fluid-spacing.scss +37 -0
  235. package/styles/vendor/@carbon/type/scss/vendor/@carbon/layout/modules/generated/_spacing.scss +85 -0
  236. package/styles/vendor/@carbon/type/src/__tests__/__snapshots__/styles-test.js.snap +32 -34
  237. package/styles/vendor/@carbon/type/src/__tests__/exports-test.js +1 -1
  238. package/styles/vendor/@carbon/type/src/__tests__/fluid-test.js +26 -26
  239. package/styles/vendor/@carbon/type/src/__tests__/styles-test.js +1 -1
  240. package/styles/vendor/@carbon/type/src/__tests__/tokens-test.js +2 -2
  241. package/styles/vendor/@carbon/type/src/fluid.js +1 -1
  242. package/styles/vendor/@carbon/type/src/index.js +1 -1
  243. package/styles/vendor/@carbon/type/src/styles.js +65 -64
  244. package/styles/vendor/@carbon/type/src/tokens.js +64 -31
  245. package/styles/vendor/@carbon/type/umd/index.js +134 -105
  246. package/styles-g10.css +570 -2
  247. package/styles-g10.css.map +1 -1
  248. package/styles-g10.min.css +1 -1
  249. package/styles-g10.min.css.map +1 -1
  250. package/styles-g100.css +574 -6
  251. package/styles-g100.css.map +1 -1
  252. package/styles-g100.min.css +1 -1
  253. package/styles-g100.min.css.map +1 -1
  254. package/styles-g90.css +574 -6
  255. package/styles-g90.css.map +1 -1
  256. package/styles-g90.min.css +1 -1
  257. package/styles-g90.min.css.map +1 -1
  258. package/styles.css +570 -2
  259. package/styles.css.map +1 -1
  260. package/styles.min.css +1 -1
  261. package/styles.min.css.map +1 -1
  262. package/tools.js +1 -1
  263. package/tools.js.map +1 -1
  264. package/tsconfig.tsbuildinfo +67 -17
  265. package/styles/vendor/@carbon/layout/docs/sass.md +0 -1899
  266. package/styles/vendor/@carbon/themes/node_modules/@carbon/colors/LICENSE +0 -201
  267. package/styles/vendor/@carbon/themes/node_modules/@carbon/colors/README.md +0 -154
  268. package/styles/vendor/@carbon/themes/node_modules/@carbon/colors/es/index.js +0 -287
  269. package/styles/vendor/@carbon/themes/node_modules/@carbon/colors/lib/index.js +0 -410
  270. package/styles/vendor/@carbon/themes/node_modules/@carbon/colors/package.json +0 -51
  271. package/styles/vendor/@carbon/themes/node_modules/@carbon/colors/scss/mixins.scss +0 -646
  272. package/styles/vendor/@carbon/themes/node_modules/@carbon/colors/umd/index.js +0 -416
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.48](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.47...v0.41.48) (2021-03-31)
6
+ ## [0.41.52](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.51...v0.41.52) (2021-04-12)
7
7
 
8
8
  **Note:** Version bump only for package @carbon/charts
9
9
 
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- ## [0.41.47](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.46...v0.41.47) (2021-03-30)
14
+ ## [0.41.51](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.50...v0.41.51) (2021-04-12)
15
15
 
16
16
  **Note:** Version bump only for package @carbon/charts
17
17
 
@@ -19,34 +19,43 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
19
19
 
20
20
 
21
21
 
22
- ## [0.41.46](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.45...v0.41.46) (2021-03-29)
22
+ # Change Log
23
23
 
24
- **Note:** Version bump only for package @carbon/charts
24
+ All notable changes to this project will be documented in this file. See
25
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
25
26
 
27
+ ## [0.41.50](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.49...v0.41.50) (2021-04-07)
26
28
 
29
+ **Note:** Version bump only for package @carbon/charts
27
30
 
31
+ ## [0.41.49](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.48...v0.41.49) (2021-04-07)
28
32
 
33
+ **Note:** Version bump only for package @carbon/charts
29
34
 
30
- # Change Log
35
+ ## [0.41.48](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.47...v0.41.48) (2021-03-31)
31
36
 
32
- All notable changes to this project will be documented in this file. See
33
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
37
+ **Note:** Version bump only for package @carbon/charts
34
38
 
35
- ## [0.41.45](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.44...v0.41.45) (2021-03-29)
39
+ ## [0.41.47](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.46...v0.41.47) (2021-03-30)
36
40
 
37
41
  **Note:** Version bump only for package @carbon/charts
38
42
 
43
+ ## [0.41.46](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.45...v0.41.46) (2021-03-29)
39
44
 
45
+ **Note:** Version bump only for package @carbon/charts
40
46
 
47
+ # Change Log
41
48
 
49
+ All notable changes to this project will be documented in this file. See
50
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
42
51
 
43
- ## [0.41.44](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.43...v0.41.44) (2021-03-24)
52
+ ## [0.41.45](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.44...v0.41.45) (2021-03-29)
44
53
 
45
54
  **Note:** Version bump only for package @carbon/charts
46
55
 
56
+ ## [0.41.44](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.43...v0.41.44) (2021-03-24)
47
57
 
48
-
49
-
58
+ **Note:** Version bump only for package @carbon/charts
50
59
 
51
60
  ## [0.41.43](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.42...v0.41.43) (2021-03-15)
52
61
 
@@ -0,0 +1,93 @@
1
+ declare const _default: {
2
+ AreaChart: {
3
+ vanilla: string;
4
+ angular: string;
5
+ vue: string;
6
+ };
7
+ BoxplotChart: {
8
+ vanilla: string;
9
+ angular: string;
10
+ vue: string;
11
+ };
12
+ BubbleChart: {
13
+ vanilla: string;
14
+ angular: string;
15
+ vue: string;
16
+ };
17
+ ComboChart: {
18
+ vanilla: string;
19
+ angular: string;
20
+ vue: string;
21
+ };
22
+ DonutChart: {
23
+ vanilla: string;
24
+ angular: string;
25
+ vue: string;
26
+ };
27
+ GaugeChart: {
28
+ vanilla: string;
29
+ angular: string;
30
+ vue: string;
31
+ };
32
+ GroupedBarChart: {
33
+ vanilla: string;
34
+ angular: string;
35
+ vue: string;
36
+ };
37
+ LineChart: {
38
+ vanilla: string;
39
+ angular: string;
40
+ vue: string;
41
+ };
42
+ LollipopChart: {
43
+ vanilla: string;
44
+ angular: string;
45
+ vue: string;
46
+ };
47
+ MeterChart: {
48
+ vanilla: string;
49
+ angular: string;
50
+ vue: string;
51
+ };
52
+ PieChart: {
53
+ vanilla: string;
54
+ angular: string;
55
+ vue: string;
56
+ };
57
+ RadarChart: {
58
+ vanilla: string;
59
+ angular: string;
60
+ vue: string;
61
+ };
62
+ ScatterChart: {
63
+ vanilla: string;
64
+ angular: string;
65
+ vue: string;
66
+ };
67
+ SimpleBarChart: {
68
+ vanilla: string;
69
+ angular: string;
70
+ vue: string;
71
+ };
72
+ StackedAreaChart: {
73
+ vanilla: string;
74
+ angular: string;
75
+ vue: string;
76
+ };
77
+ StackedBarChart: {
78
+ vanilla: string;
79
+ angular: string;
80
+ vue: string;
81
+ };
82
+ TreemapChart: {
83
+ vanilla: string;
84
+ angular: string;
85
+ vue: string;
86
+ };
87
+ WordCloudChart: {
88
+ vanilla: string;
89
+ angular: string;
90
+ vue: string;
91
+ };
92
+ };
93
+ export default _default;
@@ -142,29 +142,6 @@ export declare const simpleBarCenteredLegendOptions: {
142
142
  alignment: string;
143
143
  };
144
144
  };
145
- export declare const simpleBarLongLabelData: {
146
- group: string;
147
- value: number;
148
- }[];
149
- export declare const simpleBarLongLabelOptions: {
150
- title: string;
151
- axes: {
152
- left: {
153
- mapsTo: string;
154
- };
155
- bottom: {
156
- mapsTo: string;
157
- scaleType: string;
158
- };
159
- };
160
- legend: {
161
- truncation: {
162
- type: string;
163
- threshold: number;
164
- numCharacter: number;
165
- };
166
- };
167
- };
168
145
  export declare const simpleBarFixedDomainOptions: {
169
146
  title: string;
170
147
  axes: {
@@ -262,6 +239,23 @@ export declare const simpleBarTimeSeriesOptions: {
262
239
  scaleType: string;
263
240
  };
264
241
  };
242
+ };
243
+ export declare const simpleBarTurkishLocaleData: {
244
+ group: string;
245
+ date: Date;
246
+ value: number;
247
+ }[];
248
+ export declare const simpleBarTurkishLocaleOptions: {
249
+ title: string;
250
+ axes: {
251
+ left: {
252
+ mapsTo: string;
253
+ };
254
+ bottom: {
255
+ mapsTo: string;
256
+ scaleType: string;
257
+ };
258
+ };
265
259
  timeScale: {
266
260
  localeObject: Locale;
267
261
  };
@@ -431,4 +431,7 @@ export declare const comboAreaLineTimeSeriesOptions: {
431
431
  correspondingDatasets: string[];
432
432
  })[];
433
433
  curve: string;
434
+ timeScale: {
435
+ addSpaceOnEdges: number;
436
+ };
434
437
  };
@@ -2,102 +2,26 @@ export * from './area';
2
2
  export * from './bar';
3
3
  export * from './boxplot';
4
4
  export * from './bubble';
5
+ export * from './combo';
5
6
  export * from './donut';
7
+ export * from './gauge';
6
8
  export * from './line';
9
+ export * from './lollipop';
7
10
  export * from './meter';
8
11
  export * from './pie';
9
- export * from './gauge';
12
+ export * from './radar';
10
13
  export * from './scatter';
11
14
  export * from './step';
12
- export * from './radar';
13
- export * from './combo';
15
+ export * from './time-series-axis';
14
16
  export * from './treemap';
15
- export declare const chartTypes: {
16
- AreaChart: {
17
- vanilla: string;
18
- angular: string;
19
- vue: string;
20
- };
21
- BoxplotChart: {
22
- vanilla: string;
23
- angular: string;
24
- vue: string;
25
- };
26
- BubbleChart: {
27
- vanilla: string;
28
- angular: string;
29
- vue: string;
30
- };
31
- ComboChart: {
32
- vanilla: string;
33
- angular: string;
34
- vue: string;
35
- };
36
- DonutChart: {
37
- vanilla: string;
38
- angular: string;
39
- vue: string;
40
- };
41
- GaugeChart: {
42
- vanilla: string;
43
- angular: string;
44
- vue: string;
45
- };
46
- GroupedBarChart: {
47
- vanilla: string;
48
- angular: string;
49
- vue: string;
50
- };
51
- LineChart: {
52
- vanilla: string;
53
- angular: string;
54
- vue: string;
55
- };
56
- LollipopChart: {
57
- vanilla: string;
58
- angular: string;
59
- vue: string;
60
- };
61
- MeterChart: {
62
- vanilla: string;
63
- angular: string;
64
- vue: string;
65
- };
66
- PieChart: {
67
- vanilla: string;
68
- angular: string;
69
- vue: string;
70
- };
71
- RadarChart: {
72
- vanilla: string;
73
- angular: string;
74
- vue: string;
75
- };
76
- ScatterChart: {
77
- vanilla: string;
78
- angular: string;
79
- vue: string;
80
- };
81
- SimpleBarChart: {
82
- vanilla: string;
83
- angular: string;
84
- vue: string;
85
- };
86
- StackedAreaChart: {
87
- vanilla: string;
88
- angular: string;
89
- vue: string;
90
- };
91
- StackedBarChart: {
92
- vanilla: string;
93
- angular: string;
94
- vue: string;
95
- };
96
- TreemapChart: {
97
- vanilla: string;
98
- angular: string;
99
- vue: string;
100
- };
101
- };
102
- export declare const storybookDemoGroups: any;
103
- export declare const demoGroups: any;
17
+ export * from './toolbar';
18
+ export * from './wordcloud';
19
+ export * from './zoom-bar';
20
+ export * from './high-scale';
21
+ export * from './CHART_TYPES';
22
+ export declare enum DemoGroupTypes {
23
+ UTILITY = "utility",
24
+ SIMPLE_CHART = "simple-chart",
25
+ COMPLEX_CHART = "complex-chart"
26
+ }
27
+ export declare const storybookDemoGroups: any[];
@@ -61,35 +61,6 @@ export declare const sparklineLoadingOptions: {
61
61
  loading: boolean;
62
62
  };
63
63
  };
64
- export declare const lineCenteredLegendData: ({
65
- group: string;
66
- key: string;
67
- value: number;
68
- audienceSize?: undefined;
69
- } | {
70
- group: string;
71
- key: string;
72
- value: number;
73
- audienceSize: number;
74
- })[];
75
- export declare const lineCenteredLegendOptions: {
76
- title: string;
77
- axes: {
78
- bottom: {
79
- title: string;
80
- mapsTo: string;
81
- scaleType: string;
82
- };
83
- left: {
84
- mapsTo: string;
85
- title: string;
86
- scaleType: string;
87
- };
88
- };
89
- legend: {
90
- alignment: string;
91
- };
92
- };
93
64
  export declare const lineLongLabelData: ({
94
65
  group: string;
95
66
  key: string;
@@ -206,23 +177,6 @@ export declare const lineTimeSeriesOptions: {
206
177
  };
207
178
  curve: string;
208
179
  };
209
- export declare const lineTimeSeriesCustomDomainOptions: {
210
- title: string;
211
- axes: {
212
- bottom: {
213
- title: string;
214
- domain: Date[];
215
- mapsTo: string;
216
- scaleType: string;
217
- };
218
- left: {
219
- mapsTo: string;
220
- title: string;
221
- scaleType: string;
222
- };
223
- };
224
- curve: string;
225
- };
226
180
  export declare const lineTimeSeriesWithThresholdsOptions: {
227
181
  title: string;
228
182
  axes: {
@@ -286,6 +240,9 @@ export declare const lineTimeSeriesRotatedTicksOptions: {
286
240
  bottom: {
287
241
  scaleType: string;
288
242
  mapsTo: string;
243
+ ticks: {
244
+ rotation: string;
245
+ };
289
246
  };
290
247
  left: {
291
248
  mapsTo: string;
@@ -295,37 +252,6 @@ export declare const lineTimeSeriesRotatedTicksOptions: {
295
252
  clickable: boolean;
296
253
  };
297
254
  };
298
- export declare const lineHorizontalOptions: {
299
- title: string;
300
- axes: {
301
- left: {
302
- title: string;
303
- mapsTo: string;
304
- scaleType: string;
305
- };
306
- bottom: {
307
- mapsTo: string;
308
- title: string;
309
- scaleType: string;
310
- };
311
- };
312
- };
313
- export declare const lineTimeSeriesHorizontalOptions: {
314
- title: string;
315
- axes: {
316
- left: {
317
- title: string;
318
- mapsTo: string;
319
- scaleType: string;
320
- };
321
- bottom: {
322
- mapsTo: string;
323
- title: string;
324
- scaleType: string;
325
- };
326
- };
327
- curve: string;
328
- };
329
255
  export declare const lineEmptyStateData: any[];
330
256
  export declare const lineEmptyStateOptions: {
331
257
  title: string;
@@ -36,24 +36,6 @@ export declare const scatterDiscreteOptions: {
36
36
  };
37
37
  };
38
38
  };
39
- export declare const scatterLongLabelDiscreteData: {
40
- group: string;
41
- key: string;
42
- value: number;
43
- }[];
44
- export declare const scatterLongLabelDiscreteOptions: {
45
- title: string;
46
- axes: {
47
- bottom: {
48
- title: string;
49
- scaleType: string;
50
- mapsTo: string;
51
- };
52
- left: {
53
- mapsTo: string;
54
- };
55
- };
56
- };
57
39
  export declare const scatterTimeSeriesData: {
58
40
  group: string;
59
41
  date: Date;
@@ -0,0 +1,14 @@
1
+ export declare const wordCloudData: {
2
+ word: string;
3
+ value: number;
4
+ group: string;
5
+ }[];
6
+ export declare const wordCloudOptions: {
7
+ title: string;
8
+ resizable: boolean;
9
+ color: {
10
+ pairing: {
11
+ option: number;
12
+ };
13
+ };
14
+ };
@@ -15,3 +15,4 @@ export * from './radar';
15
15
  export * from './gauge';
16
16
  export * from './combo';
17
17
  export * from './treemap';
18
+ export * from './wordcloud';
@@ -0,0 +1,6 @@
1
+ import { Chart } from '../chart';
2
+ import { ChartConfig, WorldCloudChartOptions } from '../interfaces/index';
3
+ export declare class WordCloudChart extends Chart {
4
+ constructor(holder: Element, chartConfigs: ChartConfig<WorldCloudChartOptions>);
5
+ getComponents(): any[];
6
+ }
@@ -0,0 +1,10 @@
1
+ import { Component } from '../component';
2
+ export declare class WordCloud extends Component {
3
+ type: string;
4
+ init(): void;
5
+ getFontSizeScale(data: any): import("d3-scale").ScaleLinear<number, number>;
6
+ render(animate?: boolean): void;
7
+ handleLegendOnHover: (event: CustomEvent<any>) => void;
8
+ handleLegendMouseOut: (event: CustomEvent<any>) => void;
9
+ addEventListeners(): void;
10
+ }
@@ -23,6 +23,7 @@ export * from './graphs/skeleton';
23
23
  export * from './graphs/skeleton-lines';
24
24
  export * from './graphs/treemap';
25
25
  export * from './graphs/radar';
26
+ export * from './graphs/wordcloud';
26
27
  export * from './layout/spacer';
27
28
  export * from './layout/layout';
28
29
  export * from './axes/two-dimensional-axes';
@@ -1,4 +1,4 @@
1
- import { BaseChartOptions, AxisChartOptions, ScatterChartOptions, LollipopChartOptions, LineChartOptions, BarChartOptions, StackedBarChartOptions, BoxplotChartOptions, AreaChartOptions, PieChartOptions, GaugeChartOptions, DonutChartOptions, BubbleChartOptions, RadarChartOptions, ComboChartOptions, TreemapChartOptions, GridOptions, RulerOptions, TimeScaleOptions, TooltipOptions, MeterChartOptions } from './interfaces';
1
+ import { BaseChartOptions, AxisChartOptions, ScatterChartOptions, LollipopChartOptions, LineChartOptions, BarChartOptions, StackedBarChartOptions, BoxplotChartOptions, AreaChartOptions, PieChartOptions, GaugeChartOptions, DonutChartOptions, BubbleChartOptions, RadarChartOptions, ComboChartOptions, TreemapChartOptions, WorldCloudChartOptions, GridOptions, RulerOptions, TimeScaleOptions, TooltipOptions, MeterChartOptions } from './interfaces';
2
2
  /**
3
3
  * Grid options
4
4
  */
@@ -32,5 +32,6 @@ export declare const options: {
32
32
  gaugeChart: GaugeChartOptions;
33
33
  comboChart: ComboChartOptions;
34
34
  treemapChart: TreemapChartOptions;
35
+ wordCloudChart: WorldCloudChartOptions;
35
36
  };
36
37
  export * from './configuration-non-customizable';
@@ -216,6 +216,29 @@ export interface StackedAreaChartOptions extends ScatterChartOptions {
216
216
  name: string;
217
217
  };
218
218
  }
219
+ /**
220
+ * options specific to world cloud charts
221
+ */
222
+ export interface WordCloudChartTooltipOptions extends TooltipOptions {
223
+ /** the label that shows up by the highlighted word in the tooltip */
224
+ wordLabel?: string;
225
+ /** the label that shows up by the value of the highlighted word in the tooltip */
226
+ valueLabel?: string;
227
+ }
228
+ export interface WorldCloudChartOptions extends BaseChartOptions {
229
+ wordCloud?: {
230
+ /** what key in your charting data will the font sizes map to? */
231
+ fontSizeMapsTo?: string;
232
+ /** a function (chartSize, data) => {} that'll decide the range of font sizes, e.g. [10, 80] */
233
+ fontSizeRange?: Function;
234
+ /** what key in your charting data will the words map to? */
235
+ wordMapsTo?: string;
236
+ };
237
+ /**
238
+ * tooltip configuration
239
+ */
240
+ tooltip?: WordCloudChartTooltipOptions;
241
+ }
219
242
  /**
220
243
  * options specific to pie charts
221
244
  */
@@ -53,6 +53,15 @@ export declare enum Area {
53
53
  AREA_CLICK = "area-click",
54
54
  AREA_MOUSEOUT = "area-mouseout"
55
55
  }
56
+ /**
57
+ * enum of all wordcloud graph events
58
+ */
59
+ export declare enum WordCloud {
60
+ WORD_MOUSEOVER = "wordcloud-word-mouseover",
61
+ WORD_MOUSEMOVE = "wordcloud-word-mousemove",
62
+ WORD_CLICK = "wordcloud-word-click",
63
+ WORD_MOUSEOUT = "wordcloud-word-mouseout"
64
+ }
56
65
  /**
57
66
  * enum of all pie graph events
58
67
  */