@fluentui/react-charting 5.16.22 → 5.16.23

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 (793) hide show
  1. package/CHANGELOG.json +34 -1
  2. package/CHANGELOG.md +14 -2
  3. package/lib-commonjs/version.js +1 -1
  4. package/lib-commonjs/version.js.map +1 -1
  5. package/package.json +6 -6
  6. package/dist/react-charting.js +0 -1
  7. package/dist/react-charting.min.js +0 -1
  8. package/lib/AreaChart.d.ts +0 -1
  9. package/lib/AreaChart.js +0 -2
  10. package/lib/AreaChart.js.map +0 -1
  11. package/lib/CartesianChart.d.ts +0 -1
  12. package/lib/CartesianChart.js +0 -2
  13. package/lib/CartesianChart.js.map +0 -1
  14. package/lib/DonutChart.d.ts +0 -1
  15. package/lib/DonutChart.js +0 -2
  16. package/lib/DonutChart.js.map +0 -1
  17. package/lib/GroupedVerticalBarChart.d.ts +0 -1
  18. package/lib/GroupedVerticalBarChart.js +0 -2
  19. package/lib/GroupedVerticalBarChart.js.map +0 -1
  20. package/lib/HeatMapChart.d.ts +0 -1
  21. package/lib/HeatMapChart.js +0 -2
  22. package/lib/HeatMapChart.js.map +0 -1
  23. package/lib/HorizontalBarChart.d.ts +0 -1
  24. package/lib/HorizontalBarChart.js +0 -2
  25. package/lib/HorizontalBarChart.js.map +0 -1
  26. package/lib/Legends.d.ts +0 -1
  27. package/lib/Legends.js +0 -2
  28. package/lib/Legends.js.map +0 -1
  29. package/lib/LineChart.d.ts +0 -1
  30. package/lib/LineChart.js +0 -2
  31. package/lib/LineChart.js.map +0 -1
  32. package/lib/PieChart.d.ts +0 -1
  33. package/lib/PieChart.js +0 -2
  34. package/lib/PieChart.js.map +0 -1
  35. package/lib/SankeyChart.d.ts +0 -1
  36. package/lib/SankeyChart.js +0 -2
  37. package/lib/SankeyChart.js.map +0 -1
  38. package/lib/Sparkline.d.ts +0 -1
  39. package/lib/Sparkline.js +0 -2
  40. package/lib/Sparkline.js.map +0 -1
  41. package/lib/StackedBarChart.d.ts +0 -1
  42. package/lib/StackedBarChart.js +0 -2
  43. package/lib/StackedBarChart.js.map +0 -1
  44. package/lib/Styling.d.ts +0 -2
  45. package/lib/Styling.js +0 -8
  46. package/lib/Styling.js.map +0 -1
  47. package/lib/TreeChart.d.ts +0 -1
  48. package/lib/TreeChart.js +0 -2
  49. package/lib/TreeChart.js.map +0 -1
  50. package/lib/Utilities.d.ts +0 -2
  51. package/lib/Utilities.js +0 -20
  52. package/lib/Utilities.js.map +0 -1
  53. package/lib/VerticalBarChart.d.ts +0 -1
  54. package/lib/VerticalBarChart.js +0 -2
  55. package/lib/VerticalBarChart.js.map +0 -1
  56. package/lib/VerticalStackedBarChart.d.ts +0 -1
  57. package/lib/VerticalStackedBarChart.js +0 -2
  58. package/lib/VerticalStackedBarChart.js.map +0 -1
  59. package/lib/components/AreaChart/AreaChart.base.d.ts +0 -92
  60. package/lib/components/AreaChart/AreaChart.base.js +0 -562
  61. package/lib/components/AreaChart/AreaChart.base.js.map +0 -1
  62. package/lib/components/AreaChart/AreaChart.d.ts +0 -3
  63. package/lib/components/AreaChart/AreaChart.js +0 -6
  64. package/lib/components/AreaChart/AreaChart.js.map +0 -1
  65. package/lib/components/AreaChart/AreaChart.styles.d.ts +0 -2
  66. package/lib/components/AreaChart/AreaChart.styles.js +0 -7
  67. package/lib/components/AreaChart/AreaChart.styles.js.map +0 -1
  68. package/lib/components/AreaChart/AreaChart.types.d.ts +0 -37
  69. package/lib/components/AreaChart/AreaChart.types.js +0 -2
  70. package/lib/components/AreaChart/AreaChart.types.js.map +0 -1
  71. package/lib/components/AreaChart/index.d.ts +0 -2
  72. package/lib/components/AreaChart/index.js +0 -3
  73. package/lib/components/AreaChart/index.js.map +0 -1
  74. package/lib/components/CommonComponents/CartesianChart.base.d.ts +0 -43
  75. package/lib/components/CommonComponents/CartesianChart.base.js +0 -331
  76. package/lib/components/CommonComponents/CartesianChart.base.js.map +0 -1
  77. package/lib/components/CommonComponents/CartesianChart.d.ts +0 -3
  78. package/lib/components/CommonComponents/CartesianChart.js +0 -5
  79. package/lib/components/CommonComponents/CartesianChart.js.map +0 -1
  80. package/lib/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  81. package/lib/components/CommonComponents/CartesianChart.styles.js +0 -163
  82. package/lib/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  83. package/lib/components/CommonComponents/CartesianChart.types.d.ts +0 -428
  84. package/lib/components/CommonComponents/CartesianChart.types.js +0 -2
  85. package/lib/components/CommonComponents/CartesianChart.types.js.map +0 -1
  86. package/lib/components/CommonComponents/index.d.ts +0 -2
  87. package/lib/components/CommonComponents/index.js +0 -3
  88. package/lib/components/CommonComponents/index.js.map +0 -1
  89. package/lib/components/DonutChart/Arc/Arc.d.ts +0 -21
  90. package/lib/components/DonutChart/Arc/Arc.js +0 -86
  91. package/lib/components/DonutChart/Arc/Arc.js.map +0 -1
  92. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  93. package/lib/components/DonutChart/Arc/Arc.styles.js +0 -28
  94. package/lib/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  95. package/lib/components/DonutChart/Arc/Arc.types.d.ts +0 -124
  96. package/lib/components/DonutChart/Arc/Arc.types.js +0 -2
  97. package/lib/components/DonutChart/Arc/Arc.types.js.map +0 -1
  98. package/lib/components/DonutChart/Arc/index.d.ts +0 -2
  99. package/lib/components/DonutChart/Arc/index.js +0 -3
  100. package/lib/components/DonutChart/Arc/index.js.map +0 -1
  101. package/lib/components/DonutChart/DonutChart.base.d.ts +0 -50
  102. package/lib/components/DonutChart/DonutChart.base.js +0 -211
  103. package/lib/components/DonutChart/DonutChart.base.js.map +0 -1
  104. package/lib/components/DonutChart/DonutChart.d.ts +0 -3
  105. package/lib/components/DonutChart/DonutChart.js +0 -6
  106. package/lib/components/DonutChart/DonutChart.js.map +0 -1
  107. package/lib/components/DonutChart/DonutChart.styles.d.ts +0 -2
  108. package/lib/components/DonutChart/DonutChart.styles.js +0 -30
  109. package/lib/components/DonutChart/DonutChart.styles.js.map +0 -1
  110. package/lib/components/DonutChart/DonutChart.types.d.ts +0 -63
  111. package/lib/components/DonutChart/DonutChart.types.js +0 -2
  112. package/lib/components/DonutChart/DonutChart.types.js.map +0 -1
  113. package/lib/components/DonutChart/Pie/Pie.d.ts +0 -15
  114. package/lib/components/DonutChart/Pie/Pie.js +0 -71
  115. package/lib/components/DonutChart/Pie/Pie.js.map +0 -1
  116. package/lib/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  117. package/lib/components/DonutChart/Pie/Pie.styles.js +0 -19
  118. package/lib/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  119. package/lib/components/DonutChart/Pie/Pie.types.d.ts +0 -96
  120. package/lib/components/DonutChart/Pie/Pie.types.js +0 -2
  121. package/lib/components/DonutChart/Pie/Pie.types.js.map +0 -1
  122. package/lib/components/DonutChart/Pie/index.d.ts +0 -2
  123. package/lib/components/DonutChart/Pie/index.js +0 -3
  124. package/lib/components/DonutChart/Pie/index.js.map +0 -1
  125. package/lib/components/DonutChart/index.d.ts +0 -3
  126. package/lib/components/DonutChart/index.js +0 -4
  127. package/lib/components/DonutChart/index.js.map +0 -1
  128. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -62
  129. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -381
  130. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  131. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
  132. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -6
  133. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  134. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  135. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -17
  136. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  137. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -83
  138. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -2
  139. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  140. package/lib/components/GroupedVerticalBarChart/index.d.ts +0 -2
  141. package/lib/components/GroupedVerticalBarChart/index.js +0 -3
  142. package/lib/components/GroupedVerticalBarChart/index.js.map +0 -1
  143. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +0 -147
  144. package/lib/components/HeatMapChart/HeatMapChart.base.js +0 -498
  145. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  146. package/lib/components/HeatMapChart/HeatMapChart.d.ts +0 -3
  147. package/lib/components/HeatMapChart/HeatMapChart.js +0 -5
  148. package/lib/components/HeatMapChart/HeatMapChart.js.map +0 -1
  149. package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  150. package/lib/components/HeatMapChart/HeatMapChart.styles.js +0 -24
  151. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  152. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
  153. package/lib/components/HeatMapChart/HeatMapChart.types.js +0 -2
  154. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  155. package/lib/components/HeatMapChart/index.d.ts +0 -2
  156. package/lib/components/HeatMapChart/index.js +0 -3
  157. package/lib/components/HeatMapChart/index.js.map +0 -1
  158. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -36
  159. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -237
  160. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  161. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
  162. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +0 -6
  163. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  164. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  165. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -69
  166. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  167. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -172
  168. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -6
  169. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  170. package/lib/components/HorizontalBarChart/index.d.ts +0 -3
  171. package/lib/components/HorizontalBarChart/index.js +0 -4
  172. package/lib/components/HorizontalBarChart/index.js.map +0 -1
  173. package/lib/components/Legends/Legends.base.d.ts +0 -44
  174. package/lib/components/Legends/Legends.base.js +0 -293
  175. package/lib/components/Legends/Legends.base.js.map +0 -1
  176. package/lib/components/Legends/Legends.d.ts +0 -3
  177. package/lib/components/Legends/Legends.js +0 -5
  178. package/lib/components/Legends/Legends.js.map +0 -1
  179. package/lib/components/Legends/Legends.styles.d.ts +0 -2
  180. package/lib/components/Legends/Legends.styles.js +0 -103
  181. package/lib/components/Legends/Legends.styles.js.map +0 -1
  182. package/lib/components/Legends/Legends.types.d.ts +0 -169
  183. package/lib/components/Legends/Legends.types.js +0 -2
  184. package/lib/components/Legends/Legends.types.js.map +0 -1
  185. package/lib/components/Legends/index.d.ts +0 -3
  186. package/lib/components/Legends/index.js +0 -4
  187. package/lib/components/Legends/index.js.map +0 -1
  188. package/lib/components/Legends/shape.d.ts +0 -9
  189. package/lib/components/Legends/shape.js +0 -24
  190. package/lib/components/Legends/shape.js.map +0 -1
  191. package/lib/components/LineChart/LineChart.base.d.ts +0 -84
  192. package/lib/components/LineChart/LineChart.base.js +0 -815
  193. package/lib/components/LineChart/LineChart.base.js.map +0 -1
  194. package/lib/components/LineChart/LineChart.d.ts +0 -3
  195. package/lib/components/LineChart/LineChart.js +0 -6
  196. package/lib/components/LineChart/LineChart.js.map +0 -1
  197. package/lib/components/LineChart/LineChart.styles.d.ts +0 -2
  198. package/lib/components/LineChart/LineChart.styles.js +0 -7
  199. package/lib/components/LineChart/LineChart.styles.js.map +0 -1
  200. package/lib/components/LineChart/LineChart.types.d.ts +0 -72
  201. package/lib/components/LineChart/LineChart.types.js +0 -2
  202. package/lib/components/LineChart/LineChart.types.js.map +0 -1
  203. package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
  204. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +0 -93
  205. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  206. package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
  207. package/lib/components/LineChart/eventAnnotation/LabelLink.js +0 -37
  208. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  209. package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  210. package/lib/components/LineChart/eventAnnotation/Textbox.js +0 -37
  211. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  212. package/lib/components/LineChart/index.d.ts +0 -3
  213. package/lib/components/LineChart/index.js +0 -4
  214. package/lib/components/LineChart/index.js.map +0 -1
  215. package/lib/components/PieChart/Arc/Arc.d.ts +0 -12
  216. package/lib/components/PieChart/Arc/Arc.js +0 -57
  217. package/lib/components/PieChart/Arc/Arc.js.map +0 -1
  218. package/lib/components/PieChart/Arc/Arc.styles.d.ts +0 -2
  219. package/lib/components/PieChart/Arc/Arc.styles.js +0 -8
  220. package/lib/components/PieChart/Arc/Arc.styles.js.map +0 -1
  221. package/lib/components/PieChart/Arc/Arc.types.d.ts +0 -60
  222. package/lib/components/PieChart/Arc/Arc.types.js +0 -2
  223. package/lib/components/PieChart/Arc/Arc.types.js.map +0 -1
  224. package/lib/components/PieChart/Arc/index.d.ts +0 -2
  225. package/lib/components/PieChart/Arc/index.js +0 -3
  226. package/lib/components/PieChart/Arc/index.js.map +0 -1
  227. package/lib/components/PieChart/Pie/Pie.d.ts +0 -10
  228. package/lib/components/PieChart/Pie/Pie.js +0 -35
  229. package/lib/components/PieChart/Pie/Pie.js.map +0 -1
  230. package/lib/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  231. package/lib/components/PieChart/Pie/Pie.styles.js +0 -6
  232. package/lib/components/PieChart/Pie/Pie.styles.js.map +0 -1
  233. package/lib/components/PieChart/Pie/Pie.types.d.ts +0 -46
  234. package/lib/components/PieChart/Pie/Pie.types.js +0 -2
  235. package/lib/components/PieChart/Pie/Pie.types.js.map +0 -1
  236. package/lib/components/PieChart/Pie/index.d.ts +0 -2
  237. package/lib/components/PieChart/Pie/index.js +0 -3
  238. package/lib/components/PieChart/Pie/index.js.map +0 -1
  239. package/lib/components/PieChart/PieChart.base.d.ts +0 -7
  240. package/lib/components/PieChart/PieChart.base.js +0 -34
  241. package/lib/components/PieChart/PieChart.base.js.map +0 -1
  242. package/lib/components/PieChart/PieChart.d.ts +0 -3
  243. package/lib/components/PieChart/PieChart.js +0 -6
  244. package/lib/components/PieChart/PieChart.js.map +0 -1
  245. package/lib/components/PieChart/PieChart.styles.d.ts +0 -2
  246. package/lib/components/PieChart/PieChart.styles.js +0 -29
  247. package/lib/components/PieChart/PieChart.styles.js.map +0 -1
  248. package/lib/components/PieChart/PieChart.types.d.ts +0 -63
  249. package/lib/components/PieChart/PieChart.types.js +0 -2
  250. package/lib/components/PieChart/PieChart.types.js.map +0 -1
  251. package/lib/components/PieChart/index.d.ts +0 -2
  252. package/lib/components/PieChart/index.js +0 -3
  253. package/lib/components/PieChart/index.js.map +0 -1
  254. package/lib/components/SankeyChart/SankeyChart.base.d.ts +0 -95
  255. package/lib/components/SankeyChart/SankeyChart.base.js +0 -674
  256. package/lib/components/SankeyChart/SankeyChart.base.js.map +0 -1
  257. package/lib/components/SankeyChart/SankeyChart.d.ts +0 -3
  258. package/lib/components/SankeyChart/SankeyChart.js +0 -6
  259. package/lib/components/SankeyChart/SankeyChart.js.map +0 -1
  260. package/lib/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  261. package/lib/components/SankeyChart/SankeyChart.styles.js +0 -58
  262. package/lib/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  263. package/lib/components/SankeyChart/SankeyChart.types.d.ts +0 -83
  264. package/lib/components/SankeyChart/SankeyChart.types.js +0 -2
  265. package/lib/components/SankeyChart/SankeyChart.types.js.map +0 -1
  266. package/lib/components/SankeyChart/index.d.ts +0 -2
  267. package/lib/components/SankeyChart/index.js +0 -3
  268. package/lib/components/SankeyChart/index.js.map +0 -1
  269. package/lib/components/Sparkline/Sparkline.base.d.ts +0 -20
  270. package/lib/components/Sparkline/Sparkline.base.js +0 -76
  271. package/lib/components/Sparkline/Sparkline.base.js.map +0 -1
  272. package/lib/components/Sparkline/Sparkline.d.ts +0 -3
  273. package/lib/components/Sparkline/Sparkline.js +0 -6
  274. package/lib/components/Sparkline/Sparkline.js.map +0 -1
  275. package/lib/components/Sparkline/Sparkline.styles.d.ts +0 -2
  276. package/lib/components/Sparkline/Sparkline.styles.js +0 -10
  277. package/lib/components/Sparkline/Sparkline.styles.js.map +0 -1
  278. package/lib/components/Sparkline/Sparkline.types.d.ts +0 -51
  279. package/lib/components/Sparkline/Sparkline.types.js +0 -2
  280. package/lib/components/Sparkline/Sparkline.types.js.map +0 -1
  281. package/lib/components/Sparkline/index.d.ts +0 -2
  282. package/lib/components/Sparkline/index.js +0 -3
  283. package/lib/components/Sparkline/index.js.map +0 -1
  284. package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -56
  285. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +0 -356
  286. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  287. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
  288. package/lib/components/StackedBarChart/MultiStackedBarChart.js +0 -6
  289. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  290. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  291. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -90
  292. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  293. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -198
  294. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +0 -6
  295. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  296. package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +0 -51
  297. package/lib/components/StackedBarChart/StackedBarChart.base.js +0 -311
  298. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  299. package/lib/components/StackedBarChart/StackedBarChart.d.ts +0 -3
  300. package/lib/components/StackedBarChart/StackedBarChart.js +0 -6
  301. package/lib/components/StackedBarChart/StackedBarChart.js.map +0 -1
  302. package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  303. package/lib/components/StackedBarChart/StackedBarChart.styles.js +0 -104
  304. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  305. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +0 -210
  306. package/lib/components/StackedBarChart/StackedBarChart.types.js +0 -2
  307. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  308. package/lib/components/StackedBarChart/index.d.ts +0 -5
  309. package/lib/components/StackedBarChart/index.js +0 -6
  310. package/lib/components/StackedBarChart/index.js.map +0 -1
  311. package/lib/components/TreeChart/TreeChart.base.d.ts +0 -18
  312. package/lib/components/TreeChart/TreeChart.base.js +0 -316
  313. package/lib/components/TreeChart/TreeChart.base.js.map +0 -1
  314. package/lib/components/TreeChart/TreeChart.d.ts +0 -3
  315. package/lib/components/TreeChart/TreeChart.js +0 -5
  316. package/lib/components/TreeChart/TreeChart.js.map +0 -1
  317. package/lib/components/TreeChart/TreeChart.styles.d.ts +0 -2
  318. package/lib/components/TreeChart/TreeChart.styles.js +0 -29
  319. package/lib/components/TreeChart/TreeChart.styles.js.map +0 -1
  320. package/lib/components/TreeChart/TreeChart.types.d.ts +0 -197
  321. package/lib/components/TreeChart/TreeChart.types.js +0 -23
  322. package/lib/components/TreeChart/TreeChart.types.js.map +0 -1
  323. package/lib/components/TreeChart/index.d.ts +0 -2
  324. package/lib/components/TreeChart/index.js +0 -3
  325. package/lib/components/TreeChart/index.js.map +0 -1
  326. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -74
  327. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +0 -536
  328. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  329. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
  330. package/lib/components/VerticalBarChart/VerticalBarChart.js +0 -6
  331. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  332. package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  333. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +0 -28
  334. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  335. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -114
  336. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +0 -2
  337. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  338. package/lib/components/VerticalBarChart/index.d.ts +0 -2
  339. package/lib/components/VerticalBarChart/index.js +0 -3
  340. package/lib/components/VerticalBarChart/index.js.map +0 -1
  341. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -85
  342. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -666
  343. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  344. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
  345. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -6
  346. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  347. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  348. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -18
  349. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  350. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -142
  351. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -2
  352. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  353. package/lib/components/VerticalStackedBarChart/index.d.ts +0 -2
  354. package/lib/components/VerticalStackedBarChart/index.js +0 -3
  355. package/lib/components/VerticalStackedBarChart/index.js.map +0 -1
  356. package/lib/index.d.ts +0 -19
  357. package/lib/index.js +0 -20
  358. package/lib/index.js.map +0 -1
  359. package/lib/types/IDataPoint.d.ts +0 -545
  360. package/lib/types/IDataPoint.js +0 -2
  361. package/lib/types/IDataPoint.js.map +0 -1
  362. package/lib/types/IEventAnnotation.d.ts +0 -6
  363. package/lib/types/IEventAnnotation.js +0 -2
  364. package/lib/types/IEventAnnotation.js.map +0 -1
  365. package/lib/types/ILegendDataItem.d.ts +0 -10
  366. package/lib/types/ILegendDataItem.js +0 -2
  367. package/lib/types/ILegendDataItem.js.map +0 -1
  368. package/lib/types/index.d.ts +0 -2
  369. package/lib/types/index.js +0 -3
  370. package/lib/types/index.js.map +0 -1
  371. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  372. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -38
  373. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  374. package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  375. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +0 -6
  376. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  377. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  378. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -82
  379. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  380. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  381. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -2
  382. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  383. package/lib/utilities/ChartHoverCard/index.d.ts +0 -3
  384. package/lib/utilities/ChartHoverCard/index.js +0 -4
  385. package/lib/utilities/ChartHoverCard/index.js.map +0 -1
  386. package/lib/utilities/FocusableTooltipText.d.ts +0 -27
  387. package/lib/utilities/FocusableTooltipText.js +0 -54
  388. package/lib/utilities/FocusableTooltipText.js.map +0 -1
  389. package/lib/utilities/colors.d.ts +0 -51
  390. package/lib/utilities/colors.js +0 -132
  391. package/lib/utilities/colors.js.map +0 -1
  392. package/lib/utilities/index.d.ts +0 -3
  393. package/lib/utilities/index.js +0 -4
  394. package/lib/utilities/index.js.map +0 -1
  395. package/lib/utilities/utilities.d.ts +0 -377
  396. package/lib/utilities/utilities.js +0 -864
  397. package/lib/utilities/utilities.js.map +0 -1
  398. package/lib/version.d.ts +0 -1
  399. package/lib/version.js +0 -5
  400. package/lib/version.js.map +0 -1
  401. package/lib-amd/AreaChart.d.ts +0 -1
  402. package/lib-amd/AreaChart.js +0 -6
  403. package/lib-amd/AreaChart.js.map +0 -1
  404. package/lib-amd/CartesianChart.d.ts +0 -1
  405. package/lib-amd/CartesianChart.js +0 -6
  406. package/lib-amd/CartesianChart.js.map +0 -1
  407. package/lib-amd/DonutChart.d.ts +0 -1
  408. package/lib-amd/DonutChart.js +0 -6
  409. package/lib-amd/DonutChart.js.map +0 -1
  410. package/lib-amd/GroupedVerticalBarChart.d.ts +0 -1
  411. package/lib-amd/GroupedVerticalBarChart.js +0 -6
  412. package/lib-amd/GroupedVerticalBarChart.js.map +0 -1
  413. package/lib-amd/HeatMapChart.d.ts +0 -1
  414. package/lib-amd/HeatMapChart.js +0 -6
  415. package/lib-amd/HeatMapChart.js.map +0 -1
  416. package/lib-amd/HorizontalBarChart.d.ts +0 -1
  417. package/lib-amd/HorizontalBarChart.js +0 -6
  418. package/lib-amd/HorizontalBarChart.js.map +0 -1
  419. package/lib-amd/Legends.d.ts +0 -1
  420. package/lib-amd/Legends.js +0 -6
  421. package/lib-amd/Legends.js.map +0 -1
  422. package/lib-amd/LineChart.d.ts +0 -1
  423. package/lib-amd/LineChart.js +0 -6
  424. package/lib-amd/LineChart.js.map +0 -1
  425. package/lib-amd/PieChart.d.ts +0 -1
  426. package/lib-amd/PieChart.js +0 -6
  427. package/lib-amd/PieChart.js.map +0 -1
  428. package/lib-amd/SankeyChart.d.ts +0 -1
  429. package/lib-amd/SankeyChart.js +0 -6
  430. package/lib-amd/SankeyChart.js.map +0 -1
  431. package/lib-amd/Sparkline.d.ts +0 -1
  432. package/lib-amd/Sparkline.js +0 -6
  433. package/lib-amd/Sparkline.js.map +0 -1
  434. package/lib-amd/StackedBarChart.d.ts +0 -1
  435. package/lib-amd/StackedBarChart.js +0 -6
  436. package/lib-amd/StackedBarChart.js.map +0 -1
  437. package/lib-amd/Styling.d.ts +0 -2
  438. package/lib-amd/Styling.js +0 -75
  439. package/lib-amd/Styling.js.map +0 -1
  440. package/lib-amd/TreeChart.d.ts +0 -1
  441. package/lib-amd/TreeChart.js +0 -6
  442. package/lib-amd/TreeChart.js.map +0 -1
  443. package/lib-amd/Utilities.d.ts +0 -2
  444. package/lib-amd/Utilities.js +0 -183
  445. package/lib-amd/Utilities.js.map +0 -1
  446. package/lib-amd/VerticalBarChart.d.ts +0 -1
  447. package/lib-amd/VerticalBarChart.js +0 -6
  448. package/lib-amd/VerticalBarChart.js.map +0 -1
  449. package/lib-amd/VerticalStackedBarChart.d.ts +0 -1
  450. package/lib-amd/VerticalStackedBarChart.js +0 -6
  451. package/lib-amd/VerticalStackedBarChart.js.map +0 -1
  452. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -92
  453. package/lib-amd/components/AreaChart/AreaChart.base.js +0 -555
  454. package/lib-amd/components/AreaChart/AreaChart.base.js.map +0 -1
  455. package/lib-amd/components/AreaChart/AreaChart.d.ts +0 -3
  456. package/lib-amd/components/AreaChart/AreaChart.js +0 -8
  457. package/lib-amd/components/AreaChart/AreaChart.js.map +0 -1
  458. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +0 -2
  459. package/lib-amd/components/AreaChart/AreaChart.styles.js +0 -12
  460. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +0 -1
  461. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +0 -37
  462. package/lib-amd/components/AreaChart/AreaChart.types.js +0 -5
  463. package/lib-amd/components/AreaChart/AreaChart.types.js.map +0 -1
  464. package/lib-amd/components/AreaChart/index.d.ts +0 -2
  465. package/lib-amd/components/AreaChart/index.js +0 -7
  466. package/lib-amd/components/AreaChart/index.js.map +0 -1
  467. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +0 -43
  468. package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -329
  469. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +0 -1
  470. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +0 -3
  471. package/lib-amd/components/CommonComponents/CartesianChart.js +0 -7
  472. package/lib-amd/components/CommonComponents/CartesianChart.js.map +0 -1
  473. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  474. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +0 -166
  475. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  476. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -428
  477. package/lib-amd/components/CommonComponents/CartesianChart.types.js +0 -5
  478. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +0 -1
  479. package/lib-amd/components/CommonComponents/index.d.ts +0 -2
  480. package/lib-amd/components/CommonComponents/index.js +0 -7
  481. package/lib-amd/components/CommonComponents/index.js.map +0 -1
  482. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -21
  483. package/lib-amd/components/DonutChart/Arc/Arc.js +0 -85
  484. package/lib-amd/components/DonutChart/Arc/Arc.js.map +0 -1
  485. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  486. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +0 -33
  487. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  488. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -124
  489. package/lib-amd/components/DonutChart/Arc/Arc.types.js +0 -5
  490. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +0 -1
  491. package/lib-amd/components/DonutChart/Arc/index.d.ts +0 -2
  492. package/lib-amd/components/DonutChart/Arc/index.js +0 -7
  493. package/lib-amd/components/DonutChart/Arc/index.js.map +0 -1
  494. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +0 -50
  495. package/lib-amd/components/DonutChart/DonutChart.base.js +0 -208
  496. package/lib-amd/components/DonutChart/DonutChart.base.js.map +0 -1
  497. package/lib-amd/components/DonutChart/DonutChart.d.ts +0 -3
  498. package/lib-amd/components/DonutChart/DonutChart.js +0 -8
  499. package/lib-amd/components/DonutChart/DonutChart.js.map +0 -1
  500. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +0 -2
  501. package/lib-amd/components/DonutChart/DonutChart.styles.js +0 -36
  502. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
  503. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -63
  504. package/lib-amd/components/DonutChart/DonutChart.types.js +0 -5
  505. package/lib-amd/components/DonutChart/DonutChart.types.js.map +0 -1
  506. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +0 -15
  507. package/lib-amd/components/DonutChart/Pie/Pie.js +0 -69
  508. package/lib-amd/components/DonutChart/Pie/Pie.js.map +0 -1
  509. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  510. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +0 -24
  511. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  512. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -96
  513. package/lib-amd/components/DonutChart/Pie/Pie.types.js +0 -5
  514. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +0 -1
  515. package/lib-amd/components/DonutChart/Pie/index.d.ts +0 -2
  516. package/lib-amd/components/DonutChart/Pie/index.js +0 -7
  517. package/lib-amd/components/DonutChart/Pie/index.js.map +0 -1
  518. package/lib-amd/components/DonutChart/index.d.ts +0 -3
  519. package/lib-amd/components/DonutChart/index.js +0 -8
  520. package/lib-amd/components/DonutChart/index.js.map +0 -1
  521. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -62
  522. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -375
  523. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  524. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
  525. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -8
  526. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  527. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  528. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
  529. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  530. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -83
  531. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -5
  532. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  533. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +0 -2
  534. package/lib-amd/components/GroupedVerticalBarChart/index.js +0 -7
  535. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +0 -1
  536. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +0 -147
  537. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -492
  538. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  539. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +0 -3
  540. package/lib-amd/components/HeatMapChart/HeatMapChart.js +0 -7
  541. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +0 -1
  542. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  543. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +0 -29
  544. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  545. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
  546. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +0 -5
  547. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  548. package/lib-amd/components/HeatMapChart/index.d.ts +0 -2
  549. package/lib-amd/components/HeatMapChart/index.js +0 -7
  550. package/lib-amd/components/HeatMapChart/index.js.map +0 -1
  551. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -36
  552. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -233
  553. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  554. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
  555. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +0 -8
  556. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  557. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  558. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -72
  559. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  560. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -172
  561. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -11
  562. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  563. package/lib-amd/components/HorizontalBarChart/index.d.ts +0 -3
  564. package/lib-amd/components/HorizontalBarChart/index.js +0 -8
  565. package/lib-amd/components/HorizontalBarChart/index.js.map +0 -1
  566. package/lib-amd/components/Legends/Legends.base.d.ts +0 -44
  567. package/lib-amd/components/Legends/Legends.base.js +0 -290
  568. package/lib-amd/components/Legends/Legends.base.js.map +0 -1
  569. package/lib-amd/components/Legends/Legends.d.ts +0 -3
  570. package/lib-amd/components/Legends/Legends.js +0 -7
  571. package/lib-amd/components/Legends/Legends.js.map +0 -1
  572. package/lib-amd/components/Legends/Legends.styles.d.ts +0 -2
  573. package/lib-amd/components/Legends/Legends.styles.js +0 -107
  574. package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
  575. package/lib-amd/components/Legends/Legends.types.d.ts +0 -169
  576. package/lib-amd/components/Legends/Legends.types.js +0 -5
  577. package/lib-amd/components/Legends/Legends.types.js.map +0 -1
  578. package/lib-amd/components/Legends/index.d.ts +0 -3
  579. package/lib-amd/components/Legends/index.js +0 -8
  580. package/lib-amd/components/Legends/index.js.map +0 -1
  581. package/lib-amd/components/Legends/shape.d.ts +0 -9
  582. package/lib-amd/components/Legends/shape.js +0 -27
  583. package/lib-amd/components/Legends/shape.js.map +0 -1
  584. package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -84
  585. package/lib-amd/components/LineChart/LineChart.base.js +0 -809
  586. package/lib-amd/components/LineChart/LineChart.base.js.map +0 -1
  587. package/lib-amd/components/LineChart/LineChart.d.ts +0 -3
  588. package/lib-amd/components/LineChart/LineChart.js +0 -8
  589. package/lib-amd/components/LineChart/LineChart.js.map +0 -1
  590. package/lib-amd/components/LineChart/LineChart.styles.d.ts +0 -2
  591. package/lib-amd/components/LineChart/LineChart.styles.js +0 -12
  592. package/lib-amd/components/LineChart/LineChart.styles.js.map +0 -1
  593. package/lib-amd/components/LineChart/LineChart.types.d.ts +0 -72
  594. package/lib-amd/components/LineChart/LineChart.types.js +0 -5
  595. package/lib-amd/components/LineChart/LineChart.types.js.map +0 -1
  596. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
  597. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +0 -95
  598. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  599. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
  600. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +0 -40
  601. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  602. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  603. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +0 -40
  604. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  605. package/lib-amd/components/LineChart/index.d.ts +0 -3
  606. package/lib-amd/components/LineChart/index.js +0 -8
  607. package/lib-amd/components/LineChart/index.js.map +0 -1
  608. package/lib-amd/components/PieChart/Arc/Arc.d.ts +0 -12
  609. package/lib-amd/components/PieChart/Arc/Arc.js +0 -56
  610. package/lib-amd/components/PieChart/Arc/Arc.js.map +0 -1
  611. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +0 -2
  612. package/lib-amd/components/PieChart/Arc/Arc.styles.js +0 -13
  613. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +0 -1
  614. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +0 -60
  615. package/lib-amd/components/PieChart/Arc/Arc.types.js +0 -5
  616. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +0 -1
  617. package/lib-amd/components/PieChart/Arc/index.d.ts +0 -2
  618. package/lib-amd/components/PieChart/Arc/index.js +0 -7
  619. package/lib-amd/components/PieChart/Arc/index.js.map +0 -1
  620. package/lib-amd/components/PieChart/Pie/Pie.d.ts +0 -10
  621. package/lib-amd/components/PieChart/Pie/Pie.js +0 -35
  622. package/lib-amd/components/PieChart/Pie/Pie.js.map +0 -1
  623. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  624. package/lib-amd/components/PieChart/Pie/Pie.styles.js +0 -12
  625. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +0 -1
  626. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +0 -46
  627. package/lib-amd/components/PieChart/Pie/Pie.types.js +0 -5
  628. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +0 -1
  629. package/lib-amd/components/PieChart/Pie/index.d.ts +0 -2
  630. package/lib-amd/components/PieChart/Pie/index.js +0 -7
  631. package/lib-amd/components/PieChart/Pie/index.js.map +0 -1
  632. package/lib-amd/components/PieChart/PieChart.base.d.ts +0 -7
  633. package/lib-amd/components/PieChart/PieChart.base.js +0 -35
  634. package/lib-amd/components/PieChart/PieChart.base.js.map +0 -1
  635. package/lib-amd/components/PieChart/PieChart.d.ts +0 -3
  636. package/lib-amd/components/PieChart/PieChart.js +0 -8
  637. package/lib-amd/components/PieChart/PieChart.js.map +0 -1
  638. package/lib-amd/components/PieChart/PieChart.styles.d.ts +0 -2
  639. package/lib-amd/components/PieChart/PieChart.styles.js +0 -34
  640. package/lib-amd/components/PieChart/PieChart.styles.js.map +0 -1
  641. package/lib-amd/components/PieChart/PieChart.types.d.ts +0 -63
  642. package/lib-amd/components/PieChart/PieChart.types.js +0 -5
  643. package/lib-amd/components/PieChart/PieChart.types.js.map +0 -1
  644. package/lib-amd/components/PieChart/index.d.ts +0 -2
  645. package/lib-amd/components/PieChart/index.js +0 -7
  646. package/lib-amd/components/PieChart/index.js.map +0 -1
  647. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +0 -95
  648. package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -669
  649. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +0 -1
  650. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +0 -3
  651. package/lib-amd/components/SankeyChart/SankeyChart.js +0 -8
  652. package/lib-amd/components/SankeyChart/SankeyChart.js.map +0 -1
  653. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  654. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +0 -62
  655. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  656. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -83
  657. package/lib-amd/components/SankeyChart/SankeyChart.types.js +0 -5
  658. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +0 -1
  659. package/lib-amd/components/SankeyChart/index.d.ts +0 -2
  660. package/lib-amd/components/SankeyChart/index.js +0 -7
  661. package/lib-amd/components/SankeyChart/index.js.map +0 -1
  662. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +0 -20
  663. package/lib-amd/components/Sparkline/Sparkline.base.js +0 -74
  664. package/lib-amd/components/Sparkline/Sparkline.base.js.map +0 -1
  665. package/lib-amd/components/Sparkline/Sparkline.d.ts +0 -3
  666. package/lib-amd/components/Sparkline/Sparkline.js +0 -8
  667. package/lib-amd/components/Sparkline/Sparkline.js.map +0 -1
  668. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +0 -2
  669. package/lib-amd/components/Sparkline/Sparkline.styles.js +0 -15
  670. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +0 -1
  671. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +0 -51
  672. package/lib-amd/components/Sparkline/Sparkline.types.js +0 -5
  673. package/lib-amd/components/Sparkline/Sparkline.types.js.map +0 -1
  674. package/lib-amd/components/Sparkline/index.d.ts +0 -2
  675. package/lib-amd/components/Sparkline/index.js +0 -7
  676. package/lib-amd/components/Sparkline/index.js.map +0 -1
  677. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -56
  678. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -351
  679. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  680. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
  681. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +0 -8
  682. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  683. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  684. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -93
  685. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  686. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -198
  687. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -11
  688. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  689. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -51
  690. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -308
  691. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  692. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +0 -3
  693. package/lib-amd/components/StackedBarChart/StackedBarChart.js +0 -8
  694. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +0 -1
  695. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  696. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +0 -108
  697. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  698. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -210
  699. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +0 -5
  700. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  701. package/lib-amd/components/StackedBarChart/index.d.ts +0 -5
  702. package/lib-amd/components/StackedBarChart/index.js +0 -10
  703. package/lib-amd/components/StackedBarChart/index.js.map +0 -1
  704. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +0 -18
  705. package/lib-amd/components/TreeChart/TreeChart.base.js +0 -314
  706. package/lib-amd/components/TreeChart/TreeChart.base.js.map +0 -1
  707. package/lib-amd/components/TreeChart/TreeChart.d.ts +0 -3
  708. package/lib-amd/components/TreeChart/TreeChart.js +0 -7
  709. package/lib-amd/components/TreeChart/TreeChart.js.map +0 -1
  710. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +0 -2
  711. package/lib-amd/components/TreeChart/TreeChart.styles.js +0 -34
  712. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
  713. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -197
  714. package/lib-amd/components/TreeChart/TreeChart.types.js +0 -28
  715. package/lib-amd/components/TreeChart/TreeChart.types.js.map +0 -1
  716. package/lib-amd/components/TreeChart/index.d.ts +0 -2
  717. package/lib-amd/components/TreeChart/index.js +0 -7
  718. package/lib-amd/components/TreeChart/index.js.map +0 -1
  719. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -74
  720. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -529
  721. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  722. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
  723. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +0 -8
  724. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  725. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  726. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
  727. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  728. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -114
  729. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +0 -5
  730. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  731. package/lib-amd/components/VerticalBarChart/index.d.ts +0 -2
  732. package/lib-amd/components/VerticalBarChart/index.js +0 -7
  733. package/lib-amd/components/VerticalBarChart/index.js.map +0 -1
  734. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -85
  735. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -659
  736. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  737. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
  738. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -8
  739. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  740. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  741. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
  742. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  743. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -142
  744. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -5
  745. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  746. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +0 -2
  747. package/lib-amd/components/VerticalStackedBarChart/index.js +0 -7
  748. package/lib-amd/components/VerticalStackedBarChart/index.js.map +0 -1
  749. package/lib-amd/index.d.ts +0 -19
  750. package/lib-amd/index.js +0 -23
  751. package/lib-amd/index.js.map +0 -1
  752. package/lib-amd/types/IDataPoint.d.ts +0 -545
  753. package/lib-amd/types/IDataPoint.js +0 -5
  754. package/lib-amd/types/IDataPoint.js.map +0 -1
  755. package/lib-amd/types/IEventAnnotation.d.ts +0 -6
  756. package/lib-amd/types/IEventAnnotation.js +0 -5
  757. package/lib-amd/types/IEventAnnotation.js.map +0 -1
  758. package/lib-amd/types/ILegendDataItem.d.ts +0 -10
  759. package/lib-amd/types/ILegendDataItem.js +0 -5
  760. package/lib-amd/types/ILegendDataItem.js.map +0 -1
  761. package/lib-amd/types/index.d.ts +0 -2
  762. package/lib-amd/types/index.js +0 -7
  763. package/lib-amd/types/index.js.map +0 -1
  764. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  765. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -39
  766. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  767. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  768. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +0 -8
  769. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  770. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  771. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -87
  772. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  773. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  774. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -5
  775. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  776. package/lib-amd/utilities/ChartHoverCard/index.d.ts +0 -3
  777. package/lib-amd/utilities/ChartHoverCard/index.js +0 -8
  778. package/lib-amd/utilities/ChartHoverCard/index.js.map +0 -1
  779. package/lib-amd/utilities/FocusableTooltipText.d.ts +0 -27
  780. package/lib-amd/utilities/FocusableTooltipText.js +0 -54
  781. package/lib-amd/utilities/FocusableTooltipText.js.map +0 -1
  782. package/lib-amd/utilities/colors.d.ts +0 -51
  783. package/lib-amd/utilities/colors.js +0 -139
  784. package/lib-amd/utilities/colors.js.map +0 -1
  785. package/lib-amd/utilities/index.d.ts +0 -3
  786. package/lib-amd/utilities/index.js +0 -8
  787. package/lib-amd/utilities/index.js.map +0 -1
  788. package/lib-amd/utilities/utilities.d.ts +0 -377
  789. package/lib-amd/utilities/utilities.js +0 -888
  790. package/lib-amd/utilities/utilities.js.map +0 -1
  791. package/lib-amd/version.d.ts +0 -1
  792. package/lib-amd/version.js +0 -6
  793. package/lib-amd/version.js.map +0 -1
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { IHorizontalBarChartProps } from './HorizontalBarChart.types';
3
- export declare const HorizontalBarChart: React.FunctionComponent<IHorizontalBarChartProps>;
@@ -1,6 +0,0 @@
1
- import { styled } from '@fluentui/react/lib/Utilities';
2
- import { HorizontalBarChartBase } from './HorizontalBarChart.base';
3
- import { getHorizontalBarChartStyles } from './HorizontalBarChart.styles';
4
- // Create a HorizontalBarChart variant which uses these default styles and this styled subcomponent.
5
- export var HorizontalBarChart = styled(HorizontalBarChartBase, getHorizontalBarChartStyles);
6
- //# sourceMappingURL=HorizontalBarChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HorizontalBarChart.js","sourceRoot":"../src/","sources":["components/HorizontalBarChart/HorizontalBarChart.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAMvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE1E,oGAAoG;AACpG,MAAM,CAAC,IAAM,kBAAkB,GAAsD,MAAM,CAIzF,sBAAsB,EAAE,2BAA2B,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport {\n IHorizontalBarChartProps,\n IHorizontalBarChartStyleProps,\n IHorizontalBarChartStyles,\n} from './HorizontalBarChart.types';\nimport { HorizontalBarChartBase } from './HorizontalBarChart.base';\nimport { getHorizontalBarChartStyles } from './HorizontalBarChart.styles';\n\n// Create a HorizontalBarChart variant which uses these default styles and this styled subcomponent.\nexport const HorizontalBarChart: React.FunctionComponent<IHorizontalBarChartProps> = styled<\n IHorizontalBarChartProps,\n IHorizontalBarChartStyleProps,\n IHorizontalBarChartStyles\n>(HorizontalBarChartBase, getHorizontalBarChartStyles);\n"]}
@@ -1,2 +0,0 @@
1
- import { IHorizontalBarChartStyleProps, IHorizontalBarChartStyles } from './HorizontalBarChart.types';
2
- export declare const getHorizontalBarChartStyles: (props: IHorizontalBarChartStyleProps) => IHorizontalBarChartStyles;
@@ -1,69 +0,0 @@
1
- import { __assign } from "tslib";
2
- import { FontSizes, FontWeights } from '@fluentui/react/lib/Styling';
3
- import { HorizontalBarChartVariant, } from './HorizontalBarChart.types';
4
- export var getHorizontalBarChartStyles = function (props) {
5
- var className = props.className, theme = props.theme, width = props.width, barHeight = props.barHeight, showTriangle = props.showTriangle, variant = props.variant, hideLabels = props.hideLabels;
6
- var palette = theme.palette;
7
- return {
8
- root: [
9
- {
10
- display: 'flex',
11
- flexDirection: 'column',
12
- width: width ? width : '100%',
13
- },
14
- className,
15
- ],
16
- items: {
17
- marginBottom: showTriangle || variant === HorizontalBarChartVariant.AbsoluteScale ? '16px' : '10px',
18
- },
19
- chart: {
20
- width: '100%',
21
- height: barHeight ? barHeight : 12,
22
- display: 'block',
23
- overflow: 'visible',
24
- },
25
- barWrapper: {
26
- stroke: theme.palette.white,
27
- strokeWidth: 2,
28
- },
29
- chartTitle: __assign(__assign({}, theme.fonts.small), { display: 'flex', justifyContent: 'space-between' }),
30
- chartTitleLeft: {
31
- textOverflow: 'ellipsis',
32
- overflow: 'hidden',
33
- whiteSpace: 'nowrap',
34
- display: 'block',
35
- color: theme.palette.neutralPrimary,
36
- marginBottom: variant === HorizontalBarChartVariant.AbsoluteScale ? '4px' : '5px',
37
- },
38
- chartTitleRight: {
39
- fontSize: FontSizes.medium,
40
- fontWeight: FontWeights.semibold,
41
- color: theme.palette.neutralPrimary,
42
- },
43
- chartDataTextDenominator: {
44
- fontSize: FontSizes.medium,
45
- color: theme.palette.neutralPrimary,
46
- },
47
- benchmarkContainer: {
48
- position: 'relative',
49
- height: '7px',
50
- marginTop: '-3px',
51
- marginBottom: '-1px',
52
- },
53
- triangle: {
54
- width: '0',
55
- height: '0',
56
- borderLeft: '4px solid transparent',
57
- borderRight: '4px solid transparent',
58
- borderTop: '7px solid',
59
- borderTopColor: palette.blue,
60
- marginBottom: '4px',
61
- position: 'absolute',
62
- },
63
- barLabel: __assign(__assign({}, theme.fonts.small), { fontWeight: FontWeights.semibold, fill: theme.palette.neutralPrimary }),
64
- chartWrapper: {
65
- paddingRight: variant === HorizontalBarChartVariant.AbsoluteScale && !hideLabels ? 40 : 0,
66
- },
67
- };
68
- };
69
- //# sourceMappingURL=HorizontalBarChart.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HorizontalBarChart.styles.js","sourceRoot":"../src/","sources":["components/HorizontalBarChart/HorizontalBarChart.styles.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EACL,yBAAyB,GAG1B,MAAM,4BAA4B,CAAC;AAEpC,MAAM,CAAC,IAAM,2BAA2B,GAAG,UAAC,KAAoC;IACtE,IAAA,SAAS,GAAiE,KAAK,UAAtE,EAAE,KAAK,GAA0D,KAAK,MAA/D,EAAE,KAAK,GAAmD,KAAK,MAAxD,EAAE,SAAS,GAAwC,KAAK,UAA7C,EAAE,YAAY,GAA0B,KAAK,aAA/B,EAAE,OAAO,GAAiB,KAAK,QAAtB,EAAE,UAAU,GAAK,KAAK,WAAV,CAAW;IAChF,IAAA,OAAO,GAAK,KAAM,QAAX,CAAY;IAE3B,OAAO;QACL,IAAI,EAAE;YACJ;gBACE,OAAO,EAAE,MAAM;gBACf,aAAa,EAAE,QAAQ;gBACvB,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM;aAC9B;YACD,SAAS;SACV;QACD,KAAK,EAAE;YACL,YAAY,EAAE,YAAY,IAAI,OAAO,KAAK,yBAAyB,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM;SACpG;QACD,KAAK,EAAE;YACL,KAAK,EAAE,MAAM;YACb,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE;YAClC,OAAO,EAAE,OAAO;YAChB,QAAQ,EAAE,SAAS;SACpB;QACD,UAAU,EAAE;YACV,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;YAC3B,WAAW,EAAE,CAAC;SACf;QACD,UAAU,wBACL,KAAK,CAAC,KAAK,CAAC,KAAK,KACpB,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,eAAe,GAChC;QACD,cAAc,EAAE;YACd,YAAY,EAAE,UAAU;YACxB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc;YACnC,YAAY,EAAE,OAAO,KAAK,yBAAyB,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK;SAClF;QACD,eAAe,EAAE;YACf,QAAQ,EAAE,SAAS,CAAC,MAAM;YAC1B,UAAU,EAAE,WAAW,CAAC,QAAQ;YAChC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc;SACpC;QACD,wBAAwB,EAAE;YACxB,QAAQ,EAAE,SAAS,CAAC,MAAM;YAC1B,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc;SACpC;QACD,kBAAkB,EAAE;YAClB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,KAAK;YACb,SAAS,EAAE,MAAM;YACjB,YAAY,EAAE,MAAM;SACrB;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,GAAG;YACX,UAAU,EAAE,uBAAuB;YACnC,WAAW,EAAE,uBAAuB;YACpC,SAAS,EAAE,WAAW;YACtB,cAAc,EAAE,OAAO,CAAC,IAAI;YAC5B,YAAY,EAAE,KAAK;YACnB,QAAQ,EAAE,UAAU;SACrB;QACD,QAAQ,wBACH,KAAK,CAAC,KAAK,CAAC,KAAK,KACpB,UAAU,EAAE,WAAW,CAAC,QAAQ,EAChC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc,GACnC;QACD,YAAY,EAAE;YACZ,YAAY,EAAE,OAAO,KAAK,yBAAyB,CAAC,aAAa,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;SAC1F;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { FontSizes, FontWeights } from '@fluentui/react/lib/Styling';\nimport {\n HorizontalBarChartVariant,\n IHorizontalBarChartStyleProps,\n IHorizontalBarChartStyles,\n} from './HorizontalBarChart.types';\n\nexport const getHorizontalBarChartStyles = (props: IHorizontalBarChartStyleProps): IHorizontalBarChartStyles => {\n const { className, theme, width, barHeight, showTriangle, variant, hideLabels } = props;\n const { palette } = theme!;\n\n return {\n root: [\n {\n display: 'flex',\n flexDirection: 'column',\n width: width ? width : '100%',\n },\n className,\n ],\n items: {\n marginBottom: showTriangle || variant === HorizontalBarChartVariant.AbsoluteScale ? '16px' : '10px',\n },\n chart: {\n width: '100%',\n height: barHeight ? barHeight : 12,\n display: 'block',\n overflow: 'visible',\n },\n barWrapper: {\n stroke: theme.palette.white,\n strokeWidth: 2,\n },\n chartTitle: {\n ...theme.fonts.small,\n display: 'flex',\n justifyContent: 'space-between',\n },\n chartTitleLeft: {\n textOverflow: 'ellipsis',\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n display: 'block',\n color: theme.palette.neutralPrimary,\n marginBottom: variant === HorizontalBarChartVariant.AbsoluteScale ? '4px' : '5px',\n },\n chartTitleRight: {\n fontSize: FontSizes.medium,\n fontWeight: FontWeights.semibold,\n color: theme.palette.neutralPrimary,\n },\n chartDataTextDenominator: {\n fontSize: FontSizes.medium,\n color: theme.palette.neutralPrimary,\n },\n benchmarkContainer: {\n position: 'relative',\n height: '7px',\n marginTop: '-3px',\n marginBottom: '-1px',\n },\n triangle: {\n width: '0',\n height: '0',\n borderLeft: '4px solid transparent',\n borderRight: '4px solid transparent',\n borderTop: '7px solid',\n borderTopColor: palette.blue,\n marginBottom: '4px',\n position: 'absolute',\n },\n barLabel: {\n ...theme.fonts.small,\n fontWeight: FontWeights.semibold,\n fill: theme.palette.neutralPrimary,\n },\n chartWrapper: {\n paddingRight: variant === HorizontalBarChartVariant.AbsoluteScale && !hideLabels ? 40 : 0,\n },\n };\n};\n"]}
@@ -1,172 +0,0 @@
1
- import { IChartProps, IChartDataPoint } from './index';
2
- import { IStyle, ITheme } from '@fluentui/react/lib/Styling';
3
- import { ICalloutProps } from '@fluentui/react/lib/Callout';
4
- import { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
5
- export interface IHorizontalBarChartProps {
6
- /**
7
- * An array of chart data points for the Horizontal bar chart
8
- */
9
- data?: IChartProps[];
10
- /**
11
- * Width of bar chart
12
- */
13
- width?: number;
14
- /**
15
- * Height of bar chart
16
- * @default 15
17
- */
18
- barHeight?: number;
19
- /**
20
- * Additional CSS class(es) to apply to the StackedBarChart.
21
- */
22
- className?: string;
23
- /**
24
- * Theme (provided through customization.)
25
- */
26
- theme?: ITheme;
27
- /**
28
- * This property tells whether to show ratio on top of stacked bar chart or not.
29
- */
30
- hideRatio?: boolean[];
31
- /**
32
- * Do not show tooltips in chart
33
- *
34
- * @default false
35
- */
36
- hideTooltip?: boolean;
37
- /**
38
- * This property tells how to show data text on top right of bar chart.
39
- * If barChartCustomData props added, then this props will be overrided.
40
- * @default 'default'
41
- */
42
- chartDataMode?: ChartDataMode;
43
- /**
44
- * Call to provide customized styling that will layer on top of the variant rules.
45
- */
46
- styles?: IStyleFunctionOrObject<IHorizontalBarChartStyleProps, IHorizontalBarChartStyles>;
47
- /**
48
- * Define a custom callout renderer for a horizontal bar
49
- */
50
- onRenderCalloutPerHorizontalBar?: IRenderFunction<IChartDataPoint>;
51
- /**
52
- * props for the callout in the chart
53
- */
54
- calloutProps?: Partial<ICalloutProps>;
55
- /**
56
- * Custom text to the chart (right side of the chart)
57
- * IChartProps will be available as props to the method prop.
58
- * If this method not given, default values (IHorizontalDataPoint {x,y})
59
- * will be used to display the data/text based on given chartModeData prop.
60
- */
61
- barChartCustomData?: IRenderFunction<IChartProps>;
62
- /**
63
- * The prop used to define the culture to localized the numbers
64
- */
65
- culture?: string;
66
- /**
67
- * Prop to define the variant of HorizontalBarChart to render
68
- * @default HorizontalBarChartVariant.PartToWhole
69
- */
70
- variant?: HorizontalBarChartVariant;
71
- /**
72
- * Prop to hide the bar labels
73
- * @default false
74
- */
75
- hideLabels?: boolean;
76
- }
77
- export interface IHorizontalBarChartStyleProps {
78
- /**
79
- * Theme (provided through customization.)
80
- */
81
- theme: ITheme;
82
- /**
83
- * Additional CSS class(es) to apply to the StackedBarChart.
84
- */
85
- className?: string;
86
- /**
87
- * Width of the chart.
88
- */
89
- width: number | undefined;
90
- /**
91
- * line color for callout
92
- */
93
- color?: string;
94
- /**
95
- * Height of bar chart
96
- * @default 15
97
- */
98
- barHeight?: number;
99
- /**
100
- * prop to check if benchmark data is provided
101
- */
102
- showTriangle?: boolean;
103
- /**
104
- * Prop to define the variant of HorizontalBarChart to render
105
- */
106
- variant?: HorizontalBarChartVariant;
107
- /**
108
- * Prop to hide the bar labels
109
- */
110
- hideLabels?: boolean;
111
- }
112
- export interface IHorizontalBarChartStyles {
113
- /**
114
- * Styling for the root container
115
- */
116
- root: IStyle;
117
- /**
118
- * Styling for each item in the container
119
- */
120
- items: IStyle;
121
- /**
122
- * Style for the chart.
123
- */
124
- chart: IStyle;
125
- /**
126
- * Style for the chart Title.
127
- */
128
- chartTitle: IStyle;
129
- /**
130
- * Style for the bars.
131
- */
132
- barWrapper: IStyle;
133
- /**
134
- * Style for left side text of the chart title
135
- */
136
- chartTitleLeft: IStyle;
137
- /**
138
- * Style for right side text of the chart title
139
- */
140
- chartTitleRight: IStyle;
141
- /**
142
- * Style for the chart data text denominator.
143
- */
144
- chartDataTextDenominator: IStyle;
145
- /**
146
- * Style for the benchmark container
147
- */
148
- benchmarkContainer: IStyle;
149
- /**
150
- * Style for the benchmark triangle
151
- */
152
- triangle: IStyle;
153
- /**
154
- * Style for the bar labels
155
- */
156
- barLabel: IStyle;
157
- /**
158
- * Style for the div containing the chart
159
- */
160
- chartWrapper: IStyle;
161
- }
162
- /**
163
- * Chart data mode for chart data text
164
- * default: show the datapoint.x value
165
- * fraction: show the fraction of datapoint.x/datapoint.y
166
- * percentage: show the percentage of (datapoint.x/datapoint.y)%
167
- */
168
- export declare type ChartDataMode = 'default' | 'fraction' | 'percentage';
169
- export declare enum HorizontalBarChartVariant {
170
- PartToWhole = "part-to-whole",
171
- AbsoluteScale = "absolute-scale"
172
- }
@@ -1,6 +0,0 @@
1
- export var HorizontalBarChartVariant;
2
- (function (HorizontalBarChartVariant) {
3
- HorizontalBarChartVariant["PartToWhole"] = "part-to-whole";
4
- HorizontalBarChartVariant["AbsoluteScale"] = "absolute-scale";
5
- })(HorizontalBarChartVariant || (HorizontalBarChartVariant = {}));
6
- //# sourceMappingURL=HorizontalBarChart.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HorizontalBarChart.types.js","sourceRoot":"../src/","sources":["components/HorizontalBarChart/HorizontalBarChart.types.ts"],"names":[],"mappings":"AA6MA,MAAM,CAAN,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,0DAA6B,CAAA;IAC7B,6DAAgC,CAAA;AAClC,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,QAGpC","sourcesContent":["import { IChartProps, IChartDataPoint } from './index';\nimport { IStyle, ITheme } from '@fluentui/react/lib/Styling';\nimport { ICalloutProps } from '@fluentui/react/lib/Callout';\nimport { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\n\nexport interface IHorizontalBarChartProps {\n /**\n * An array of chart data points for the Horizontal bar chart\n */\n data?: IChartProps[];\n\n /**\n * Width of bar chart\n */\n width?: number;\n\n /**\n * Height of bar chart\n * @default 15\n */\n barHeight?: number;\n\n /**\n * Additional CSS class(es) to apply to the StackedBarChart.\n */\n className?: string;\n\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n\n /**\n * This property tells whether to show ratio on top of stacked bar chart or not.\n */\n hideRatio?: boolean[];\n\n /**\n * Do not show tooltips in chart\n *\n * @default false\n */\n hideTooltip?: boolean;\n\n /**\n * This property tells how to show data text on top right of bar chart.\n * If barChartCustomData props added, then this props will be overrided.\n * @default 'default'\n */\n chartDataMode?: ChartDataMode;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IHorizontalBarChartStyleProps, IHorizontalBarChartStyles>;\n\n /**\n * Define a custom callout renderer for a horizontal bar\n */\n onRenderCalloutPerHorizontalBar?: IRenderFunction<IChartDataPoint>;\n\n /**\n * props for the callout in the chart\n */\n calloutProps?: Partial<ICalloutProps>;\n\n /**\n * Custom text to the chart (right side of the chart)\n * IChartProps will be available as props to the method prop.\n * If this method not given, default values (IHorizontalDataPoint {x,y})\n * will be used to display the data/text based on given chartModeData prop.\n */\n barChartCustomData?: IRenderFunction<IChartProps>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n\n /**\n * Prop to define the variant of HorizontalBarChart to render\n * @default HorizontalBarChartVariant.PartToWhole\n */\n variant?: HorizontalBarChartVariant;\n\n /**\n * Prop to hide the bar labels\n * @default false\n */\n hideLabels?: boolean;\n}\n\nexport interface IHorizontalBarChartStyleProps {\n /**\n * Theme (provided through customization.)\n */\n theme: ITheme;\n\n /**\n * Additional CSS class(es) to apply to the StackedBarChart.\n */\n className?: string;\n\n /**\n * Width of the chart.\n */\n width: number | undefined;\n\n /**\n * line color for callout\n */\n color?: string;\n\n /**\n * Height of bar chart\n * @default 15\n */\n barHeight?: number;\n\n /**\n * prop to check if benchmark data is provided\n */\n showTriangle?: boolean;\n\n /**\n * Prop to define the variant of HorizontalBarChart to render\n */\n variant?: HorizontalBarChartVariant;\n\n /**\n * Prop to hide the bar labels\n */\n hideLabels?: boolean;\n}\n\nexport interface IHorizontalBarChartStyles {\n /**\n * Styling for the root container\n */\n root: IStyle;\n\n /**\n * Styling for each item in the container\n */\n items: IStyle;\n\n /**\n * Style for the chart.\n */\n chart: IStyle;\n\n /**\n * Style for the chart Title.\n */\n chartTitle: IStyle;\n\n /**\n * Style for the bars.\n */\n barWrapper: IStyle;\n\n /**\n * Style for left side text of the chart title\n */\n chartTitleLeft: IStyle;\n\n /**\n * Style for right side text of the chart title\n */\n chartTitleRight: IStyle;\n\n /**\n * Style for the chart data text denominator.\n */\n chartDataTextDenominator: IStyle;\n\n /**\n * Style for the benchmark container\n */\n benchmarkContainer: IStyle;\n\n /**\n * Style for the benchmark triangle\n */\n triangle: IStyle;\n\n /**\n * Style for the bar labels\n */\n barLabel: IStyle;\n\n /**\n * Style for the div containing the chart\n */\n chartWrapper: IStyle;\n}\n\n/**\n * Chart data mode for chart data text\n * default: show the datapoint.x value\n * fraction: show the fraction of datapoint.x/datapoint.y\n * percentage: show the percentage of (datapoint.x/datapoint.y)%\n */\nexport type ChartDataMode = 'default' | 'fraction' | 'percentage';\n\nexport enum HorizontalBarChartVariant {\n PartToWhole = 'part-to-whole',\n AbsoluteScale = 'absolute-scale',\n}\n"]}
@@ -1,3 +0,0 @@
1
- export * from './HorizontalBarChart';
2
- export * from './HorizontalBarChart.types';
3
- export * from '../../types/index';
@@ -1,4 +0,0 @@
1
- export * from './HorizontalBarChart';
2
- export * from './HorizontalBarChart.types';
3
- export * from '../../types/index';
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/HorizontalBarChart/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './HorizontalBarChart';\nexport * from './HorizontalBarChart.types';\nexport * from '../../types/index';\n"]}
@@ -1,44 +0,0 @@
1
- import * as React from 'react';
2
- import { ILegendsProps } from './Legends.types';
3
- export interface ILegendState {
4
- selectedLegend: string;
5
- activeLegend: string;
6
- isHoverCardVisible: boolean;
7
- /** Set of legends selected when multiple selection is allowed */
8
- selectedLegends: {
9
- [key: string]: boolean;
10
- };
11
- }
12
- export declare class LegendsBase extends React.Component<ILegendsProps, ILegendState> {
13
- private _hoverCardRef;
14
- private _classNames;
15
- /** Boolean variable to check if one or more legends are selected */
16
- private _isLegendSelected;
17
- constructor(props: ILegendsProps);
18
- render(): JSX.Element;
19
- private _generateData;
20
- private _onRenderData;
21
- private _onReduceData;
22
- private _onGrowData;
23
- /**
24
- * This function will get called when there is an ability to
25
- * select multiple legends
26
- * @param legend ILegend
27
- */
28
- private _canSelectMultipleLegends;
29
- /**
30
- * This function will get called when there is
31
- * ability to select only single legend
32
- * @param legend ILegend
33
- */
34
- private _canSelectOnlySingleLegend;
35
- private _onClick;
36
- private _onRenderCompactCard;
37
- private _renderOverflowItems;
38
- private _hoverCardVisible;
39
- private _onHoverOverLegend;
40
- private _onLeave;
41
- private _renderButton;
42
- private _getShape;
43
- private _getColor;
44
- }
@@ -1,293 +0,0 @@
1
- import { __assign, __extends, __spreadArray } from "tslib";
2
- import * as React from 'react';
3
- import { HoverCard, HoverCardType } from '@fluentui/react/lib/HoverCard';
4
- import { classNamesFunction, find, getNativeProps, buttonProperties } from '@fluentui/react/lib/Utilities';
5
- import { ResizeGroup } from '@fluentui/react/lib/ResizeGroup';
6
- import { OverflowSet } from '@fluentui/react/lib/OverflowSet';
7
- import { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';
8
- import { Shape } from './shape';
9
- var getClassNames = classNamesFunction();
10
- var LegendsBase = /** @class */ (function (_super) {
11
- __extends(LegendsBase, _super);
12
- function LegendsBase(props) {
13
- var _this = _super.call(this, props) || this;
14
- /** Boolean variable to check if one or more legends are selected */
15
- _this._isLegendSelected = false;
16
- _this._onRenderData = function (data) {
17
- var _a = _this.props, overflowProps = _a.overflowProps, _b = _a.allowFocusOnLegends, allowFocusOnLegends = _b === void 0 ? true : _b, _c = _a.canSelectMultipleLegends, canSelectMultipleLegends = _c === void 0 ? false : _c;
18
- var rootStyles = {
19
- root: {
20
- justifyContent: _this.props.centerLegends ? 'center' : 'unset',
21
- flexWrap: 'wrap',
22
- },
23
- };
24
- return (React.createElement(FocusZone, __assign({}, (allowFocusOnLegends && {
25
- role: 'listbox',
26
- 'aria-label': 'Legends',
27
- 'aria-multiselectable': canSelectMultipleLegends,
28
- })),
29
- React.createElement(OverflowSet, __assign({ items: data.primary, overflowItems: data.overflow, onRenderItem: _this._renderButton, onRenderOverflowButton: _this._renderOverflowItems }, overflowProps, { styles: __assign(__assign({}, rootStyles), overflowProps === null || overflowProps === void 0 ? void 0 : overflowProps.styles) }))));
30
- };
31
- _this._onReduceData = function (currentdata) {
32
- if (currentdata.primary.length === 0) {
33
- return;
34
- }
35
- var overflow = __spreadArray(__spreadArray([], currentdata.primary.slice(-1)), currentdata.overflow);
36
- var primary = currentdata.primary.slice(0, -1);
37
- return { primary: primary, overflow: overflow };
38
- };
39
- _this._onGrowData = function (currentdata) {
40
- if (currentdata.overflow.length === 0) {
41
- return;
42
- }
43
- var overflow = currentdata.overflow.slice(1);
44
- var primary = __spreadArray(__spreadArray([], currentdata.primary), currentdata.overflow.slice(0, 1));
45
- return { primary: primary, overflow: overflow };
46
- };
47
- /**
48
- * This function will get called when there is an ability to
49
- * select multiple legends
50
- * @param legend ILegend
51
- */
52
- _this._canSelectMultipleLegends = function (legend) {
53
- var selectedLegends = __assign({}, _this.state.selectedLegends);
54
- if (selectedLegends[legend.title]) {
55
- // Delete entry for the deselected legend to make
56
- // the number of keys equal to the number of selected legends
57
- delete selectedLegends[legend.title];
58
- }
59
- else {
60
- selectedLegends[legend.title] = true;
61
- // Clear set if all legends are selected
62
- if (Object.keys(selectedLegends).length === _this.props.legends.length) {
63
- selectedLegends = {};
64
- }
65
- }
66
- _this.setState({ selectedLegends: selectedLegends });
67
- };
68
- /**
69
- * This function will get called when there is
70
- * ability to select only single legend
71
- * @param legend ILegend
72
- */
73
- _this._canSelectOnlySingleLegend = function (legend) {
74
- if (_this.state.selectedLegend === legend.title) {
75
- _this.setState({ selectedLegend: '' });
76
- }
77
- else {
78
- _this.setState({ selectedLegend: legend.title });
79
- }
80
- };
81
- _this._onClick = function (legend) {
82
- if (legend.action) {
83
- var _a = _this.props.canSelectMultipleLegends, canSelectMultipleLegends = _a === void 0 ? false : _a;
84
- if (canSelectMultipleLegends) {
85
- _this._canSelectMultipleLegends(legend);
86
- }
87
- else {
88
- _this._canSelectOnlySingleLegend(legend);
89
- }
90
- legend.action();
91
- }
92
- };
93
- _this._onRenderCompactCard = function (expandingCard) {
94
- var _a = _this.props, _b = _a.allowFocusOnLegends, allowFocusOnLegends = _b === void 0 ? true : _b, className = _a.className, styles = _a.styles, theme = _a.theme, _c = _a.canSelectMultipleLegends, canSelectMultipleLegends = _c === void 0 ? false : _c;
95
- var overflowHoverCardLegends = [];
96
- var classNames = getClassNames(styles, {
97
- theme: theme,
98
- className: className,
99
- });
100
- expandingCard.renderData.forEach(function (legend, index) {
101
- var hoverCardElement = _this._renderButton(legend, index, true);
102
- overflowHoverCardLegends.push(hoverCardElement);
103
- });
104
- var hoverCardData = (React.createElement(FocusZone, __assign({}, (allowFocusOnLegends && {
105
- role: 'listbox',
106
- 'aria-label': 'Legends',
107
- 'aria-multiselectable': canSelectMultipleLegends,
108
- }), { direction: FocusZoneDirection.vertical }, _this.props.focusZonePropsInHoverCard, { className: classNames.hoverCardRoot }), overflowHoverCardLegends));
109
- return hoverCardData;
110
- };
111
- _this._renderOverflowItems = function (legends) {
112
- var _a = _this.props.allowFocusOnLegends, allowFocusOnLegends = _a === void 0 ? true : _a;
113
- var items = [];
114
- legends.forEach(function (legend, i) {
115
- items.push({ key: i.toString(), name: legend.title, onClick: legend.action });
116
- });
117
- var renderOverflowData = { renderData: legends };
118
- var _b = _this.props, theme = _b.theme, className = _b.className, styles = _b.styles, overflowText = _b.overflowText;
119
- var classNames = getClassNames(styles, {
120
- theme: theme,
121
- className: className,
122
- });
123
- var plainCardProps = {
124
- onRenderPlainCard: _this._onRenderCompactCard,
125
- renderData: renderOverflowData,
126
- };
127
- var overflowString = overflowText ? overflowText : 'more';
128
- // execute similar to "_onClick" and "_onLeave" logic at HoverCard onCardHide event
129
- var onHoverCardHideHandler = function () {
130
- _this.setState({ isHoverCardVisible: false });
131
- // Unhighlight the focused legend in the hover card
132
- var activeOverflowItem = find(legends, function (legend) { return legend.title === _this.state.activeLegend; });
133
- if (activeOverflowItem) {
134
- _this.setState({ activeLegend: '' });
135
- if (activeOverflowItem.onMouseOutAction) {
136
- activeOverflowItem.onMouseOutAction();
137
- }
138
- }
139
- };
140
- return (React.createElement(HoverCard, { type: HoverCardType.plain, plainCardProps: plainCardProps, instantOpenOnClick: true,
141
- // eslint-disable-next-line react/jsx-no-bind
142
- onCardHide: onHoverCardHideHandler, setInitialFocus: true, trapFocus: true, onCardVisible: _this._hoverCardVisible, styles: classNames.subComponentStyles.hoverCardStyles, cardDismissDelay: 300, target: _this._hoverCardRef },
143
- React.createElement("div", __assign({ className: classNames.overflowIndicationTextStyle, ref: function (rootElem) { return (_this._hoverCardRef = rootElem); } }, (allowFocusOnLegends && {
144
- role: 'button',
145
- 'aria-expanded': _this.state.isHoverCardVisible,
146
- 'aria-label': items.length + " " + overflowString,
147
- }), { "data-is-focusable": allowFocusOnLegends }),
148
- items.length,
149
- " ",
150
- overflowString)));
151
- };
152
- _this._hoverCardVisible = function () {
153
- _this.setState({ isHoverCardVisible: true });
154
- };
155
- _this._onHoverOverLegend = function (legend) {
156
- if (legend.hoverAction) {
157
- _this.setState({ activeLegend: legend.title });
158
- legend.hoverAction();
159
- }
160
- };
161
- _this._onLeave = function (legend) {
162
- if (legend.onMouseOutAction) {
163
- _this.setState({ activeLegend: '' });
164
- legend.onMouseOutAction();
165
- }
166
- };
167
- _this._renderButton = function (data, index, overflow) {
168
- var _a = _this.props.allowFocusOnLegends, allowFocusOnLegends = _a === void 0 ? true : _a;
169
- var legend = {
170
- title: data.title,
171
- color: data.color,
172
- shape: data.shape,
173
- action: data.action,
174
- hoverAction: data.hoverAction,
175
- onMouseOutAction: data.onMouseOutAction,
176
- stripePattern: data.stripePattern,
177
- isLineLegendInBarChart: data.isLineLegendInBarChart,
178
- opacity: data.opacity,
179
- };
180
- var color = _this._getColor(legend.title, legend.color);
181
- var _b = _this.props, theme = _b.theme, className = _b.className, styles = _b.styles, _c = _b.canSelectMultipleLegends, canSelectMultipleLegends = _c === void 0 ? false : _c;
182
- var classNames = getClassNames(styles, {
183
- theme: theme,
184
- className: className,
185
- colorOnSelectedState: color,
186
- borderColor: legend.color,
187
- overflow: overflow,
188
- stripePattern: legend.stripePattern,
189
- isLineLegendInBarChart: legend.isLineLegendInBarChart,
190
- opacity: legend.opacity,
191
- });
192
- var onClickHandler = function () {
193
- _this._onClick(legend);
194
- };
195
- var onHoverHandler = function () {
196
- _this._onHoverOverLegend(legend);
197
- };
198
- var onMouseOut = function () {
199
- _this._onLeave(legend);
200
- };
201
- var shape = _this._getShape(classNames, legend, color);
202
- return (React.createElement("button", __assign({}, (allowFocusOnLegends && {
203
- 'aria-selected': canSelectMultipleLegends
204
- ? !!_this.state.selectedLegends[legend.title]
205
- : _this.state.selectedLegend === legend.title,
206
- role: 'option',
207
- 'aria-label': "" + legend.title,
208
- 'aria-setsize': data['aria-setsize'],
209
- 'aria-posinset': data['aria-posinset'],
210
- }), (data.nativeButtonProps && __assign({}, data.nativeButtonProps)), { key: index, className: classNames.legend, onClick: onClickHandler, onMouseOver: onHoverHandler, onMouseOut: onMouseOut, onFocus: onHoverHandler, onBlur: onMouseOut, "data-is-focusable": allowFocusOnLegends }),
211
- shape,
212
- React.createElement("div", { className: classNames.text }, legend.title)));
213
- };
214
- _this.state = {
215
- selectedLegend: '',
216
- activeLegend: '',
217
- isHoverCardVisible: false,
218
- selectedLegends: {},
219
- };
220
- return _this;
221
- }
222
- LegendsBase.prototype.render = function () {
223
- var _a = this.props, theme = _a.theme, className = _a.className, styles = _a.styles;
224
- this._classNames = getClassNames(styles, {
225
- theme: theme,
226
- className: className,
227
- });
228
- this._isLegendSelected = this.state.selectedLegend !== '' || Object.keys(this.state.selectedLegends).length > 0;
229
- var dataToRender = this._generateData();
230
- return (React.createElement("div", { className: this._classNames.root }, this.props.enabledWrapLines ? (this._onRenderData(dataToRender)) : (React.createElement(ResizeGroup, { data: dataToRender, onReduceData: this._onReduceData, onRenderData: this._onRenderData, onGrowData: this._onGrowData }))));
231
- };
232
- LegendsBase.prototype._generateData = function () {
233
- var _this = this;
234
- var _a = this.props.allowFocusOnLegends, allowFocusOnLegends = _a === void 0 ? true : _a;
235
- var dataItems = this.props.legends.map(function (legend, index) {
236
- return __assign(__assign({}, (allowFocusOnLegends && {
237
- nativeButtonProps: getNativeProps(legend, buttonProperties, [
238
- 'title',
239
- ]),
240
- 'aria-setsize': _this.props.legends.length,
241
- 'aria-posinset': index + 1,
242
- })), { title: legend.title, action: legend.action, hoverAction: legend.hoverAction, onMouseOutAction: legend.onMouseOutAction, color: legend.color, shape: legend.shape, stripePattern: legend.stripePattern, isLineLegendInBarChart: legend.isLineLegendInBarChart, opacity: legend.opacity, key: index });
243
- });
244
- var result = {
245
- primary: dataItems,
246
- overflow: [],
247
- };
248
- return result;
249
- };
250
- LegendsBase.prototype._getShape = function (classNames, legend, color) {
251
- var svgParentProps = {
252
- className: classNames.shape,
253
- };
254
- var svgChildProps = {
255
- fill: color,
256
- strokeWidth: 2,
257
- stroke: legend.color,
258
- };
259
- return (React.createElement(Shape, { svgProps: svgParentProps, pathProps: svgChildProps, shape: legend.shape, classNameForNonSvg: classNames.rect }));
260
- };
261
- LegendsBase.prototype._getColor = function (title, color) {
262
- var theme = this.props.theme;
263
- var palette = theme.palette;
264
- var legendColor = color;
265
- // if one or more legends are selected
266
- if (this._isLegendSelected) {
267
- // if the given legend (title) is one of the selected legends
268
- if (this.state.selectedLegend === title || this.state.selectedLegends[title]) {
269
- legendColor = color;
270
- }
271
- // if the given legend is unselected
272
- else {
273
- legendColor = palette.white;
274
- }
275
- }
276
- // if no legend is selected
277
- else {
278
- // if the given legend is hovered
279
- // or none of the legends is hovered
280
- if (this.state.activeLegend === title || this.state.activeLegend === '') {
281
- legendColor = color;
282
- }
283
- // if there is a hovered legend but the given legend is not the one
284
- else {
285
- legendColor = palette.white;
286
- }
287
- }
288
- return legendColor;
289
- };
290
- return LegendsBase;
291
- }(React.Component));
292
- export { LegendsBase };
293
- //# sourceMappingURL=Legends.base.js.map