@carbon/charts 0.41.20 → 0.41.24

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 (417) hide show
  1. package/CHANGELOG.md +28 -46
  2. package/axis-chart.d.ts +4 -4
  3. package/axis-chart.js +46 -46
  4. package/axis-chart.js.map +1 -1
  5. package/build/demo/create-codesandbox.d.ts +42 -42
  6. package/build/demo/data/bar.d.ts +2 -2
  7. package/build/demo/data/index.d.ts +13 -13
  8. package/build/demo/data/line.d.ts +4 -4
  9. package/build/demo/data/meter.d.ts +1 -1
  10. package/build/src/axis-chart.d.ts +4 -4
  11. package/build/src/chart.d.ts +3 -3
  12. package/build/src/charts/area-stacked.d.ts +2 -2
  13. package/build/src/charts/area.d.ts +2 -2
  14. package/build/src/charts/bar-grouped.d.ts +2 -2
  15. package/build/src/charts/bar-simple.d.ts +2 -2
  16. package/build/src/charts/bar-stacked.d.ts +2 -2
  17. package/build/src/charts/bubble.d.ts +2 -2
  18. package/build/src/charts/combo.d.ts +2 -2
  19. package/build/src/charts/donut.d.ts +2 -2
  20. package/build/src/charts/gauge.d.ts +3 -3
  21. package/build/src/charts/index.d.ts +16 -16
  22. package/build/src/charts/line.d.ts +2 -2
  23. package/build/src/charts/lollipop.d.ts +2 -2
  24. package/build/src/charts/meter.d.ts +3 -3
  25. package/build/src/charts/pie.d.ts +3 -3
  26. package/build/src/charts/radar.d.ts +2 -2
  27. package/build/src/charts/scatter.d.ts +2 -2
  28. package/build/src/charts/treemap.d.ts +2 -2
  29. package/build/src/components/axes/axis.d.ts +3 -3
  30. package/build/src/components/axes/chart-clip.d.ts +2 -2
  31. package/build/src/components/axes/grid-brush.d.ts +1 -1
  32. package/build/src/components/axes/grid.d.ts +1 -1
  33. package/build/src/components/axes/ruler-stacked.d.ts +1 -1
  34. package/build/src/components/axes/ruler.d.ts +2 -2
  35. package/build/src/components/axes/toolbar.d.ts +2 -2
  36. package/build/src/components/axes/two-dimensional-axes.d.ts +2 -2
  37. package/build/src/components/axes/zero-line.d.ts +1 -1
  38. package/build/src/components/axes/zoom-bar.d.ts +2 -2
  39. package/build/src/components/component.d.ts +1 -1
  40. package/build/src/components/essentials/legend.d.ts +1 -1
  41. package/build/src/components/essentials/threshold.d.ts +3 -3
  42. package/build/src/components/essentials/title-meter.d.ts +1 -1
  43. package/build/src/components/essentials/title.d.ts +1 -1
  44. package/build/src/components/essentials/tooltip-axis.d.ts +1 -1
  45. package/build/src/components/essentials/tooltip.d.ts +3 -3
  46. package/build/src/components/graphs/area-stacked.d.ts +1 -1
  47. package/build/src/components/graphs/area.d.ts +1 -1
  48. package/build/src/components/graphs/bar-grouped.d.ts +2 -2
  49. package/build/src/components/graphs/bar-simple.d.ts +1 -1
  50. package/build/src/components/graphs/bar-stacked.d.ts +1 -1
  51. package/build/src/components/graphs/bar.d.ts +1 -1
  52. package/build/src/components/graphs/bubble.d.ts +2 -2
  53. package/build/src/components/graphs/donut.d.ts +1 -1
  54. package/build/src/components/graphs/gauge.d.ts +1 -1
  55. package/build/src/components/graphs/line.d.ts +1 -1
  56. package/build/src/components/graphs/lollipop.d.ts +1 -1
  57. package/build/src/components/graphs/meter.d.ts +1 -1
  58. package/build/src/components/graphs/pie.d.ts +1 -1
  59. package/build/src/components/graphs/radar.d.ts +1 -1
  60. package/build/src/components/graphs/scatter-stacked.d.ts +1 -1
  61. package/build/src/components/graphs/scatter.d.ts +2 -2
  62. package/build/src/components/graphs/skeleton-lines.d.ts +1 -1
  63. package/build/src/components/graphs/skeleton.d.ts +1 -1
  64. package/build/src/components/graphs/treemap.d.ts +1 -1
  65. package/build/src/components/index.d.ts +36 -36
  66. package/build/src/components/layout/layout.d.ts +3 -3
  67. package/build/src/components/layout/spacer.d.ts +1 -1
  68. package/build/src/configuration-non-customizable.d.ts +7 -7
  69. package/build/src/configuration.d.ts +2 -2
  70. package/build/src/interfaces/axis-scales.d.ts +7 -7
  71. package/build/src/interfaces/charts.d.ts +11 -4
  72. package/build/src/interfaces/components.d.ts +3 -3
  73. package/build/src/interfaces/enums.d.ts +1 -1
  74. package/build/src/interfaces/index.d.ts +7 -7
  75. package/build/src/interfaces/layout.d.ts +1 -1
  76. package/build/src/interfaces/model.d.ts +1 -1
  77. package/build/src/model-cartesian-charts.d.ts +1 -1
  78. package/build/src/model-gauge.d.ts +1 -1
  79. package/build/src/model-meter.d.ts +1 -1
  80. package/build/src/model-pie.d.ts +1 -1
  81. package/build/src/model.d.ts +1 -9
  82. package/build/src/services/angle-utils.d.ts +1 -1
  83. package/build/src/services/curves.d.ts +2 -2
  84. package/build/src/services/essentials/dom-utils.d.ts +2 -2
  85. package/build/src/services/essentials/events.d.ts +1 -1
  86. package/build/src/services/essentials/gradient-utils.d.ts +1 -1
  87. package/build/src/services/essentials/transitions.d.ts +2 -2
  88. package/build/src/services/index.d.ts +7 -7
  89. package/build/src/services/scales-cartesian.d.ts +2 -2
  90. package/build/src/services/service.d.ts +1 -1
  91. package/build/src/services/time-series.d.ts +1 -1
  92. package/build/src/services/zoom.d.ts +2 -2
  93. package/build/src/tools.d.ts +2 -2
  94. package/build/stories/all.stories.d.ts +1 -1
  95. package/build/stories/tutorials/index.d.ts +11 -11
  96. package/build/stories/tutorials.stories.d.ts +1 -1
  97. package/bundle.js +1 -1
  98. package/chart.d.ts +3 -3
  99. package/chart.js +35 -35
  100. package/chart.js.map +1 -1
  101. package/charts/area-stacked.d.ts +2 -2
  102. package/charts/area-stacked.js +8 -8
  103. package/charts/area-stacked.js.map +1 -1
  104. package/charts/area.d.ts +2 -2
  105. package/charts/area.js +8 -8
  106. package/charts/area.js.map +1 -1
  107. package/charts/bar-grouped.d.ts +2 -2
  108. package/charts/bar-grouped.js +7 -7
  109. package/charts/bar-grouped.js.map +1 -1
  110. package/charts/bar-simple.d.ts +2 -2
  111. package/charts/bar-simple.js +7 -7
  112. package/charts/bar-simple.js.map +1 -1
  113. package/charts/bar-stacked.d.ts +2 -2
  114. package/charts/bar-stacked.js +7 -7
  115. package/charts/bar-stacked.js.map +1 -1
  116. package/charts/bubble.d.ts +2 -2
  117. package/charts/bubble.js +7 -7
  118. package/charts/bubble.js.map +1 -1
  119. package/charts/combo.d.ts +2 -2
  120. package/charts/combo.js +12 -12
  121. package/charts/combo.js.map +1 -1
  122. package/charts/donut.d.ts +2 -2
  123. package/charts/donut.js +7 -7
  124. package/charts/donut.js.map +1 -1
  125. package/charts/gauge.d.ts +3 -3
  126. package/charts/gauge.js +5 -5
  127. package/charts/gauge.js.map +1 -1
  128. package/charts/index.d.ts +16 -16
  129. package/charts/index.js +16 -16
  130. package/charts/index.js.map +1 -1
  131. package/charts/line.d.ts +2 -2
  132. package/charts/line.js +5 -5
  133. package/charts/line.js.map +1 -1
  134. package/charts/lollipop.d.ts +2 -2
  135. package/charts/lollipop.js +7 -7
  136. package/charts/lollipop.js.map +1 -1
  137. package/charts/meter.d.ts +3 -3
  138. package/charts/meter.js +18 -18
  139. package/charts/meter.js.map +1 -1
  140. package/charts/pie.d.ts +3 -3
  141. package/charts/pie.js +8 -8
  142. package/charts/pie.js.map +1 -1
  143. package/charts/radar.d.ts +2 -2
  144. package/charts/radar.js +5 -5
  145. package/charts/radar.js.map +1 -1
  146. package/charts/scatter.d.ts +2 -2
  147. package/charts/scatter.js +7 -7
  148. package/charts/scatter.js.map +1 -1
  149. package/charts/treemap.d.ts +2 -2
  150. package/charts/treemap.js +4 -4
  151. package/charts/treemap.js.map +1 -1
  152. package/components/axes/axis.d.ts +3 -3
  153. package/components/axes/axis.js +98 -98
  154. package/components/axes/axis.js.map +1 -1
  155. package/components/axes/chart-clip.d.ts +2 -2
  156. package/components/axes/chart-clip.js +9 -9
  157. package/components/axes/chart-clip.js.map +1 -1
  158. package/components/axes/grid-brush.d.ts +1 -1
  159. package/components/axes/grid-brush.js +32 -32
  160. package/components/axes/grid-brush.js.map +1 -1
  161. package/components/axes/grid.d.ts +1 -1
  162. package/components/axes/grid.js +34 -34
  163. package/components/axes/grid.js.map +1 -1
  164. package/components/axes/ruler-stacked.d.ts +1 -1
  165. package/components/axes/ruler-stacked.js +5 -5
  166. package/components/axes/ruler-stacked.js.map +1 -1
  167. package/components/axes/ruler.d.ts +2 -2
  168. package/components/axes/ruler.js +36 -36
  169. package/components/axes/ruler.js.map +1 -1
  170. package/components/axes/toolbar.d.ts +2 -2
  171. package/components/axes/toolbar.js +85 -85
  172. package/components/axes/toolbar.js.map +1 -1
  173. package/components/axes/two-dimensional-axes.d.ts +2 -2
  174. package/components/axes/two-dimensional-axes.js +13 -13
  175. package/components/axes/two-dimensional-axes.js.map +1 -1
  176. package/components/axes/zero-line.d.ts +1 -1
  177. package/components/axes/zero-line.js +12 -12
  178. package/components/axes/zero-line.js.map +1 -1
  179. package/components/axes/zoom-bar.d.ts +2 -2
  180. package/components/axes/zoom-bar.js +114 -114
  181. package/components/axes/zoom-bar.js.map +1 -1
  182. package/components/component.d.ts +1 -1
  183. package/components/component.js +13 -13
  184. package/components/component.js.map +1 -1
  185. package/components/essentials/legend.d.ts +1 -1
  186. package/components/essentials/legend.js +95 -92
  187. package/components/essentials/legend.js.map +1 -1
  188. package/components/essentials/threshold.d.ts +3 -3
  189. package/components/essentials/threshold.js +39 -39
  190. package/components/essentials/threshold.js.map +1 -1
  191. package/components/essentials/title-meter.d.ts +1 -1
  192. package/components/essentials/title-meter.js +42 -42
  193. package/components/essentials/title-meter.js.map +1 -1
  194. package/components/essentials/title.d.ts +1 -1
  195. package/components/essentials/title.js +19 -19
  196. package/components/essentials/title.js.map +1 -1
  197. package/components/essentials/tooltip-axis.d.ts +1 -1
  198. package/components/essentials/tooltip-axis.js +23 -23
  199. package/components/essentials/tooltip-axis.js.map +1 -1
  200. package/components/essentials/tooltip.d.ts +3 -3
  201. package/components/essentials/tooltip.js +31 -31
  202. package/components/essentials/tooltip.js.map +1 -1
  203. package/components/graphs/area-stacked.d.ts +1 -1
  204. package/components/graphs/area-stacked.js +28 -29
  205. package/components/graphs/area-stacked.js.map +1 -1
  206. package/components/graphs/area.d.ts +1 -1
  207. package/components/graphs/area.js +62 -57
  208. package/components/graphs/area.js.map +1 -1
  209. package/components/graphs/bar-grouped.d.ts +2 -2
  210. package/components/graphs/bar-grouped.js +56 -56
  211. package/components/graphs/bar-grouped.js.map +1 -1
  212. package/components/graphs/bar-simple.d.ts +1 -1
  213. package/components/graphs/bar-simple.js +45 -45
  214. package/components/graphs/bar-simple.js.map +1 -1
  215. package/components/graphs/bar-stacked.d.ts +1 -1
  216. package/components/graphs/bar-stacked.js +50 -51
  217. package/components/graphs/bar-stacked.js.map +1 -1
  218. package/components/graphs/bar.d.ts +1 -1
  219. package/components/graphs/bar.js +4 -4
  220. package/components/graphs/bar.js.map +1 -1
  221. package/components/graphs/bubble.d.ts +2 -2
  222. package/components/graphs/bubble.js +19 -19
  223. package/components/graphs/bubble.js.map +1 -1
  224. package/components/graphs/donut.d.ts +1 -1
  225. package/components/graphs/donut.js +20 -20
  226. package/components/graphs/donut.js.map +1 -1
  227. package/components/graphs/gauge.d.ts +1 -1
  228. package/components/graphs/gauge.js +89 -87
  229. package/components/graphs/gauge.js.map +1 -1
  230. package/components/graphs/line.d.ts +1 -1
  231. package/components/graphs/line.js +33 -33
  232. package/components/graphs/line.js.map +1 -1
  233. package/components/graphs/lollipop.d.ts +1 -1
  234. package/components/graphs/lollipop.js +32 -32
  235. package/components/graphs/lollipop.js.map +1 -1
  236. package/components/graphs/meter.d.ts +1 -1
  237. package/components/graphs/meter.js +39 -39
  238. package/components/graphs/meter.js.map +1 -1
  239. package/components/graphs/pie.d.ts +1 -1
  240. package/components/graphs/pie.js +102 -100
  241. package/components/graphs/pie.js.map +1 -1
  242. package/components/graphs/radar.d.ts +1 -1
  243. package/components/graphs/radar.js +180 -180
  244. package/components/graphs/radar.js.map +1 -1
  245. package/components/graphs/scatter-stacked.d.ts +1 -1
  246. package/components/graphs/scatter-stacked.js +22 -22
  247. package/components/graphs/scatter-stacked.js.map +1 -1
  248. package/components/graphs/scatter.d.ts +2 -2
  249. package/components/graphs/scatter.js +67 -66
  250. package/components/graphs/scatter.js.map +1 -1
  251. package/components/graphs/skeleton-lines.d.ts +1 -1
  252. package/components/graphs/skeleton-lines.js +27 -27
  253. package/components/graphs/skeleton-lines.js.map +1 -1
  254. package/components/graphs/skeleton.d.ts +1 -1
  255. package/components/graphs/skeleton.js +85 -85
  256. package/components/graphs/skeleton.js.map +1 -1
  257. package/components/graphs/treemap.d.ts +1 -1
  258. package/components/graphs/treemap.js +82 -82
  259. package/components/graphs/treemap.js.map +1 -1
  260. package/components/index.d.ts +36 -36
  261. package/components/index.js +36 -36
  262. package/components/index.js.map +1 -1
  263. package/components/layout/layout.d.ts +3 -3
  264. package/components/layout/layout.js +28 -28
  265. package/components/layout/layout.js.map +1 -1
  266. package/components/layout/spacer.d.ts +1 -1
  267. package/components/layout/spacer.js +10 -10
  268. package/components/layout/spacer.js.map +1 -1
  269. package/configuration-non-customizable.d.ts +7 -7
  270. package/configuration-non-customizable.js +37 -37
  271. package/configuration-non-customizable.js.map +1 -1
  272. package/configuration.d.ts +2 -2
  273. package/configuration.js +81 -78
  274. package/configuration.js.map +1 -1
  275. package/demo/create-codesandbox.d.ts +42 -42
  276. package/demo/create-codesandbox.js +100 -100
  277. package/demo/create-codesandbox.js.map +1 -1
  278. package/demo/data/area.js +220 -190
  279. package/demo/data/area.js.map +1 -1
  280. package/demo/data/bar.d.ts +2 -2
  281. package/demo/data/bar.js +302 -302
  282. package/demo/data/bar.js.map +1 -1
  283. package/demo/data/bubble.js +108 -108
  284. package/demo/data/bubble.js.map +1 -1
  285. package/demo/data/combo.js +323 -323
  286. package/demo/data/combo.js.map +1 -1
  287. package/demo/data/donut.js +19 -19
  288. package/demo/data/donut.js.map +1 -1
  289. package/demo/data/gauge.js +20 -20
  290. package/demo/data/gauge.js.map +1 -1
  291. package/demo/data/high-scale.js +3 -3
  292. package/demo/data/high-scale.js.map +1 -1
  293. package/demo/data/index.d.ts +13 -13
  294. package/demo/data/index.js +299 -299
  295. package/demo/data/index.js.map +1 -1
  296. package/demo/data/line.d.ts +4 -4
  297. package/demo/data/line.js +332 -332
  298. package/demo/data/line.js.map +1 -1
  299. package/demo/data/lollipop.js +19 -19
  300. package/demo/data/lollipop.js.map +1 -1
  301. package/demo/data/meter.d.ts +1 -1
  302. package/demo/data/meter.js +22 -22
  303. package/demo/data/meter.js.map +1 -1
  304. package/demo/data/pie.js +17 -17
  305. package/demo/data/pie.js.map +1 -1
  306. package/demo/data/radar.js +84 -84
  307. package/demo/data/radar.js.map +1 -1
  308. package/demo/data/scatter.js +125 -125
  309. package/demo/data/scatter.js.map +1 -1
  310. package/demo/data/step.js +11 -11
  311. package/demo/data/step.js.map +1 -1
  312. package/demo/data/time-series-axis.js +164 -164
  313. package/demo/data/time-series-axis.js.map +1 -1
  314. package/demo/data/toolbar.js +15 -15
  315. package/demo/data/toolbar.js.map +1 -1
  316. package/demo/data/treemap.js +63 -63
  317. package/demo/data/treemap.js.map +1 -1
  318. package/demo/data/zoom-bar.js +65 -65
  319. package/demo/data/zoom-bar.js.map +1 -1
  320. package/demo/styles.css +1 -1
  321. package/demo/styles.min.css +1 -1
  322. package/demo/tsconfig.tsbuildinfo +45 -45
  323. package/index.d.ts +3 -3
  324. package/index.js +3 -3
  325. package/index.js.map +1 -1
  326. package/interfaces/a11y.js.map +1 -1
  327. package/interfaces/axis-scales.d.ts +7 -7
  328. package/interfaces/axis-scales.js.map +1 -1
  329. package/interfaces/charts.d.ts +11 -4
  330. package/interfaces/charts.js.map +1 -1
  331. package/interfaces/components.d.ts +3 -3
  332. package/interfaces/components.js.map +1 -1
  333. package/interfaces/enums.d.ts +1 -1
  334. package/interfaces/enums.js +1 -1
  335. package/interfaces/enums.js.map +1 -1
  336. package/interfaces/events.js.map +1 -1
  337. package/interfaces/index.d.ts +7 -7
  338. package/interfaces/index.js +2 -2
  339. package/interfaces/index.js.map +1 -1
  340. package/interfaces/layout.d.ts +1 -1
  341. package/interfaces/layout.js.map +1 -1
  342. package/interfaces/model.d.ts +1 -1
  343. package/interfaces/model.js.map +1 -1
  344. package/model-cartesian-charts.d.ts +1 -1
  345. package/model-cartesian-charts.js +7 -7
  346. package/model-cartesian-charts.js.map +1 -1
  347. package/model-gauge.d.ts +1 -1
  348. package/model-gauge.js +2 -2
  349. package/model-gauge.js.map +1 -1
  350. package/model-meter.d.ts +1 -1
  351. package/model-meter.js +7 -7
  352. package/model-meter.js.map +1 -1
  353. package/model-pie.d.ts +1 -1
  354. package/model-pie.js +1 -1
  355. package/model-pie.js.map +1 -1
  356. package/model.d.ts +1 -9
  357. package/model.js +31 -42
  358. package/model.js.map +1 -1
  359. package/package.json +2 -3
  360. package/polyfills.js +9 -9
  361. package/polyfills.js.map +1 -1
  362. package/services/angle-utils.d.ts +1 -1
  363. package/services/angle-utils.js +9 -9
  364. package/services/angle-utils.js.map +1 -1
  365. package/services/curves.d.ts +2 -2
  366. package/services/curves.js +6 -6
  367. package/services/curves.js.map +1 -1
  368. package/services/essentials/dom-utils.d.ts +2 -2
  369. package/services/essentials/dom-utils.js +37 -37
  370. package/services/essentials/dom-utils.js.map +1 -1
  371. package/services/essentials/events.d.ts +1 -1
  372. package/services/essentials/events.js +3 -3
  373. package/services/essentials/events.js.map +1 -1
  374. package/services/essentials/gradient-utils.d.ts +1 -1
  375. package/services/essentials/gradient-utils.js +25 -25
  376. package/services/essentials/gradient-utils.js.map +1 -1
  377. package/services/essentials/transitions.d.ts +2 -2
  378. package/services/essentials/transitions.js +8 -8
  379. package/services/essentials/transitions.js.map +1 -1
  380. package/services/index.d.ts +7 -7
  381. package/services/index.js +7 -7
  382. package/services/index.js.map +1 -1
  383. package/services/scales-cartesian.d.ts +2 -2
  384. package/services/scales-cartesian.js +57 -60
  385. package/services/scales-cartesian.js.map +1 -1
  386. package/services/service.d.ts +1 -1
  387. package/services/service.js.map +1 -1
  388. package/services/time-series.d.ts +1 -1
  389. package/services/time-series.js +27 -27
  390. package/services/time-series.js.map +1 -1
  391. package/services/zoom.d.ts +2 -2
  392. package/services/zoom.js +20 -20
  393. package/services/zoom.js.map +1 -1
  394. package/styles/_type.scss +7 -7
  395. package/styles/color-palatte.scss +218 -218
  396. package/styles/colors.scss +3 -3
  397. package/styles/components/_axis.scss +5 -5
  398. package/styles/components/_ruler.scss +2 -2
  399. package/styles/components/_threshold.scss +1 -1
  400. package/styles/components/_title.scss +3 -3
  401. package/styles/components/_toolbar.scss +1 -1
  402. package/styles/components/_tooltip.scss +6 -6
  403. package/styles/components/index.scss +16 -16
  404. package/styles/graphs/_bubble.scss +1 -1
  405. package/styles/graphs/_radar.scss +2 -2
  406. package/styles/graphs/_scatter.scss +1 -1
  407. package/styles/graphs/_treemap.scss +1 -1
  408. package/styles/graphs/index.scss +9 -9
  409. package/styles/styles-g10.scss +2 -2
  410. package/styles/styles-g100.scss +2 -2
  411. package/styles/styles-g90.scss +2 -2
  412. package/styles/styles-white.scss +2 -2
  413. package/styles/styles.scss +10 -10
  414. package/tools.d.ts +2 -2
  415. package/tools.js +26 -26
  416. package/tools.js.map +1 -1
  417. package/tsconfig.tsbuildinfo +173 -173
package/styles/_type.scss CHANGED
@@ -1,23 +1,23 @@
1
- @import "./vendor/@carbon/type/scss/type";
2
- @import "./vendor/@carbon/type/scss/font-face/mono";
3
- @import "./vendor/@carbon/type/scss/font-face/sans";
1
+ @import './vendor/@carbon/type/scss/type';
2
+ @import './vendor/@carbon/type/scss/font-face/mono';
3
+ @import './vendor/@carbon/type/scss/font-face/sans';
4
4
 
5
5
  svg.#{$prefix}--#{$charts-prefix}--chart-svg {
6
- font-family: carbon--font-family("sans-condensed");
6
+ font-family: carbon--font-family('sans-condensed');
7
7
 
8
8
  text {
9
9
  font-size: 12px;
10
- font-weight: carbon--font-weight("regular");
10
+ font-weight: carbon--font-weight('regular');
11
11
  fill: $text-02;
12
12
  }
13
13
 
14
14
  text.meter-title,
15
15
  text.percent-value {
16
16
  font-size: $carbon--base-font-size;
17
- font-family: carbon--font-family("sans");
17
+ font-family: carbon--font-family('sans');
18
18
  }
19
19
 
20
20
  text.meter-title {
21
- font-weight: carbon--font-weight("semibold");
21
+ font-weight: carbon--font-weight('semibold');
22
22
  }
23
23
  }
@@ -3,245 +3,245 @@
3
3
  }
4
4
 
5
5
  $white-theme-colors: (
6
- "1": (
7
- "1": (
8
- "1": getColorValue("purple", 70)
6
+ '1': (
7
+ '1': (
8
+ '1': getColorValue('purple', 70),
9
9
  ),
10
- "2": (
11
- "1": getColorValue("blue", 80)
10
+ '2': (
11
+ '1': getColorValue('blue', 80),
12
12
  ),
13
- "3": (
14
- "1": getColorValue("cyan", 50)
13
+ '3': (
14
+ '1': getColorValue('cyan', 50),
15
+ ),
16
+ '4': (
17
+ '1': getColorValue('teal', 60),
15
18
  ),
16
- "4": (
17
- "1": getColorValue("teal", 60)
18
- )
19
19
  ),
20
- "2": (
21
- "1": (
22
- "1": getColorValue("purple", 70),
23
- "2": getColorValue("teal", 50)
24
- ),
25
- "2": (
26
- "1": getColorValue("purple", 60),
27
- "2": getColorValue("red", 90)
28
- ),
29
- "3": (
30
- "1": getColorValue("magenta", 70),
31
- "2": getColorValue("red", 90)
32
- ),
33
- "4": (
34
- "1": getColorValue("cyan", 50),
35
- "2": getColorValue("teal", 70)
36
- ),
37
- "5": (
38
- "1": getColorValue("teal", 50),
39
- "2": getColorValue("blue", 80)
40
- )
20
+ '2': (
21
+ '1': (
22
+ '1': getColorValue('purple', 70),
23
+ '2': getColorValue('teal', 50),
24
+ ),
25
+ '2': (
26
+ '1': getColorValue('purple', 60),
27
+ '2': getColorValue('red', 90),
28
+ ),
29
+ '3': (
30
+ '1': getColorValue('magenta', 70),
31
+ '2': getColorValue('red', 90),
32
+ ),
33
+ '4': (
34
+ '1': getColorValue('cyan', 50),
35
+ '2': getColorValue('teal', 70),
36
+ ),
37
+ '5': (
38
+ '1': getColorValue('teal', 50),
39
+ '2': getColorValue('blue', 80),
40
+ ),
41
41
  ),
42
- "3": (
43
- "1": (
44
- "1": getColorValue("magenta", 50),
45
- "2": getColorValue("cyan", 50),
46
- "3": getColorValue("purple", 70)
47
- ),
48
- "2": (
49
- "1": getColorValue("magenta", 70),
50
- "2": getColorValue("red", 50),
51
- "3": getColorValue("red", 90)
52
- ),
53
- "3": (
54
- "1": getColorValue("purple", 50),
55
- "2": getColorValue("teal", 70),
56
- "3": getColorValue("blue", 80)
57
- ),
58
- "4": (
59
- "1": getColorValue("purple", 50),
60
- "2": getColorValue("teal", 70),
61
- "3": getColorValue("magenta", 70)
62
- ),
63
- "5": (
64
- "1": getColorValue("cyan", 90),
65
- "2": getColorValue("purple", 70),
66
- "3": getColorValue("teal", 50)
67
- )
42
+ '3': (
43
+ '1': (
44
+ '1': getColorValue('magenta', 50),
45
+ '2': getColorValue('cyan', 50),
46
+ '3': getColorValue('purple', 70),
47
+ ),
48
+ '2': (
49
+ '1': getColorValue('magenta', 70),
50
+ '2': getColorValue('red', 50),
51
+ '3': getColorValue('red', 90),
52
+ ),
53
+ '3': (
54
+ '1': getColorValue('purple', 50),
55
+ '2': getColorValue('teal', 70),
56
+ '3': getColorValue('blue', 80),
57
+ ),
58
+ '4': (
59
+ '1': getColorValue('purple', 50),
60
+ '2': getColorValue('teal', 70),
61
+ '3': getColorValue('magenta', 70),
62
+ ),
63
+ '5': (
64
+ '1': getColorValue('cyan', 90),
65
+ '2': getColorValue('purple', 70),
66
+ '3': getColorValue('teal', 50),
67
+ ),
68
68
  ),
69
- "4": (
70
- "1": (
71
- "1": getColorValue("purple", 70),
72
- "2": getColorValue("cyan", 90),
73
- "3": getColorValue("teal", 50),
74
- "4": getColorValue("magenta", 50)
75
- ),
76
- "2": (
77
- "1": getColorValue("magenta", 70),
78
- "2": getColorValue("red", 50),
79
- "3": getColorValue("red", 90),
80
- "4": getColorValue("purple", 50)
81
- ),
82
- "3": (
83
- "1": getColorValue("teal", 50),
84
- "2": getColorValue("blue", 80),
85
- "3": getColorValue("purple", 50),
86
- "4": getColorValue("magenta", 70)
87
- )
69
+ '4': (
70
+ '1': (
71
+ '1': getColorValue('purple', 70),
72
+ '2': getColorValue('cyan', 90),
73
+ '3': getColorValue('teal', 50),
74
+ '4': getColorValue('magenta', 50),
75
+ ),
76
+ '2': (
77
+ '1': getColorValue('magenta', 70),
78
+ '2': getColorValue('red', 50),
79
+ '3': getColorValue('red', 90),
80
+ '4': getColorValue('purple', 50),
81
+ ),
82
+ '3': (
83
+ '1': getColorValue('teal', 50),
84
+ '2': getColorValue('blue', 80),
85
+ '3': getColorValue('purple', 50),
86
+ '4': getColorValue('magenta', 70),
87
+ ),
88
88
  ),
89
- "5": (
90
- "1": (
91
- "1": getColorValue("purple", 70),
92
- "2": getColorValue("cyan", 50),
93
- "3": getColorValue("teal", 70),
94
- "4": getColorValue("magenta", 70),
95
- "5": getColorValue("red", 90)
96
- ),
97
- "2": (
98
- "1": getColorValue("blue", 80),
99
- "2": getColorValue("teal", 50),
100
- "3": getColorValue("magenta", 70),
101
- "4": getColorValue("red", 90),
102
- "5": getColorValue("purple", 50)
103
- )
89
+ '5': (
90
+ '1': (
91
+ '1': getColorValue('purple', 70),
92
+ '2': getColorValue('cyan', 50),
93
+ '3': getColorValue('teal', 70),
94
+ '4': getColorValue('magenta', 70),
95
+ '5': getColorValue('red', 90),
96
+ ),
97
+ '2': (
98
+ '1': getColorValue('blue', 80),
99
+ '2': getColorValue('teal', 50),
100
+ '3': getColorValue('magenta', 70),
101
+ '4': getColorValue('red', 90),
102
+ '5': getColorValue('purple', 50),
103
+ ),
104
104
  ),
105
- "14": (
106
- "1": (
107
- "1": getColorValue("purple", 70),
108
- "2": getColorValue("cyan", 50),
109
- "3": getColorValue("teal", 70),
110
- "4": getColorValue("magenta", 70),
111
- "5": getColorValue("red", 50),
112
- "6": getColorValue("red", 90),
113
- "7": getColorValue("green", 60),
114
- "8": getColorValue("blue", 80),
115
- "9": getColorValue("magenta", 50),
116
- "10": #b28600,
105
+ '14': (
106
+ '1': (
107
+ '1': getColorValue('purple', 70),
108
+ '2': getColorValue('cyan', 50),
109
+ '3': getColorValue('teal', 70),
110
+ '4': getColorValue('magenta', 70),
111
+ '5': getColorValue('red', 50),
112
+ '6': getColorValue('red', 90),
113
+ '7': getColorValue('green', 60),
114
+ '8': getColorValue('blue', 80),
115
+ '9': getColorValue('magenta', 50),
116
+ '10': #b28600,
117
117
  //yellow 50, update when available in carbon color
118
- "11": getColorValue("teal", 50),
119
- "12": getColorValue("cyan", 90),
120
- "13": #8a3800,
118
+ '11': getColorValue('teal', 50),
119
+ '12': getColorValue('cyan', 90),
120
+ '13': #8a3800,
121
121
  //orange 70, update when available in carbon color
122
- "14": getColorValue("purple", 50)
123
- )
124
- )
122
+ '14': getColorValue('purple', 50),
123
+ ),
124
+ ),
125
125
  );
126
126
 
127
127
  $dark-theme-colors: (
128
- "1": (
129
- "1": (
130
- "1": getColorValue("purple", 30)
128
+ '1': (
129
+ '1': (
130
+ '1': getColorValue('purple', 30),
131
131
  ),
132
- "2": (
133
- "1": getColorValue("blue", 50)
132
+ '2': (
133
+ '1': getColorValue('blue', 50),
134
134
  ),
135
- "3": (
136
- "1": getColorValue("cyan", 40)
135
+ '3': (
136
+ '1': getColorValue('cyan', 40),
137
+ ),
138
+ '4': (
139
+ '1': getColorValue('teal', 40),
137
140
  ),
138
- "4": (
139
- "1": getColorValue("teal", 40)
140
- )
141
141
  ),
142
- "2": (
143
- "1": (
144
- "1": getColorValue("purple", 60),
145
- "2": getColorValue("teal", 40)
146
- ),
147
- "2": (
148
- "1": getColorValue("purple", 60),
149
- "2": getColorValue("magenta", 40)
150
- ),
151
- "3": (
152
- "1": getColorValue("magenta", 40),
153
- "2": getColorValue("red", 10)
154
- ),
155
- "4": (
156
- "1": getColorValue("blue", 50),
157
- "2": getColorValue("cyan", 20)
158
- ),
159
- "5": (
160
- "1": getColorValue("teal", 60),
161
- "2": getColorValue("green", 30)
162
- )
142
+ '2': (
143
+ '1': (
144
+ '1': getColorValue('purple', 60),
145
+ '2': getColorValue('teal', 40),
146
+ ),
147
+ '2': (
148
+ '1': getColorValue('purple', 60),
149
+ '2': getColorValue('magenta', 40),
150
+ ),
151
+ '3': (
152
+ '1': getColorValue('magenta', 40),
153
+ '2': getColorValue('red', 10),
154
+ ),
155
+ '4': (
156
+ '1': getColorValue('blue', 50),
157
+ '2': getColorValue('cyan', 20),
158
+ ),
159
+ '5': (
160
+ '1': getColorValue('teal', 60),
161
+ '2': getColorValue('green', 30),
162
+ ),
163
163
  ),
164
- "3": (
165
- "1": (
166
- "1": getColorValue("purple", 60),
167
- "2": getColorValue("teal", 40),
168
- "3": getColorValue("cyan", 20)
169
- ),
170
- "2": (
171
- "1": getColorValue("purple", 60),
172
- "2": getColorValue("magenta", 40),
173
- "3": getColorValue("red", 10)
174
- ),
175
- "3": (
176
- "1": getColorValue("blue", 50),
177
- "2": getColorValue("teal", 40),
178
- "3": getColorValue("purple", 30)
179
- ),
180
- "4": (
181
- "1": getColorValue("blue", 50),
182
- "2": getColorValue("green", 30),
183
- "3": getColorValue("red", 10)
184
- ),
185
- "5": (
186
- "1": getColorValue("teal", 60),
187
- "2": getColorValue("green", 30),
188
- "3": getColorValue("cyan", 20)
189
- )
164
+ '3': (
165
+ '1': (
166
+ '1': getColorValue('purple', 60),
167
+ '2': getColorValue('teal', 40),
168
+ '3': getColorValue('cyan', 20),
169
+ ),
170
+ '2': (
171
+ '1': getColorValue('purple', 60),
172
+ '2': getColorValue('magenta', 40),
173
+ '3': getColorValue('red', 10),
174
+ ),
175
+ '3': (
176
+ '1': getColorValue('blue', 50),
177
+ '2': getColorValue('teal', 40),
178
+ '3': getColorValue('purple', 30),
179
+ ),
180
+ '4': (
181
+ '1': getColorValue('blue', 50),
182
+ '2': getColorValue('green', 30),
183
+ '3': getColorValue('red', 10),
184
+ ),
185
+ '5': (
186
+ '1': getColorValue('teal', 60),
187
+ '2': getColorValue('green', 30),
188
+ '3': getColorValue('cyan', 20),
189
+ ),
190
190
  ),
191
- "4": (
192
- "1": (
193
- "1": getColorValue("purple", 60),
194
- "2": getColorValue("teal", 40),
195
- "3": getColorValue("cyan", 20),
196
- "4": getColorValue("blue", 50)
197
- ),
198
- "2": (
199
- "1": getColorValue("blue", 50),
200
- "2": getColorValue("teal", 40),
201
- "3": getColorValue("purple", 30),
202
- "4": getColorValue("red", 10)
203
- ),
204
- "3": (
205
- "1": getColorValue("teal", 60),
206
- "2": getColorValue("red", 10),
207
- "3": getColorValue("cyan", 40),
208
- "4": getColorValue("green", 30)
209
- )
191
+ '4': (
192
+ '1': (
193
+ '1': getColorValue('purple', 60),
194
+ '2': getColorValue('teal', 40),
195
+ '3': getColorValue('cyan', 20),
196
+ '4': getColorValue('blue', 50),
197
+ ),
198
+ '2': (
199
+ '1': getColorValue('blue', 50),
200
+ '2': getColorValue('teal', 40),
201
+ '3': getColorValue('purple', 30),
202
+ '4': getColorValue('red', 10),
203
+ ),
204
+ '3': (
205
+ '1': getColorValue('teal', 60),
206
+ '2': getColorValue('red', 10),
207
+ '3': getColorValue('cyan', 40),
208
+ '4': getColorValue('green', 30),
209
+ ),
210
210
  ),
211
- "5": (
212
- "1": (
213
- "1": getColorValue("purple", 60),
214
- "2": getColorValue("teal", 40),
215
- "3": getColorValue("cyan", 20),
216
- "4": getColorValue("blue", 50),
217
- "5": getColorValue("magenta", 40)
218
- ),
219
- "2": (
220
- "1": getColorValue("blue", 50),
221
- "2": getColorValue("teal", 40),
222
- "3": getColorValue("purple", 30),
223
- "4": getColorValue("red", 10),
224
- "5": getColorValue("green", 30)
225
- )
211
+ '5': (
212
+ '1': (
213
+ '1': getColorValue('purple', 60),
214
+ '2': getColorValue('teal', 40),
215
+ '3': getColorValue('cyan', 20),
216
+ '4': getColorValue('blue', 50),
217
+ '5': getColorValue('magenta', 40),
218
+ ),
219
+ '2': (
220
+ '1': getColorValue('blue', 50),
221
+ '2': getColorValue('teal', 40),
222
+ '3': getColorValue('purple', 30),
223
+ '4': getColorValue('red', 10),
224
+ '5': getColorValue('green', 30),
225
+ ),
226
226
  ),
227
- "14": (
228
- "1": (
229
- "1": getColorValue("purple", 60),
230
- "2": getColorValue("cyan", 40),
231
- "3": getColorValue("teal", 60),
232
- "4": getColorValue("magenta", 40),
233
- "5": getColorValue("red", 50),
234
- "6": getColorValue("red", 10),
235
- "7": getColorValue("green", 30),
236
- "8": getColorValue("blue", 50),
237
- "9": getColorValue("magenta", 60),
238
- "10": #d2a106,
227
+ '14': (
228
+ '1': (
229
+ '1': getColorValue('purple', 60),
230
+ '2': getColorValue('cyan', 40),
231
+ '3': getColorValue('teal', 60),
232
+ '4': getColorValue('magenta', 40),
233
+ '5': getColorValue('red', 50),
234
+ '6': getColorValue('red', 10),
235
+ '7': getColorValue('green', 30),
236
+ '8': getColorValue('blue', 50),
237
+ '9': getColorValue('magenta', 60),
238
+ '10': #d2a106,
239
239
  //yellow 40, update when available in carbon color
240
- "11": getColorValue("teal", 40),
241
- "12": getColorValue("cyan", 20),
242
- "13": #ba4e00,
240
+ '11': getColorValue('teal', 40),
241
+ '12': getColorValue('cyan', 20),
242
+ '13': #ba4e00,
243
243
  //orange 60, update when available in carbon color
244
- "14": getColorValue("purple", 30)
245
- )
246
- )
244
+ '14': getColorValue('purple', 30),
245
+ ),
246
+ ),
247
247
  );
@@ -1,4 +1,4 @@
1
- @import "./color-palatte.scss";
1
+ @import './color-palatte.scss';
2
2
 
3
3
  @function getThemeColors() {
4
4
  $color-map: ();
@@ -21,12 +21,12 @@
21
21
  @if $name == null {
22
22
  $color-items: map-merge(
23
23
  $color-items,
24
- color-property("#{$category}", $value)
24
+ color-property('#{$category}', $value)
25
25
  );
26
26
  } @else {
27
27
  $color-items: map-merge(
28
28
  $color-items,
29
- color-property("#{$name}-#{$category}", $value)
29
+ color-property('#{$name}-#{$category}', $value)
30
30
  );
31
31
  }
32
32
  }
@@ -1,6 +1,6 @@
1
- @import "./../vendor/@carbon/type/scss/type";
2
- @import "./../vendor/@carbon/type/scss/font-face/sans";
3
- @import "./../vendor/@carbon/themes/scss/tokens";
1
+ @import './../vendor/@carbon/type/scss/type';
2
+ @import './../vendor/@carbon/type/scss/font-face/sans';
3
+ @import './../vendor/@carbon/themes/scss/tokens';
4
4
 
5
5
  .#{$prefix}--#{$charts-prefix}--axes g.axis {
6
6
  g.ticks.invisible {
@@ -9,7 +9,7 @@
9
9
 
10
10
  g.tick text {
11
11
  fill: $text-02;
12
- font-family: carbon--font-family("sans-condensed");
12
+ font-family: carbon--font-family('sans-condensed');
13
13
  }
14
14
 
15
15
  g.tick line {
@@ -21,6 +21,6 @@
21
21
  }
22
22
 
23
23
  .axis-title {
24
- font-family: carbon--font-family("regular");
24
+ font-family: carbon--font-family('regular');
25
25
  }
26
26
  }
@@ -1,10 +1,10 @@
1
1
  .#{$prefix}--#{$charts-prefix}--ruler {
2
2
  line.ruler-line {
3
- @if $ui-background == map-get($carbon--theme--g90, "ui-background") {
3
+ @if $ui-background == map-get($carbon--theme--g90, 'ui-background') {
4
4
  stroke: $carbon--white-0;
5
5
  } @else if
6
6
  $ui-background ==
7
- map-get($carbon--theme--g100, "ui-background")
7
+ map-get($carbon--theme--g100, 'ui-background')
8
8
  {
9
9
  stroke: $carbon--white-0;
10
10
  } @else {
@@ -33,7 +33,7 @@
33
33
  position: absolute;
34
34
  word-wrap: break-word;
35
35
  z-index: 1059;
36
- font-family: carbon--font-family("sans-condensed");
36
+ font-family: carbon--font-family('sans-condensed');
37
37
 
38
38
  color: $text-01;
39
39
  line-height: 16px;
@@ -1,8 +1,8 @@
1
- @import "./../vendor/@carbon/type/scss/type";
1
+ @import './../vendor/@carbon/type/scss/type';
2
2
 
3
3
  .#{$prefix}--#{$charts-prefix}--title text.title {
4
4
  fill: $text-01;
5
5
  font-size: 16px;
6
- font-family: carbon--font-family("sans");
7
- font-weight: carbon--font-weight("semibold");
6
+ font-family: carbon--font-family('sans');
7
+ font-weight: carbon--font-weight('semibold');
8
8
  }
@@ -1,5 +1,5 @@
1
1
  $css--reset: false;
2
- @import "./../vendor/carbon-components/src/components/overflow-menu/overflow-menu";
2
+ @import './../vendor/carbon-components/src/components/overflow-menu/overflow-menu';
3
3
 
4
4
  g.#{$prefix}--#{$charts-prefix}--toolbar {
5
5
  @include carbon--motion(standard, expressive);
@@ -1,7 +1,7 @@
1
- @import "./../vendor/@carbon/motion/scss/motion.scss";
2
- @import "./../vendor/@carbon/type/scss/type";
3
- @import "./../vendor/@carbon/type/scss/font-face/mono";
4
- @import "./../vendor/@carbon/type/scss/font-face/sans";
1
+ @import './../vendor/@carbon/motion/scss/motion.scss';
2
+ @import './../vendor/@carbon/type/scss/type';
3
+ @import './../vendor/@carbon/type/scss/font-face/mono';
4
+ @import './../vendor/@carbon/type/scss/font-face/sans';
5
5
 
6
6
  .#{$prefix}--#{$charts-prefix}--tooltip {
7
7
  background-color: $ui-02;
@@ -13,7 +13,7 @@
13
13
  position: absolute;
14
14
  word-wrap: break-word;
15
15
  z-index: 1059;
16
- font-family: carbon--font-family("sans-condensed");
16
+ font-family: carbon--font-family('sans-condensed');
17
17
 
18
18
  &.hidden {
19
19
  opacity: 0;
@@ -66,7 +66,7 @@
66
66
  }
67
67
 
68
68
  &.bold {
69
- font-weight: carbon--font-weight("semibold");
69
+ font-weight: carbon--font-weight('semibold');
70
70
  }
71
71
  }
72
72