@fluentui/react-charting 5.16.23 → 5.16.25

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 (794) hide show
  1. package/CHANGELOG.json +75 -1
  2. package/CHANGELOG.md +26 -2
  3. package/config/setup-env.js +1 -0
  4. package/docs/TestPlans/BasicDonutChart.png +0 -0
  5. package/docs/TestPlans/DonutChart/ComponentTests.md +35 -0
  6. package/lib/AreaChart.d.ts +1 -0
  7. package/lib/AreaChart.js +2 -0
  8. package/lib/AreaChart.js.map +1 -0
  9. package/lib/CartesianChart.d.ts +1 -0
  10. package/lib/CartesianChart.js +2 -0
  11. package/lib/CartesianChart.js.map +1 -0
  12. package/lib/DonutChart.d.ts +1 -0
  13. package/lib/DonutChart.js +2 -0
  14. package/lib/DonutChart.js.map +1 -0
  15. package/lib/GroupedVerticalBarChart.d.ts +1 -0
  16. package/lib/GroupedVerticalBarChart.js +2 -0
  17. package/lib/GroupedVerticalBarChart.js.map +1 -0
  18. package/lib/HeatMapChart.d.ts +1 -0
  19. package/lib/HeatMapChart.js +2 -0
  20. package/lib/HeatMapChart.js.map +1 -0
  21. package/lib/HorizontalBarChart.d.ts +1 -0
  22. package/lib/HorizontalBarChart.js +2 -0
  23. package/lib/HorizontalBarChart.js.map +1 -0
  24. package/lib/Legends.d.ts +1 -0
  25. package/lib/Legends.js +2 -0
  26. package/lib/Legends.js.map +1 -0
  27. package/lib/LineChart.d.ts +1 -0
  28. package/lib/LineChart.js +2 -0
  29. package/lib/LineChart.js.map +1 -0
  30. package/lib/PieChart.d.ts +1 -0
  31. package/lib/PieChart.js +2 -0
  32. package/lib/PieChart.js.map +1 -0
  33. package/lib/SankeyChart.d.ts +1 -0
  34. package/lib/SankeyChart.js +2 -0
  35. package/lib/SankeyChart.js.map +1 -0
  36. package/lib/Sparkline.d.ts +1 -0
  37. package/lib/Sparkline.js +2 -0
  38. package/lib/Sparkline.js.map +1 -0
  39. package/lib/StackedBarChart.d.ts +1 -0
  40. package/lib/StackedBarChart.js +2 -0
  41. package/lib/StackedBarChart.js.map +1 -0
  42. package/lib/Styling.d.ts +2 -0
  43. package/lib/Styling.js +8 -0
  44. package/lib/Styling.js.map +1 -0
  45. package/lib/TreeChart.d.ts +1 -0
  46. package/lib/TreeChart.js +2 -0
  47. package/lib/TreeChart.js.map +1 -0
  48. package/lib/Utilities.d.ts +2 -0
  49. package/lib/Utilities.js +20 -0
  50. package/lib/Utilities.js.map +1 -0
  51. package/lib/VerticalBarChart.d.ts +1 -0
  52. package/lib/VerticalBarChart.js +2 -0
  53. package/lib/VerticalBarChart.js.map +1 -0
  54. package/lib/VerticalStackedBarChart.d.ts +1 -0
  55. package/lib/VerticalStackedBarChart.js +2 -0
  56. package/lib/VerticalStackedBarChart.js.map +1 -0
  57. package/lib/components/AreaChart/AreaChart.base.d.ts +92 -0
  58. package/lib/components/AreaChart/AreaChart.base.js +562 -0
  59. package/lib/components/AreaChart/AreaChart.base.js.map +1 -0
  60. package/lib/components/AreaChart/AreaChart.d.ts +3 -0
  61. package/lib/components/AreaChart/AreaChart.js +6 -0
  62. package/lib/components/AreaChart/AreaChart.js.map +1 -0
  63. package/lib/components/AreaChart/AreaChart.styles.d.ts +2 -0
  64. package/lib/components/AreaChart/AreaChart.styles.js +7 -0
  65. package/lib/components/AreaChart/AreaChart.styles.js.map +1 -0
  66. package/lib/components/AreaChart/AreaChart.types.d.ts +37 -0
  67. package/lib/components/AreaChart/AreaChart.types.js +2 -0
  68. package/lib/components/AreaChart/AreaChart.types.js.map +1 -0
  69. package/lib/components/AreaChart/index.d.ts +2 -0
  70. package/lib/components/AreaChart/index.js +3 -0
  71. package/lib/components/AreaChart/index.js.map +1 -0
  72. package/lib/components/CommonComponents/CartesianChart.base.d.ts +43 -0
  73. package/lib/components/CommonComponents/CartesianChart.base.js +331 -0
  74. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -0
  75. package/lib/components/CommonComponents/CartesianChart.d.ts +3 -0
  76. package/lib/components/CommonComponents/CartesianChart.js +5 -0
  77. package/lib/components/CommonComponents/CartesianChart.js.map +1 -0
  78. package/lib/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
  79. package/lib/components/CommonComponents/CartesianChart.styles.js +163 -0
  80. package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -0
  81. package/lib/components/CommonComponents/CartesianChart.types.d.ts +428 -0
  82. package/lib/components/CommonComponents/CartesianChart.types.js +2 -0
  83. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -0
  84. package/lib/components/CommonComponents/index.d.ts +2 -0
  85. package/lib/components/CommonComponents/index.js +3 -0
  86. package/lib/components/CommonComponents/index.js.map +1 -0
  87. package/lib/components/DonutChart/Arc/Arc.d.ts +21 -0
  88. package/lib/components/DonutChart/Arc/Arc.js +86 -0
  89. package/lib/components/DonutChart/Arc/Arc.js.map +1 -0
  90. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
  91. package/lib/components/DonutChart/Arc/Arc.styles.js +28 -0
  92. package/lib/components/DonutChart/Arc/Arc.styles.js.map +1 -0
  93. package/lib/components/DonutChart/Arc/Arc.types.d.ts +124 -0
  94. package/lib/components/DonutChart/Arc/Arc.types.js +2 -0
  95. package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -0
  96. package/lib/components/DonutChart/Arc/index.d.ts +2 -0
  97. package/lib/components/DonutChart/Arc/index.js +3 -0
  98. package/lib/components/DonutChart/Arc/index.js.map +1 -0
  99. package/lib/components/DonutChart/DonutChart.base.d.ts +50 -0
  100. package/lib/components/DonutChart/DonutChart.base.js +211 -0
  101. package/lib/components/DonutChart/DonutChart.base.js.map +1 -0
  102. package/lib/components/DonutChart/DonutChart.d.ts +3 -0
  103. package/lib/components/DonutChart/DonutChart.js +6 -0
  104. package/lib/components/DonutChart/DonutChart.js.map +1 -0
  105. package/lib/components/DonutChart/DonutChart.styles.d.ts +2 -0
  106. package/lib/components/DonutChart/DonutChart.styles.js +30 -0
  107. package/lib/components/DonutChart/DonutChart.styles.js.map +1 -0
  108. package/lib/components/DonutChart/DonutChart.types.d.ts +63 -0
  109. package/lib/components/DonutChart/DonutChart.types.js +2 -0
  110. package/lib/components/DonutChart/DonutChart.types.js.map +1 -0
  111. package/lib/components/DonutChart/Pie/Pie.d.ts +15 -0
  112. package/lib/components/DonutChart/Pie/Pie.js +71 -0
  113. package/lib/components/DonutChart/Pie/Pie.js.map +1 -0
  114. package/lib/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
  115. package/lib/components/DonutChart/Pie/Pie.styles.js +19 -0
  116. package/lib/components/DonutChart/Pie/Pie.styles.js.map +1 -0
  117. package/lib/components/DonutChart/Pie/Pie.types.d.ts +96 -0
  118. package/lib/components/DonutChart/Pie/Pie.types.js +2 -0
  119. package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -0
  120. package/lib/components/DonutChart/Pie/index.d.ts +2 -0
  121. package/lib/components/DonutChart/Pie/index.js +3 -0
  122. package/lib/components/DonutChart/Pie/index.js.map +1 -0
  123. package/lib/components/DonutChart/index.d.ts +3 -0
  124. package/lib/components/DonutChart/index.js +4 -0
  125. package/lib/components/DonutChart/index.js.map +1 -0
  126. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +62 -0
  127. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +381 -0
  128. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
  129. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +3 -0
  130. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +6 -0
  131. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
  132. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
  133. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +17 -0
  134. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
  135. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +83 -0
  136. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +2 -0
  137. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
  138. package/lib/components/GroupedVerticalBarChart/index.d.ts +2 -0
  139. package/lib/components/GroupedVerticalBarChart/index.js +3 -0
  140. package/lib/components/GroupedVerticalBarChart/index.js.map +1 -0
  141. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +147 -0
  142. package/lib/components/HeatMapChart/HeatMapChart.base.js +498 -0
  143. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
  144. package/lib/components/HeatMapChart/HeatMapChart.d.ts +3 -0
  145. package/lib/components/HeatMapChart/HeatMapChart.js +5 -0
  146. package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -0
  147. package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
  148. package/lib/components/HeatMapChart/HeatMapChart.styles.js +24 -0
  149. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
  150. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +110 -0
  151. package/lib/components/HeatMapChart/HeatMapChart.types.js +2 -0
  152. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
  153. package/lib/components/HeatMapChart/index.d.ts +2 -0
  154. package/lib/components/HeatMapChart/index.js +3 -0
  155. package/lib/components/HeatMapChart/index.js.map +1 -0
  156. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +36 -0
  157. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +237 -0
  158. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
  159. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +3 -0
  160. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +6 -0
  161. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  162. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
  163. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +69 -0
  164. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
  165. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +172 -0
  166. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +6 -0
  167. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  168. package/lib/components/HorizontalBarChart/index.d.ts +3 -0
  169. package/lib/components/HorizontalBarChart/index.js +4 -0
  170. package/lib/components/HorizontalBarChart/index.js.map +1 -0
  171. package/lib/components/Legends/Legends.base.d.ts +44 -0
  172. package/lib/components/Legends/Legends.base.js +293 -0
  173. package/lib/components/Legends/Legends.base.js.map +1 -0
  174. package/lib/components/Legends/Legends.d.ts +3 -0
  175. package/lib/components/Legends/Legends.js +5 -0
  176. package/lib/components/Legends/Legends.js.map +1 -0
  177. package/lib/components/Legends/Legends.styles.d.ts +2 -0
  178. package/lib/components/Legends/Legends.styles.js +103 -0
  179. package/lib/components/Legends/Legends.styles.js.map +1 -0
  180. package/lib/components/Legends/Legends.types.d.ts +169 -0
  181. package/lib/components/Legends/Legends.types.js +2 -0
  182. package/lib/components/Legends/Legends.types.js.map +1 -0
  183. package/lib/components/Legends/index.d.ts +3 -0
  184. package/lib/components/Legends/index.js +4 -0
  185. package/lib/components/Legends/index.js.map +1 -0
  186. package/lib/components/Legends/shape.d.ts +9 -0
  187. package/lib/components/Legends/shape.js +24 -0
  188. package/lib/components/Legends/shape.js.map +1 -0
  189. package/lib/components/LineChart/LineChart.base.d.ts +84 -0
  190. package/lib/components/LineChart/LineChart.base.js +815 -0
  191. package/lib/components/LineChart/LineChart.base.js.map +1 -0
  192. package/lib/components/LineChart/LineChart.d.ts +3 -0
  193. package/lib/components/LineChart/LineChart.js +6 -0
  194. package/lib/components/LineChart/LineChart.js.map +1 -0
  195. package/lib/components/LineChart/LineChart.styles.d.ts +2 -0
  196. package/lib/components/LineChart/LineChart.styles.js +7 -0
  197. package/lib/components/LineChart/LineChart.styles.js.map +1 -0
  198. package/lib/components/LineChart/LineChart.types.d.ts +72 -0
  199. package/lib/components/LineChart/LineChart.types.js +2 -0
  200. package/lib/components/LineChart/LineChart.types.js.map +1 -0
  201. package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +10 -0
  202. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +93 -0
  203. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  204. package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +22 -0
  205. package/lib/components/LineChart/eventAnnotation/LabelLink.js +37 -0
  206. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  207. package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
  208. package/lib/components/LineChart/eventAnnotation/Textbox.js +37 -0
  209. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  210. package/lib/components/LineChart/index.d.ts +3 -0
  211. package/lib/components/LineChart/index.js +4 -0
  212. package/lib/components/LineChart/index.js.map +1 -0
  213. package/lib/components/PieChart/Arc/Arc.d.ts +12 -0
  214. package/lib/components/PieChart/Arc/Arc.js +57 -0
  215. package/lib/components/PieChart/Arc/Arc.js.map +1 -0
  216. package/lib/components/PieChart/Arc/Arc.styles.d.ts +2 -0
  217. package/lib/components/PieChart/Arc/Arc.styles.js +8 -0
  218. package/lib/components/PieChart/Arc/Arc.styles.js.map +1 -0
  219. package/lib/components/PieChart/Arc/Arc.types.d.ts +60 -0
  220. package/lib/components/PieChart/Arc/Arc.types.js +2 -0
  221. package/lib/components/PieChart/Arc/Arc.types.js.map +1 -0
  222. package/lib/components/PieChart/Arc/index.d.ts +2 -0
  223. package/lib/components/PieChart/Arc/index.js +3 -0
  224. package/lib/components/PieChart/Arc/index.js.map +1 -0
  225. package/lib/components/PieChart/Pie/Pie.d.ts +10 -0
  226. package/lib/components/PieChart/Pie/Pie.js +35 -0
  227. package/lib/components/PieChart/Pie/Pie.js.map +1 -0
  228. package/lib/components/PieChart/Pie/Pie.styles.d.ts +2 -0
  229. package/lib/components/PieChart/Pie/Pie.styles.js +6 -0
  230. package/lib/components/PieChart/Pie/Pie.styles.js.map +1 -0
  231. package/lib/components/PieChart/Pie/Pie.types.d.ts +46 -0
  232. package/lib/components/PieChart/Pie/Pie.types.js +2 -0
  233. package/lib/components/PieChart/Pie/Pie.types.js.map +1 -0
  234. package/lib/components/PieChart/Pie/index.d.ts +2 -0
  235. package/lib/components/PieChart/Pie/index.js +3 -0
  236. package/lib/components/PieChart/Pie/index.js.map +1 -0
  237. package/lib/components/PieChart/PieChart.base.d.ts +7 -0
  238. package/lib/components/PieChart/PieChart.base.js +34 -0
  239. package/lib/components/PieChart/PieChart.base.js.map +1 -0
  240. package/lib/components/PieChart/PieChart.d.ts +3 -0
  241. package/lib/components/PieChart/PieChart.js +6 -0
  242. package/lib/components/PieChart/PieChart.js.map +1 -0
  243. package/lib/components/PieChart/PieChart.styles.d.ts +2 -0
  244. package/lib/components/PieChart/PieChart.styles.js +29 -0
  245. package/lib/components/PieChart/PieChart.styles.js.map +1 -0
  246. package/lib/components/PieChart/PieChart.types.d.ts +63 -0
  247. package/lib/components/PieChart/PieChart.types.js +2 -0
  248. package/lib/components/PieChart/PieChart.types.js.map +1 -0
  249. package/lib/components/PieChart/index.d.ts +2 -0
  250. package/lib/components/PieChart/index.js +3 -0
  251. package/lib/components/PieChart/index.js.map +1 -0
  252. package/lib/components/SankeyChart/SankeyChart.base.d.ts +95 -0
  253. package/lib/components/SankeyChart/SankeyChart.base.js +674 -0
  254. package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -0
  255. package/lib/components/SankeyChart/SankeyChart.d.ts +3 -0
  256. package/lib/components/SankeyChart/SankeyChart.js +6 -0
  257. package/lib/components/SankeyChart/SankeyChart.js.map +1 -0
  258. package/lib/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
  259. package/lib/components/SankeyChart/SankeyChart.styles.js +58 -0
  260. package/lib/components/SankeyChart/SankeyChart.styles.js.map +1 -0
  261. package/lib/components/SankeyChart/SankeyChart.types.d.ts +83 -0
  262. package/lib/components/SankeyChart/SankeyChart.types.js +2 -0
  263. package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -0
  264. package/lib/components/SankeyChart/index.d.ts +2 -0
  265. package/lib/components/SankeyChart/index.js +3 -0
  266. package/lib/components/SankeyChart/index.js.map +1 -0
  267. package/lib/components/Sparkline/Sparkline.base.d.ts +20 -0
  268. package/lib/components/Sparkline/Sparkline.base.js +76 -0
  269. package/lib/components/Sparkline/Sparkline.base.js.map +1 -0
  270. package/lib/components/Sparkline/Sparkline.d.ts +3 -0
  271. package/lib/components/Sparkline/Sparkline.js +6 -0
  272. package/lib/components/Sparkline/Sparkline.js.map +1 -0
  273. package/lib/components/Sparkline/Sparkline.styles.d.ts +2 -0
  274. package/lib/components/Sparkline/Sparkline.styles.js +10 -0
  275. package/lib/components/Sparkline/Sparkline.styles.js.map +1 -0
  276. package/lib/components/Sparkline/Sparkline.types.d.ts +51 -0
  277. package/lib/components/Sparkline/Sparkline.types.js +2 -0
  278. package/lib/components/Sparkline/Sparkline.types.js.map +1 -0
  279. package/lib/components/Sparkline/index.d.ts +2 -0
  280. package/lib/components/Sparkline/index.js +3 -0
  281. package/lib/components/Sparkline/index.js.map +1 -0
  282. package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +56 -0
  283. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +356 -0
  284. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
  285. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +3 -0
  286. package/lib/components/StackedBarChart/MultiStackedBarChart.js +6 -0
  287. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
  288. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
  289. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +90 -0
  290. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
  291. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +198 -0
  292. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +6 -0
  293. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
  294. package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +51 -0
  295. package/lib/components/StackedBarChart/StackedBarChart.base.js +311 -0
  296. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
  297. package/lib/components/StackedBarChart/StackedBarChart.d.ts +3 -0
  298. package/lib/components/StackedBarChart/StackedBarChart.js +6 -0
  299. package/lib/components/StackedBarChart/StackedBarChart.js.map +1 -0
  300. package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
  301. package/lib/components/StackedBarChart/StackedBarChart.styles.js +104 -0
  302. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
  303. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +210 -0
  304. package/lib/components/StackedBarChart/StackedBarChart.types.js +2 -0
  305. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
  306. package/lib/components/StackedBarChart/index.d.ts +5 -0
  307. package/lib/components/StackedBarChart/index.js +6 -0
  308. package/lib/components/StackedBarChart/index.js.map +1 -0
  309. package/lib/components/TreeChart/TreeChart.base.d.ts +18 -0
  310. package/lib/components/TreeChart/TreeChart.base.js +316 -0
  311. package/lib/components/TreeChart/TreeChart.base.js.map +1 -0
  312. package/lib/components/TreeChart/TreeChart.d.ts +3 -0
  313. package/lib/components/TreeChart/TreeChart.js +5 -0
  314. package/lib/components/TreeChart/TreeChart.js.map +1 -0
  315. package/lib/components/TreeChart/TreeChart.styles.d.ts +2 -0
  316. package/lib/components/TreeChart/TreeChart.styles.js +29 -0
  317. package/lib/components/TreeChart/TreeChart.styles.js.map +1 -0
  318. package/lib/components/TreeChart/TreeChart.types.d.ts +197 -0
  319. package/lib/components/TreeChart/TreeChart.types.js +23 -0
  320. package/lib/components/TreeChart/TreeChart.types.js.map +1 -0
  321. package/lib/components/TreeChart/index.d.ts +2 -0
  322. package/lib/components/TreeChart/index.js +3 -0
  323. package/lib/components/TreeChart/index.js.map +1 -0
  324. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +74 -0
  325. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +536 -0
  326. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
  327. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +3 -0
  328. package/lib/components/VerticalBarChart/VerticalBarChart.js +6 -0
  329. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  330. package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
  331. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +28 -0
  332. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
  333. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +114 -0
  334. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +2 -0
  335. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  336. package/lib/components/VerticalBarChart/index.d.ts +2 -0
  337. package/lib/components/VerticalBarChart/index.js +3 -0
  338. package/lib/components/VerticalBarChart/index.js.map +1 -0
  339. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +85 -0
  340. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +666 -0
  341. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
  342. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +3 -0
  343. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +6 -0
  344. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
  345. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
  346. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +18 -0
  347. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
  348. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +142 -0
  349. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +2 -0
  350. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
  351. package/lib/components/VerticalStackedBarChart/index.d.ts +2 -0
  352. package/lib/components/VerticalStackedBarChart/index.js +3 -0
  353. package/lib/components/VerticalStackedBarChart/index.js.map +1 -0
  354. package/lib/index.d.ts +19 -0
  355. package/lib/index.js +20 -0
  356. package/lib/index.js.map +1 -0
  357. package/lib/types/IDataPoint.d.ts +545 -0
  358. package/lib/types/IDataPoint.js +2 -0
  359. package/lib/types/IDataPoint.js.map +1 -0
  360. package/lib/types/IEventAnnotation.d.ts +6 -0
  361. package/lib/types/IEventAnnotation.js +2 -0
  362. package/lib/types/IEventAnnotation.js.map +1 -0
  363. package/lib/types/ILegendDataItem.d.ts +10 -0
  364. package/lib/types/ILegendDataItem.js +2 -0
  365. package/lib/types/ILegendDataItem.js.map +1 -0
  366. package/lib/types/index.d.ts +2 -0
  367. package/lib/types/index.js +3 -0
  368. package/lib/types/index.js.map +1 -0
  369. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
  370. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +38 -0
  371. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
  372. package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
  373. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +6 -0
  374. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
  375. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
  376. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +82 -0
  377. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
  378. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
  379. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +2 -0
  380. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
  381. package/lib/utilities/ChartHoverCard/index.d.ts +3 -0
  382. package/lib/utilities/ChartHoverCard/index.js +4 -0
  383. package/lib/utilities/ChartHoverCard/index.js.map +1 -0
  384. package/lib/utilities/FocusableTooltipText.d.ts +27 -0
  385. package/lib/utilities/FocusableTooltipText.js +54 -0
  386. package/lib/utilities/FocusableTooltipText.js.map +1 -0
  387. package/lib/utilities/colors.d.ts +51 -0
  388. package/lib/utilities/colors.js +132 -0
  389. package/lib/utilities/colors.js.map +1 -0
  390. package/lib/utilities/index.d.ts +3 -0
  391. package/lib/utilities/index.js +4 -0
  392. package/lib/utilities/index.js.map +1 -0
  393. package/lib/utilities/utilities.d.ts +377 -0
  394. package/lib/utilities/utilities.js +864 -0
  395. package/lib/utilities/utilities.js.map +1 -0
  396. package/lib/version.d.ts +1 -0
  397. package/lib/version.js +5 -0
  398. package/lib/version.js.map +1 -0
  399. package/lib-amd/AreaChart.d.ts +1 -0
  400. package/lib-amd/AreaChart.js +6 -0
  401. package/lib-amd/AreaChart.js.map +1 -0
  402. package/lib-amd/CartesianChart.d.ts +1 -0
  403. package/lib-amd/CartesianChart.js +6 -0
  404. package/lib-amd/CartesianChart.js.map +1 -0
  405. package/lib-amd/DonutChart.d.ts +1 -0
  406. package/lib-amd/DonutChart.js +6 -0
  407. package/lib-amd/DonutChart.js.map +1 -0
  408. package/lib-amd/GroupedVerticalBarChart.d.ts +1 -0
  409. package/lib-amd/GroupedVerticalBarChart.js +6 -0
  410. package/lib-amd/GroupedVerticalBarChart.js.map +1 -0
  411. package/lib-amd/HeatMapChart.d.ts +1 -0
  412. package/lib-amd/HeatMapChart.js +6 -0
  413. package/lib-amd/HeatMapChart.js.map +1 -0
  414. package/lib-amd/HorizontalBarChart.d.ts +1 -0
  415. package/lib-amd/HorizontalBarChart.js +6 -0
  416. package/lib-amd/HorizontalBarChart.js.map +1 -0
  417. package/lib-amd/Legends.d.ts +1 -0
  418. package/lib-amd/Legends.js +6 -0
  419. package/lib-amd/Legends.js.map +1 -0
  420. package/lib-amd/LineChart.d.ts +1 -0
  421. package/lib-amd/LineChart.js +6 -0
  422. package/lib-amd/LineChart.js.map +1 -0
  423. package/lib-amd/PieChart.d.ts +1 -0
  424. package/lib-amd/PieChart.js +6 -0
  425. package/lib-amd/PieChart.js.map +1 -0
  426. package/lib-amd/SankeyChart.d.ts +1 -0
  427. package/lib-amd/SankeyChart.js +6 -0
  428. package/lib-amd/SankeyChart.js.map +1 -0
  429. package/lib-amd/Sparkline.d.ts +1 -0
  430. package/lib-amd/Sparkline.js +6 -0
  431. package/lib-amd/Sparkline.js.map +1 -0
  432. package/lib-amd/StackedBarChart.d.ts +1 -0
  433. package/lib-amd/StackedBarChart.js +6 -0
  434. package/lib-amd/StackedBarChart.js.map +1 -0
  435. package/lib-amd/Styling.d.ts +2 -0
  436. package/lib-amd/Styling.js +75 -0
  437. package/lib-amd/Styling.js.map +1 -0
  438. package/lib-amd/TreeChart.d.ts +1 -0
  439. package/lib-amd/TreeChart.js +6 -0
  440. package/lib-amd/TreeChart.js.map +1 -0
  441. package/lib-amd/Utilities.d.ts +2 -0
  442. package/lib-amd/Utilities.js +183 -0
  443. package/lib-amd/Utilities.js.map +1 -0
  444. package/lib-amd/VerticalBarChart.d.ts +1 -0
  445. package/lib-amd/VerticalBarChart.js +6 -0
  446. package/lib-amd/VerticalBarChart.js.map +1 -0
  447. package/lib-amd/VerticalStackedBarChart.d.ts +1 -0
  448. package/lib-amd/VerticalStackedBarChart.js +6 -0
  449. package/lib-amd/VerticalStackedBarChart.js.map +1 -0
  450. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +92 -0
  451. package/lib-amd/components/AreaChart/AreaChart.base.js +555 -0
  452. package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -0
  453. package/lib-amd/components/AreaChart/AreaChart.d.ts +3 -0
  454. package/lib-amd/components/AreaChart/AreaChart.js +8 -0
  455. package/lib-amd/components/AreaChart/AreaChart.js.map +1 -0
  456. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +2 -0
  457. package/lib-amd/components/AreaChart/AreaChart.styles.js +12 -0
  458. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +1 -0
  459. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +37 -0
  460. package/lib-amd/components/AreaChart/AreaChart.types.js +5 -0
  461. package/lib-amd/components/AreaChart/AreaChart.types.js.map +1 -0
  462. package/lib-amd/components/AreaChart/index.d.ts +2 -0
  463. package/lib-amd/components/AreaChart/index.js +7 -0
  464. package/lib-amd/components/AreaChart/index.js.map +1 -0
  465. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +43 -0
  466. package/lib-amd/components/CommonComponents/CartesianChart.base.js +329 -0
  467. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -0
  468. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +3 -0
  469. package/lib-amd/components/CommonComponents/CartesianChart.js +7 -0
  470. package/lib-amd/components/CommonComponents/CartesianChart.js.map +1 -0
  471. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
  472. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +166 -0
  473. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +1 -0
  474. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +428 -0
  475. package/lib-amd/components/CommonComponents/CartesianChart.types.js +5 -0
  476. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -0
  477. package/lib-amd/components/CommonComponents/index.d.ts +2 -0
  478. package/lib-amd/components/CommonComponents/index.js +7 -0
  479. package/lib-amd/components/CommonComponents/index.js.map +1 -0
  480. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +21 -0
  481. package/lib-amd/components/DonutChart/Arc/Arc.js +85 -0
  482. package/lib-amd/components/DonutChart/Arc/Arc.js.map +1 -0
  483. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
  484. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +33 -0
  485. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +1 -0
  486. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +124 -0
  487. package/lib-amd/components/DonutChart/Arc/Arc.types.js +5 -0
  488. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +1 -0
  489. package/lib-amd/components/DonutChart/Arc/index.d.ts +2 -0
  490. package/lib-amd/components/DonutChart/Arc/index.js +7 -0
  491. package/lib-amd/components/DonutChart/Arc/index.js.map +1 -0
  492. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +50 -0
  493. package/lib-amd/components/DonutChart/DonutChart.base.js +208 -0
  494. package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -0
  495. package/lib-amd/components/DonutChart/DonutChart.d.ts +3 -0
  496. package/lib-amd/components/DonutChart/DonutChart.js +8 -0
  497. package/lib-amd/components/DonutChart/DonutChart.js.map +1 -0
  498. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +2 -0
  499. package/lib-amd/components/DonutChart/DonutChart.styles.js +36 -0
  500. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +1 -0
  501. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +63 -0
  502. package/lib-amd/components/DonutChart/DonutChart.types.js +5 -0
  503. package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -0
  504. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +15 -0
  505. package/lib-amd/components/DonutChart/Pie/Pie.js +69 -0
  506. package/lib-amd/components/DonutChart/Pie/Pie.js.map +1 -0
  507. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
  508. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +24 -0
  509. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +1 -0
  510. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +96 -0
  511. package/lib-amd/components/DonutChart/Pie/Pie.types.js +5 -0
  512. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +1 -0
  513. package/lib-amd/components/DonutChart/Pie/index.d.ts +2 -0
  514. package/lib-amd/components/DonutChart/Pie/index.js +7 -0
  515. package/lib-amd/components/DonutChart/Pie/index.js.map +1 -0
  516. package/lib-amd/components/DonutChart/index.d.ts +3 -0
  517. package/lib-amd/components/DonutChart/index.js +8 -0
  518. package/lib-amd/components/DonutChart/index.js.map +1 -0
  519. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +62 -0
  520. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +375 -0
  521. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
  522. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +3 -0
  523. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +8 -0
  524. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
  525. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
  526. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +21 -0
  527. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
  528. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +83 -0
  529. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +5 -0
  530. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
  531. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +2 -0
  532. package/lib-amd/components/GroupedVerticalBarChart/index.js +7 -0
  533. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +1 -0
  534. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +147 -0
  535. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +492 -0
  536. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
  537. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +3 -0
  538. package/lib-amd/components/HeatMapChart/HeatMapChart.js +7 -0
  539. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +1 -0
  540. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
  541. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +29 -0
  542. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
  543. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +110 -0
  544. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +5 -0
  545. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
  546. package/lib-amd/components/HeatMapChart/index.d.ts +2 -0
  547. package/lib-amd/components/HeatMapChart/index.js +7 -0
  548. package/lib-amd/components/HeatMapChart/index.js.map +1 -0
  549. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +36 -0
  550. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +233 -0
  551. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
  552. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +3 -0
  553. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +8 -0
  554. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  555. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
  556. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +72 -0
  557. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
  558. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +172 -0
  559. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +11 -0
  560. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  561. package/lib-amd/components/HorizontalBarChart/index.d.ts +3 -0
  562. package/lib-amd/components/HorizontalBarChart/index.js +8 -0
  563. package/lib-amd/components/HorizontalBarChart/index.js.map +1 -0
  564. package/lib-amd/components/Legends/Legends.base.d.ts +44 -0
  565. package/lib-amd/components/Legends/Legends.base.js +290 -0
  566. package/lib-amd/components/Legends/Legends.base.js.map +1 -0
  567. package/lib-amd/components/Legends/Legends.d.ts +3 -0
  568. package/lib-amd/components/Legends/Legends.js +7 -0
  569. package/lib-amd/components/Legends/Legends.js.map +1 -0
  570. package/lib-amd/components/Legends/Legends.styles.d.ts +2 -0
  571. package/lib-amd/components/Legends/Legends.styles.js +107 -0
  572. package/lib-amd/components/Legends/Legends.styles.js.map +1 -0
  573. package/lib-amd/components/Legends/Legends.types.d.ts +169 -0
  574. package/lib-amd/components/Legends/Legends.types.js +5 -0
  575. package/lib-amd/components/Legends/Legends.types.js.map +1 -0
  576. package/lib-amd/components/Legends/index.d.ts +3 -0
  577. package/lib-amd/components/Legends/index.js +8 -0
  578. package/lib-amd/components/Legends/index.js.map +1 -0
  579. package/lib-amd/components/Legends/shape.d.ts +9 -0
  580. package/lib-amd/components/Legends/shape.js +27 -0
  581. package/lib-amd/components/Legends/shape.js.map +1 -0
  582. package/lib-amd/components/LineChart/LineChart.base.d.ts +84 -0
  583. package/lib-amd/components/LineChart/LineChart.base.js +809 -0
  584. package/lib-amd/components/LineChart/LineChart.base.js.map +1 -0
  585. package/lib-amd/components/LineChart/LineChart.d.ts +3 -0
  586. package/lib-amd/components/LineChart/LineChart.js +8 -0
  587. package/lib-amd/components/LineChart/LineChart.js.map +1 -0
  588. package/lib-amd/components/LineChart/LineChart.styles.d.ts +2 -0
  589. package/lib-amd/components/LineChart/LineChart.styles.js +12 -0
  590. package/lib-amd/components/LineChart/LineChart.styles.js.map +1 -0
  591. package/lib-amd/components/LineChart/LineChart.types.d.ts +72 -0
  592. package/lib-amd/components/LineChart/LineChart.types.js +5 -0
  593. package/lib-amd/components/LineChart/LineChart.types.js.map +1 -0
  594. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +10 -0
  595. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +95 -0
  596. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  597. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +22 -0
  598. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +40 -0
  599. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  600. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
  601. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +40 -0
  602. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  603. package/lib-amd/components/LineChart/index.d.ts +3 -0
  604. package/lib-amd/components/LineChart/index.js +8 -0
  605. package/lib-amd/components/LineChart/index.js.map +1 -0
  606. package/lib-amd/components/PieChart/Arc/Arc.d.ts +12 -0
  607. package/lib-amd/components/PieChart/Arc/Arc.js +56 -0
  608. package/lib-amd/components/PieChart/Arc/Arc.js.map +1 -0
  609. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +2 -0
  610. package/lib-amd/components/PieChart/Arc/Arc.styles.js +13 -0
  611. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +1 -0
  612. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +60 -0
  613. package/lib-amd/components/PieChart/Arc/Arc.types.js +5 -0
  614. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +1 -0
  615. package/lib-amd/components/PieChart/Arc/index.d.ts +2 -0
  616. package/lib-amd/components/PieChart/Arc/index.js +7 -0
  617. package/lib-amd/components/PieChart/Arc/index.js.map +1 -0
  618. package/lib-amd/components/PieChart/Pie/Pie.d.ts +10 -0
  619. package/lib-amd/components/PieChart/Pie/Pie.js +35 -0
  620. package/lib-amd/components/PieChart/Pie/Pie.js.map +1 -0
  621. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +2 -0
  622. package/lib-amd/components/PieChart/Pie/Pie.styles.js +12 -0
  623. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +1 -0
  624. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +46 -0
  625. package/lib-amd/components/PieChart/Pie/Pie.types.js +5 -0
  626. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +1 -0
  627. package/lib-amd/components/PieChart/Pie/index.d.ts +2 -0
  628. package/lib-amd/components/PieChart/Pie/index.js +7 -0
  629. package/lib-amd/components/PieChart/Pie/index.js.map +1 -0
  630. package/lib-amd/components/PieChart/PieChart.base.d.ts +7 -0
  631. package/lib-amd/components/PieChart/PieChart.base.js +35 -0
  632. package/lib-amd/components/PieChart/PieChart.base.js.map +1 -0
  633. package/lib-amd/components/PieChart/PieChart.d.ts +3 -0
  634. package/lib-amd/components/PieChart/PieChart.js +8 -0
  635. package/lib-amd/components/PieChart/PieChart.js.map +1 -0
  636. package/lib-amd/components/PieChart/PieChart.styles.d.ts +2 -0
  637. package/lib-amd/components/PieChart/PieChart.styles.js +34 -0
  638. package/lib-amd/components/PieChart/PieChart.styles.js.map +1 -0
  639. package/lib-amd/components/PieChart/PieChart.types.d.ts +63 -0
  640. package/lib-amd/components/PieChart/PieChart.types.js +5 -0
  641. package/lib-amd/components/PieChart/PieChart.types.js.map +1 -0
  642. package/lib-amd/components/PieChart/index.d.ts +2 -0
  643. package/lib-amd/components/PieChart/index.js +7 -0
  644. package/lib-amd/components/PieChart/index.js.map +1 -0
  645. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +95 -0
  646. package/lib-amd/components/SankeyChart/SankeyChart.base.js +669 -0
  647. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -0
  648. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +3 -0
  649. package/lib-amd/components/SankeyChart/SankeyChart.js +8 -0
  650. package/lib-amd/components/SankeyChart/SankeyChart.js.map +1 -0
  651. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
  652. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +62 -0
  653. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +1 -0
  654. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +83 -0
  655. package/lib-amd/components/SankeyChart/SankeyChart.types.js +5 -0
  656. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +1 -0
  657. package/lib-amd/components/SankeyChart/index.d.ts +2 -0
  658. package/lib-amd/components/SankeyChart/index.js +7 -0
  659. package/lib-amd/components/SankeyChart/index.js.map +1 -0
  660. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +20 -0
  661. package/lib-amd/components/Sparkline/Sparkline.base.js +74 -0
  662. package/lib-amd/components/Sparkline/Sparkline.base.js.map +1 -0
  663. package/lib-amd/components/Sparkline/Sparkline.d.ts +3 -0
  664. package/lib-amd/components/Sparkline/Sparkline.js +8 -0
  665. package/lib-amd/components/Sparkline/Sparkline.js.map +1 -0
  666. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +2 -0
  667. package/lib-amd/components/Sparkline/Sparkline.styles.js +15 -0
  668. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +1 -0
  669. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +51 -0
  670. package/lib-amd/components/Sparkline/Sparkline.types.js +5 -0
  671. package/lib-amd/components/Sparkline/Sparkline.types.js.map +1 -0
  672. package/lib-amd/components/Sparkline/index.d.ts +2 -0
  673. package/lib-amd/components/Sparkline/index.js +7 -0
  674. package/lib-amd/components/Sparkline/index.js.map +1 -0
  675. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +56 -0
  676. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +351 -0
  677. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
  678. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +3 -0
  679. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +8 -0
  680. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
  681. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
  682. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +93 -0
  683. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
  684. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +198 -0
  685. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +11 -0
  686. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
  687. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +51 -0
  688. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +308 -0
  689. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
  690. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +3 -0
  691. package/lib-amd/components/StackedBarChart/StackedBarChart.js +8 -0
  692. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +1 -0
  693. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
  694. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +108 -0
  695. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
  696. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +210 -0
  697. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +5 -0
  698. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
  699. package/lib-amd/components/StackedBarChart/index.d.ts +5 -0
  700. package/lib-amd/components/StackedBarChart/index.js +10 -0
  701. package/lib-amd/components/StackedBarChart/index.js.map +1 -0
  702. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +18 -0
  703. package/lib-amd/components/TreeChart/TreeChart.base.js +314 -0
  704. package/lib-amd/components/TreeChart/TreeChart.base.js.map +1 -0
  705. package/lib-amd/components/TreeChart/TreeChart.d.ts +3 -0
  706. package/lib-amd/components/TreeChart/TreeChart.js +7 -0
  707. package/lib-amd/components/TreeChart/TreeChart.js.map +1 -0
  708. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +2 -0
  709. package/lib-amd/components/TreeChart/TreeChart.styles.js +34 -0
  710. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +1 -0
  711. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +197 -0
  712. package/lib-amd/components/TreeChart/TreeChart.types.js +28 -0
  713. package/lib-amd/components/TreeChart/TreeChart.types.js.map +1 -0
  714. package/lib-amd/components/TreeChart/index.d.ts +2 -0
  715. package/lib-amd/components/TreeChart/index.js +7 -0
  716. package/lib-amd/components/TreeChart/index.js.map +1 -0
  717. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +74 -0
  718. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +529 -0
  719. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
  720. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +3 -0
  721. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +8 -0
  722. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  723. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
  724. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +32 -0
  725. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
  726. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +114 -0
  727. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +5 -0
  728. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  729. package/lib-amd/components/VerticalBarChart/index.d.ts +2 -0
  730. package/lib-amd/components/VerticalBarChart/index.js +7 -0
  731. package/lib-amd/components/VerticalBarChart/index.js.map +1 -0
  732. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +85 -0
  733. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +659 -0
  734. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
  735. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +3 -0
  736. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +8 -0
  737. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
  738. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
  739. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +22 -0
  740. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
  741. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +142 -0
  742. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +5 -0
  743. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
  744. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +2 -0
  745. package/lib-amd/components/VerticalStackedBarChart/index.js +7 -0
  746. package/lib-amd/components/VerticalStackedBarChart/index.js.map +1 -0
  747. package/lib-amd/index.d.ts +19 -0
  748. package/lib-amd/index.js +23 -0
  749. package/lib-amd/index.js.map +1 -0
  750. package/lib-amd/types/IDataPoint.d.ts +545 -0
  751. package/lib-amd/types/IDataPoint.js +5 -0
  752. package/lib-amd/types/IDataPoint.js.map +1 -0
  753. package/lib-amd/types/IEventAnnotation.d.ts +6 -0
  754. package/lib-amd/types/IEventAnnotation.js +5 -0
  755. package/lib-amd/types/IEventAnnotation.js.map +1 -0
  756. package/lib-amd/types/ILegendDataItem.d.ts +10 -0
  757. package/lib-amd/types/ILegendDataItem.js +5 -0
  758. package/lib-amd/types/ILegendDataItem.js.map +1 -0
  759. package/lib-amd/types/index.d.ts +2 -0
  760. package/lib-amd/types/index.js +7 -0
  761. package/lib-amd/types/index.js.map +1 -0
  762. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
  763. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +39 -0
  764. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
  765. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
  766. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +8 -0
  767. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
  768. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
  769. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +87 -0
  770. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
  771. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
  772. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +5 -0
  773. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
  774. package/lib-amd/utilities/ChartHoverCard/index.d.ts +3 -0
  775. package/lib-amd/utilities/ChartHoverCard/index.js +8 -0
  776. package/lib-amd/utilities/ChartHoverCard/index.js.map +1 -0
  777. package/lib-amd/utilities/FocusableTooltipText.d.ts +27 -0
  778. package/lib-amd/utilities/FocusableTooltipText.js +54 -0
  779. package/lib-amd/utilities/FocusableTooltipText.js.map +1 -0
  780. package/lib-amd/utilities/colors.d.ts +51 -0
  781. package/lib-amd/utilities/colors.js +139 -0
  782. package/lib-amd/utilities/colors.js.map +1 -0
  783. package/lib-amd/utilities/index.d.ts +3 -0
  784. package/lib-amd/utilities/index.js +8 -0
  785. package/lib-amd/utilities/index.js.map +1 -0
  786. package/lib-amd/utilities/utilities.d.ts +377 -0
  787. package/lib-amd/utilities/utilities.js +888 -0
  788. package/lib-amd/utilities/utilities.js.map +1 -0
  789. package/lib-amd/version.d.ts +1 -0
  790. package/lib-amd/version.js +6 -0
  791. package/lib-amd/version.js.map +1 -0
  792. package/lib-commonjs/version.js +1 -1
  793. package/lib-commonjs/version.js.map +1 -1
  794. package/package.json +7 -6
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { IChartHoverCardProps } from './ChartHoverCard.types';
3
+ export declare const ChartHoverCard: React.FunctionComponent<IChartHoverCardProps>;
@@ -0,0 +1,6 @@
1
+ import { styled } from '../../Utilities';
2
+ import { ChartHoverCardBase } from './ChartHoverCard.base';
3
+ import { getChartHoverCardStyles } from './ChartHoverCard.styles';
4
+ // Create a ChartHoverCard variant which uses these default styles and this styled subcomponent.
5
+ export var ChartHoverCard = styled(ChartHoverCardBase, getChartHoverCardStyles);
6
+ //# sourceMappingURL=ChartHoverCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChartHoverCard.js","sourceRoot":"../src/","sources":["utilities/ChartHoverCard/ChartHoverCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAGlE,iGAAiG;AACjG,MAAM,CAAC,IAAM,cAAc,GAAkD,MAAM,CAIjF,kBAAkB,EAAE,uBAAuB,CAAC,CAAC","sourcesContent":["import { styled } from '../../Utilities';\nimport * as React from 'react';\nimport { ChartHoverCardBase } from './ChartHoverCard.base';\nimport { getChartHoverCardStyles } from './ChartHoverCard.styles';\nimport { IChartHoverCardStyles, IChartHoverCardStyleProps, IChartHoverCardProps } from './ChartHoverCard.types';\n\n// Create a ChartHoverCard variant which uses these default styles and this styled subcomponent.\nexport const ChartHoverCard: React.FunctionComponent<IChartHoverCardProps> = styled<\n IChartHoverCardProps,\n IChartHoverCardStyleProps,\n IChartHoverCardStyles\n>(ChartHoverCardBase, getChartHoverCardStyles);\n"]}
@@ -0,0 +1,2 @@
1
+ import { IChartHoverCardStyles, IChartHoverCardStyleProps } from './ChartHoverCard.types';
2
+ export declare const getChartHoverCardStyles: (props: IChartHoverCardStyleProps) => IChartHoverCardStyles;
@@ -0,0 +1,82 @@
1
+ import { FontWeights } from '@fluentui/react/lib/Styling';
2
+ export var getChartHoverCardStyles = function (props) {
3
+ var color = props.color, XValue = props.XValue, theme = props.theme, _a = props.isRatioPresent, isRatioPresent = _a === void 0 ? false : _a;
4
+ return {
5
+ calloutContentRoot: [
6
+ {
7
+ display: 'grid',
8
+ overflow: 'hidden',
9
+ padding: '11px 16px 10px 16px',
10
+ backgroundColor: theme.semanticColors.bodyBackground,
11
+ backgroundBlendMode: 'normal, luminosity',
12
+ },
13
+ ],
14
+ calloutDateTimeContainer: {
15
+ display: 'flex',
16
+ flexDirection: 'row',
17
+ justifyContent: 'space-between',
18
+ },
19
+ calloutContentX: [
20
+ theme.fonts.small,
21
+ {
22
+ lineHeight: '16px',
23
+ opacity: '0.8',
24
+ color: theme.semanticColors.bodySubtext,
25
+ },
26
+ ],
27
+ calloutBlockContainer: [
28
+ theme.fonts.xxLarge,
29
+ {
30
+ marginTop: XValue ? '13px' : 'unset',
31
+ paddingLeft: '8px',
32
+ lineHeight: '22px',
33
+ color: theme.semanticColors.bodyText,
34
+ borderLeft: "4px solid " + color,
35
+ },
36
+ ],
37
+ calloutlegendText: [
38
+ theme.fonts.small,
39
+ {
40
+ lineHeight: '16px',
41
+ color: theme.semanticColors.bodyText,
42
+ },
43
+ ],
44
+ calloutContentY: [
45
+ theme.fonts.xxLarge,
46
+ {
47
+ color: color ? color : theme.semanticColors.bodyText,
48
+ fontWeight: 'bold',
49
+ lineHeight: '36px',
50
+ },
51
+ ],
52
+ calloutInfoContainer: [
53
+ isRatioPresent && {
54
+ display: 'flex',
55
+ alignItems: 'flex-end',
56
+ },
57
+ ],
58
+ ratio: [
59
+ theme.fonts.small,
60
+ {
61
+ marginLeft: '6px',
62
+ color: theme.semanticColors.bodyText,
63
+ },
64
+ ],
65
+ numerator: {
66
+ fontWeight: FontWeights.bold,
67
+ },
68
+ denominator: {
69
+ fontWeight: FontWeights.semibold,
70
+ },
71
+ descriptionMessage: [
72
+ theme.fonts.small,
73
+ {
74
+ color: theme.semanticColors.bodyText,
75
+ marginTop: '10px',
76
+ paddingTop: '10px',
77
+ borderTop: "1px solid " + theme.semanticColors.menuDivider,
78
+ },
79
+ ],
80
+ };
81
+ };
82
+ //# sourceMappingURL=ChartHoverCard.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChartHoverCard.styles.js","sourceRoot":"../src/","sources":["utilities/ChartHoverCard/ChartHoverCard.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE1D,MAAM,CAAC,IAAM,uBAAuB,GAAG,UAAC,KAAgC;IAC9D,IAAA,KAAK,GAA4C,KAAK,MAAjD,EAAE,MAAM,GAAoC,KAAK,OAAzC,EAAE,KAAK,GAA6B,KAAK,MAAlC,EAAE,KAA2B,KAAK,eAAV,EAAtB,cAAc,mBAAG,KAAK,KAAA,CAAW;IAC/D,OAAO;QACL,kBAAkB,EAAE;YAClB;gBACE,OAAO,EAAE,MAAM;gBACf,QAAQ,EAAE,QAAQ;gBAClB,OAAO,EAAE,qBAAqB;gBAC9B,eAAe,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc;gBACpD,mBAAmB,EAAE,oBAAoB;aAC1C;SACF;QACD,wBAAwB,EAAE;YACxB,OAAO,EAAE,MAAM;YACf,aAAa,EAAE,KAAK;YACpB,cAAc,EAAE,eAAe;SAChC;QACD,eAAe,EAAE;YACf,KAAK,CAAC,KAAK,CAAC,KAAK;YACjB;gBACE,UAAU,EAAE,MAAM;gBAClB,OAAO,EAAE,KAAK;gBACd,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW;aACxC;SACF;QACD,qBAAqB,EAAE;YACrB,KAAK,CAAC,KAAK,CAAC,OAAO;YACnB;gBACE,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;gBACpC,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,MAAM;gBAClB,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ;gBACpC,UAAU,EAAE,eAAa,KAAO;aACjC;SACF;QACD,iBAAiB,EAAE;YACjB,KAAK,CAAC,KAAK,CAAC,KAAK;YACjB;gBACE,UAAU,EAAE,MAAM;gBAClB,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ;aACrC;SACF;QACD,eAAe,EAAE;YACf,KAAK,CAAC,KAAK,CAAC,OAAO;YACnB;gBACE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ;gBACpD,UAAU,EAAE,MAAM;gBAClB,UAAU,EAAE,MAAM;aACnB;SACF;QACD,oBAAoB,EAAE;YACpB,cAAc,IAAI;gBAChB,OAAO,EAAE,MAAM;gBACf,UAAU,EAAE,UAAU;aACvB;SACF;QACD,KAAK,EAAE;YACL,KAAK,CAAC,KAAK,CAAC,KAAK;YACjB;gBACE,UAAU,EAAE,KAAK;gBACjB,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ;aACrC;SACF;QACD,SAAS,EAAE;YACT,UAAU,EAAE,WAAW,CAAC,IAAI;SAC7B;QACD,WAAW,EAAE;YACX,UAAU,EAAE,WAAW,CAAC,QAAQ;SACjC;QACD,kBAAkB,EAAE;YAClB,KAAK,CAAC,KAAK,CAAC,KAAK;YACjB;gBACE,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ;gBACpC,SAAS,EAAE,MAAM;gBACjB,UAAU,EAAE,MAAM;gBAClB,SAAS,EAAE,eAAa,KAAK,CAAC,cAAc,CAAC,WAAa;aAC3D;SACF;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { IChartHoverCardStyles, IChartHoverCardStyleProps } from './ChartHoverCard.types';\nimport { FontWeights } from '@fluentui/react/lib/Styling';\n\nexport const getChartHoverCardStyles = (props: IChartHoverCardStyleProps): IChartHoverCardStyles => {\n const { color, XValue, theme, isRatioPresent = false } = props;\n return {\n calloutContentRoot: [\n {\n display: 'grid',\n overflow: 'hidden',\n padding: '11px 16px 10px 16px',\n backgroundColor: theme.semanticColors.bodyBackground,\n backgroundBlendMode: 'normal, luminosity',\n },\n ],\n calloutDateTimeContainer: {\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n },\n calloutContentX: [\n theme.fonts.small,\n {\n lineHeight: '16px',\n opacity: '0.8',\n color: theme.semanticColors.bodySubtext,\n },\n ],\n calloutBlockContainer: [\n theme.fonts.xxLarge,\n {\n marginTop: XValue ? '13px' : 'unset',\n paddingLeft: '8px',\n lineHeight: '22px',\n color: theme.semanticColors.bodyText,\n borderLeft: `4px solid ${color}`,\n },\n ],\n calloutlegendText: [\n theme.fonts.small,\n {\n lineHeight: '16px',\n color: theme.semanticColors.bodyText,\n },\n ],\n calloutContentY: [\n theme.fonts.xxLarge,\n {\n color: color ? color : theme.semanticColors.bodyText,\n fontWeight: 'bold',\n lineHeight: '36px',\n },\n ],\n calloutInfoContainer: [\n isRatioPresent && {\n display: 'flex',\n alignItems: 'flex-end',\n },\n ],\n ratio: [\n theme.fonts.small,\n {\n marginLeft: '6px',\n color: theme.semanticColors.bodyText,\n },\n ],\n numerator: {\n fontWeight: FontWeights.bold,\n },\n denominator: {\n fontWeight: FontWeights.semibold,\n },\n descriptionMessage: [\n theme.fonts.small,\n {\n color: theme.semanticColors.bodyText,\n marginTop: '10px',\n paddingTop: '10px',\n borderTop: `1px solid ${theme.semanticColors.menuDivider}`,\n },\n ],\n };\n};\n"]}
@@ -0,0 +1,105 @@
1
+ import { ITheme, IStyle, IStyleFunctionOrObject } from '@fluentui/react';
2
+ export interface IChartHoverCardProps {
3
+ /**
4
+ * X value for hover card
5
+ */
6
+ XValue?: string;
7
+ /**
8
+ * Y value for hover card
9
+ */
10
+ YValue?: string | number | Date;
11
+ /**
12
+ * Legend value for hover card
13
+ */
14
+ Legend?: string | number | Date;
15
+ /**
16
+ * color for hover card
17
+ */
18
+ color?: string;
19
+ /**
20
+ * ratio to show
21
+ * first number is numerator
22
+ * and second number is denominator
23
+ */
24
+ ratio?: [number, number];
25
+ /**
26
+ * Theme (provided through customization.)
27
+ */
28
+ theme?: ITheme;
29
+ /**
30
+ * description message in the callout
31
+ */
32
+ descriptionMessage?: string;
33
+ /**
34
+ * Call to provide customized styling that will layer on top of the variant rules.
35
+ */
36
+ styles?: IStyleFunctionOrObject<IChartHoverCardStyleProps, IChartHoverCardStyles>;
37
+ /**
38
+ * The prop used to define the culture to localized the numbers
39
+ */
40
+ culture?: string;
41
+ }
42
+ export interface IChartHoverCardStyles {
43
+ /**
44
+ * styles for callout root-content
45
+ */
46
+ calloutContentRoot?: IStyle;
47
+ /**
48
+ * styles for callout Date time container
49
+ */
50
+ calloutDateTimeContainer?: IStyle;
51
+ /**
52
+ * styles for callout Date time container
53
+ */
54
+ calloutInfoContainer?: IStyle;
55
+ /**
56
+ * styles for callout Date time container
57
+ */
58
+ calloutBlockContainer?: IStyle;
59
+ /**
60
+ * styles for callout y-content
61
+ */
62
+ calloutlegendText?: IStyle;
63
+ /**
64
+ * styles for callout x-content
65
+ */
66
+ calloutContentX?: IStyle;
67
+ /**
68
+ * styles for callout y-content
69
+ */
70
+ calloutContentY?: IStyle;
71
+ /**
72
+ * styles for denomination
73
+ */
74
+ ratio?: IStyle;
75
+ /**
76
+ * styles for numerator
77
+ */
78
+ numerator?: IStyle;
79
+ /**
80
+ * styles for denominator
81
+ */
82
+ denominator?: IStyle;
83
+ /**
84
+ * styles for the description
85
+ */
86
+ descriptionMessage?: IStyle;
87
+ }
88
+ export interface IChartHoverCardStyleProps {
89
+ /**
90
+ * Theme (provided through customization.)
91
+ */
92
+ theme: ITheme;
93
+ /**
94
+ * color for hover card
95
+ */
96
+ color?: string;
97
+ /**
98
+ * X value for hover card
99
+ */
100
+ XValue?: string;
101
+ /**
102
+ * indicate if denomination is present
103
+ */
104
+ isRatioPresent?: boolean;
105
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ChartHoverCard.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChartHoverCard.types.js","sourceRoot":"../src/","sources":["utilities/ChartHoverCard/ChartHoverCard.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ITheme, IStyle, IStyleFunctionOrObject } from '@fluentui/react';\nexport interface IChartHoverCardProps {\n /**\n * X value for hover card\n */\n XValue?: string;\n\n /**\n * Y value for hover card\n */\n YValue?: string | number | Date;\n\n /**\n * Legend value for hover card\n */\n Legend?: string | number | Date;\n\n /**\n * color for hover card\n */\n color?: string;\n /**\n * ratio to show\n * first number is numerator\n * and second number is denominator\n */\n ratio?: [number, number];\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n /**\n * description message in the callout\n */\n descriptionMessage?: string;\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IChartHoverCardStyleProps, IChartHoverCardStyles>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n}\n\nexport interface IChartHoverCardStyles {\n /**\n * styles for callout root-content\n */\n calloutContentRoot?: IStyle;\n\n /**\n * styles for callout Date time container\n */\n calloutDateTimeContainer?: IStyle;\n\n /**\n * styles for callout Date time container\n */\n calloutInfoContainer?: IStyle;\n\n /**\n * styles for callout Date time container\n */\n calloutBlockContainer?: IStyle;\n\n /**\n * styles for callout y-content\n */\n calloutlegendText?: IStyle;\n\n /**\n * styles for callout x-content\n */\n calloutContentX?: IStyle;\n /**\n * styles for callout y-content\n */\n calloutContentY?: IStyle;\n /**\n * styles for denomination\n */\n ratio?: IStyle;\n /**\n * styles for numerator\n */\n numerator?: IStyle;\n /**\n * styles for denominator\n */\n denominator?: IStyle;\n /**\n * styles for the description\n */\n descriptionMessage?: IStyle;\n}\n\nexport interface IChartHoverCardStyleProps {\n /**\n * Theme (provided through customization.)\n */\n theme: ITheme;\n\n /**\n * color for hover card\n */\n color?: string;\n\n /**\n * X value for hover card\n */\n XValue?: string;\n\n /**\n * indicate if denomination is present\n */\n isRatioPresent?: boolean;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ export * from './ChartHoverCard';
2
+ export * from './ChartHoverCard.styles';
3
+ export * from './ChartHoverCard.types';
@@ -0,0 +1,4 @@
1
+ export * from './ChartHoverCard';
2
+ export * from './ChartHoverCard.styles';
3
+ export * from './ChartHoverCard.types';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["utilities/ChartHoverCard/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC","sourcesContent":["export * from './ChartHoverCard';\nexport * from './ChartHoverCard.styles';\nexport * from './ChartHoverCard.types';\n"]}
@@ -0,0 +1,27 @@
1
+ import * as React from 'react';
2
+ import { ITooltipHostProps } from '@fluentui/react';
3
+ import { IAccessibilityProps } from '../types/index';
4
+ interface IFocusableTooltipTextProps {
5
+ className?: ITooltipHostProps['hostClassName'];
6
+ content?: ITooltipHostProps['content'];
7
+ accessibilityData?: IAccessibilityProps;
8
+ }
9
+ interface IFocusableTooltipTextState {
10
+ textOverflow: boolean;
11
+ }
12
+ /**
13
+ * Component to make the text focusable when the overflowed content is clipped
14
+ * because of the CSS text-overflow property.
15
+ */
16
+ export declare class FocusableTooltipText extends React.Component<IFocusableTooltipTextProps, IFocusableTooltipTextState> {
17
+ private _tooltipChild;
18
+ private _resizeObserver?;
19
+ private _async;
20
+ constructor(props: IFocusableTooltipTextProps);
21
+ render(): React.ReactNode;
22
+ componentDidMount(): void;
23
+ componentWillUnmount(): void;
24
+ private _checkTextOverflow;
25
+ private _getTargetElement;
26
+ }
27
+ export {};
@@ -0,0 +1,54 @@
1
+ import { __assign, __extends } from "tslib";
2
+ import * as React from 'react';
3
+ import { hasOverflow, TooltipHost, TooltipOverflowMode } from '@fluentui/react';
4
+ import { getAccessibleDataObject } from './index';
5
+ import { Async } from '../Utilities';
6
+ /**
7
+ * Component to make the text focusable when the overflowed content is clipped
8
+ * because of the CSS text-overflow property.
9
+ */
10
+ var FocusableTooltipText = /** @class */ (function (_super) {
11
+ __extends(FocusableTooltipText, _super);
12
+ function FocusableTooltipText(props) {
13
+ var _this = _super.call(this, props) || this;
14
+ _this._tooltipChild = React.createRef();
15
+ _this._checkTextOverflow = function () {
16
+ var overflowElement = _this._getTargetElement();
17
+ var textOverflow = !!overflowElement && hasOverflow(overflowElement);
18
+ if (textOverflow !== _this.state.textOverflow) {
19
+ _this.setState({ textOverflow: textOverflow });
20
+ }
21
+ };
22
+ _this._getTargetElement = function () {
23
+ if (!_this._tooltipChild.current || !_this._tooltipChild.current.parentElement) {
24
+ return undefined;
25
+ }
26
+ return _this._tooltipChild.current.parentElement;
27
+ };
28
+ _this.state = {
29
+ textOverflow: false,
30
+ };
31
+ _this._async = new Async(_this);
32
+ return _this;
33
+ }
34
+ FocusableTooltipText.prototype.render = function () {
35
+ var _a = this.props, className = _a.className, content = _a.content, accessibilityData = _a.accessibilityData;
36
+ return (React.createElement(TooltipHost, { overflowMode: TooltipOverflowMode.Self, hostClassName: className, content: content },
37
+ React.createElement("span", __assign({}, getAccessibleDataObject(accessibilityData), { ref: this._tooltipChild, "data-is-focusable": this.state.textOverflow }), content)));
38
+ };
39
+ FocusableTooltipText.prototype.componentDidMount = function () {
40
+ var overflowElement = this._getTargetElement();
41
+ if (window.ResizeObserver && overflowElement) {
42
+ this._resizeObserver = new ResizeObserver(this._async.debounce(this._checkTextOverflow, 500));
43
+ this._resizeObserver.observe(overflowElement);
44
+ }
45
+ };
46
+ FocusableTooltipText.prototype.componentWillUnmount = function () {
47
+ var _a;
48
+ (_a = this._resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
49
+ this._async.dispose();
50
+ };
51
+ return FocusableTooltipText;
52
+ }(React.Component));
53
+ export { FocusableTooltipText };
54
+ //# sourceMappingURL=FocusableTooltipText.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FocusableTooltipText.js","sourceRoot":"../src/","sources":["utilities/FocusableTooltipText.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAqB,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnG,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAYrC;;;GAGG;AACH;IAA0C,wCAAuE;IAK/G,8BAAY,KAAiC;QAA7C,YACE,kBAAM,KAAK,CAAC,SAOb;QAZO,mBAAa,GAAG,KAAK,CAAC,SAAS,EAAmB,CAAC;QA2CnD,wBAAkB,GAAG;YAC3B,IAAM,eAAe,GAAG,KAAI,CAAC,iBAAiB,EAAE,CAAC;YACjD,IAAM,YAAY,GAAG,CAAC,CAAC,eAAe,IAAI,WAAW,CAAC,eAAe,CAAC,CAAC;YACvE,IAAI,YAAY,KAAK,KAAI,CAAC,KAAK,CAAC,YAAY,EAAE;gBAC5C,KAAI,CAAC,QAAQ,CAAC,EAAE,YAAY,cAAA,EAAE,CAAC,CAAC;aACjC;QACH,CAAC,CAAC;QAEM,uBAAiB,GAAG;YAC1B,IAAI,CAAC,KAAI,CAAC,aAAa,CAAC,OAAO,IAAI,CAAC,KAAI,CAAC,aAAa,CAAC,OAAO,CAAC,aAAa,EAAE;gBAC5E,OAAO,SAAS,CAAC;aAClB;YAED,OAAO,KAAI,CAAC,aAAa,CAAC,OAAO,CAAC,aAAa,CAAC;QAClD,CAAC,CAAC;QAlDA,KAAI,CAAC,KAAK,GAAG;YACX,YAAY,EAAE,KAAK;SACpB,CAAC;QAEF,KAAI,CAAC,MAAM,GAAG,IAAI,KAAK,CAAC,KAAI,CAAC,CAAC;;IAChC,CAAC;IAEM,qCAAM,GAAb;QACQ,IAAA,KAA4C,IAAI,CAAC,KAAK,EAApD,SAAS,eAAA,EAAE,OAAO,aAAA,EAAE,iBAAiB,uBAAe,CAAC;QAE7D,OAAO,CACL,oBAAC,WAAW,IAAC,YAAY,EAAE,mBAAmB,CAAC,IAAI,EAAE,aAAa,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO;YAC7F,yCACM,uBAAuB,CAAC,iBAAiB,CAAC,IAC9C,GAAG,EAAE,IAAI,CAAC,aAAa,uBACJ,IAAI,CAAC,KAAK,CAAC,YAAY,KAEzC,OAAO,CACH,CACK,CACf,CAAC;IACJ,CAAC;IAEM,gDAAiB,GAAxB;QACE,IAAM,eAAe,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACjD,IAAI,MAAM,CAAC,cAAc,IAAI,eAAe,EAAE;YAC5C,IAAI,CAAC,eAAe,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,GAAG,CAAC,CAAC,CAAC;YAC9F,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;SAC/C;IACH,CAAC;IAEM,mDAAoB,GAA3B;;QACE,MAAA,IAAI,CAAC,eAAe,0CAAE,UAAU,EAAE,CAAC;QACnC,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;IACxB,CAAC;IAiBH,2BAAC;AAAD,CAAC,AA3DD,CAA0C,KAAK,CAAC,SAAS,GA2DxD","sourcesContent":["import * as React from 'react';\nimport { hasOverflow, ITooltipHostProps, TooltipHost, TooltipOverflowMode } from '@fluentui/react';\nimport { getAccessibleDataObject } from './index';\nimport { IAccessibilityProps } from '../types/index';\nimport { Async } from '../Utilities';\n\ninterface IFocusableTooltipTextProps {\n className?: ITooltipHostProps['hostClassName'];\n content?: ITooltipHostProps['content'];\n accessibilityData?: IAccessibilityProps;\n}\n\ninterface IFocusableTooltipTextState {\n textOverflow: boolean;\n}\n\n/**\n * Component to make the text focusable when the overflowed content is clipped\n * because of the CSS text-overflow property.\n */\nexport class FocusableTooltipText extends React.Component<IFocusableTooltipTextProps, IFocusableTooltipTextState> {\n private _tooltipChild = React.createRef<HTMLSpanElement>();\n private _resizeObserver?: ResizeObserver;\n private _async: Async;\n\n constructor(props: IFocusableTooltipTextProps) {\n super(props);\n\n this.state = {\n textOverflow: false,\n };\n\n this._async = new Async(this);\n }\n\n public render(): React.ReactNode {\n const { className, content, accessibilityData } = this.props;\n\n return (\n <TooltipHost overflowMode={TooltipOverflowMode.Self} hostClassName={className} content={content}>\n <span\n {...getAccessibleDataObject(accessibilityData)}\n ref={this._tooltipChild}\n data-is-focusable={this.state.textOverflow}\n >\n {content}\n </span>\n </TooltipHost>\n );\n }\n\n public componentDidMount(): void {\n const overflowElement = this._getTargetElement();\n if (window.ResizeObserver && overflowElement) {\n this._resizeObserver = new ResizeObserver(this._async.debounce(this._checkTextOverflow, 500));\n this._resizeObserver.observe(overflowElement);\n }\n }\n\n public componentWillUnmount(): void {\n this._resizeObserver?.disconnect();\n this._async.dispose();\n }\n\n private _checkTextOverflow = (): void => {\n const overflowElement = this._getTargetElement();\n const textOverflow = !!overflowElement && hasOverflow(overflowElement);\n if (textOverflow !== this.state.textOverflow) {\n this.setState({ textOverflow });\n }\n };\n\n private _getTargetElement = (): HTMLElement | undefined => {\n if (!this._tooltipChild.current || !this._tooltipChild.current.parentElement) {\n return undefined;\n }\n\n return this._tooltipChild.current.parentElement;\n };\n}\n"]}
@@ -0,0 +1,51 @@
1
+ export declare const DataVizPalette: {
2
+ color1: string;
3
+ color2: string;
4
+ color3: string;
5
+ color4: string;
6
+ color5: string;
7
+ color6: string;
8
+ color7: string;
9
+ color8: string;
10
+ color9: string;
11
+ color10: string;
12
+ color11: string;
13
+ color12: string;
14
+ color13: string;
15
+ color14: string;
16
+ color15: string;
17
+ color16: string;
18
+ color17: string;
19
+ color18: string;
20
+ color19: string;
21
+ color20: string;
22
+ color21: string;
23
+ color22: string;
24
+ color23: string;
25
+ color24: string;
26
+ color25: string;
27
+ color26: string;
28
+ color27: string;
29
+ color28: string;
30
+ color29: string;
31
+ color30: string;
32
+ color31: string;
33
+ color32: string;
34
+ color33: string;
35
+ color34: string;
36
+ color35: string;
37
+ color36: string;
38
+ color37: string;
39
+ color38: string;
40
+ color39: string;
41
+ color40: string;
42
+ info: string;
43
+ disabled: string;
44
+ highError: string;
45
+ error: string;
46
+ warning: string;
47
+ success: string;
48
+ highSuccess: string;
49
+ };
50
+ export declare const getNextColor: (index: number, offset?: number, isDarkTheme?: boolean) => string;
51
+ export declare const getColorFromToken: (token: string, isDarkTheme?: boolean) => string;
@@ -0,0 +1,132 @@
1
+ export var DataVizPalette = {
2
+ color1: 'qualitative.1',
3
+ color2: 'qualitative.2',
4
+ color3: 'qualitative.3',
5
+ color4: 'qualitative.4',
6
+ color5: 'qualitative.5',
7
+ color6: 'qualitative.6',
8
+ color7: 'qualitative.7',
9
+ color8: 'qualitative.8',
10
+ color9: 'qualitative.9',
11
+ color10: 'qualitative.10',
12
+ color11: 'qualitative.11',
13
+ color12: 'qualitative.12',
14
+ color13: 'qualitative.13',
15
+ color14: 'qualitative.14',
16
+ color15: 'qualitative.15',
17
+ color16: 'qualitative.16',
18
+ color17: 'qualitative.17',
19
+ color18: 'qualitative.18',
20
+ color19: 'qualitative.19',
21
+ color20: 'qualitative.20',
22
+ color21: 'qualitative.21',
23
+ color22: 'qualitative.22',
24
+ color23: 'qualitative.23',
25
+ color24: 'qualitative.24',
26
+ color25: 'qualitative.25',
27
+ color26: 'qualitative.26',
28
+ color27: 'qualitative.27',
29
+ color28: 'qualitative.28',
30
+ color29: 'qualitative.29',
31
+ color30: 'qualitative.30',
32
+ color31: 'qualitative.31',
33
+ color32: 'qualitative.32',
34
+ color33: 'qualitative.33',
35
+ color34: 'qualitative.34',
36
+ color35: 'qualitative.35',
37
+ color36: 'qualitative.36',
38
+ color37: 'qualitative.37',
39
+ color38: 'qualitative.38',
40
+ color39: 'qualitative.39',
41
+ color40: 'qualitative.40',
42
+ info: 'semantic.info',
43
+ disabled: 'semantic.disabled',
44
+ highError: 'semantic.highError',
45
+ error: 'semantic.error',
46
+ warning: 'semantic.warning',
47
+ success: 'semantic.success',
48
+ highSuccess: 'semantic.highSuccess',
49
+ };
50
+ var QualitativePalette = {
51
+ '1': ['#637cef'],
52
+ '2': ['#e3008c'],
53
+ '3': ['#2aa0a4'],
54
+ '4': ['#9373c0'],
55
+ '5': ['#13a10e'],
56
+ '6': ['#3a96dd'],
57
+ '7': ['#ca5010'],
58
+ '8': ['#57811b'],
59
+ '9': ['#b146c2'],
60
+ '10': ['#ae8c00'],
61
+ '11': ['#3c51b4', '#93a4f4'],
62
+ '12': ['#ad006a', '#ee5fb7'],
63
+ '13': ['#026467', '#4cb4b7'],
64
+ '14': ['#674c8c', '#a083c9'],
65
+ '15': ['#0e7a0b', '#27ac22'],
66
+ '16': ['#2c72a8', '#4fa1e1'],
67
+ '17': ['#9a3d0c', '#d77440'],
68
+ '18': ['#405f14', '#73aa24'],
69
+ '19': ['#863593', '#c36bd1'],
70
+ '20': ['#6d5700', '#d0b232'],
71
+ '21': ['#4f6bed'],
72
+ '22': ['#ea38a6'],
73
+ '23': ['#038387'],
74
+ '24': ['#8764b8'],
75
+ '25': ['#11910d'],
76
+ '26': ['#3487c7'],
77
+ '27': ['#d06228'],
78
+ '28': ['#689920'],
79
+ '29': ['#ba58c9'],
80
+ '30': ['#937700', '#c19c00'],
81
+ '31': ['#2c3c85', '#c8d1fa'],
82
+ '32': ['#7f004e', '#f7adda'],
83
+ '33': ['#02494c', '#9bd9db'],
84
+ '34': ['#4c3867', '#b29ad4'],
85
+ '35': ['#0b5a08', '#a7e3a5'],
86
+ '36': ['#20547c', '#83bdeb'],
87
+ '37': ['#712d09', '#df8e64'],
88
+ '38': ['#23330b', '#a4cc6c'],
89
+ '39': ['#63276d', '#cf87da'],
90
+ '40': ['#3a2f00', '#dac157'], // [gold.shade40, gold.tint30],
91
+ };
92
+ var SemanticPalette = {
93
+ info: ['#015cda'],
94
+ disabled: ['#dbdbdb', '#4d4d4d'],
95
+ highError: ['#6e0811', '#cc2635'],
96
+ error: ['#c50f1f', '#dc626d'],
97
+ warning: ['#f7630c', '#f87528'],
98
+ success: ['#107c10', '#54b054'],
99
+ highSuccess: ['#094509', '#218c21'], // [green.shade30, green.tint10],
100
+ };
101
+ var Colors = {
102
+ qualitative: QualitativePalette,
103
+ semantic: SemanticPalette,
104
+ };
105
+ var QUALITATIVE_COLORS = Object.values(QualitativePalette);
106
+ var TOKENS = Object.values(DataVizPalette);
107
+ var getThemeSpecificColor = function (colors, isDarkTheme) {
108
+ if (colors.length === 0) {
109
+ return '';
110
+ }
111
+ var colorIdx = Number(isDarkTheme);
112
+ if (colorIdx < colors.length) {
113
+ return colors[colorIdx];
114
+ }
115
+ return colors[0];
116
+ };
117
+ export var getNextColor = function (index, offset, isDarkTheme) {
118
+ if (offset === void 0) { offset = 0; }
119
+ if (isDarkTheme === void 0) { isDarkTheme = false; }
120
+ var colors = QUALITATIVE_COLORS[(index + offset) % QUALITATIVE_COLORS.length];
121
+ return getThemeSpecificColor(colors, isDarkTheme);
122
+ };
123
+ export var getColorFromToken = function (token, isDarkTheme) {
124
+ if (isDarkTheme === void 0) { isDarkTheme = false; }
125
+ if (TOKENS.indexOf(token) >= 0) {
126
+ var _a = token.split('.'), paletteName = _a[0], colorCode = _a[1];
127
+ var colors = Colors[paletteName][colorCode];
128
+ return getThemeSpecificColor(colors, isDarkTheme);
129
+ }
130
+ return token;
131
+ };
132
+ //# sourceMappingURL=colors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colors.js","sourceRoot":"../src/","sources":["utilities/colors.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,cAAc,GAAG;IAC5B,MAAM,EAAE,eAAe;IACvB,MAAM,EAAE,eAAe;IACvB,MAAM,EAAE,eAAe;IACvB,MAAM,EAAE,eAAe;IACvB,MAAM,EAAE,eAAe;IACvB,MAAM,EAAE,eAAe;IACvB,MAAM,EAAE,eAAe;IACvB,MAAM,EAAE,eAAe;IACvB,MAAM,EAAE,eAAe;IACvB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,IAAI,EAAE,eAAe;IACrB,QAAQ,EAAE,mBAAmB;IAC7B,SAAS,EAAE,oBAAoB;IAC/B,KAAK,EAAE,gBAAgB;IACvB,OAAO,EAAE,kBAAkB;IAC3B,OAAO,EAAE,kBAAkB;IAC3B,WAAW,EAAE,sBAAsB;CACpC,CAAC;AAUF,IAAM,kBAAkB,GAAY;IAClC,GAAG,EAAE,CAAC,SAAS,CAAC;IAChB,GAAG,EAAE,CAAC,SAAS,CAAC;IAChB,GAAG,EAAE,CAAC,SAAS,CAAC;IAChB,GAAG,EAAE,CAAC,SAAS,CAAC;IAChB,GAAG,EAAE,CAAC,SAAS,CAAC;IAChB,GAAG,EAAE,CAAC,SAAS,CAAC;IAChB,GAAG,EAAE,CAAC,SAAS,CAAC;IAChB,GAAG,EAAE,CAAC,SAAS,CAAC;IAChB,GAAG,EAAE,CAAC,SAAS,CAAC;IAChB,IAAI,EAAE,CAAC,SAAS,CAAC;IACjB,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,CAAC;IACjB,IAAI,EAAE,CAAC,SAAS,CAAC;IACjB,IAAI,EAAE,CAAC,SAAS,CAAC;IACjB,IAAI,EAAE,CAAC,SAAS,CAAC;IACjB,IAAI,EAAE,CAAC,SAAS,CAAC;IACjB,IAAI,EAAE,CAAC,SAAS,CAAC;IACjB,IAAI,EAAE,CAAC,SAAS,CAAC;IACjB,IAAI,EAAE,CAAC,SAAS,CAAC;IACjB,IAAI,EAAE,CAAC,SAAS,CAAC;IACjB,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC,EAAE,+BAA+B;CAC9D,CAAC;AAEF,IAAM,eAAe,GAAY;IAC/B,IAAI,EAAE,CAAC,SAAS,CAAC;IACjB,QAAQ,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAChC,SAAS,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IACjC,KAAK,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC7B,OAAO,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC/B,OAAO,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IAC/B,WAAW,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC,EAAE,iCAAiC;CACvE,CAAC;AAEF,IAAM,MAAM,GAA+B;IACzC,WAAW,EAAE,kBAAkB;IAC/B,QAAQ,EAAE,eAAe;CAC1B,CAAC;AAEF,IAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;AAC7D,IAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;AAE7C,IAAM,qBAAqB,GAAG,UAAC,MAAgB,EAAE,WAAoB;IACnE,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE;QACvB,OAAO,EAAE,CAAC;KACX;IACD,IAAM,QAAQ,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;IACrC,IAAI,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE;QAC5B,OAAO,MAAM,CAAC,QAAQ,CAAC,CAAC;KACzB;IACD,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC;AACnB,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,YAAY,GAAG,UAAC,KAAa,EAAE,MAAkB,EAAE,WAA4B;IAAhD,uBAAA,EAAA,UAAkB;IAAE,4BAAA,EAAA,mBAA4B;IAC1F,IAAM,MAAM,GAAG,kBAAkB,CAAC,CAAC,KAAK,GAAG,MAAM,CAAC,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAChF,OAAO,qBAAqB,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;AACpD,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,iBAAiB,GAAG,UAAC,KAAa,EAAE,WAA4B;IAA5B,4BAAA,EAAA,mBAA4B;IAC3E,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;QACxB,IAAA,KAA2B,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,EAA1C,WAAW,QAAA,EAAE,SAAS,QAAoB,CAAC;QAClD,IAAM,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC;QAC9C,OAAO,qBAAqB,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;KACnD;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC","sourcesContent":["export const DataVizPalette = {\n color1: 'qualitative.1',\n color2: 'qualitative.2',\n color3: 'qualitative.3',\n color4: 'qualitative.4',\n color5: 'qualitative.5',\n color6: 'qualitative.6',\n color7: 'qualitative.7',\n color8: 'qualitative.8',\n color9: 'qualitative.9',\n color10: 'qualitative.10',\n color11: 'qualitative.11',\n color12: 'qualitative.12',\n color13: 'qualitative.13',\n color14: 'qualitative.14',\n color15: 'qualitative.15',\n color16: 'qualitative.16',\n color17: 'qualitative.17',\n color18: 'qualitative.18',\n color19: 'qualitative.19',\n color20: 'qualitative.20',\n color21: 'qualitative.21',\n color22: 'qualitative.22',\n color23: 'qualitative.23',\n color24: 'qualitative.24',\n color25: 'qualitative.25',\n color26: 'qualitative.26',\n color27: 'qualitative.27',\n color28: 'qualitative.28',\n color29: 'qualitative.29',\n color30: 'qualitative.30',\n color31: 'qualitative.31',\n color32: 'qualitative.32',\n color33: 'qualitative.33',\n color34: 'qualitative.34',\n color35: 'qualitative.35',\n color36: 'qualitative.36',\n color37: 'qualitative.37',\n color38: 'qualitative.38',\n color39: 'qualitative.39',\n color40: 'qualitative.40',\n info: 'semantic.info',\n disabled: 'semantic.disabled',\n highError: 'semantic.highError',\n error: 'semantic.error',\n warning: 'semantic.warning',\n success: 'semantic.success',\n highSuccess: 'semantic.highSuccess',\n};\n\n/**\n * Key: Color code.\n * Value:\n * Index 0 - Default color / Color for light theme,\n * Index 1 - Color for dark theme\n */\ntype Palette = { [key: string]: string[] };\n\nconst QualitativePalette: Palette = {\n '1': ['#637cef'], // [cornflower.tint10],\n '2': ['#e3008c'], // [hotPink.primary],\n '3': ['#2aa0a4'], // [teal.tint20],\n '4': ['#9373c0'], // [orchid.tint10],\n '5': ['#13a10e'], // [lightGreen.primary],\n '6': ['#3a96dd'], // [lightBlue.primary],\n '7': ['#ca5010'], // [pumpkin.primary],\n '8': ['#57811b'], // [lime.shade20],\n '9': ['#b146c2'], // [lilac.primary],\n '10': ['#ae8c00'], // [gold.shade10],\n '11': ['#3c51b4', '#93a4f4'], // [cornflower.shade20, cornflower.tint30],\n '12': ['#ad006a', '#ee5fb7'], // [hotPink.shade20, hotPink.tint30],\n '13': ['#026467', '#4cb4b7'], // [teal.shade20, teal.tint30],\n '14': ['#674c8c', '#a083c9'], // [orchid.shade20, orchid.tint20],\n '15': ['#0e7a0b', '#27ac22'], // [lightGreen.shade20, lightGreen.tint10],\n '16': ['#2c72a8', '#4fa1e1'], // [lightBlue.shade20, lightBlue.tint10],\n '17': ['#9a3d0c', '#d77440'], // [pumpkin.shade20, pumpkin.tint20],\n '18': ['#405f14', '#73aa24'], // [lime.shade30, lime.primary],\n '19': ['#863593', '#c36bd1'], // [lilac.shade20, lilac.tint20],\n '20': ['#6d5700', '#d0b232'], // [gold.shade30, gold.tint20],\n '21': ['#4f6bed'], // [cornflower.primary],\n '22': ['#ea38a6'], // [hotPink.tint20],\n '23': ['#038387'], // [teal.primary],\n '24': ['#8764b8'], // [orchid.primary],\n '25': ['#11910d'], // [lightGreen.shade10],\n '26': ['#3487c7'], // [lightBlue.shade10],\n '27': ['#d06228'], // [pumpkin.tint10],\n '28': ['#689920'], // [lime.shade10],\n '29': ['#ba58c9'], // [lilac.tint10],\n '30': ['#937700', '#c19c00'], // [gold.shade20, gold.primary],\n '31': ['#2c3c85', '#c8d1fa'], // [cornflower.shade30, cornflower.tint40],\n '32': ['#7f004e', '#f7adda'], // [hotPink.shade30, hotPink.tint40],\n '33': ['#02494c', '#9bd9db'], // [teal.shade30, teal.tint40],\n '34': ['#4c3867', '#b29ad4'], // [orchid.shade30, orchid.tint30],\n '35': ['#0b5a08', '#a7e3a5'], // [lightGreen.shade30, lightGreen.tint40],\n '36': ['#20547c', '#83bdeb'], // [lightBlue.shade30, lightBlue.tint30],\n '37': ['#712d09', '#df8e64'], // [pumpkin.shade30, pumpkin.tint30],\n '38': ['#23330b', '#a4cc6c'], // [lime.shade40, lime.tint30],\n '39': ['#63276d', '#cf87da'], // [lilac.shade30, lilac.tint30],\n '40': ['#3a2f00', '#dac157'], // [gold.shade40, gold.tint30],\n};\n\nconst SemanticPalette: Palette = {\n info: ['#015cda'],\n disabled: ['#dbdbdb', '#4d4d4d'], // [grey[86], grey[30]]\n highError: ['#6e0811', '#cc2635'], // [cranberry.shade30, cranberry.tint10],\n error: ['#c50f1f', '#dc626d'], // [cranberry.primary, cranberry.tint30],\n warning: ['#f7630c', '#f87528'], // [orange.primary, orange.tint10],\n success: ['#107c10', '#54b054'], // [green.primary, green.tint30],\n highSuccess: ['#094509', '#218c21'], // [green.shade30, green.tint10],\n};\n\nconst Colors: { [key: string]: Palette } = {\n qualitative: QualitativePalette,\n semantic: SemanticPalette,\n};\n\nconst QUALITATIVE_COLORS = Object.values(QualitativePalette);\nconst TOKENS = Object.values(DataVizPalette);\n\nconst getThemeSpecificColor = (colors: string[], isDarkTheme: boolean): string => {\n if (colors.length === 0) {\n return '';\n }\n const colorIdx = Number(isDarkTheme);\n if (colorIdx < colors.length) {\n return colors[colorIdx];\n }\n return colors[0];\n};\n\nexport const getNextColor = (index: number, offset: number = 0, isDarkTheme: boolean = false): string => {\n const colors = QUALITATIVE_COLORS[(index + offset) % QUALITATIVE_COLORS.length];\n return getThemeSpecificColor(colors, isDarkTheme);\n};\n\nexport const getColorFromToken = (token: string, isDarkTheme: boolean = false): string => {\n if (TOKENS.indexOf(token) >= 0) {\n const [paletteName, colorCode] = token.split('.');\n const colors = Colors[paletteName][colorCode];\n return getThemeSpecificColor(colors, isDarkTheme);\n }\n return token;\n};\n"]}
@@ -0,0 +1,3 @@
1
+ export * from './ChartHoverCard/index';
2
+ export * from './utilities';
3
+ export * from './colors';
@@ -0,0 +1,4 @@
1
+ export * from './ChartHoverCard/index';
2
+ export * from './utilities';
3
+ export * from './colors';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["utilities/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC","sourcesContent":["export * from './ChartHoverCard/index';\nexport * from './utilities';\nexport * from './colors';\n"]}