@fluentui/react-charting 5.16.22 → 5.16.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (793) hide show
  1. package/CHANGELOG.json +67 -1
  2. package/CHANGELOG.md +26 -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 +0,0 @@
1
- {"version":3,"file":"Legends.base.js","sourceRoot":"../src/","sources":["components/Legends/Legends.base.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,SAAS,EAAE,aAAa,EAAuB,MAAM,+BAA+B,CAAC;AAC9F,OAAO,EAAE,kBAAkB,EAAE,IAAI,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC3G,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAE9D,OAAO,EAAE,WAAW,EAAyB,MAAM,iCAAiC,CAAC;AACrF,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAStE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,IAAM,aAAa,GAAG,kBAAkB,EAAqC,CAAC;AAwB9E;IAAiC,+BAA4C;IAM3E,qBAAmB,KAAoB;QAAvC,YACE,kBAAM,KAAK,CAAC,SAOb;QAXD,oEAAoE;QAC5D,uBAAiB,GAAG,KAAK,CAAC;QAkE1B,mBAAa,GAAG,UAAC,IAAiD;YAClE,IAAA,KAAkF,KAAI,CAAC,KAAK,EAA1F,aAAa,mBAAA,EAAE,2BAA0B,EAA1B,mBAAmB,mBAAG,IAAI,KAAA,EAAE,gCAAgC,EAAhC,wBAAwB,mBAAG,KAAK,KAAe,CAAC;YACnG,IAAM,UAAU,GAAG;gBACjB,IAAI,EAAE;oBACJ,cAAc,EAAE,KAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO;oBAC7D,QAAQ,EAAE,MAAM;iBACjB;aACF,CAAC;YACF,OAAO,CACL,oBAAC,SAAS,eACJ,CAAC,mBAAmB,IAAI;gBAC1B,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,SAAS;gBACvB,s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C5E,WAAW,GAAG,KAAK,CAAC;aACrB;YACD,oCAAoC;iBAC/B;gBACH,WAAW,GAAG,OAAO,CAAC,KAAK,CAAC;aAC7B;SACF;QACD,2BAA2B;aACtB;YACH,iCAAiC;YACjC,oCAAoC;YACpC,IAAI,IAAI,CAAC,KAAK,CAAC,YAAY,KAAK,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,YAAY,KAAK,EAAE,EAAE;gBACvE,WAAW,GAAG,KAAK,CAAC;aACrB;YACD,mEAAmE;iBAC9D;gBACH,WAAW,GAAG,OAAO,CAAC,KAAK,CAAC;aAC7B;SACF;QACD,OAAO,WAAW,CAAC;IACrB,CAAC;IACH,kBAAC;AAAD,CAAC,AAhYD,CAAiC,KAAK,CAAC,SAAS,GAgY/C","sourcesContent":["import * as React from 'react';\n\nimport { IContextualMenuItem } from '@fluentui/react/lib/ContextualMenu';\nimport { HoverCard, HoverCardType, IExpandingCardProps } from '@fluentui/react/lib/HoverCard';\nimport { classNamesFunction, find, getNativeProps, buttonProperties } from '@fluentui/react/lib/Utilities';\nimport { ResizeGroup } from '@fluentui/react/lib/ResizeGroup';\nimport { IProcessedStyleSet } from '@fluentui/react/lib/Styling';\nimport { OverflowSet, IOverflowSetItemProps } from '@fluentui/react/lib/OverflowSet';\nimport { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';\nimport {\n ILegend,\n ILegendsProps,\n LegendShape,\n ILegendsStyles,\n ILegendStyleProps,\n ILegendOverflowData,\n} from './Legends.types';\nimport { Shape } from './shape';\n\nconst getClassNames = classNamesFunction<ILegendStyleProps, ILegendsStyles>();\n\n// This is an internal interface used for rendering the legends with unique key\ninterface ILegendItem extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n name?: string;\n title: string;\n action: VoidFunction;\n hoverAction: VoidFunction;\n onMouseOutAction: VoidFunction;\n color: string;\n shape?: LegendShape;\n key: number;\n opacity?: number;\n stripePattern?: boolean;\n isLineLegendInBarChart?: boolean;\n}\n\nexport interface ILegendState {\n selectedLegend: string;\n activeLegend: string;\n isHoverCardVisible: boolean;\n /** Set of legends selected when multiple selection is allowed */\n selectedLegends: { [key: string]: boolean };\n}\nexport class LegendsBase extends React.Component<ILegendsProps, ILegendState> {\n private _hoverCardRef: HTMLDivElement;\n private _classNames: IProcessedStyleSet<ILegendsStyles>;\n /** Boolean variable to check if one or more legends are selected */\n private _isLegendSelected = false;\n\n public constructor(props: ILegendsProps) {\n super(props);\n this.state = {\n selectedLegend: '',\n activeLegend: '',\n isHoverCardVisible: false,\n selectedLegends: {},\n };\n }\n\n public render(): JSX.Element {\n const { theme, className, styles } = this.props;\n this._classNames = getClassNames(styles!, {\n theme: theme!,\n className,\n });\n this._isLegendSelected = this.state.selectedLegend !== '' || Object.keys(this.state.selectedLegends).length > 0;\n const dataToRender = this._generateData();\n return (\n <div className={this._classNames.root}>\n {this.props.enabledWrapLines ? (\n this._onRenderData(dataToRender)\n ) : (\n <ResizeGroup\n data={dataToRender}\n onReduceData={this._onReduceData}\n onRenderData={this._onRenderData}\n onGrowData={this._onGrowData}\n />\n )}\n </div>\n );\n }\n\n private _generateData(): ILegendOverflowData {\n const { allowFocusOnLegends = true } = this.props;\n const dataItems: ILegendItem[] = this.props.legends.map((legend: ILegend, index: number) => {\n return {\n ...(allowFocusOnLegends && {\n nativeButtonProps: getNativeProps<React.HTMLAttributes<HTMLButtonElement>>(legend, buttonProperties, [\n 'title',\n ]),\n 'aria-setsize': this.props.legends.length,\n 'aria-posinset': index + 1,\n }),\n title: legend.title,\n action: legend.action!,\n hoverAction: legend.hoverAction!,\n onMouseOutAction: legend.onMouseOutAction!,\n color: legend.color,\n shape: legend.shape,\n stripePattern: legend.stripePattern,\n isLineLegendInBarChart: legend.isLineLegendInBarChart,\n opacity: legend.opacity,\n key: index,\n };\n });\n const result: ILegendOverflowData = {\n primary: dataItems,\n overflow: [],\n };\n return result;\n }\n\n private _onRenderData = (data: IOverflowSetItemProps | ILegendOverflowData): JSX.Element => {\n const { overflowProps, allowFocusOnLegends = true, canSelectMultipleLegends = false } = this.props;\n const rootStyles = {\n root: {\n justifyContent: this.props.centerLegends ? 'center' : 'unset',\n flexWrap: 'wrap',\n },\n };\n return (\n <FocusZone\n {...(allowFocusOnLegends && {\n role: 'listbox',\n 'aria-label': 'Legends',\n 'aria-multiselectable': canSelectMultipleLegends,\n })}\n >\n <OverflowSet\n items={data.primary}\n overflowItems={data.overflow}\n onRenderItem={this._renderButton}\n onRenderOverflowButton={this._renderOverflowItems}\n {...overflowProps}\n styles={{ ...rootStyles, ...overflowProps?.styles }}\n />\n </FocusZone>\n );\n };\n\n private _onReduceData = (currentdata: IOverflowSetItemProps): {} | void => {\n if (currentdata.primary.length === 0) {\n return;\n }\n const overflow = [...currentdata.primary.slice(-1), ...currentdata.overflow];\n const primary = currentdata.primary.slice(0, -1);\n return { primary, overflow };\n };\n\n private _onGrowData = (currentdata: IOverflowSetItemProps): {} | void => {\n if (currentdata.overflow.length === 0) {\n return;\n }\n const overflow = currentdata.overflow.slice(1);\n const primary = [...currentdata.primary, ...currentdata.overflow.slice(0, 1)];\n return { primary, overflow };\n };\n\n /**\n * This function will get called when there is an ability to\n * select multiple legends\n * @param legend ILegend\n */\n private _canSelectMultipleLegends = (legend: ILegend): void => {\n let selectedLegends = { ...this.state.selectedLegends };\n if (selectedLegends[legend.title]) {\n // Delete entry for the deselected legend to make\n // the number of keys equal to the number of selected legends\n delete selectedLegends[legend.title];\n } else {\n selectedLegends[legend.title] = true;\n // Clear set if all legends are selected\n if (Object.keys(selectedLegends).length === this.props.legends.length) {\n selectedLegends = {};\n }\n }\n this.setState({ selectedLegends });\n };\n\n /**\n * This function will get called when there is\n * ability to select only single legend\n * @param legend ILegend\n */\n\n private _canSelectOnlySingleLegend = (legend: ILegend): void => {\n if (this.state.selectedLegend === legend.title) {\n this.setState({ selectedLegend: '' });\n } else {\n this.setState({ selectedLegend: legend.title });\n }\n };\n\n private _onClick = (legend: ILegend): void => {\n if (legend.action) {\n const { canSelectMultipleLegends = false } = this.props;\n if (canSelectMultipleLegends) {\n this._canSelectMultipleLegends(legend);\n } else {\n this._canSelectOnlySingleLegend(legend);\n }\n legend.action();\n }\n };\n\n private _onRenderCompactCard = (expandingCard: IExpandingCardProps): JSX.Element => {\n const { allowFocusOnLegends = true, className, styles, theme, canSelectMultipleLegends = false } = this.props;\n const overflowHoverCardLegends: JSX.Element[] = [];\n const classNames = getClassNames(styles!, {\n theme: theme!,\n className,\n });\n expandingCard.renderData.forEach((legend: IOverflowSetItemProps, index: number) => {\n const hoverCardElement = this._renderButton(legend, index, true);\n overflowHoverCardLegends.push(hoverCardElement);\n });\n const hoverCardData = (\n <FocusZone\n {...(allowFocusOnLegends && {\n role: 'listbox',\n 'aria-label': 'Legends',\n 'aria-multiselectable': canSelectMultipleLegends,\n })}\n direction={FocusZoneDirection.vertical}\n {...this.props.focusZonePropsInHoverCard}\n className={classNames.hoverCardRoot}\n >\n {overflowHoverCardLegends}\n </FocusZone>\n );\n return hoverCardData;\n };\n\n private _renderOverflowItems = (legends: ILegend[]) => {\n const { allowFocusOnLegends = true } = this.props;\n const items: IContextualMenuItem[] = [];\n legends.forEach((legend: ILegend, i: number) => {\n items.push({ key: i.toString(), name: legend.title, onClick: legend.action });\n });\n const renderOverflowData: IExpandingCardProps = { renderData: legends };\n const { theme, className, styles, overflowText } = this.props;\n const classNames = getClassNames(styles!, {\n theme: theme!,\n className,\n });\n const plainCardProps = {\n onRenderPlainCard: this._onRenderCompactCard,\n renderData: renderOverflowData,\n };\n\n const overflowString = overflowText ? overflowText : 'more';\n // execute similar to \"_onClick\" and \"_onLeave\" logic at HoverCard onCardHide event\n const onHoverCardHideHandler = () => {\n this.setState({ isHoverCardVisible: false });\n // Unhighlight the focused legend in the hover card\n const activeOverflowItem = find(legends, (legend: ILegend) => legend.title === this.state.activeLegend);\n if (activeOverflowItem) {\n this.setState({ activeLegend: '' });\n if (activeOverflowItem.onMouseOutAction) {\n activeOverflowItem.onMouseOutAction();\n }\n }\n };\n return (\n <HoverCard\n type={HoverCardType.plain}\n plainCardProps={plainCardProps}\n instantOpenOnClick={true}\n // eslint-disable-next-line react/jsx-no-bind\n onCardHide={onHoverCardHideHandler}\n setInitialFocus={true}\n trapFocus={true}\n onCardVisible={this._hoverCardVisible}\n styles={classNames.subComponentStyles.hoverCardStyles}\n cardDismissDelay={300}\n target={this._hoverCardRef}\n >\n <div\n className={classNames.overflowIndicationTextStyle}\n ref={(rootElem: HTMLDivElement) => (this._hoverCardRef = rootElem)}\n {...(allowFocusOnLegends && {\n role: 'button',\n 'aria-expanded': this.state.isHoverCardVisible,\n 'aria-label': `${items.length} ${overflowString}`,\n })}\n data-is-focusable={allowFocusOnLegends}\n >\n {items.length} {overflowString}\n </div>\n </HoverCard>\n );\n };\n\n private _hoverCardVisible = () => {\n this.setState({ isHoverCardVisible: true });\n };\n\n private _onHoverOverLegend = (legend: ILegend) => {\n if (legend.hoverAction) {\n this.setState({ activeLegend: legend.title });\n legend.hoverAction();\n }\n };\n\n private _onLeave = (legend: ILegend) => {\n if (legend.onMouseOutAction) {\n this.setState({ activeLegend: '' });\n legend.onMouseOutAction();\n }\n };\n\n private _renderButton = (data: IOverflowSetItemProps, index?: number, overflow?: boolean) => {\n const { allowFocusOnLegends = true } = this.props;\n const legend: ILegend = {\n title: data.title,\n color: data.color,\n shape: data.shape,\n action: data.action,\n hoverAction: data.hoverAction,\n onMouseOutAction: data.onMouseOutAction,\n stripePattern: data.stripePattern,\n isLineLegendInBarChart: data.isLineLegendInBarChart,\n opacity: data.opacity,\n };\n const color = this._getColor(legend.title, legend.color);\n const { theme, className, styles, canSelectMultipleLegends = false } = this.props;\n const classNames = getClassNames(styles!, {\n theme: theme!,\n className,\n colorOnSelectedState: color,\n borderColor: legend.color,\n overflow: overflow,\n stripePattern: legend.stripePattern,\n isLineLegendInBarChart: legend.isLineLegendInBarChart,\n opacity: legend.opacity,\n });\n const onClickHandler = () => {\n this._onClick(legend);\n };\n const onHoverHandler = () => {\n this._onHoverOverLegend(legend);\n };\n const onMouseOut = () => {\n this._onLeave(legend);\n };\n const shape = this._getShape(classNames, legend, color);\n return (\n <button\n {...(allowFocusOnLegends && {\n 'aria-selected': canSelectMultipleLegends\n ? !!this.state.selectedLegends[legend.title]\n : this.state.selectedLegend === legend.title,\n role: 'option',\n 'aria-label': `${legend.title}`,\n 'aria-setsize': data['aria-setsize'],\n 'aria-posinset': data['aria-posinset'],\n })}\n {...(data.nativeButtonProps && { ...data.nativeButtonProps })}\n key={index}\n className={classNames.legend}\n onClick={onClickHandler}\n onMouseOver={onHoverHandler}\n onMouseOut={onMouseOut}\n onFocus={onHoverHandler}\n onBlur={onMouseOut}\n data-is-focusable={allowFocusOnLegends}\n /* eslint-enable react/jsx-no-bind */\n >\n {shape}\n <div className={classNames.text}>{legend.title}</div>\n </button>\n );\n };\n\n private _getShape(\n classNames: IProcessedStyleSet<ILegendsStyles>,\n legend: ILegend,\n color: string,\n ): React.ReactNode | string {\n const svgParentProps: React.SVGAttributes<SVGElement> = {\n className: classNames.shape,\n };\n const svgChildProps: React.SVGAttributes<SVGElement> = {\n fill: color,\n strokeWidth: 2,\n stroke: legend.color,\n };\n return (\n <Shape\n svgProps={svgParentProps}\n pathProps={svgChildProps}\n shape={legend.shape as LegendShape}\n classNameForNonSvg={classNames.rect}\n />\n );\n }\n\n private _getColor(title: string, color: string): string {\n const { theme } = this.props;\n const { palette } = theme!;\n let legendColor = color;\n // if one or more legends are selected\n if (this._isLegendSelected) {\n // if the given legend (title) is one of the selected legends\n if (this.state.selectedLegend === title || this.state.selectedLegends[title]) {\n legendColor = color;\n }\n // if the given legend is unselected\n else {\n legendColor = palette.white;\n }\n }\n // if no legend is selected\n else {\n // if the given legend is hovered\n // or none of the legends is hovered\n if (this.state.activeLegend === title || this.state.activeLegend === '') {\n legendColor = color;\n }\n // if there is a hovered legend but the given legend is not the one\n else {\n legendColor = palette.white;\n }\n }\n return legendColor;\n }\n}\n"]}
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { ILegendsProps } from './Legends.types';
3
- export declare const Legends: React.FunctionComponent<ILegendsProps>;
@@ -1,5 +0,0 @@
1
- import { styled } from '@fluentui/react/lib/Utilities';
2
- import { LegendsBase } from './Legends.base';
3
- import { getStyles } from './Legends.styles';
4
- export var Legends = styled(LegendsBase, getStyles);
5
- //# sourceMappingURL=Legends.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Legends.js","sourceRoot":"../src/","sources":["components/Legends/Legends.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,CAAC,IAAM,OAAO,GAA2C,MAAM,CACnE,WAAW,EACX,SAAS,CACV,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { ILegendsProps, ILegendStyleProps, ILegendsStyles } from './Legends.types';\nimport { LegendsBase } from './Legends.base';\nimport { getStyles } from './Legends.styles';\n\nexport const Legends: React.FunctionComponent<ILegendsProps> = styled<ILegendsProps, ILegendStyleProps, ILegendsStyles>(\n LegendsBase,\n getStyles,\n);\n"]}
@@ -1,2 +0,0 @@
1
- import { ILegendsStyles, ILegendStyleProps } from './Legends.types';
2
- export declare const getStyles: (props: ILegendStyleProps) => ILegendsStyles;
@@ -1,103 +0,0 @@
1
- import { __assign } from "tslib";
2
- import { HighContrastSelector, getFocusStyle } from '@fluentui/react/lib/Styling';
3
- export var getStyles = function (props) {
4
- var _a, _b;
5
- var className = props.className, theme = props.theme, _c = props.isLineLegendInBarChart, isLineLegendInBarChart = _c === void 0 ? false : _c;
6
- var _d = theme, palette = _d.palette, fonts = _d.fonts;
7
- var options = {
8
- inset: undefined,
9
- position: undefined,
10
- highContrastStyle: {
11
- outlineColor: theme.semanticColors.focusBorder,
12
- },
13
- borderColor: 'transparent',
14
- outlineColor: undefined,
15
- };
16
- return {
17
- root: [
18
- {
19
- whiteSpace: 'nowrap',
20
- width: '100%',
21
- alignItems: 'center',
22
- margin: '-8px 0 0 -8px',
23
- },
24
- className,
25
- ],
26
- legend: [
27
- getFocusStyle(theme, options),
28
- {
29
- display: 'flex',
30
- alignItems: 'center',
31
- cursor: 'pointer',
32
- border: 'none',
33
- padding: '8px',
34
- background: 'none',
35
- textTransform: 'capitalize',
36
- },
37
- ],
38
- rect: {
39
- selectors: (_a = {},
40
- _a[HighContrastSelector] = {
41
- content: "linear-gradient(to right, " + props.colorOnSelectedState + ", " + props.colorOnSelectedState + ")",
42
- opacity: props.colorOnSelectedState === palette.white ? '0.6' : '',
43
- },
44
- _a),
45
- width: '12px',
46
- height: isLineLegendInBarChart ? '4px' : '12px',
47
- backgroundColor: props.stripePattern ? '' : props.colorOnSelectedState,
48
- marginRight: '8px',
49
- border: '1px solid',
50
- borderColor: props.borderColor ? props.borderColor : theme === null || theme === void 0 ? void 0 : theme.semanticColors.buttonBorder,
51
- content: props.stripePattern
52
- ? // eslint-disable-next-line @fluentui/max-len
53
- "repeating-linear-gradient(135deg, transparent, transparent 3px, " + props.colorOnSelectedState + " 1px, " + props.colorOnSelectedState + " 4px)"
54
- : '',
55
- },
56
- shape: [
57
- {
58
- marginRight: '8px',
59
- },
60
- ],
61
- triangle: {
62
- width: '0',
63
- height: '0',
64
- borderLeft: '6px solid transparent',
65
- borderRight: '6px solid transparent',
66
- borderTop: '10.4px solid',
67
- borderTopColor: props.colorOnSelectedState,
68
- marginRight: '8px',
69
- opacity: props.colorOnSelectedState === palette.white ? '0.6' : props.opacity ? props.opacity : '',
70
- selectors: (_b = {},
71
- _b[HighContrastSelector] = {
72
- border: '0px',
73
- height: '10.4px',
74
- width: '10.4px',
75
- clipPath: 'polygon(50% 100%, 0 0, 100% 0)',
76
- backgroundImage: "linear-gradient(to right, " + props.colorOnSelectedState + ", " + props.colorOnSelectedState + ")",
77
- },
78
- _b),
79
- },
80
- text: __assign(__assign({}, fonts.small), { lineHeight: '16px', color: theme === null || theme === void 0 ? void 0 : theme.semanticColors.bodyText, opacity: props.colorOnSelectedState === palette.white ? '0.67' : '' }),
81
- hoverChange: {
82
- width: '12px',
83
- height: '12px',
84
- backgroundColor: 'white',
85
- marginRight: '8px',
86
- border: '1px solid',
87
- borderColor: props.borderColor ? props.borderColor : palette.black,
88
- },
89
- overflowIndicationTextStyle: [
90
- getFocusStyle(theme, options),
91
- __assign(__assign({ cursor: 'pointer', color: theme === null || theme === void 0 ? void 0 : theme.semanticColors.bodyText }, fonts.small), { lineHeight: '16px', padding: '8px' }),
92
- ],
93
- hoverCardRoot: {
94
- padding: '8px',
95
- },
96
- subComponentStyles: {
97
- hoverCardStyles: {
98
- host: [getFocusStyle(theme, options)],
99
- },
100
- },
101
- };
102
- };
103
- //# sourceMappingURL=Legends.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Legends.styles.js","sourceRoot":"../src/","sources":["components/Legends/Legends.styles.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAkC,MAAM,6BAA6B,CAAC;AAElH,MAAM,CAAC,IAAM,SAAS,GAAG,UAAC,KAAwB;;IACxC,IAAA,SAAS,GAA4C,KAAK,UAAjD,EAAE,KAAK,GAAqC,KAAK,MAA1C,EAAE,KAAmC,KAAK,uBAAV,EAA9B,sBAAsB,mBAAG,KAAK,KAAA,CAAW;IAC7D,IAAA,KAAqB,KAAM,EAAzB,OAAO,aAAA,EAAE,KAAK,WAAW,CAAC;IAClC,IAAM,OAAO,GAA2B;QACtC,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,SAAS;QACnB,iBAAiB,EAAE;YACjB,YAAY,EAAE,KAAM,CAAC,cAAc,CAAC,WAAW;SAChD;QACD,WAAW,EAAE,aAAa;QAC1B,YAAY,EAAE,SAAS;KACxB,CAAC;IACF,OAAO;QACL,IAAI,EAAE;YACJ;gBACE,UAAU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AAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,cAAc,CAAC,QAAQ,IAClC,KAAK,CAAC,KAAK,KACd,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,KAAK;SAEjB;QACD,aAAa,EAAE;YACb,OAAO,EAAE,KAAK;SACf;QACD,kBAAkB,EAAE;YAClB,eAAe,EAAE;gBACf,IAAI,EAAE,CAAC,aAAa,CAAC,KAAM,EAAE,OAAO,CAAC,CAAC;aACvC;SACF;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { ILegendsStyles, ILegendStyleProps } from './Legends.types';\nimport { HighContrastSelector, getFocusStyle, IGetFocusStylesOptions, IStyle } from '@fluentui/react/lib/Styling';\n\nexport const getStyles = (props: ILegendStyleProps): ILegendsStyles => {\n const { className, theme, isLineLegendInBarChart = false } = props;\n const { palette, fonts } = theme!;\n const options: IGetFocusStylesOptions = {\n inset: undefined,\n position: undefined,\n highContrastStyle: {\n outlineColor: theme!.semanticColors.focusBorder,\n },\n borderColor: 'transparent',\n outlineColor: undefined,\n };\n return {\n root: [\n {\n whiteSpace: 'nowrap',\n width: '100%',\n alignItems: 'center',\n margin: '-8px 0 0 -8px',\n },\n className,\n ],\n legend: [\n getFocusStyle(theme!, options),\n {\n display: 'flex',\n alignItems: 'center',\n cursor: 'pointer',\n border: 'none',\n padding: '8px',\n background: 'none',\n textTransform: 'capitalize',\n },\n ],\n rect: {\n selectors: {\n [HighContrastSelector]: {\n content: `linear-gradient(to right, ${props.colorOnSelectedState}, ${props.colorOnSelectedState})`,\n opacity: props.colorOnSelectedState === palette.white ? '0.6' : '',\n },\n },\n width: '12px',\n height: isLineLegendInBarChart ? '4px' : '12px',\n backgroundColor: props.stripePattern ? '' : props.colorOnSelectedState,\n marginRight: '8px',\n border: '1px solid',\n borderColor: props.borderColor ? props.borderColor : theme?.semanticColors.buttonBorder,\n content: props.stripePattern\n ? // eslint-disable-next-line @fluentui/max-len\n `repeating-linear-gradient(135deg, transparent, transparent 3px, ${props.colorOnSelectedState} 1px, ${props.colorOnSelectedState} 4px)`\n : '',\n },\n shape: [\n {\n marginRight: '8px',\n },\n ],\n triangle: {\n width: '0',\n height: '0',\n borderLeft: '6px solid transparent',\n borderRight: '6px solid transparent',\n borderTop: '10.4px solid',\n borderTopColor: props.colorOnSelectedState,\n marginRight: '8px',\n opacity: props.colorOnSelectedState === palette.white ? '0.6' : props.opacity ? props.opacity : '',\n selectors: {\n [HighContrastSelector]: {\n border: '0px',\n height: '10.4px',\n width: '10.4px',\n clipPath: 'polygon(50% 100%, 0 0, 100% 0)',\n backgroundImage: `linear-gradient(to right, ${props.colorOnSelectedState}, ${props.colorOnSelectedState})`,\n } as IStyle,\n },\n },\n text: {\n ...fonts.small,\n lineHeight: '16px',\n color: theme?.semanticColors.bodyText,\n opacity: props.colorOnSelectedState === palette.white ? '0.67' : '',\n },\n hoverChange: {\n width: '12px',\n height: '12px',\n backgroundColor: 'white',\n marginRight: '8px',\n border: '1px solid',\n borderColor: props.borderColor ? props.borderColor : palette.black,\n },\n overflowIndicationTextStyle: [\n getFocusStyle(theme!, options),\n {\n cursor: 'pointer',\n color: theme?.semanticColors.bodyText,\n ...fonts.small,\n lineHeight: '16px',\n padding: '8px',\n },\n ],\n hoverCardRoot: {\n padding: '8px',\n },\n subComponentStyles: {\n hoverCardStyles: {\n host: [getFocusStyle(theme!, options)],\n },\n },\n };\n};\n"]}
@@ -1,169 +0,0 @@
1
- import * as React from 'react';
2
- import { ITheme, IStyle } from '@fluentui/react/lib/Styling';
3
- import { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
4
- import { IHoverCardStyleProps, IHoverCardStyles } from '@fluentui/react/lib/HoverCard';
5
- import { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';
6
- import { IFocusZoneProps } from '@fluentui/react-focus';
7
- import { CustomPoints, Points } from '../../utilities/utilities';
8
- export interface ILegendOverflowData {
9
- primary: ILegend[];
10
- overflow?: ILegend[];
11
- }
12
- export interface ILegendSubComponentStyles {
13
- hoverCardStyles: IStyleFunctionOrObject<IHoverCardStyleProps, IHoverCardStyles>;
14
- }
15
- export interface ILegendsStyles {
16
- /**
17
- * Style set for the root of the legend component
18
- */
19
- root: IStyle;
20
- /**
21
- * Style set for Legend. This is a wrapping class for text of legend and the rectange box that represents a legend
22
- */
23
- legend: IStyle;
24
- /**
25
- * Style set for the rectangle that represents a legend
26
- */
27
- rect: IStyle;
28
- /**
29
- * styles set for the shape that represents a legend
30
- */
31
- shape: IStyle;
32
- /**
33
- * Style set for the triangle that represents a legend
34
- */
35
- triangle: IStyle;
36
- /**
37
- * Style for the legend text
38
- */
39
- text: IStyle;
40
- /**
41
- * Style for the legend text
42
- */
43
- hoverChange: IStyle;
44
- /**
45
- * Style for the text that indicates the no.of legends that are in hovercard due to lack of space
46
- */
47
- overflowIndicationTextStyle: IStyle;
48
- /**
49
- * Style for the overflow container
50
- */
51
- hoverCardRoot: IStyle;
52
- /**
53
- * sub component styles
54
- */
55
- subComponentStyles: ILegendSubComponentStyles;
56
- }
57
- export interface ILegend {
58
- /**
59
- * Defines the title of the legend
60
- */
61
- title: string;
62
- /**
63
- * Defines the function that is executed on clicking this legend
64
- */
65
- action?: VoidFunction;
66
- /**
67
- * Defines the function that is executed upon hovering over the legend
68
- */
69
- hoverAction?: VoidFunction;
70
- /**
71
- * Defines the function that is executed upon moving the mouse away from the legend
72
- */
73
- onMouseOutAction?: (isLegendFocused?: boolean) => void;
74
- /**
75
- * The color for the legend
76
- */
77
- color: string;
78
- /**
79
- * The opacity of the legend color
80
- */
81
- opacity?: number;
82
- /**
83
- * The shape for the legend
84
- */
85
- shape?: LegendShape;
86
- /**
87
- * Indicated whether or not to apply stripe pattern
88
- */
89
- stripePattern?: boolean;
90
- /**
91
- * Indicates if the legend belongs to a line in the Bar Chart
92
- */
93
- isLineLegendInBarChart?: boolean;
94
- nativeButtonProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;
95
- }
96
- export interface ILegendStyleProps {
97
- theme?: ITheme;
98
- className?: string;
99
- colorOnSelectedState?: string;
100
- borderColor?: string;
101
- opacity?: number;
102
- overflow?: boolean;
103
- stripePattern?: boolean;
104
- isLineLegendInBarChart?: boolean;
105
- }
106
- export interface ILegendsProps {
107
- /**
108
- * Prop that takes list of legends
109
- */
110
- legends: ILegend[];
111
- /**
112
- * Additional CSS class(es) to apply to the legneds component.
113
- */
114
- className?: string;
115
- /**
116
- * Theme (provided through customization.)
117
- */
118
- theme?: ITheme;
119
- /**
120
- * Call to provide customized styling that will layer on top of the variant rules.
121
- */
122
- styles?: IStyleFunctionOrObject<ILegendStyleProps, ILegendsStyles>;
123
- /**
124
- * This prop makes the legends component align itself to the center in the container it is sitting in
125
- */
126
- centerLegends?: boolean;
127
- /**
128
- * Enable the legends to wrap lines if there is not enough space to show all legends on a single line
129
- */
130
- enabledWrapLines?: boolean;
131
- /**
132
- * props for the overflow set component
133
- */
134
- overflowProps?: Partial<IOverflowSetProps>;
135
- /**
136
- * focus zone props in hover card
137
- */
138
- focusZonePropsInHoverCard?: IFocusZoneProps;
139
- /**
140
- * text for overflow legends string
141
- */
142
- overflowText?: string;
143
- /**
144
- * Prop that takes the active legend
145
- */
146
- selectedLegend?: string;
147
- /**
148
- * prop that decides if legends are focusable
149
- * @default true
150
- */
151
- allowFocusOnLegends?: boolean;
152
- /**
153
- * prop that decide if we can select multiple legends or single legend at a time
154
- * @default false
155
- */
156
- canSelectMultipleLegends?: boolean;
157
- /**
158
- * Defines the function that is executed upon hiding of hover card
159
- * make sure to send prop when the prop is canSelectMultipleLegends is set to ture
160
- * and empty the selecetd state legends
161
- */
162
- onLegendHoverCardLeave?: VoidFunction;
163
- }
164
- /**
165
- * The shape for the legend
166
- * default: show the rect legend
167
- * triangle: show the triangle legend
168
- */
169
- export declare type LegendShape = 'default' | 'triangle' | keyof typeof Points | keyof typeof CustomPoints;
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Legends.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Legends.types.js","sourceRoot":"../src/","sources":["components/Legends/Legends.types.ts"],"names":[],"mappings":"","sourcesContent":["import * as React from 'react';\nimport { ITheme, IStyle } from '@fluentui/react/lib/Styling';\nimport { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IHoverCardStyleProps, IHoverCardStyles } from '@fluentui/react/lib/HoverCard';\nimport { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';\nimport { IFocusZoneProps } from '@fluentui/react-focus';\nimport { CustomPoints, Points } from '../../utilities/utilities';\n\nexport interface ILegendOverflowData {\n primary: ILegend[];\n\n overflow?: ILegend[];\n}\n\nexport interface ILegendSubComponentStyles {\n hoverCardStyles: IStyleFunctionOrObject<IHoverCardStyleProps, IHoverCardStyles>;\n}\n\nexport interface ILegendsStyles {\n /**\n * Style set for the root of the legend component\n */\n root: IStyle;\n\n /**\n * Style set for Legend. This is a wrapping class for text of legend and the rectange box that represents a legend\n */\n legend: IStyle;\n\n /**\n * Style set for the rectangle that represents a legend\n */\n rect: IStyle;\n\n /**\n * styles set for the shape that represents a legend\n */\n shape: IStyle;\n\n /**\n * Style set for the triangle that represents a legend\n */\n triangle: IStyle;\n\n /**\n * Style for the legend text\n */\n text: IStyle;\n\n /**\n * Style for the legend text\n */\n hoverChange: IStyle;\n\n /**\n * Style for the text that indicates the no.of legends that are in hovercard due to lack of space\n */\n overflowIndicationTextStyle: IStyle;\n\n /**\n * Style for the overflow container\n */\n hoverCardRoot: IStyle;\n\n /**\n * sub component styles\n */\n subComponentStyles: ILegendSubComponentStyles;\n}\n\nexport interface ILegend {\n /**\n * Defines the title of the legend\n */\n title: string;\n\n /**\n * Defines the function that is executed on clicking this legend\n */\n action?: VoidFunction;\n\n /**\n * Defines the function that is executed upon hovering over the legend\n */\n hoverAction?: VoidFunction;\n\n /**\n * Defines the function that is executed upon moving the mouse away from the legend\n */\n onMouseOutAction?: (isLegendFocused?: boolean) => void;\n\n /**\n * The color for the legend\n */\n color: string;\n\n /**\n * The opacity of the legend color\n */\n opacity?: number;\n\n /**\n * The shape for the legend\n */\n shape?: LegendShape;\n\n /**\n * Indicated whether or not to apply stripe pattern\n */\n stripePattern?: boolean;\n\n /**\n * Indicates if the legend belongs to a line in the Bar Chart\n */\n isLineLegendInBarChart?: boolean;\n\n /*\n * native button props for the legend button\n */\n nativeButtonProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;\n}\n\nexport interface ILegendStyleProps {\n theme?: ITheme;\n className?: string;\n colorOnSelectedState?: string;\n borderColor?: string;\n opacity?: number;\n overflow?: boolean;\n stripePattern?: boolean;\n isLineLegendInBarChart?: boolean;\n}\n\nexport interface ILegendsProps {\n /**\n * Prop that takes list of legends\n */\n legends: ILegend[];\n\n /**\n * Additional CSS class(es) to apply to the legneds component.\n */\n className?: string;\n\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<ILegendStyleProps, ILegendsStyles>;\n\n /**\n * This prop makes the legends component align itself to the center in the container it is sitting in\n */\n centerLegends?: boolean;\n\n /**\n * Enable the legends to wrap lines if there is not enough space to show all legends on a single line\n */\n enabledWrapLines?: boolean;\n\n /**\n * props for the overflow set component\n */\n overflowProps?: Partial<IOverflowSetProps>;\n\n /**\n * focus zone props in hover card\n */\n focusZonePropsInHoverCard?: IFocusZoneProps;\n\n /**\n * text for overflow legends string\n */\n overflowText?: string;\n\n /**\n * Prop that takes the active legend\n */\n selectedLegend?: string;\n\n /**\n * prop that decides if legends are focusable\n * @default true\n */\n allowFocusOnLegends?: boolean;\n\n /**\n * prop that decide if we can select multiple legends or single legend at a time\n * @default false\n */\n canSelectMultipleLegends?: boolean;\n\n /**\n * Defines the function that is executed upon hiding of hover card\n * make sure to send prop when the prop is canSelectMultipleLegends is set to ture\n * and empty the selecetd state legends\n */\n onLegendHoverCardLeave?: VoidFunction;\n}\n\n/**\n * The shape for the legend\n * default: show the rect legend\n * triangle: show the triangle legend\n */\nexport type LegendShape = 'default' | 'triangle' | keyof typeof Points | keyof typeof CustomPoints;\n"]}
@@ -1,3 +0,0 @@
1
- export * from './Legends';
2
- export * from './Legends.types';
3
- export * from './shape';
@@ -1,4 +0,0 @@
1
- export * from './Legends';
2
- export * from './Legends.types';
3
- export * from './shape';
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Legends/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC","sourcesContent":["export * from './Legends';\nexport * from './Legends.types';\nexport * from './shape';\n"]}
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- import { LegendShape } from './Legends.types';
3
- export interface IShapeProps {
4
- svgProps: React.SVGAttributes<SVGElement>;
5
- pathProps: React.SVGAttributes<SVGPathElement>;
6
- shape: LegendShape;
7
- classNameForNonSvg?: string;
8
- }
9
- export declare const Shape: React.FC<IShapeProps>;
@@ -1,24 +0,0 @@
1
- var _a;
2
- import { __assign } from "tslib";
3
- import * as React from 'react';
4
- import { CustomPoints, Points } from '../../utilities/utilities';
5
- var pointPath = (_a = {},
6
- _a["" + Points[Points.circle]] = 'M1 6 A5 5 0 1 0 12 6 M1 6 A5 5 0 0 1 12 6',
7
- _a["" + Points[Points.square]] = 'M1 1 L12 1 L12 12 L1 12 L1 1 Z',
8
- _a["" + Points[Points.triangle]] = 'M6 10L8.74228e-07 -1.04907e-06L12 0L6 10Z',
9
- _a["" + Points[Points.pyramid]] = 'M6 10L8.74228e-07 -1.04907e-06L12 0L6 10Z',
10
- _a["" + Points[Points.diamond]] = 'M2 2 L10 2 L10 10 L2 10 L2 2 Z',
11
- _a["" + Points[Points.hexagon]] = 'M9 0H3L0 5L3 10H9L12 5L9 0Z',
12
- _a["" + Points[Points.pentagon]] = 'M6.06061 0L0 4.21277L2.30303 11H9.69697L12 4.21277L6.06061 0Z',
13
- _a["" + Points[Points.octagon]] = 'M7.08333 0H2.91667L0 2.91667V7.08333L2.91667 10H7.08333L10 7.08333V2.91667L7.08333 0Z',
14
- _a["" + CustomPoints[CustomPoints.dottedLine]] = 'M0 6 H3 M5 6 H8 M10 6 H13',
15
- _a);
16
- export var Shape = function (_a) {
17
- var svgProps = _a.svgProps, pathProps = _a.pathProps, shape = _a.shape, classNameForNonSvg = _a.classNameForNonSvg;
18
- if (Object.keys(pointPath).indexOf(shape) === -1) {
19
- return React.createElement("div", { className: classNameForNonSvg });
20
- }
21
- return (React.createElement("svg", __assign({ width: 14, height: 14, viewBox: '-1 -1 14 14' }, svgProps, { transform: "rotate(" + (shape === Points[Points.diamond] ? 45 : shape === Points[Points.pyramid] ? 180 : 0) + ", 0, 0)" }),
22
- React.createElement("path", __assign({ d: pointPath[shape] }, pathProps))));
23
- };
24
- //# sourceMappingURL=shape.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shape.js","sourceRoot":"../src/","sources":["components/Legends/shape.tsx"],"names":[],"mappings":";;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAajE,IAAM,SAAS;IACb,GAAC,KAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAG,IAAG,6CAA6C;IAC3E,GAAC,KAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAG,IAAG,iCAAiC;IAC/D,GAAC,KAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAG,IAAG,2CAA2C;IAC3E,GAAC,KAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAG,IAAG,2CAA2C;IAC1E,GAAC,KAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAG,IAAG,iCAAiC;IAChE,GAAC,KAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAG,IAAG,6BAA6B;IAC5D,GAAC,KAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAG,IAAG,+DAA+D;IAC/F,GAAC,KAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAG,IAC1B,uFAAuF;IACzF,GAAC,KAAG,YAAY,CAAC,YAAY,CAAC,UAAU,CAAG,IAAG,2BAA2B;OAC1E,CAAC;AAEF,MAAM,CAAC,IAAM,KAAK,GAA0B,UAAC,EAAkD;QAAhD,QAAQ,cAAA,EAAE,SAAS,eAAA,EAAE,KAAK,WAAA,EAAE,kBAAkB,wBAAA;IAC3F,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE;QAChD,OAAO,6BAAK,SAAS,EAAE,kBAAkB,GAAI,CAAC;KAC/C;IACD,OAAO,CACL,sCACE,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,OAAO,EAAE,aAAa,IAClB,QAAQ,IACZ,SAAS,EAAE,aAAU,KAAK,KAAK,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,KAAK,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,aAAS;QAEhH,uCAAM,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC,IAAM,SAAS,EAAI,CACxC,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { LegendShape } from './Legends.types';\nimport { CustomPoints, Points } from '../../utilities/utilities';\n\nexport interface IShapeProps {\n svgProps: React.SVGAttributes<SVGElement>;\n pathProps: React.SVGAttributes<SVGPathElement>;\n shape: LegendShape;\n classNameForNonSvg?: string;\n}\n\ntype PointPathType = {\n [key: string]: string;\n};\n\nconst pointPath: PointPathType = {\n [`${Points[Points.circle]}`]: 'M1 6 A5 5 0 1 0 12 6 M1 6 A5 5 0 0 1 12 6',\n [`${Points[Points.square]}`]: 'M1 1 L12 1 L12 12 L1 12 L1 1 Z',\n [`${Points[Points.triangle]}`]: 'M6 10L8.74228e-07 -1.04907e-06L12 0L6 10Z',\n [`${Points[Points.pyramid]}`]: 'M6 10L8.74228e-07 -1.04907e-06L12 0L6 10Z',\n [`${Points[Points.diamond]}`]: 'M2 2 L10 2 L10 10 L2 10 L2 2 Z',\n [`${Points[Points.hexagon]}`]: 'M9 0H3L0 5L3 10H9L12 5L9 0Z',\n [`${Points[Points.pentagon]}`]: 'M6.06061 0L0 4.21277L2.30303 11H9.69697L12 4.21277L6.06061 0Z',\n [`${Points[Points.octagon]}`]:\n 'M7.08333 0H2.91667L0 2.91667V7.08333L2.91667 10H7.08333L10 7.08333V2.91667L7.08333 0Z',\n [`${CustomPoints[CustomPoints.dottedLine]}`]: 'M0 6 H3 M5 6 H8 M10 6 H13',\n};\n\nexport const Shape: React.FC<IShapeProps> = ({ svgProps, pathProps, shape, classNameForNonSvg }) => {\n if (Object.keys(pointPath).indexOf(shape) === -1) {\n return <div className={classNameForNonSvg} />;\n }\n return (\n <svg\n width={14}\n height={14}\n viewBox={'-1 -1 14 14'}\n {...svgProps}\n transform={`rotate(${shape === Points[Points.diamond] ? 45 : shape === Points[Points.pyramid] ? 180 : 0}, 0, 0)`}\n >\n <path d={pointPath[shape]} {...pathProps} />\n </svg>\n );\n};\n"]}
@@ -1,84 +0,0 @@
1
- import * as React from 'react';
2
- import { IAccessibilityProps, IBasestate, ILineChartProps, ILineChartPoints, ICustomizedCalloutData, IColorFillBarsProps, ILineChartDataPoint } from '../../index';
3
- declare type LineChartDataWithIndex = ILineChartPoints & {
4
- index: number;
5
- };
6
- export interface ILineChartState extends IBasestate {
7
- selectedLegendPoints: LineChartDataWithIndex[];
8
- selectedColorBarLegend: IColorFillBarsProps[];
9
- isSelectedLegend: boolean;
10
- dataPointCalloutProps?: ICustomizedCalloutData;
11
- stackCalloutProps?: ICustomizedCalloutData;
12
- activePoint?: string;
13
- xAxisCalloutAccessibilityData?: IAccessibilityProps;
14
- nearestCircleToHighlight: ILineChartDataPoint | null;
15
- activeLine: number | null;
16
- }
17
- export declare class LineChartBase extends React.Component<ILineChartProps, ILineChartState> {
18
- private _points;
19
- private _calloutPoints;
20
- private _xAxisScale;
21
- private _yAxisScale;
22
- private _circleId;
23
- private _lineId;
24
- private _borderId;
25
- private _verticalLine;
26
- private _colorFillBarPatternId;
27
- private _uniqueCallOutID;
28
- private _refArray;
29
- private margins;
30
- private eventLabelHeight;
31
- private lines;
32
- private _renderedColorFillBars;
33
- private _colorFillBars;
34
- private _tooltipId;
35
- private _rectId;
36
- private _staticHighlightCircle;
37
- constructor(props: ILineChartProps);
38
- componentDidUpdate(prevProps: ILineChartProps): void;
39
- render(): JSX.Element;
40
- private _injectIndexPropertyInLineChartData;
41
- private _getCustomizedCallout;
42
- private _getMargins;
43
- private _initializeLineChartData;
44
- private _handleSingleLegendSelectionAction;
45
- private _onHoverCardHide;
46
- private _createLegends;
47
- private _closeCallout;
48
- private _getBoxWidthOfShape;
49
- private _getPath;
50
- private _getPointFill;
51
- private _createLines;
52
- private _createColorFillBars;
53
- private _getStripePattern;
54
- private _checkInGap;
55
- private _refCallback;
56
- private _onMouseOverLargeDataset;
57
- private _handleFocus;
58
- private _handleHover;
59
- /**
60
- * Screen readers announce an element as clickable if the onClick attribute is set.
61
- * This function sets the attribute only when a click event handler is provided.
62
- */
63
- private _getClickHandler;
64
- private _handleMouseOut;
65
- private _handleChartMouseLeave;
66
- private _handleLegendClick;
67
- private _handleMultipleLineLegendSelectionAction;
68
- private _handleMultipleColorFillBarLegendSelectionAction;
69
- private _clearMultipleLegendSelections;
70
- /**
71
- * This function checks if the given legend is highlighted or not.
72
- * A legend can be highlighted in 2 ways:
73
- * 1. selection: if the user clicks on it
74
- * 2. hovering: if there is no selected legend and the user hovers over it
75
- */
76
- private _legendHighlighted;
77
- /**
78
- * This function checks if none of the legends is selected or hovered.
79
- */
80
- private _noLegendHighlighted;
81
- private _getColorFillBarOpacity;
82
- private _getAriaLabel;
83
- }
84
- export {};