@fluentui/react-charting 5.23.12 → 5.23.14

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 (1338) hide show
  1. package/CHANGELOG.json +43 -1
  2. package/CHANGELOG.md +22 -2
  3. package/package.json +3 -3
  4. package/dist/react-charting.d.ts +0 -4292
  5. package/dist/react-charting.js +0 -1
  6. package/dist/react-charting.min.js +0 -1
  7. package/lib/AreaChart.d.ts +0 -1
  8. package/lib/AreaChart.js +0 -2
  9. package/lib/AreaChart.js.map +0 -1
  10. package/lib/CartesianChart.d.ts +0 -1
  11. package/lib/CartesianChart.js +0 -2
  12. package/lib/CartesianChart.js.map +0 -1
  13. package/lib/DonutChart.d.ts +0 -1
  14. package/lib/DonutChart.js +0 -2
  15. package/lib/DonutChart.js.map +0 -1
  16. package/lib/GaugeChart.d.ts +0 -1
  17. package/lib/GaugeChart.js +0 -2
  18. package/lib/GaugeChart.js.map +0 -1
  19. package/lib/GroupedVerticalBarChart.d.ts +0 -1
  20. package/lib/GroupedVerticalBarChart.js +0 -2
  21. package/lib/GroupedVerticalBarChart.js.map +0 -1
  22. package/lib/HeatMapChart.d.ts +0 -1
  23. package/lib/HeatMapChart.js +0 -2
  24. package/lib/HeatMapChart.js.map +0 -1
  25. package/lib/HorizontalBarChart.d.ts +0 -1
  26. package/lib/HorizontalBarChart.js +0 -2
  27. package/lib/HorizontalBarChart.js.map +0 -1
  28. package/lib/HorizontalBarChartWithAxis.d.ts +0 -1
  29. package/lib/HorizontalBarChartWithAxis.js +0 -2
  30. package/lib/HorizontalBarChartWithAxis.js.map +0 -1
  31. package/lib/Legends.d.ts +0 -1
  32. package/lib/Legends.js +0 -2
  33. package/lib/Legends.js.map +0 -1
  34. package/lib/LineChart.d.ts +0 -1
  35. package/lib/LineChart.js +0 -2
  36. package/lib/LineChart.js.map +0 -1
  37. package/lib/PieChart.d.ts +0 -1
  38. package/lib/PieChart.js +0 -2
  39. package/lib/PieChart.js.map +0 -1
  40. package/lib/SankeyChart.d.ts +0 -1
  41. package/lib/SankeyChart.js +0 -2
  42. package/lib/SankeyChart.js.map +0 -1
  43. package/lib/Sparkline.d.ts +0 -1
  44. package/lib/Sparkline.js +0 -2
  45. package/lib/Sparkline.js.map +0 -1
  46. package/lib/StackedBarChart.d.ts +0 -1
  47. package/lib/StackedBarChart.js +0 -2
  48. package/lib/StackedBarChart.js.map +0 -1
  49. package/lib/Styling.d.ts +0 -2
  50. package/lib/Styling.js +0 -8
  51. package/lib/Styling.js.map +0 -1
  52. package/lib/TreeChart.d.ts +0 -1
  53. package/lib/TreeChart.js +0 -2
  54. package/lib/TreeChart.js.map +0 -1
  55. package/lib/Utilities.d.ts +0 -2
  56. package/lib/Utilities.js +0 -20
  57. package/lib/Utilities.js.map +0 -1
  58. package/lib/VerticalBarChart.d.ts +0 -1
  59. package/lib/VerticalBarChart.js +0 -2
  60. package/lib/VerticalBarChart.js.map +0 -1
  61. package/lib/VerticalStackedBarChart.d.ts +0 -1
  62. package/lib/VerticalStackedBarChart.js +0 -2
  63. package/lib/VerticalStackedBarChart.js.map +0 -1
  64. package/lib/components/AreaChart/AreaChart.base.d.ts +0 -103
  65. package/lib/components/AreaChart/AreaChart.base.js +0 -659
  66. package/lib/components/AreaChart/AreaChart.base.js.map +0 -1
  67. package/lib/components/AreaChart/AreaChart.d.ts +0 -7
  68. package/lib/components/AreaChart/AreaChart.js +0 -10
  69. package/lib/components/AreaChart/AreaChart.js.map +0 -1
  70. package/lib/components/AreaChart/AreaChart.styles.d.ts +0 -2
  71. package/lib/components/AreaChart/AreaChart.styles.js +0 -7
  72. package/lib/components/AreaChart/AreaChart.styles.js.map +0 -1
  73. package/lib/components/AreaChart/AreaChart.types.d.ts +0 -59
  74. package/lib/components/AreaChart/AreaChart.types.js +0 -2
  75. package/lib/components/AreaChart/AreaChart.types.js.map +0 -1
  76. package/lib/components/AreaChart/index.d.ts +0 -2
  77. package/lib/components/AreaChart/index.js +0 -3
  78. package/lib/components/AreaChart/index.js.map +0 -1
  79. package/lib/components/CommonComponents/CartesianChart.base.d.ts +0 -62
  80. package/lib/components/CommonComponents/CartesianChart.base.js +0 -598
  81. package/lib/components/CommonComponents/CartesianChart.base.js.map +0 -1
  82. package/lib/components/CommonComponents/CartesianChart.d.ts +0 -7
  83. package/lib/components/CommonComponents/CartesianChart.js +0 -9
  84. package/lib/components/CommonComponents/CartesianChart.js.map +0 -1
  85. package/lib/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  86. package/lib/components/CommonComponents/CartesianChart.styles.js +0 -177
  87. package/lib/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  88. package/lib/components/CommonComponents/CartesianChart.types.d.ts +0 -528
  89. package/lib/components/CommonComponents/CartesianChart.types.js +0 -2
  90. package/lib/components/CommonComponents/CartesianChart.types.js.map +0 -1
  91. package/lib/components/CommonComponents/index.d.ts +0 -2
  92. package/lib/components/CommonComponents/index.js +0 -3
  93. package/lib/components/CommonComponents/index.js.map +0 -1
  94. package/lib/components/DonutChart/Arc/Arc.d.ts +0 -21
  95. package/lib/components/DonutChart/Arc/Arc.js +0 -101
  96. package/lib/components/DonutChart/Arc/Arc.js.map +0 -1
  97. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  98. package/lib/components/DonutChart/Arc/Arc.styles.js +0 -35
  99. package/lib/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  100. package/lib/components/DonutChart/Arc/Arc.types.d.ts +0 -165
  101. package/lib/components/DonutChart/Arc/Arc.types.js +0 -2
  102. package/lib/components/DonutChart/Arc/Arc.types.js.map +0 -1
  103. package/lib/components/DonutChart/Arc/index.d.ts +0 -2
  104. package/lib/components/DonutChart/Arc/index.js +0 -3
  105. package/lib/components/DonutChart/Arc/index.js.map +0 -1
  106. package/lib/components/DonutChart/DonutChart.base.d.ts +0 -54
  107. package/lib/components/DonutChart/DonutChart.base.js +0 -254
  108. package/lib/components/DonutChart/DonutChart.base.js.map +0 -1
  109. package/lib/components/DonutChart/DonutChart.d.ts +0 -7
  110. package/lib/components/DonutChart/DonutChart.js +0 -10
  111. package/lib/components/DonutChart/DonutChart.js.map +0 -1
  112. package/lib/components/DonutChart/DonutChart.styles.d.ts +0 -2
  113. package/lib/components/DonutChart/DonutChart.styles.js +0 -30
  114. package/lib/components/DonutChart/DonutChart.styles.js.map +0 -1
  115. package/lib/components/DonutChart/DonutChart.types.d.ts +0 -85
  116. package/lib/components/DonutChart/DonutChart.types.js +0 -2
  117. package/lib/components/DonutChart/DonutChart.types.js.map +0 -1
  118. package/lib/components/DonutChart/Pie/Pie.d.ts +0 -15
  119. package/lib/components/DonutChart/Pie/Pie.js +0 -75
  120. package/lib/components/DonutChart/Pie/Pie.js.map +0 -1
  121. package/lib/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  122. package/lib/components/DonutChart/Pie/Pie.styles.js +0 -19
  123. package/lib/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  124. package/lib/components/DonutChart/Pie/Pie.types.d.ts +0 -106
  125. package/lib/components/DonutChart/Pie/Pie.types.js +0 -2
  126. package/lib/components/DonutChart/Pie/Pie.types.js.map +0 -1
  127. package/lib/components/DonutChart/Pie/index.d.ts +0 -2
  128. package/lib/components/DonutChart/Pie/index.js +0 -3
  129. package/lib/components/DonutChart/Pie/index.js.map +0 -1
  130. package/lib/components/DonutChart/index.d.ts +0 -3
  131. package/lib/components/DonutChart/index.js +0 -4
  132. package/lib/components/DonutChart/index.js.map +0 -1
  133. package/lib/components/GaugeChart/GaugeChart.base.d.ts +0 -75
  134. package/lib/components/GaugeChart/GaugeChart.base.js +0 -438
  135. package/lib/components/GaugeChart/GaugeChart.base.js.map +0 -1
  136. package/lib/components/GaugeChart/GaugeChart.d.ts +0 -7
  137. package/lib/components/GaugeChart/GaugeChart.js +0 -9
  138. package/lib/components/GaugeChart/GaugeChart.js.map +0 -1
  139. package/lib/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
  140. package/lib/components/GaugeChart/GaugeChart.styles.js +0 -126
  141. package/lib/components/GaugeChart/GaugeChart.styles.js.map +0 -1
  142. package/lib/components/GaugeChart/GaugeChart.types.d.ts +0 -268
  143. package/lib/components/GaugeChart/GaugeChart.types.js +0 -17
  144. package/lib/components/GaugeChart/GaugeChart.types.js.map +0 -1
  145. package/lib/components/GaugeChart/index.d.ts +0 -2
  146. package/lib/components/GaugeChart/index.js +0 -3
  147. package/lib/components/GaugeChart/index.js.map +0 -1
  148. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -72
  149. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -453
  150. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  151. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
  152. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -10
  153. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  154. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  155. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -17
  156. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  157. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -121
  158. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -2
  159. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  160. package/lib/components/GroupedVerticalBarChart/index.d.ts +0 -2
  161. package/lib/components/GroupedVerticalBarChart/index.js +0 -3
  162. package/lib/components/GroupedVerticalBarChart/index.js.map +0 -1
  163. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +0 -152
  164. package/lib/components/HeatMapChart/HeatMapChart.base.js +0 -545
  165. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  166. package/lib/components/HeatMapChart/HeatMapChart.d.ts +0 -7
  167. package/lib/components/HeatMapChart/HeatMapChart.js +0 -9
  168. package/lib/components/HeatMapChart/HeatMapChart.js.map +0 -1
  169. package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  170. package/lib/components/HeatMapChart/HeatMapChart.styles.js +0 -24
  171. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  172. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +0 -122
  173. package/lib/components/HeatMapChart/HeatMapChart.types.js +0 -2
  174. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  175. package/lib/components/HeatMapChart/index.d.ts +0 -2
  176. package/lib/components/HeatMapChart/index.js +0 -3
  177. package/lib/components/HeatMapChart/index.js.map +0 -1
  178. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
  179. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -291
  180. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  181. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
  182. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +0 -10
  183. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  184. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  185. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -66
  186. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  187. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
  188. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -9
  189. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  190. package/lib/components/HorizontalBarChart/index.d.ts +0 -3
  191. package/lib/components/HorizontalBarChart/index.js +0 -4
  192. package/lib/components/HorizontalBarChart/index.js.map +0 -1
  193. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -61
  194. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -550
  195. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
  196. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
  197. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -10
  198. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
  199. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
  200. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -12
  201. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
  202. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
  203. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -2
  204. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
  205. package/lib/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
  206. package/lib/components/HorizontalBarChartWithAxis/index.js +0 -3
  207. package/lib/components/HorizontalBarChartWithAxis/index.js.map +0 -1
  208. package/lib/components/Legends/Legends.base.d.ts +0 -43
  209. package/lib/components/Legends/Legends.base.js +0 -311
  210. package/lib/components/Legends/Legends.base.js.map +0 -1
  211. package/lib/components/Legends/Legends.d.ts +0 -7
  212. package/lib/components/Legends/Legends.js +0 -9
  213. package/lib/components/Legends/Legends.js.map +0 -1
  214. package/lib/components/Legends/Legends.styles.d.ts +0 -2
  215. package/lib/components/Legends/Legends.styles.js +0 -107
  216. package/lib/components/Legends/Legends.styles.js.map +0 -1
  217. package/lib/components/Legends/Legends.types.d.ts +0 -210
  218. package/lib/components/Legends/Legends.types.js +0 -2
  219. package/lib/components/Legends/Legends.types.js.map +0 -1
  220. package/lib/components/Legends/index.d.ts +0 -3
  221. package/lib/components/Legends/index.js +0 -4
  222. package/lib/components/Legends/index.js.map +0 -1
  223. package/lib/components/Legends/shape.d.ts +0 -9
  224. package/lib/components/Legends/shape.js +0 -24
  225. package/lib/components/Legends/shape.js.map +0 -1
  226. package/lib/components/LineChart/LineChart.base.d.ts +0 -92
  227. package/lib/components/LineChart/LineChart.base.js +0 -867
  228. package/lib/components/LineChart/LineChart.base.js.map +0 -1
  229. package/lib/components/LineChart/LineChart.d.ts +0 -7
  230. package/lib/components/LineChart/LineChart.js +0 -10
  231. package/lib/components/LineChart/LineChart.js.map +0 -1
  232. package/lib/components/LineChart/LineChart.styles.d.ts +0 -2
  233. package/lib/components/LineChart/LineChart.styles.js +0 -7
  234. package/lib/components/LineChart/LineChart.styles.js.map +0 -1
  235. package/lib/components/LineChart/LineChart.types.d.ts +0 -98
  236. package/lib/components/LineChart/LineChart.types.js +0 -2
  237. package/lib/components/LineChart/LineChart.types.js.map +0 -1
  238. package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
  239. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +0 -96
  240. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  241. package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
  242. package/lib/components/LineChart/eventAnnotation/LabelLink.js +0 -40
  243. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  244. package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  245. package/lib/components/LineChart/eventAnnotation/Textbox.js +0 -37
  246. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  247. package/lib/components/LineChart/index.d.ts +0 -3
  248. package/lib/components/LineChart/index.js +0 -4
  249. package/lib/components/LineChart/index.js.map +0 -1
  250. package/lib/components/PieChart/Arc/Arc.d.ts +0 -17
  251. package/lib/components/PieChart/Arc/Arc.js +0 -88
  252. package/lib/components/PieChart/Arc/Arc.js.map +0 -1
  253. package/lib/components/PieChart/Arc/Arc.styles.d.ts +0 -3
  254. package/lib/components/PieChart/Arc/Arc.styles.js +0 -11
  255. package/lib/components/PieChart/Arc/Arc.styles.js.map +0 -1
  256. package/lib/components/PieChart/Arc/Arc.types.d.ts +0 -73
  257. package/lib/components/PieChart/Arc/Arc.types.js +0 -2
  258. package/lib/components/PieChart/Arc/Arc.types.js.map +0 -1
  259. package/lib/components/PieChart/Arc/index.d.ts +0 -2
  260. package/lib/components/PieChart/Arc/index.js +0 -3
  261. package/lib/components/PieChart/Arc/index.js.map +0 -1
  262. package/lib/components/PieChart/Pie/Pie.d.ts +0 -10
  263. package/lib/components/PieChart/Pie/Pie.js +0 -45
  264. package/lib/components/PieChart/Pie/Pie.js.map +0 -1
  265. package/lib/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  266. package/lib/components/PieChart/Pie/Pie.styles.js +0 -6
  267. package/lib/components/PieChart/Pie/Pie.styles.js.map +0 -1
  268. package/lib/components/PieChart/Pie/Pie.types.d.ts +0 -47
  269. package/lib/components/PieChart/Pie/Pie.types.js +0 -2
  270. package/lib/components/PieChart/Pie/Pie.types.js.map +0 -1
  271. package/lib/components/PieChart/Pie/index.d.ts +0 -2
  272. package/lib/components/PieChart/Pie/index.js +0 -3
  273. package/lib/components/PieChart/Pie/index.js.map +0 -1
  274. package/lib/components/PieChart/PieChart.base.d.ts +0 -10
  275. package/lib/components/PieChart/PieChart.base.js +0 -45
  276. package/lib/components/PieChart/PieChart.base.js.map +0 -1
  277. package/lib/components/PieChart/PieChart.d.ts +0 -7
  278. package/lib/components/PieChart/PieChart.js +0 -10
  279. package/lib/components/PieChart/PieChart.js.map +0 -1
  280. package/lib/components/PieChart/PieChart.styles.d.ts +0 -2
  281. package/lib/components/PieChart/PieChart.styles.js +0 -29
  282. package/lib/components/PieChart/PieChart.styles.js.map +0 -1
  283. package/lib/components/PieChart/PieChart.types.d.ts +0 -75
  284. package/lib/components/PieChart/PieChart.types.js +0 -2
  285. package/lib/components/PieChart/PieChart.types.js.map +0 -1
  286. package/lib/components/PieChart/index.d.ts +0 -2
  287. package/lib/components/PieChart/index.js +0 -3
  288. package/lib/components/PieChart/index.js.map +0 -1
  289. package/lib/components/SankeyChart/SankeyChart.base.d.ts +0 -90
  290. package/lib/components/SankeyChart/SankeyChart.base.js +0 -932
  291. package/lib/components/SankeyChart/SankeyChart.base.js.map +0 -1
  292. package/lib/components/SankeyChart/SankeyChart.d.ts +0 -7
  293. package/lib/components/SankeyChart/SankeyChart.js +0 -10
  294. package/lib/components/SankeyChart/SankeyChart.js.map +0 -1
  295. package/lib/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  296. package/lib/components/SankeyChart/SankeyChart.styles.js +0 -61
  297. package/lib/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  298. package/lib/components/SankeyChart/SankeyChart.types.d.ts +0 -146
  299. package/lib/components/SankeyChart/SankeyChart.types.js +0 -2
  300. package/lib/components/SankeyChart/SankeyChart.types.js.map +0 -1
  301. package/lib/components/SankeyChart/index.d.ts +0 -2
  302. package/lib/components/SankeyChart/index.js +0 -3
  303. package/lib/components/SankeyChart/index.js.map +0 -1
  304. package/lib/components/Sparkline/Sparkline.base.d.ts +0 -23
  305. package/lib/components/Sparkline/Sparkline.base.js +0 -86
  306. package/lib/components/Sparkline/Sparkline.base.js.map +0 -1
  307. package/lib/components/Sparkline/Sparkline.d.ts +0 -7
  308. package/lib/components/Sparkline/Sparkline.js +0 -10
  309. package/lib/components/Sparkline/Sparkline.js.map +0 -1
  310. package/lib/components/Sparkline/Sparkline.styles.d.ts +0 -2
  311. package/lib/components/Sparkline/Sparkline.styles.js +0 -10
  312. package/lib/components/Sparkline/Sparkline.styles.js.map +0 -1
  313. package/lib/components/Sparkline/Sparkline.types.d.ts +0 -59
  314. package/lib/components/Sparkline/Sparkline.types.js +0 -2
  315. package/lib/components/Sparkline/Sparkline.types.js.map +0 -1
  316. package/lib/components/Sparkline/index.d.ts +0 -2
  317. package/lib/components/Sparkline/index.js +0 -3
  318. package/lib/components/Sparkline/index.js.map +0 -1
  319. package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
  320. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +0 -436
  321. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  322. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
  323. package/lib/components/StackedBarChart/MultiStackedBarChart.js +0 -10
  324. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  325. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  326. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -86
  327. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  328. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
  329. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +0 -9
  330. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  331. package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
  332. package/lib/components/StackedBarChart/StackedBarChart.base.js +0 -364
  333. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  334. package/lib/components/StackedBarChart/StackedBarChart.d.ts +0 -7
  335. package/lib/components/StackedBarChart/StackedBarChart.js +0 -10
  336. package/lib/components/StackedBarChart/StackedBarChart.js.map +0 -1
  337. package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  338. package/lib/components/StackedBarChart/StackedBarChart.styles.js +0 -103
  339. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  340. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
  341. package/lib/components/StackedBarChart/StackedBarChart.types.js +0 -2
  342. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  343. package/lib/components/StackedBarChart/index.d.ts +0 -5
  344. package/lib/components/StackedBarChart/index.js +0 -6
  345. package/lib/components/StackedBarChart/index.js.map +0 -1
  346. package/lib/components/TreeChart/TreeChart.base.d.ts +0 -18
  347. package/lib/components/TreeChart/TreeChart.base.js +0 -322
  348. package/lib/components/TreeChart/TreeChart.base.js.map +0 -1
  349. package/lib/components/TreeChart/TreeChart.d.ts +0 -7
  350. package/lib/components/TreeChart/TreeChart.js +0 -9
  351. package/lib/components/TreeChart/TreeChart.js.map +0 -1
  352. package/lib/components/TreeChart/TreeChart.styles.d.ts +0 -2
  353. package/lib/components/TreeChart/TreeChart.styles.js +0 -29
  354. package/lib/components/TreeChart/TreeChart.styles.js.map +0 -1
  355. package/lib/components/TreeChart/TreeChart.types.d.ts +0 -216
  356. package/lib/components/TreeChart/TreeChart.types.js +0 -29
  357. package/lib/components/TreeChart/TreeChart.types.js.map +0 -1
  358. package/lib/components/TreeChart/index.d.ts +0 -2
  359. package/lib/components/TreeChart/index.js +0 -3
  360. package/lib/components/TreeChart/index.js.map +0 -1
  361. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -84
  362. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +0 -809
  363. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  364. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
  365. package/lib/components/VerticalBarChart/VerticalBarChart.js +0 -10
  366. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  367. package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  368. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +0 -28
  369. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  370. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -155
  371. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +0 -2
  372. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  373. package/lib/components/VerticalBarChart/index.d.ts +0 -2
  374. package/lib/components/VerticalBarChart/index.js +0 -3
  375. package/lib/components/VerticalBarChart/index.js.map +0 -1
  376. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -92
  377. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -782
  378. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  379. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
  380. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -10
  381. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  382. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  383. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -18
  384. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  385. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -182
  386. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -2
  387. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  388. package/lib/components/VerticalStackedBarChart/index.d.ts +0 -2
  389. package/lib/components/VerticalStackedBarChart/index.js +0 -3
  390. package/lib/components/VerticalStackedBarChart/index.js.map +0 -1
  391. package/lib/index.d.ts +0 -40
  392. package/lib/index.js +0 -22
  393. package/lib/index.js.map +0 -1
  394. package/lib/types/IDataPoint.d.ts +0 -712
  395. package/lib/types/IDataPoint.js +0 -2
  396. package/lib/types/IDataPoint.js.map +0 -1
  397. package/lib/types/IEventAnnotation.d.ts +0 -6
  398. package/lib/types/IEventAnnotation.js +0 -2
  399. package/lib/types/IEventAnnotation.js.map +0 -1
  400. package/lib/types/ILegendDataItem.d.ts +0 -10
  401. package/lib/types/ILegendDataItem.js +0 -2
  402. package/lib/types/ILegendDataItem.js.map +0 -1
  403. package/lib/types/index.d.ts +0 -2
  404. package/lib/types/index.js +0 -3
  405. package/lib/types/index.js.map +0 -1
  406. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  407. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -38
  408. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  409. package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  410. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +0 -6
  411. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  412. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  413. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -98
  414. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  415. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  416. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -2
  417. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  418. package/lib/utilities/ChartHoverCard/index.d.ts +0 -3
  419. package/lib/utilities/ChartHoverCard/index.js +0 -4
  420. package/lib/utilities/ChartHoverCard/index.js.map +0 -1
  421. package/lib/utilities/FocusableTooltipText.d.ts +0 -27
  422. package/lib/utilities/FocusableTooltipText.js +0 -54
  423. package/lib/utilities/FocusableTooltipText.js.map +0 -1
  424. package/lib/utilities/SVGTooltipText.d.ts +0 -95
  425. package/lib/utilities/SVGTooltipText.js +0 -174
  426. package/lib/utilities/SVGTooltipText.js.map +0 -1
  427. package/lib/utilities/colors.d.ts +0 -51
  428. package/lib/utilities/colors.js +0 -132
  429. package/lib/utilities/colors.js.map +0 -1
  430. package/lib/utilities/gradients.d.ts +0 -30
  431. package/lib/utilities/gradients.js +0 -173
  432. package/lib/utilities/gradients.js.map +0 -1
  433. package/lib/utilities/index.d.ts +0 -5
  434. package/lib/utilities/index.js +0 -6
  435. package/lib/utilities/index.js.map +0 -1
  436. package/lib/utilities/locale-util.d.ts +0 -3
  437. package/lib/utilities/locale-util.js +0 -18
  438. package/lib/utilities/locale-util.js.map +0 -1
  439. package/lib/utilities/test-data.d.ts +0 -27
  440. package/lib/utilities/test-data.js +0 -210
  441. package/lib/utilities/test-data.js.map +0 -1
  442. package/lib/utilities/utilities.d.ts +0 -411
  443. package/lib/utilities/utilities.js +0 -1052
  444. package/lib/utilities/utilities.js.map +0 -1
  445. package/lib/utilities/vbc-utils.d.ts +0 -2
  446. package/lib/utilities/vbc-utils.js +0 -31
  447. package/lib/utilities/vbc-utils.js.map +0 -1
  448. package/lib/version.d.ts +0 -1
  449. package/lib/version.js +0 -5
  450. package/lib/version.js.map +0 -1
  451. package/lib-amd/AreaChart.d.ts +0 -1
  452. package/lib-amd/AreaChart.js +0 -6
  453. package/lib-amd/AreaChart.js.map +0 -1
  454. package/lib-amd/CartesianChart.d.ts +0 -1
  455. package/lib-amd/CartesianChart.js +0 -6
  456. package/lib-amd/CartesianChart.js.map +0 -1
  457. package/lib-amd/DonutChart.d.ts +0 -1
  458. package/lib-amd/DonutChart.js +0 -6
  459. package/lib-amd/DonutChart.js.map +0 -1
  460. package/lib-amd/GaugeChart.d.ts +0 -1
  461. package/lib-amd/GaugeChart.js +0 -6
  462. package/lib-amd/GaugeChart.js.map +0 -1
  463. package/lib-amd/GroupedVerticalBarChart.d.ts +0 -1
  464. package/lib-amd/GroupedVerticalBarChart.js +0 -6
  465. package/lib-amd/GroupedVerticalBarChart.js.map +0 -1
  466. package/lib-amd/HeatMapChart.d.ts +0 -1
  467. package/lib-amd/HeatMapChart.js +0 -6
  468. package/lib-amd/HeatMapChart.js.map +0 -1
  469. package/lib-amd/HorizontalBarChart.d.ts +0 -1
  470. package/lib-amd/HorizontalBarChart.js +0 -6
  471. package/lib-amd/HorizontalBarChart.js.map +0 -1
  472. package/lib-amd/HorizontalBarChartWithAxis.d.ts +0 -1
  473. package/lib-amd/HorizontalBarChartWithAxis.js +0 -6
  474. package/lib-amd/HorizontalBarChartWithAxis.js.map +0 -1
  475. package/lib-amd/Legends.d.ts +0 -1
  476. package/lib-amd/Legends.js +0 -6
  477. package/lib-amd/Legends.js.map +0 -1
  478. package/lib-amd/LineChart.d.ts +0 -1
  479. package/lib-amd/LineChart.js +0 -6
  480. package/lib-amd/LineChart.js.map +0 -1
  481. package/lib-amd/PieChart.d.ts +0 -1
  482. package/lib-amd/PieChart.js +0 -6
  483. package/lib-amd/PieChart.js.map +0 -1
  484. package/lib-amd/SankeyChart.d.ts +0 -1
  485. package/lib-amd/SankeyChart.js +0 -6
  486. package/lib-amd/SankeyChart.js.map +0 -1
  487. package/lib-amd/Sparkline.d.ts +0 -1
  488. package/lib-amd/Sparkline.js +0 -6
  489. package/lib-amd/Sparkline.js.map +0 -1
  490. package/lib-amd/StackedBarChart.d.ts +0 -1
  491. package/lib-amd/StackedBarChart.js +0 -6
  492. package/lib-amd/StackedBarChart.js.map +0 -1
  493. package/lib-amd/Styling.d.ts +0 -2
  494. package/lib-amd/Styling.js +0 -75
  495. package/lib-amd/Styling.js.map +0 -1
  496. package/lib-amd/TreeChart.d.ts +0 -1
  497. package/lib-amd/TreeChart.js +0 -6
  498. package/lib-amd/TreeChart.js.map +0 -1
  499. package/lib-amd/Utilities.d.ts +0 -2
  500. package/lib-amd/Utilities.js +0 -183
  501. package/lib-amd/Utilities.js.map +0 -1
  502. package/lib-amd/VerticalBarChart.d.ts +0 -1
  503. package/lib-amd/VerticalBarChart.js +0 -6
  504. package/lib-amd/VerticalBarChart.js.map +0 -1
  505. package/lib-amd/VerticalStackedBarChart.d.ts +0 -1
  506. package/lib-amd/VerticalStackedBarChart.js +0 -6
  507. package/lib-amd/VerticalStackedBarChart.js.map +0 -1
  508. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -103
  509. package/lib-amd/components/AreaChart/AreaChart.base.js +0 -652
  510. package/lib-amd/components/AreaChart/AreaChart.base.js.map +0 -1
  511. package/lib-amd/components/AreaChart/AreaChart.d.ts +0 -7
  512. package/lib-amd/components/AreaChart/AreaChart.js +0 -12
  513. package/lib-amd/components/AreaChart/AreaChart.js.map +0 -1
  514. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +0 -2
  515. package/lib-amd/components/AreaChart/AreaChart.styles.js +0 -12
  516. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +0 -1
  517. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +0 -59
  518. package/lib-amd/components/AreaChart/AreaChart.types.js +0 -5
  519. package/lib-amd/components/AreaChart/AreaChart.types.js.map +0 -1
  520. package/lib-amd/components/AreaChart/index.d.ts +0 -2
  521. package/lib-amd/components/AreaChart/index.js +0 -7
  522. package/lib-amd/components/AreaChart/index.js.map +0 -1
  523. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +0 -62
  524. package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -593
  525. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +0 -1
  526. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +0 -7
  527. package/lib-amd/components/CommonComponents/CartesianChart.js +0 -11
  528. package/lib-amd/components/CommonComponents/CartesianChart.js.map +0 -1
  529. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  530. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +0 -180
  531. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  532. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -528
  533. package/lib-amd/components/CommonComponents/CartesianChart.types.js +0 -5
  534. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +0 -1
  535. package/lib-amd/components/CommonComponents/index.d.ts +0 -2
  536. package/lib-amd/components/CommonComponents/index.js +0 -7
  537. package/lib-amd/components/CommonComponents/index.js.map +0 -1
  538. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -21
  539. package/lib-amd/components/DonutChart/Arc/Arc.js +0 -99
  540. package/lib-amd/components/DonutChart/Arc/Arc.js.map +0 -1
  541. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  542. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +0 -40
  543. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  544. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -165
  545. package/lib-amd/components/DonutChart/Arc/Arc.types.js +0 -5
  546. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +0 -1
  547. package/lib-amd/components/DonutChart/Arc/index.d.ts +0 -2
  548. package/lib-amd/components/DonutChart/Arc/index.js +0 -7
  549. package/lib-amd/components/DonutChart/Arc/index.js.map +0 -1
  550. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +0 -54
  551. package/lib-amd/components/DonutChart/DonutChart.base.js +0 -250
  552. package/lib-amd/components/DonutChart/DonutChart.base.js.map +0 -1
  553. package/lib-amd/components/DonutChart/DonutChart.d.ts +0 -7
  554. package/lib-amd/components/DonutChart/DonutChart.js +0 -12
  555. package/lib-amd/components/DonutChart/DonutChart.js.map +0 -1
  556. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +0 -2
  557. package/lib-amd/components/DonutChart/DonutChart.styles.js +0 -36
  558. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
  559. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -85
  560. package/lib-amd/components/DonutChart/DonutChart.types.js +0 -5
  561. package/lib-amd/components/DonutChart/DonutChart.types.js.map +0 -1
  562. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +0 -15
  563. package/lib-amd/components/DonutChart/Pie/Pie.js +0 -73
  564. package/lib-amd/components/DonutChart/Pie/Pie.js.map +0 -1
  565. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  566. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +0 -24
  567. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  568. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -106
  569. package/lib-amd/components/DonutChart/Pie/Pie.types.js +0 -5
  570. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +0 -1
  571. package/lib-amd/components/DonutChart/Pie/index.d.ts +0 -2
  572. package/lib-amd/components/DonutChart/Pie/index.js +0 -7
  573. package/lib-amd/components/DonutChart/Pie/index.js.map +0 -1
  574. package/lib-amd/components/DonutChart/index.d.ts +0 -3
  575. package/lib-amd/components/DonutChart/index.js +0 -8
  576. package/lib-amd/components/DonutChart/index.js.map +0 -1
  577. package/lib-amd/components/GaugeChart/GaugeChart.base.d.ts +0 -75
  578. package/lib-amd/components/GaugeChart/GaugeChart.base.js +0 -434
  579. package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +0 -1
  580. package/lib-amd/components/GaugeChart/GaugeChart.d.ts +0 -7
  581. package/lib-amd/components/GaugeChart/GaugeChart.js +0 -11
  582. package/lib-amd/components/GaugeChart/GaugeChart.js.map +0 -1
  583. package/lib-amd/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
  584. package/lib-amd/components/GaugeChart/GaugeChart.styles.js +0 -130
  585. package/lib-amd/components/GaugeChart/GaugeChart.styles.js.map +0 -1
  586. package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +0 -268
  587. package/lib-amd/components/GaugeChart/GaugeChart.types.js +0 -22
  588. package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +0 -1
  589. package/lib-amd/components/GaugeChart/index.d.ts +0 -2
  590. package/lib-amd/components/GaugeChart/index.js +0 -7
  591. package/lib-amd/components/GaugeChart/index.js.map +0 -1
  592. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -72
  593. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -448
  594. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  595. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
  596. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -12
  597. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  598. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  599. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
  600. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  601. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -121
  602. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -5
  603. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  604. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +0 -2
  605. package/lib-amd/components/GroupedVerticalBarChart/index.js +0 -7
  606. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +0 -1
  607. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +0 -152
  608. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -538
  609. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  610. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +0 -7
  611. package/lib-amd/components/HeatMapChart/HeatMapChart.js +0 -11
  612. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +0 -1
  613. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  614. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +0 -29
  615. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  616. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -122
  617. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +0 -5
  618. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  619. package/lib-amd/components/HeatMapChart/index.d.ts +0 -2
  620. package/lib-amd/components/HeatMapChart/index.js +0 -7
  621. package/lib-amd/components/HeatMapChart/index.js.map +0 -1
  622. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
  623. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -287
  624. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  625. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
  626. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +0 -12
  627. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  628. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  629. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -69
  630. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  631. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
  632. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -14
  633. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  634. package/lib-amd/components/HorizontalBarChart/index.d.ts +0 -3
  635. package/lib-amd/components/HorizontalBarChart/index.js +0 -8
  636. package/lib-amd/components/HorizontalBarChart/index.js.map +0 -1
  637. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -61
  638. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -544
  639. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
  640. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
  641. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -12
  642. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
  643. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
  644. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -17
  645. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
  646. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
  647. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -5
  648. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
  649. package/lib-amd/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
  650. package/lib-amd/components/HorizontalBarChartWithAxis/index.js +0 -7
  651. package/lib-amd/components/HorizontalBarChartWithAxis/index.js.map +0 -1
  652. package/lib-amd/components/Legends/Legends.base.d.ts +0 -43
  653. package/lib-amd/components/Legends/Legends.base.js +0 -308
  654. package/lib-amd/components/Legends/Legends.base.js.map +0 -1
  655. package/lib-amd/components/Legends/Legends.d.ts +0 -7
  656. package/lib-amd/components/Legends/Legends.js +0 -11
  657. package/lib-amd/components/Legends/Legends.js.map +0 -1
  658. package/lib-amd/components/Legends/Legends.styles.d.ts +0 -2
  659. package/lib-amd/components/Legends/Legends.styles.js +0 -111
  660. package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
  661. package/lib-amd/components/Legends/Legends.types.d.ts +0 -210
  662. package/lib-amd/components/Legends/Legends.types.js +0 -5
  663. package/lib-amd/components/Legends/Legends.types.js.map +0 -1
  664. package/lib-amd/components/Legends/index.d.ts +0 -3
  665. package/lib-amd/components/Legends/index.js +0 -8
  666. package/lib-amd/components/Legends/index.js.map +0 -1
  667. package/lib-amd/components/Legends/shape.d.ts +0 -9
  668. package/lib-amd/components/Legends/shape.js +0 -27
  669. package/lib-amd/components/Legends/shape.js.map +0 -1
  670. package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -92
  671. package/lib-amd/components/LineChart/LineChart.base.js +0 -861
  672. package/lib-amd/components/LineChart/LineChart.base.js.map +0 -1
  673. package/lib-amd/components/LineChart/LineChart.d.ts +0 -7
  674. package/lib-amd/components/LineChart/LineChart.js +0 -12
  675. package/lib-amd/components/LineChart/LineChart.js.map +0 -1
  676. package/lib-amd/components/LineChart/LineChart.styles.d.ts +0 -2
  677. package/lib-amd/components/LineChart/LineChart.styles.js +0 -12
  678. package/lib-amd/components/LineChart/LineChart.styles.js.map +0 -1
  679. package/lib-amd/components/LineChart/LineChart.types.d.ts +0 -98
  680. package/lib-amd/components/LineChart/LineChart.types.js +0 -5
  681. package/lib-amd/components/LineChart/LineChart.types.js.map +0 -1
  682. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
  683. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +0 -97
  684. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  685. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
  686. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +0 -42
  687. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  688. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  689. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +0 -40
  690. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  691. package/lib-amd/components/LineChart/index.d.ts +0 -3
  692. package/lib-amd/components/LineChart/index.js +0 -8
  693. package/lib-amd/components/LineChart/index.js.map +0 -1
  694. package/lib-amd/components/PieChart/Arc/Arc.d.ts +0 -17
  695. package/lib-amd/components/PieChart/Arc/Arc.js +0 -85
  696. package/lib-amd/components/PieChart/Arc/Arc.js.map +0 -1
  697. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +0 -3
  698. package/lib-amd/components/PieChart/Arc/Arc.styles.js +0 -16
  699. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +0 -1
  700. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +0 -73
  701. package/lib-amd/components/PieChart/Arc/Arc.types.js +0 -5
  702. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +0 -1
  703. package/lib-amd/components/PieChart/Arc/index.d.ts +0 -2
  704. package/lib-amd/components/PieChart/Arc/index.js +0 -7
  705. package/lib-amd/components/PieChart/Arc/index.js.map +0 -1
  706. package/lib-amd/components/PieChart/Pie/Pie.d.ts +0 -10
  707. package/lib-amd/components/PieChart/Pie/Pie.js +0 -43
  708. package/lib-amd/components/PieChart/Pie/Pie.js.map +0 -1
  709. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  710. package/lib-amd/components/PieChart/Pie/Pie.styles.js +0 -12
  711. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +0 -1
  712. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +0 -47
  713. package/lib-amd/components/PieChart/Pie/Pie.types.js +0 -5
  714. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +0 -1
  715. package/lib-amd/components/PieChart/Pie/index.d.ts +0 -2
  716. package/lib-amd/components/PieChart/Pie/index.js +0 -7
  717. package/lib-amd/components/PieChart/Pie/index.js.map +0 -1
  718. package/lib-amd/components/PieChart/PieChart.base.d.ts +0 -10
  719. package/lib-amd/components/PieChart/PieChart.base.js +0 -46
  720. package/lib-amd/components/PieChart/PieChart.base.js.map +0 -1
  721. package/lib-amd/components/PieChart/PieChart.d.ts +0 -7
  722. package/lib-amd/components/PieChart/PieChart.js +0 -12
  723. package/lib-amd/components/PieChart/PieChart.js.map +0 -1
  724. package/lib-amd/components/PieChart/PieChart.styles.d.ts +0 -2
  725. package/lib-amd/components/PieChart/PieChart.styles.js +0 -34
  726. package/lib-amd/components/PieChart/PieChart.styles.js.map +0 -1
  727. package/lib-amd/components/PieChart/PieChart.types.d.ts +0 -75
  728. package/lib-amd/components/PieChart/PieChart.types.js +0 -5
  729. package/lib-amd/components/PieChart/PieChart.types.js.map +0 -1
  730. package/lib-amd/components/PieChart/index.d.ts +0 -2
  731. package/lib-amd/components/PieChart/index.js +0 -7
  732. package/lib-amd/components/PieChart/index.js.map +0 -1
  733. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +0 -90
  734. package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -930
  735. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +0 -1
  736. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +0 -7
  737. package/lib-amd/components/SankeyChart/SankeyChart.js +0 -12
  738. package/lib-amd/components/SankeyChart/SankeyChart.js.map +0 -1
  739. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  740. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +0 -65
  741. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  742. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -146
  743. package/lib-amd/components/SankeyChart/SankeyChart.types.js +0 -5
  744. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +0 -1
  745. package/lib-amd/components/SankeyChart/index.d.ts +0 -2
  746. package/lib-amd/components/SankeyChart/index.js +0 -7
  747. package/lib-amd/components/SankeyChart/index.js.map +0 -1
  748. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +0 -23
  749. package/lib-amd/components/Sparkline/Sparkline.base.js +0 -84
  750. package/lib-amd/components/Sparkline/Sparkline.base.js.map +0 -1
  751. package/lib-amd/components/Sparkline/Sparkline.d.ts +0 -7
  752. package/lib-amd/components/Sparkline/Sparkline.js +0 -12
  753. package/lib-amd/components/Sparkline/Sparkline.js.map +0 -1
  754. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +0 -2
  755. package/lib-amd/components/Sparkline/Sparkline.styles.js +0 -15
  756. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +0 -1
  757. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +0 -59
  758. package/lib-amd/components/Sparkline/Sparkline.types.js +0 -5
  759. package/lib-amd/components/Sparkline/Sparkline.types.js.map +0 -1
  760. package/lib-amd/components/Sparkline/index.d.ts +0 -2
  761. package/lib-amd/components/Sparkline/index.js +0 -7
  762. package/lib-amd/components/Sparkline/index.js.map +0 -1
  763. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
  764. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -431
  765. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  766. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
  767. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +0 -12
  768. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  769. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  770. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -89
  771. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  772. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
  773. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -14
  774. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  775. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
  776. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -360
  777. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  778. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +0 -7
  779. package/lib-amd/components/StackedBarChart/StackedBarChart.js +0 -12
  780. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +0 -1
  781. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  782. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +0 -107
  783. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  784. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
  785. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +0 -5
  786. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  787. package/lib-amd/components/StackedBarChart/index.d.ts +0 -5
  788. package/lib-amd/components/StackedBarChart/index.js +0 -10
  789. package/lib-amd/components/StackedBarChart/index.js.map +0 -1
  790. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +0 -18
  791. package/lib-amd/components/TreeChart/TreeChart.base.js +0 -320
  792. package/lib-amd/components/TreeChart/TreeChart.base.js.map +0 -1
  793. package/lib-amd/components/TreeChart/TreeChart.d.ts +0 -7
  794. package/lib-amd/components/TreeChart/TreeChart.js +0 -11
  795. package/lib-amd/components/TreeChart/TreeChart.js.map +0 -1
  796. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +0 -2
  797. package/lib-amd/components/TreeChart/TreeChart.styles.js +0 -34
  798. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
  799. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -216
  800. package/lib-amd/components/TreeChart/TreeChart.types.js +0 -34
  801. package/lib-amd/components/TreeChart/TreeChart.types.js.map +0 -1
  802. package/lib-amd/components/TreeChart/index.d.ts +0 -2
  803. package/lib-amd/components/TreeChart/index.js +0 -7
  804. package/lib-amd/components/TreeChart/index.js.map +0 -1
  805. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -84
  806. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -803
  807. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  808. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
  809. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +0 -12
  810. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  811. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  812. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
  813. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  814. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -155
  815. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +0 -5
  816. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  817. package/lib-amd/components/VerticalBarChart/index.d.ts +0 -2
  818. package/lib-amd/components/VerticalBarChart/index.js +0 -7
  819. package/lib-amd/components/VerticalBarChart/index.js.map +0 -1
  820. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -92
  821. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -776
  822. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  823. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
  824. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -12
  825. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  826. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  827. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
  828. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  829. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -182
  830. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -5
  831. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  832. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +0 -2
  833. package/lib-amd/components/VerticalStackedBarChart/index.js +0 -7
  834. package/lib-amd/components/VerticalStackedBarChart/index.js.map +0 -1
  835. package/lib-amd/index.d.ts +0 -40
  836. package/lib-amd/index.js +0 -40
  837. package/lib-amd/index.js.map +0 -1
  838. package/lib-amd/types/IDataPoint.d.ts +0 -712
  839. package/lib-amd/types/IDataPoint.js +0 -5
  840. package/lib-amd/types/IDataPoint.js.map +0 -1
  841. package/lib-amd/types/IEventAnnotation.d.ts +0 -6
  842. package/lib-amd/types/IEventAnnotation.js +0 -5
  843. package/lib-amd/types/IEventAnnotation.js.map +0 -1
  844. package/lib-amd/types/ILegendDataItem.d.ts +0 -10
  845. package/lib-amd/types/ILegendDataItem.js +0 -5
  846. package/lib-amd/types/ILegendDataItem.js.map +0 -1
  847. package/lib-amd/types/index.d.ts +0 -2
  848. package/lib-amd/types/index.js +0 -7
  849. package/lib-amd/types/index.js.map +0 -1
  850. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  851. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -39
  852. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  853. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  854. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +0 -8
  855. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  856. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  857. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -103
  858. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  859. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  860. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -5
  861. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  862. package/lib-amd/utilities/ChartHoverCard/index.d.ts +0 -3
  863. package/lib-amd/utilities/ChartHoverCard/index.js +0 -8
  864. package/lib-amd/utilities/ChartHoverCard/index.js.map +0 -1
  865. package/lib-amd/utilities/FocusableTooltipText.d.ts +0 -27
  866. package/lib-amd/utilities/FocusableTooltipText.js +0 -54
  867. package/lib-amd/utilities/FocusableTooltipText.js.map +0 -1
  868. package/lib-amd/utilities/SVGTooltipText.d.ts +0 -95
  869. package/lib-amd/utilities/SVGTooltipText.js +0 -175
  870. package/lib-amd/utilities/SVGTooltipText.js.map +0 -1
  871. package/lib-amd/utilities/colors.d.ts +0 -51
  872. package/lib-amd/utilities/colors.js +0 -139
  873. package/lib-amd/utilities/colors.js.map +0 -1
  874. package/lib-amd/utilities/gradients.d.ts +0 -30
  875. package/lib-amd/utilities/gradients.js +0 -180
  876. package/lib-amd/utilities/gradients.js.map +0 -1
  877. package/lib-amd/utilities/index.d.ts +0 -5
  878. package/lib-amd/utilities/index.js +0 -10
  879. package/lib-amd/utilities/index.js.map +0 -1
  880. package/lib-amd/utilities/locale-util.d.ts +0 -3
  881. package/lib-amd/utilities/locale-util.js +0 -24
  882. package/lib-amd/utilities/locale-util.js.map +0 -1
  883. package/lib-amd/utilities/test-data.d.ts +0 -27
  884. package/lib-amd/utilities/test-data.js +0 -214
  885. package/lib-amd/utilities/test-data.js.map +0 -1
  886. package/lib-amd/utilities/utilities.d.ts +0 -411
  887. package/lib-amd/utilities/utilities.js +0 -1085
  888. package/lib-amd/utilities/utilities.js.map +0 -1
  889. package/lib-amd/utilities/vbc-utils.d.ts +0 -2
  890. package/lib-amd/utilities/vbc-utils.js +0 -38
  891. package/lib-amd/utilities/vbc-utils.js.map +0 -1
  892. package/lib-amd/version.d.ts +0 -1
  893. package/lib-amd/version.js +0 -6
  894. package/lib-amd/version.js.map +0 -1
  895. package/lib-commonjs/AreaChart.d.ts +0 -1
  896. package/lib-commonjs/AreaChart.js +0 -5
  897. package/lib-commonjs/AreaChart.js.map +0 -1
  898. package/lib-commonjs/CartesianChart.d.ts +0 -1
  899. package/lib-commonjs/CartesianChart.js +0 -5
  900. package/lib-commonjs/CartesianChart.js.map +0 -1
  901. package/lib-commonjs/DonutChart.d.ts +0 -1
  902. package/lib-commonjs/DonutChart.js +0 -5
  903. package/lib-commonjs/DonutChart.js.map +0 -1
  904. package/lib-commonjs/GaugeChart.d.ts +0 -1
  905. package/lib-commonjs/GaugeChart.js +0 -5
  906. package/lib-commonjs/GaugeChart.js.map +0 -1
  907. package/lib-commonjs/GroupedVerticalBarChart.d.ts +0 -1
  908. package/lib-commonjs/GroupedVerticalBarChart.js +0 -5
  909. package/lib-commonjs/GroupedVerticalBarChart.js.map +0 -1
  910. package/lib-commonjs/HeatMapChart.d.ts +0 -1
  911. package/lib-commonjs/HeatMapChart.js +0 -5
  912. package/lib-commonjs/HeatMapChart.js.map +0 -1
  913. package/lib-commonjs/HorizontalBarChart.d.ts +0 -1
  914. package/lib-commonjs/HorizontalBarChart.js +0 -5
  915. package/lib-commonjs/HorizontalBarChart.js.map +0 -1
  916. package/lib-commonjs/HorizontalBarChartWithAxis.d.ts +0 -1
  917. package/lib-commonjs/HorizontalBarChartWithAxis.js +0 -5
  918. package/lib-commonjs/HorizontalBarChartWithAxis.js.map +0 -1
  919. package/lib-commonjs/Legends.d.ts +0 -1
  920. package/lib-commonjs/Legends.js +0 -5
  921. package/lib-commonjs/Legends.js.map +0 -1
  922. package/lib-commonjs/LineChart.d.ts +0 -1
  923. package/lib-commonjs/LineChart.js +0 -5
  924. package/lib-commonjs/LineChart.js.map +0 -1
  925. package/lib-commonjs/PieChart.d.ts +0 -1
  926. package/lib-commonjs/PieChart.js +0 -5
  927. package/lib-commonjs/PieChart.js.map +0 -1
  928. package/lib-commonjs/SankeyChart.d.ts +0 -1
  929. package/lib-commonjs/SankeyChart.js +0 -5
  930. package/lib-commonjs/SankeyChart.js.map +0 -1
  931. package/lib-commonjs/Sparkline.d.ts +0 -1
  932. package/lib-commonjs/Sparkline.js +0 -5
  933. package/lib-commonjs/Sparkline.js.map +0 -1
  934. package/lib-commonjs/StackedBarChart.d.ts +0 -1
  935. package/lib-commonjs/StackedBarChart.js +0 -5
  936. package/lib-commonjs/StackedBarChart.js.map +0 -1
  937. package/lib-commonjs/Styling.d.ts +0 -2
  938. package/lib-commonjs/Styling.js +0 -75
  939. package/lib-commonjs/Styling.js.map +0 -1
  940. package/lib-commonjs/TreeChart.d.ts +0 -1
  941. package/lib-commonjs/TreeChart.js +0 -5
  942. package/lib-commonjs/TreeChart.js.map +0 -1
  943. package/lib-commonjs/Utilities.d.ts +0 -2
  944. package/lib-commonjs/Utilities.js +0 -185
  945. package/lib-commonjs/Utilities.js.map +0 -1
  946. package/lib-commonjs/VerticalBarChart.d.ts +0 -1
  947. package/lib-commonjs/VerticalBarChart.js +0 -5
  948. package/lib-commonjs/VerticalBarChart.js.map +0 -1
  949. package/lib-commonjs/VerticalStackedBarChart.d.ts +0 -1
  950. package/lib-commonjs/VerticalStackedBarChart.js +0 -5
  951. package/lib-commonjs/VerticalStackedBarChart.js.map +0 -1
  952. package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +0 -103
  953. package/lib-commonjs/components/AreaChart/AreaChart.base.js +0 -662
  954. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +0 -1
  955. package/lib-commonjs/components/AreaChart/AreaChart.d.ts +0 -7
  956. package/lib-commonjs/components/AreaChart/AreaChart.js +0 -13
  957. package/lib-commonjs/components/AreaChart/AreaChart.js.map +0 -1
  958. package/lib-commonjs/components/AreaChart/AreaChart.styles.d.ts +0 -2
  959. package/lib-commonjs/components/AreaChart/AreaChart.styles.js +0 -11
  960. package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +0 -1
  961. package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +0 -59
  962. package/lib-commonjs/components/AreaChart/AreaChart.types.js +0 -3
  963. package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +0 -1
  964. package/lib-commonjs/components/AreaChart/index.d.ts +0 -2
  965. package/lib-commonjs/components/AreaChart/index.js +0 -6
  966. package/lib-commonjs/components/AreaChart/index.js.map +0 -1
  967. package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +0 -62
  968. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +0 -601
  969. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +0 -1
  970. package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +0 -7
  971. package/lib-commonjs/components/CommonComponents/CartesianChart.js +0 -12
  972. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +0 -1
  973. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  974. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +0 -181
  975. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  976. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +0 -528
  977. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js +0 -3
  978. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +0 -1
  979. package/lib-commonjs/components/CommonComponents/index.d.ts +0 -2
  980. package/lib-commonjs/components/CommonComponents/index.js +0 -6
  981. package/lib-commonjs/components/CommonComponents/index.js.map +0 -1
  982. package/lib-commonjs/components/DonutChart/Arc/Arc.d.ts +0 -21
  983. package/lib-commonjs/components/DonutChart/Arc/Arc.js +0 -104
  984. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +0 -1
  985. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  986. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js +0 -39
  987. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  988. package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +0 -165
  989. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js +0 -3
  990. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +0 -1
  991. package/lib-commonjs/components/DonutChart/Arc/index.d.ts +0 -2
  992. package/lib-commonjs/components/DonutChart/Arc/index.js +0 -6
  993. package/lib-commonjs/components/DonutChart/Arc/index.js.map +0 -1
  994. package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +0 -54
  995. package/lib-commonjs/components/DonutChart/DonutChart.base.js +0 -257
  996. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +0 -1
  997. package/lib-commonjs/components/DonutChart/DonutChart.d.ts +0 -7
  998. package/lib-commonjs/components/DonutChart/DonutChart.js +0 -13
  999. package/lib-commonjs/components/DonutChart/DonutChart.js.map +0 -1
  1000. package/lib-commonjs/components/DonutChart/DonutChart.styles.d.ts +0 -2
  1001. package/lib-commonjs/components/DonutChart/DonutChart.styles.js +0 -34
  1002. package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +0 -1
  1003. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +0 -85
  1004. package/lib-commonjs/components/DonutChart/DonutChart.types.js +0 -3
  1005. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +0 -1
  1006. package/lib-commonjs/components/DonutChart/Pie/Pie.d.ts +0 -15
  1007. package/lib-commonjs/components/DonutChart/Pie/Pie.js +0 -78
  1008. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +0 -1
  1009. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  1010. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js +0 -23
  1011. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  1012. package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +0 -106
  1013. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js +0 -3
  1014. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +0 -1
  1015. package/lib-commonjs/components/DonutChart/Pie/index.d.ts +0 -2
  1016. package/lib-commonjs/components/DonutChart/Pie/index.js +0 -6
  1017. package/lib-commonjs/components/DonutChart/Pie/index.js.map +0 -1
  1018. package/lib-commonjs/components/DonutChart/index.d.ts +0 -3
  1019. package/lib-commonjs/components/DonutChart/index.js +0 -7
  1020. package/lib-commonjs/components/DonutChart/index.js.map +0 -1
  1021. package/lib-commonjs/components/GaugeChart/GaugeChart.base.d.ts +0 -75
  1022. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +0 -444
  1023. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +0 -1
  1024. package/lib-commonjs/components/GaugeChart/GaugeChart.d.ts +0 -7
  1025. package/lib-commonjs/components/GaugeChart/GaugeChart.js +0 -12
  1026. package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +0 -1
  1027. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
  1028. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js +0 -130
  1029. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js.map +0 -1
  1030. package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +0 -268
  1031. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js +0 -20
  1032. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +0 -1
  1033. package/lib-commonjs/components/GaugeChart/index.d.ts +0 -2
  1034. package/lib-commonjs/components/GaugeChart/index.js +0 -6
  1035. package/lib-commonjs/components/GaugeChart/index.js.map +0 -1
  1036. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -72
  1037. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -456
  1038. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  1039. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
  1040. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -13
  1041. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  1042. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  1043. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
  1044. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  1045. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -121
  1046. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -3
  1047. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  1048. package/lib-commonjs/components/GroupedVerticalBarChart/index.d.ts +0 -2
  1049. package/lib-commonjs/components/GroupedVerticalBarChart/index.js +0 -6
  1050. package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +0 -1
  1051. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +0 -152
  1052. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +0 -548
  1053. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  1054. package/lib-commonjs/components/HeatMapChart/HeatMapChart.d.ts +0 -7
  1055. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +0 -12
  1056. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +0 -1
  1057. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  1058. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js +0 -28
  1059. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  1060. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +0 -122
  1061. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js +0 -3
  1062. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  1063. package/lib-commonjs/components/HeatMapChart/index.d.ts +0 -2
  1064. package/lib-commonjs/components/HeatMapChart/index.js +0 -6
  1065. package/lib-commonjs/components/HeatMapChart/index.js.map +0 -1
  1066. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
  1067. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -294
  1068. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  1069. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
  1070. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +0 -13
  1071. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  1072. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  1073. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -70
  1074. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  1075. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
  1076. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -12
  1077. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  1078. package/lib-commonjs/components/HorizontalBarChart/index.d.ts +0 -3
  1079. package/lib-commonjs/components/HorizontalBarChart/index.js +0 -7
  1080. package/lib-commonjs/components/HorizontalBarChart/index.js.map +0 -1
  1081. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -61
  1082. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -553
  1083. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
  1084. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
  1085. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -13
  1086. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
  1087. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
  1088. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -16
  1089. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
  1090. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
  1091. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -3
  1092. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
  1093. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
  1094. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js +0 -6
  1095. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js.map +0 -1
  1096. package/lib-commonjs/components/Legends/Legends.base.d.ts +0 -43
  1097. package/lib-commonjs/components/Legends/Legends.base.js +0 -314
  1098. package/lib-commonjs/components/Legends/Legends.base.js.map +0 -1
  1099. package/lib-commonjs/components/Legends/Legends.d.ts +0 -7
  1100. package/lib-commonjs/components/Legends/Legends.js +0 -12
  1101. package/lib-commonjs/components/Legends/Legends.js.map +0 -1
  1102. package/lib-commonjs/components/Legends/Legends.styles.d.ts +0 -2
  1103. package/lib-commonjs/components/Legends/Legends.styles.js +0 -111
  1104. package/lib-commonjs/components/Legends/Legends.styles.js.map +0 -1
  1105. package/lib-commonjs/components/Legends/Legends.types.d.ts +0 -210
  1106. package/lib-commonjs/components/Legends/Legends.types.js +0 -3
  1107. package/lib-commonjs/components/Legends/Legends.types.js.map +0 -1
  1108. package/lib-commonjs/components/Legends/index.d.ts +0 -3
  1109. package/lib-commonjs/components/Legends/index.js +0 -7
  1110. package/lib-commonjs/components/Legends/index.js.map +0 -1
  1111. package/lib-commonjs/components/Legends/shape.d.ts +0 -9
  1112. package/lib-commonjs/components/Legends/shape.js +0 -28
  1113. package/lib-commonjs/components/Legends/shape.js.map +0 -1
  1114. package/lib-commonjs/components/LineChart/LineChart.base.d.ts +0 -92
  1115. package/lib-commonjs/components/LineChart/LineChart.base.js +0 -870
  1116. package/lib-commonjs/components/LineChart/LineChart.base.js.map +0 -1
  1117. package/lib-commonjs/components/LineChart/LineChart.d.ts +0 -7
  1118. package/lib-commonjs/components/LineChart/LineChart.js +0 -13
  1119. package/lib-commonjs/components/LineChart/LineChart.js.map +0 -1
  1120. package/lib-commonjs/components/LineChart/LineChart.styles.d.ts +0 -2
  1121. package/lib-commonjs/components/LineChart/LineChart.styles.js +0 -11
  1122. package/lib-commonjs/components/LineChart/LineChart.styles.js.map +0 -1
  1123. package/lib-commonjs/components/LineChart/LineChart.types.d.ts +0 -98
  1124. package/lib-commonjs/components/LineChart/LineChart.types.js +0 -3
  1125. package/lib-commonjs/components/LineChart/LineChart.types.js.map +0 -1
  1126. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
  1127. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +0 -100
  1128. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  1129. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
  1130. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js +0 -44
  1131. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  1132. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  1133. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +0 -41
  1134. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  1135. package/lib-commonjs/components/LineChart/index.d.ts +0 -3
  1136. package/lib-commonjs/components/LineChart/index.js +0 -7
  1137. package/lib-commonjs/components/LineChart/index.js.map +0 -1
  1138. package/lib-commonjs/components/PieChart/Arc/Arc.d.ts +0 -17
  1139. package/lib-commonjs/components/PieChart/Arc/Arc.js +0 -91
  1140. package/lib-commonjs/components/PieChart/Arc/Arc.js.map +0 -1
  1141. package/lib-commonjs/components/PieChart/Arc/Arc.styles.d.ts +0 -3
  1142. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js +0 -15
  1143. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +0 -1
  1144. package/lib-commonjs/components/PieChart/Arc/Arc.types.d.ts +0 -73
  1145. package/lib-commonjs/components/PieChart/Arc/Arc.types.js +0 -3
  1146. package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +0 -1
  1147. package/lib-commonjs/components/PieChart/Arc/index.d.ts +0 -2
  1148. package/lib-commonjs/components/PieChart/Arc/index.js +0 -6
  1149. package/lib-commonjs/components/PieChart/Arc/index.js.map +0 -1
  1150. package/lib-commonjs/components/PieChart/Pie/Pie.d.ts +0 -10
  1151. package/lib-commonjs/components/PieChart/Pie/Pie.js +0 -48
  1152. package/lib-commonjs/components/PieChart/Pie/Pie.js.map +0 -1
  1153. package/lib-commonjs/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  1154. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js +0 -10
  1155. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +0 -1
  1156. package/lib-commonjs/components/PieChart/Pie/Pie.types.d.ts +0 -47
  1157. package/lib-commonjs/components/PieChart/Pie/Pie.types.js +0 -3
  1158. package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +0 -1
  1159. package/lib-commonjs/components/PieChart/Pie/index.d.ts +0 -2
  1160. package/lib-commonjs/components/PieChart/Pie/index.js +0 -6
  1161. package/lib-commonjs/components/PieChart/Pie/index.js.map +0 -1
  1162. package/lib-commonjs/components/PieChart/PieChart.base.d.ts +0 -10
  1163. package/lib-commonjs/components/PieChart/PieChart.base.js +0 -48
  1164. package/lib-commonjs/components/PieChart/PieChart.base.js.map +0 -1
  1165. package/lib-commonjs/components/PieChart/PieChart.d.ts +0 -7
  1166. package/lib-commonjs/components/PieChart/PieChart.js +0 -13
  1167. package/lib-commonjs/components/PieChart/PieChart.js.map +0 -1
  1168. package/lib-commonjs/components/PieChart/PieChart.styles.d.ts +0 -2
  1169. package/lib-commonjs/components/PieChart/PieChart.styles.js +0 -33
  1170. package/lib-commonjs/components/PieChart/PieChart.styles.js.map +0 -1
  1171. package/lib-commonjs/components/PieChart/PieChart.types.d.ts +0 -75
  1172. package/lib-commonjs/components/PieChart/PieChart.types.js +0 -3
  1173. package/lib-commonjs/components/PieChart/PieChart.types.js.map +0 -1
  1174. package/lib-commonjs/components/PieChart/index.d.ts +0 -2
  1175. package/lib-commonjs/components/PieChart/index.js +0 -6
  1176. package/lib-commonjs/components/PieChart/index.js.map +0 -1
  1177. package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +0 -90
  1178. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +0 -938
  1179. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +0 -1
  1180. package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +0 -7
  1181. package/lib-commonjs/components/SankeyChart/SankeyChart.js +0 -13
  1182. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +0 -1
  1183. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  1184. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js +0 -65
  1185. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  1186. package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +0 -146
  1187. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js +0 -3
  1188. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +0 -1
  1189. package/lib-commonjs/components/SankeyChart/index.d.ts +0 -2
  1190. package/lib-commonjs/components/SankeyChart/index.js +0 -6
  1191. package/lib-commonjs/components/SankeyChart/index.js.map +0 -1
  1192. package/lib-commonjs/components/Sparkline/Sparkline.base.d.ts +0 -23
  1193. package/lib-commonjs/components/Sparkline/Sparkline.base.js +0 -89
  1194. package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +0 -1
  1195. package/lib-commonjs/components/Sparkline/Sparkline.d.ts +0 -7
  1196. package/lib-commonjs/components/Sparkline/Sparkline.js +0 -13
  1197. package/lib-commonjs/components/Sparkline/Sparkline.js.map +0 -1
  1198. package/lib-commonjs/components/Sparkline/Sparkline.styles.d.ts +0 -2
  1199. package/lib-commonjs/components/Sparkline/Sparkline.styles.js +0 -14
  1200. package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +0 -1
  1201. package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +0 -59
  1202. package/lib-commonjs/components/Sparkline/Sparkline.types.js +0 -3
  1203. package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +0 -1
  1204. package/lib-commonjs/components/Sparkline/index.d.ts +0 -2
  1205. package/lib-commonjs/components/Sparkline/index.js +0 -6
  1206. package/lib-commonjs/components/Sparkline/index.js.map +0 -1
  1207. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
  1208. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +0 -439
  1209. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  1210. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
  1211. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +0 -13
  1212. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  1213. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  1214. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -90
  1215. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  1216. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
  1217. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +0 -12
  1218. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  1219. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
  1220. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +0 -367
  1221. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  1222. package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +0 -7
  1223. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +0 -13
  1224. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +0 -1
  1225. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  1226. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js +0 -107
  1227. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  1228. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
  1229. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js +0 -3
  1230. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  1231. package/lib-commonjs/components/StackedBarChart/index.d.ts +0 -5
  1232. package/lib-commonjs/components/StackedBarChart/index.js +0 -9
  1233. package/lib-commonjs/components/StackedBarChart/index.js.map +0 -1
  1234. package/lib-commonjs/components/TreeChart/TreeChart.base.d.ts +0 -18
  1235. package/lib-commonjs/components/TreeChart/TreeChart.base.js +0 -325
  1236. package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +0 -1
  1237. package/lib-commonjs/components/TreeChart/TreeChart.d.ts +0 -7
  1238. package/lib-commonjs/components/TreeChart/TreeChart.js +0 -12
  1239. package/lib-commonjs/components/TreeChart/TreeChart.js.map +0 -1
  1240. package/lib-commonjs/components/TreeChart/TreeChart.styles.d.ts +0 -2
  1241. package/lib-commonjs/components/TreeChart/TreeChart.styles.js +0 -33
  1242. package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +0 -1
  1243. package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +0 -216
  1244. package/lib-commonjs/components/TreeChart/TreeChart.types.js +0 -32
  1245. package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +0 -1
  1246. package/lib-commonjs/components/TreeChart/index.d.ts +0 -2
  1247. package/lib-commonjs/components/TreeChart/index.js +0 -6
  1248. package/lib-commonjs/components/TreeChart/index.js.map +0 -1
  1249. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -84
  1250. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +0 -812
  1251. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  1252. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
  1253. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +0 -13
  1254. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  1255. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  1256. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
  1257. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  1258. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -155
  1259. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js +0 -3
  1260. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  1261. package/lib-commonjs/components/VerticalBarChart/index.d.ts +0 -2
  1262. package/lib-commonjs/components/VerticalBarChart/index.js +0 -6
  1263. package/lib-commonjs/components/VerticalBarChart/index.js.map +0 -1
  1264. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -92
  1265. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -785
  1266. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  1267. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
  1268. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -13
  1269. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  1270. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  1271. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
  1272. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  1273. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -182
  1274. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -3
  1275. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  1276. package/lib-commonjs/components/VerticalStackedBarChart/index.d.ts +0 -2
  1277. package/lib-commonjs/components/VerticalStackedBarChart/index.js +0 -6
  1278. package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +0 -1
  1279. package/lib-commonjs/index.d.ts +0 -40
  1280. package/lib-commonjs/index.js +0 -59
  1281. package/lib-commonjs/index.js.map +0 -1
  1282. package/lib-commonjs/types/IDataPoint.d.ts +0 -712
  1283. package/lib-commonjs/types/IDataPoint.js +0 -3
  1284. package/lib-commonjs/types/IDataPoint.js.map +0 -1
  1285. package/lib-commonjs/types/IEventAnnotation.d.ts +0 -6
  1286. package/lib-commonjs/types/IEventAnnotation.js +0 -3
  1287. package/lib-commonjs/types/IEventAnnotation.js.map +0 -1
  1288. package/lib-commonjs/types/ILegendDataItem.d.ts +0 -10
  1289. package/lib-commonjs/types/ILegendDataItem.js +0 -3
  1290. package/lib-commonjs/types/ILegendDataItem.js.map +0 -1
  1291. package/lib-commonjs/types/index.d.ts +0 -2
  1292. package/lib-commonjs/types/index.js +0 -6
  1293. package/lib-commonjs/types/index.js.map +0 -1
  1294. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  1295. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -41
  1296. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  1297. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  1298. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +0 -9
  1299. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  1300. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  1301. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -102
  1302. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  1303. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  1304. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -3
  1305. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  1306. package/lib-commonjs/utilities/ChartHoverCard/index.d.ts +0 -3
  1307. package/lib-commonjs/utilities/ChartHoverCard/index.js +0 -7
  1308. package/lib-commonjs/utilities/ChartHoverCard/index.js.map +0 -1
  1309. package/lib-commonjs/utilities/FocusableTooltipText.d.ts +0 -27
  1310. package/lib-commonjs/utilities/FocusableTooltipText.js +0 -57
  1311. package/lib-commonjs/utilities/FocusableTooltipText.js.map +0 -1
  1312. package/lib-commonjs/utilities/SVGTooltipText.d.ts +0 -95
  1313. package/lib-commonjs/utilities/SVGTooltipText.js +0 -177
  1314. package/lib-commonjs/utilities/SVGTooltipText.js.map +0 -1
  1315. package/lib-commonjs/utilities/colors.d.ts +0 -51
  1316. package/lib-commonjs/utilities/colors.js +0 -137
  1317. package/lib-commonjs/utilities/colors.js.map +0 -1
  1318. package/lib-commonjs/utilities/gradients.d.ts +0 -30
  1319. package/lib-commonjs/utilities/gradients.js +0 -178
  1320. package/lib-commonjs/utilities/gradients.js.map +0 -1
  1321. package/lib-commonjs/utilities/index.d.ts +0 -5
  1322. package/lib-commonjs/utilities/index.js +0 -9
  1323. package/lib-commonjs/utilities/index.js.map +0 -1
  1324. package/lib-commonjs/utilities/locale-util.d.ts +0 -3
  1325. package/lib-commonjs/utilities/locale-util.js +0 -22
  1326. package/lib-commonjs/utilities/locale-util.js.map +0 -1
  1327. package/lib-commonjs/utilities/test-data.d.ts +0 -27
  1328. package/lib-commonjs/utilities/test-data.js +0 -213
  1329. package/lib-commonjs/utilities/test-data.js.map +0 -1
  1330. package/lib-commonjs/utilities/utilities.d.ts +0 -411
  1331. package/lib-commonjs/utilities/utilities.js +0 -1092
  1332. package/lib-commonjs/utilities/utilities.js.map +0 -1
  1333. package/lib-commonjs/utilities/vbc-utils.d.ts +0 -2
  1334. package/lib-commonjs/utilities/vbc-utils.js +0 -36
  1335. package/lib-commonjs/utilities/vbc-utils.js.map +0 -1
  1336. package/lib-commonjs/version.d.ts +0 -1
  1337. package/lib-commonjs/version.js +0 -7
  1338. package/lib-commonjs/version.js.map +0 -1
@@ -1,311 +0,0 @@
1
- import { __assign, __extends, __spreadArray } from "tslib";
2
- import * as React from 'react';
3
- import { HoverCard, HoverCardType } from '@fluentui/react/lib/HoverCard';
4
- import { classNamesFunction, find, getNativeProps, buttonProperties } from '@fluentui/react/lib/Utilities';
5
- import { ResizeGroup } from '@fluentui/react/lib/ResizeGroup';
6
- import { OverflowSet } from '@fluentui/react/lib/OverflowSet';
7
- import { FocusZone, FocusZoneDirection, FocusZoneTabbableElements } from '@fluentui/react-focus';
8
- import { Shape } from './shape';
9
- var getClassNames = classNamesFunction();
10
- var LegendsBase = /** @class */ (function (_super) {
11
- __extends(LegendsBase, _super);
12
- function LegendsBase(props) {
13
- var _a;
14
- var _this = this;
15
- var _b;
16
- _this = _super.call(this, props) || this;
17
- /** Boolean variable to check if one or more legends are selected */
18
- _this._isLegendSelected = false;
19
- _this._onRenderData = function (data) {
20
- var _a = _this.props, overflowProps = _a.overflowProps, _b = _a.allowFocusOnLegends, allowFocusOnLegends = _b === void 0 ? true : _b, _c = _a.canSelectMultipleLegends, canSelectMultipleLegends = _c === void 0 ? false : _c;
21
- var rootStyles = {
22
- root: {
23
- justifyContent: _this.props.centerLegends ? 'center' : 'unset',
24
- flexWrap: 'wrap',
25
- },
26
- };
27
- return (React.createElement(FocusZone, __assign({}, (allowFocusOnLegends && {
28
- role: 'listbox',
29
- 'aria-label': 'Legends',
30
- 'aria-multiselectable': canSelectMultipleLegends,
31
- })),
32
- React.createElement(OverflowSet, __assign({ items: data.primary, overflowItems: data.overflow, onRenderItem: _this._renderButton, onRenderOverflowButton: _this._renderOverflowItems }, overflowProps, { styles: __assign(__assign({}, rootStyles), overflowProps === null || overflowProps === void 0 ? void 0 : overflowProps.styles) }))));
33
- };
34
- _this._onReduceData = function (currentdata) {
35
- if (currentdata.primary.length === 0) {
36
- return;
37
- }
38
- var overflow = __spreadArray(__spreadArray([], currentdata.primary.slice(-1), true), currentdata.overflow, true);
39
- var primary = currentdata.primary.slice(0, -1);
40
- return { primary: primary, overflow: overflow };
41
- };
42
- _this._onGrowData = function (currentdata) {
43
- if (currentdata.overflow.length === 0) {
44
- return;
45
- }
46
- var overflow = currentdata.overflow.slice(1);
47
- var primary = __spreadArray(__spreadArray([], currentdata.primary, true), currentdata.overflow.slice(0, 1), true);
48
- return { primary: primary, overflow: overflow };
49
- };
50
- /**
51
- * This function will get called when there is an ability to
52
- * select multiple legends
53
- * @param legend ILegend
54
- */
55
- _this._canSelectMultipleLegends = function (legend) {
56
- var selectedLegends = __assign({}, _this.state.selectedLegends);
57
- if (selectedLegends[legend.title]) {
58
- // Delete entry for the deselected legend to make
59
- // the number of keys equal to the number of selected legends
60
- delete selectedLegends[legend.title];
61
- }
62
- else {
63
- selectedLegends[legend.title] = true;
64
- // Clear set if all legends are selected
65
- if (Object.keys(selectedLegends).length === _this.props.legends.length) {
66
- selectedLegends = {};
67
- }
68
- }
69
- _this.setState({ selectedLegends: selectedLegends });
70
- return selectedLegends;
71
- };
72
- /**
73
- * This function will get called when there is
74
- * ability to select only single legend
75
- * @param legend ILegend
76
- */
77
- _this._canSelectOnlySingleLegend = function (legend) {
78
- var _a;
79
- if (_this.state.selectedLegends[legend.title]) {
80
- _this.setState({ selectedLegends: {} });
81
- return false;
82
- }
83
- else {
84
- _this.setState({ selectedLegends: (_a = {}, _a[legend.title] = true, _a) });
85
- return true;
86
- }
87
- };
88
- _this._onClick = function (legend, event) {
89
- var _a, _b, _c;
90
- var _d = _this.props.canSelectMultipleLegends, canSelectMultipleLegends = _d === void 0 ? false : _d;
91
- var selectedLegends = [];
92
- if (canSelectMultipleLegends) {
93
- var nextSelectedLegends = _this._canSelectMultipleLegends(legend);
94
- selectedLegends = Object.keys(nextSelectedLegends);
95
- }
96
- else {
97
- var isSelected = _this._canSelectOnlySingleLegend(legend);
98
- selectedLegends = isSelected ? [legend.title] : [];
99
- }
100
- (_b = (_a = _this.props).onChange) === null || _b === void 0 ? void 0 : _b.call(_a, selectedLegends, event, legend);
101
- (_c = legend.action) === null || _c === void 0 ? void 0 : _c.call(legend);
102
- };
103
- _this._onRenderCompactCard = function (expandingCard) {
104
- var _a = _this.props, _b = _a.allowFocusOnLegends, allowFocusOnLegends = _b === void 0 ? true : _b, className = _a.className, styles = _a.styles, theme = _a.theme, _c = _a.canSelectMultipleLegends, canSelectMultipleLegends = _c === void 0 ? false : _c;
105
- var overflowHoverCardLegends = [];
106
- var classNames = getClassNames(styles, {
107
- theme: theme,
108
- className: className,
109
- });
110
- expandingCard.renderData.forEach(function (legend, index) {
111
- var hoverCardElement = _this._renderButton(legend, index, true);
112
- overflowHoverCardLegends.push(hoverCardElement);
113
- });
114
- var hoverCardData = (React.createElement(FocusZone, __assign({}, (allowFocusOnLegends && {
115
- role: 'listbox',
116
- 'aria-label': 'Legends',
117
- 'aria-multiselectable': canSelectMultipleLegends,
118
- }), { direction: FocusZoneDirection.vertical, handleTabKey: FocusZoneTabbableElements.all, isCircularNavigation: true }, _this.props.focusZonePropsInHoverCard, { className: classNames.hoverCardRoot }), overflowHoverCardLegends));
119
- return hoverCardData;
120
- };
121
- _this._renderOverflowItems = function (legends) {
122
- var _a = _this.props.allowFocusOnLegends, allowFocusOnLegends = _a === void 0 ? true : _a;
123
- var items = [];
124
- legends.forEach(function (legend, i) {
125
- items.push({ key: i.toString(), name: legend.title, onClick: legend.action });
126
- });
127
- var renderOverflowData = { renderData: legends };
128
- var _b = _this.props, theme = _b.theme, className = _b.className, styles = _b.styles, overflowText = _b.overflowText;
129
- var classNames = getClassNames(styles, {
130
- theme: theme,
131
- className: className,
132
- });
133
- var plainCardProps = {
134
- onRenderPlainCard: _this._onRenderCompactCard,
135
- renderData: renderOverflowData,
136
- };
137
- var overflowString = overflowText ? overflowText : 'more';
138
- // execute similar to "_onClick" and "_onLeave" logic at HoverCard onCardHide event
139
- var onHoverCardHideHandler = function () {
140
- _this.setState({ isHoverCardVisible: false });
141
- // Unhighlight the focused legend in the hover card
142
- var activeOverflowItem = find(legends, function (legend) { return legend.title === _this.state.activeLegend; });
143
- if (activeOverflowItem) {
144
- _this.setState({ activeLegend: '' });
145
- if (activeOverflowItem.onMouseOutAction) {
146
- activeOverflowItem.onMouseOutAction();
147
- }
148
- }
149
- };
150
- return (React.createElement(HoverCard, { type: HoverCardType.plain, plainCardProps: plainCardProps, instantOpenOnClick: true,
151
- // eslint-disable-next-line react/jsx-no-bind
152
- onCardHide: onHoverCardHideHandler, setInitialFocus: true, trapFocus: true, onCardVisible: _this._hoverCardVisible, styles: classNames.subComponentStyles.hoverCardStyles, cardDismissDelay: 300, target: _this._hoverCardRef },
153
- React.createElement("div", { role: "option" },
154
- React.createElement("div", __assign({ className: classNames.overflowIndicationTextStyle, ref: function (rootElem) { return (_this._hoverCardRef = rootElem); } }, (allowFocusOnLegends && {
155
- role: 'button',
156
- 'aria-expanded': _this.state.isHoverCardVisible,
157
- 'aria-label': "".concat(items.length, " ").concat(overflowString),
158
- }), { "data-is-focusable": allowFocusOnLegends }),
159
- items.length,
160
- " ",
161
- overflowString))));
162
- };
163
- _this._hoverCardVisible = function () {
164
- _this.setState({ isHoverCardVisible: true });
165
- };
166
- _this._onHoverOverLegend = function (legend) {
167
- if (legend.hoverAction) {
168
- _this.setState({ activeLegend: legend.title });
169
- legend.hoverAction();
170
- }
171
- };
172
- _this._onLeave = function (legend) {
173
- if (legend.onMouseOutAction) {
174
- _this.setState({ activeLegend: '' });
175
- legend.onMouseOutAction();
176
- }
177
- };
178
- _this._renderButton = function (data, index, overflow) {
179
- var _a = _this.props.allowFocusOnLegends, allowFocusOnLegends = _a === void 0 ? true : _a;
180
- var legend = {
181
- title: data.title,
182
- color: data.color,
183
- shape: data.shape,
184
- action: data.action,
185
- hoverAction: data.hoverAction,
186
- onMouseOutAction: data.onMouseOutAction,
187
- stripePattern: data.stripePattern,
188
- isLineLegendInBarChart: data.isLineLegendInBarChart,
189
- opacity: data.opacity,
190
- };
191
- var color = _this._getColor(legend.title, legend.color);
192
- var _b = _this.props, theme = _b.theme, className = _b.className, styles = _b.styles;
193
- var classNames = getClassNames(styles, {
194
- theme: theme,
195
- className: className,
196
- colorOnSelectedState: color,
197
- borderColor: legend.color,
198
- overflow: overflow,
199
- stripePattern: legend.stripePattern,
200
- isLineLegendInBarChart: legend.isLineLegendInBarChart,
201
- opacity: legend.opacity,
202
- });
203
- var onClickHandler = function (event) {
204
- _this._onClick(legend, event);
205
- };
206
- var onHoverHandler = function () {
207
- _this._onHoverOverLegend(legend);
208
- };
209
- var onMouseOut = function () {
210
- _this._onLeave(legend);
211
- };
212
- var shape = _this._getShape(classNames, legend, color);
213
- return (React.createElement("button", __assign({}, (allowFocusOnLegends && {
214
- 'aria-selected': !!_this.state.selectedLegends[legend.title],
215
- role: 'option',
216
- 'aria-label': "".concat(legend.title),
217
- 'aria-setsize': data['aria-setsize'],
218
- 'aria-posinset': data['aria-posinset'],
219
- }), (data.nativeButtonProps && __assign({}, data.nativeButtonProps)), { key: index, className: classNames.legend, onClick: onClickHandler, onMouseOver: onHoverHandler, onMouseOut: onMouseOut, onFocus: onHoverHandler, onBlur: onMouseOut, "data-is-focusable": allowFocusOnLegends }),
220
- shape,
221
- React.createElement("div", { className: classNames.text }, legend.title)));
222
- };
223
- var defaultSelectedLegends = {};
224
- if (props.canSelectMultipleLegends) {
225
- defaultSelectedLegends =
226
- ((_b = props.defaultSelectedLegends) === null || _b === void 0 ? void 0 : _b.reduce(function (combinedDict, key) {
227
- var _a;
228
- return (__assign((_a = {}, _a[key] = true, _a), combinedDict));
229
- }, {})) || {};
230
- }
231
- else if (props.defaultSelectedLegend) {
232
- defaultSelectedLegends = (_a = {}, _a[props.defaultSelectedLegend] = true, _a);
233
- }
234
- _this.state = {
235
- activeLegend: '',
236
- isHoverCardVisible: false,
237
- selectedLegends: defaultSelectedLegends,
238
- };
239
- return _this;
240
- }
241
- LegendsBase.prototype.render = function () {
242
- var _a = this.props, theme = _a.theme, className = _a.className, styles = _a.styles;
243
- this._classNames = getClassNames(styles, {
244
- theme: theme,
245
- className: className,
246
- });
247
- this._isLegendSelected = Object.keys(this.state.selectedLegends).length > 0;
248
- var dataToRender = this._generateData();
249
- return (React.createElement("div", { className: this._classNames.root }, this.props.enabledWrapLines ? (this._onRenderData(dataToRender)) : (React.createElement(ResizeGroup, { data: dataToRender, onReduceData: this._onReduceData, onRenderData: this._onRenderData, onGrowData: this._onGrowData }))));
250
- };
251
- LegendsBase.prototype._generateData = function () {
252
- var _this = this;
253
- var _a = this.props, _b = _a.allowFocusOnLegends, allowFocusOnLegends = _b === void 0 ? true : _b, shape = _a.shape;
254
- var dataItems = this.props.legends.map(function (legend, index) {
255
- return __assign(__assign({}, (allowFocusOnLegends && {
256
- nativeButtonProps: getNativeProps(legend, buttonProperties, [
257
- 'title',
258
- ]),
259
- 'aria-setsize': _this.props.legends.length,
260
- 'aria-posinset': index + 1,
261
- })), { title: legend.title, action: legend.action, hoverAction: legend.hoverAction, onMouseOutAction: legend.onMouseOutAction, color: legend.color, shape: shape ? shape : legend.shape, stripePattern: legend.stripePattern, isLineLegendInBarChart: legend.isLineLegendInBarChart, opacity: legend.opacity, key: index });
262
- });
263
- var result = {
264
- primary: dataItems,
265
- overflow: [],
266
- };
267
- return result;
268
- };
269
- LegendsBase.prototype._getShape = function (classNames, legend, color) {
270
- var svgParentProps = {
271
- className: classNames.shape,
272
- };
273
- var svgChildProps = {
274
- fill: color,
275
- strokeWidth: 2,
276
- stroke: legend.color,
277
- };
278
- return (React.createElement(Shape, { svgProps: svgParentProps, pathProps: svgChildProps, shape: legend.shape, classNameForNonSvg: classNames.rect }));
279
- };
280
- LegendsBase.prototype._getColor = function (title, color) {
281
- var theme = this.props.theme;
282
- var legendColor = color;
283
- // if one or more legends are selected
284
- if (this._isLegendSelected) {
285
- // if the given legend (title) is one of the selected legends
286
- if (this.state.selectedLegends[title]) {
287
- legendColor = color;
288
- }
289
- // if the given legend is unselected
290
- else {
291
- legendColor = theme.semanticColors.buttonBackground;
292
- }
293
- }
294
- // if no legend is selected
295
- else {
296
- // if the given legend is hovered
297
- // or none of the legends is hovered
298
- if (this.state.activeLegend === title || this.state.activeLegend === '') {
299
- legendColor = color;
300
- }
301
- // if there is a hovered legend but the given legend is not the one
302
- else {
303
- legendColor = theme.semanticColors.buttonBackground;
304
- }
305
- }
306
- return legendColor;
307
- };
308
- return LegendsBase;
309
- }(React.Component));
310
- export { LegendsBase };
311
- //# sourceMappingURL=Legends.base.js.map
@@ -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,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AASjG,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,IAAM,aAAa,GAAG,kBAAkB,EAAqC,CAAC;AAuB9E;IAAiC,+BAA4C;IAM3E,qBAAmB,KAAoB;;QAAvC,iBAeC;;gBAdC,kBAAM,KAAK,CAAC;QAJd,oEAAoE;QAC5D,uBAAiB,GAAG,KAAK,CAAC;QAyE1B,mBAAa,GAAG,UAAC,IAAiD;YAClE,IAAA,KAAkF,K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ACH,WAAW,GAAG,KAAM,CAAC,cAAc,CAAC,gBAAgB,CAAC;aACtD;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,KAAM,CAAC,cAAc,CAAC,gBAAgB,CAAC;aACtD;SACF;QACD,OAAO,WAAW,CAAC;IACrB,CAAC;IACH,kBAAC;AAAD,CAAC,AA9YD,CAAiC,KAAK,CAAC,SAAS,GA8Y/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, FocusZoneTabbableElements } 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 activeLegend: string;\n isHoverCardVisible: boolean;\n /** Set of legends selected, both for multiple selection and single selection */\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 let defaultSelectedLegends = {};\n if (props.canSelectMultipleLegends) {\n defaultSelectedLegends =\n props.defaultSelectedLegends?.reduce((combinedDict, key) => ({ [key]: true, ...combinedDict }), {}) || {};\n } else if (props.defaultSelectedLegend) {\n defaultSelectedLegends = { [props.defaultSelectedLegend]: true };\n }\n\n this.state = {\n activeLegend: '',\n isHoverCardVisible: false,\n selectedLegends: defaultSelectedLegends,\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 = 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, shape } = 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: shape ? 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): { [key: string]: boolean } => {\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 return 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): boolean => {\n if (this.state.selectedLegends[legend.title]) {\n this.setState({ selectedLegends: {} });\n return false;\n } else {\n this.setState({ selectedLegends: { [legend.title]: true } });\n return true;\n }\n };\n\n private _onClick = (legend: ILegend, event: React.MouseEvent<HTMLButtonElement>): void => {\n const { canSelectMultipleLegends = false } = this.props;\n let selectedLegends: string[] = [];\n if (canSelectMultipleLegends) {\n const nextSelectedLegends = this._canSelectMultipleLegends(legend);\n selectedLegends = Object.keys(nextSelectedLegends);\n } else {\n const isSelected = this._canSelectOnlySingleLegend(legend);\n selectedLegends = isSelected ? [legend.title] : [];\n }\n this.props.onChange?.(selectedLegends, event, legend);\n legend.action?.();\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 handleTabKey={FocusZoneTabbableElements.all}\n isCircularNavigation={true}\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 {/* \"button\" role is not allowed as a child of parent role \"listbox\" */}\n <div role=\"option\">\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 </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 } = this.props;\n const classNames = getClassNames(styles!, {\n theme: theme!,\n className,\n colorOnSelectedState: color,\n borderColor: legend.color,\n overflow,\n stripePattern: legend.stripePattern,\n isLineLegendInBarChart: legend.isLineLegendInBarChart,\n opacity: legend.opacity,\n });\n const onClickHandler = (event: React.MouseEvent<HTMLButtonElement>) => {\n this._onClick(legend, event);\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': !!this.state.selectedLegends[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 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.selectedLegends[title]) {\n legendColor = color;\n }\n // if the given legend is unselected\n else {\n legendColor = theme!.semanticColors.buttonBackground;\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 = theme!.semanticColors.buttonBackground;\n }\n }\n return legendColor;\n }\n}\n"]}
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import { ILegendsProps } from './Legends.types';
3
- /**
4
- * Legends component
5
- * {@docCategory Legends}
6
- */
7
- export declare const Legends: React.FunctionComponent<ILegendsProps>;
@@ -1,9 +0,0 @@
1
- import { styled } from '@fluentui/react/lib/Utilities';
2
- import { LegendsBase } from './Legends.base';
3
- import { getStyles } from './Legends.styles';
4
- /**
5
- * Legends component
6
- * {@docCategory Legends}
7
- */
8
- export var Legends = styled(LegendsBase, getStyles);
9
- //# 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;;;GAGG;AACH,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\n/**\n * Legends component\n * {@docCategory Legends}\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,107 +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, ".concat(props.colorOnSelectedState, ", ").concat(props.colorOnSelectedState, ")"),
42
- opacity: props.colorOnSelectedState === theme.semanticColors.buttonBackground ? '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, ".concat(props.colorOnSelectedState, " 1px, ").concat(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 === theme.semanticColors.buttonBackground
70
- ? '0.6'
71
- : props.opacity
72
- ? props.opacity
73
- : '',
74
- selectors: (_b = {},
75
- _b[HighContrastSelector] = {
76
- border: '0px',
77
- height: '10.4px',
78
- width: '10.4px',
79
- clipPath: 'polygon(50% 100%, 0 0, 100% 0)',
80
- backgroundImage: "linear-gradient(to right, ".concat(props.colorOnSelectedState, ", ").concat(props.colorOnSelectedState, ")"),
81
- },
82
- _b),
83
- },
84
- text: __assign(__assign({}, fonts.small), { lineHeight: '16px', color: theme === null || theme === void 0 ? void 0 : theme.semanticColors.bodyText, opacity: props.colorOnSelectedState === theme.semanticColors.buttonBackground ? '0.67' : '' }),
85
- hoverChange: {
86
- width: '12px',
87
- height: '12px',
88
- backgroundColor: theme.semanticColors.buttonBackground,
89
- marginRight: '8px',
90
- border: '1px solid',
91
- borderColor: props.borderColor ? props.borderColor : palette.black,
92
- },
93
- overflowIndicationTextStyle: [
94
- getFocusStyle(theme, options),
95
- __assign(__assign({ cursor: 'pointer', color: theme === null || theme === void 0 ? void 0 : theme.semanticColors.bodyText }, fonts.small), { lineHeight: '16px', padding: '8px' }),
96
- ],
97
- hoverCardRoot: {
98
- padding: '8px',
99
- },
100
- subComponentStyles: {
101
- hoverCardStyles: {
102
- host: [getFocusStyle(theme, options)],
103
- },
104
- },
105
- };
106
- };
107
- //# sourceMappingURL=Legends.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Legends.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,CAAC,oBAAoB,eAAK,KAAK,CAAC,oBAAoB,MAAG;iBACjG;mBACZ;SACF;QACD,IAAI,wBACC,KAAK,CAAC,KAAK,KACd,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,cAAc,CAAC,QAAQ,EACrC,OAAO,EAAE,KAAK,CAAC,oBAAoB,KAAK,KAAM,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,GAC7F;QACD,WAAW,EAAE;YACX,KAAK,EAAE,MAAM;YACb,MAAM,EAAE,MAAM;YACd,eAAe,EAAE,KAAM,CAAC,cAAc,CAAC,gBAAgB;YACvD,WAAW,EAAE,KAAK;YAClB,MAAM,EAAE,WAAW;YACnB,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK;SACnE;QACD,2BAA2B,EAAE;YAC3B,aAAa,CAAC,KAAM,EAAE,OAAO,CAAC;gCAE5B,MAAM,EAAE,SAAS,EACjB,KAAK,EAAE,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 === theme!.semanticColors.buttonBackground ? '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:\n props.colorOnSelectedState === theme!.semanticColors.buttonBackground\n ? '0.6'\n : props.opacity\n ? props.opacity\n : '',\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 === theme!.semanticColors.buttonBackground ? '0.67' : '',\n },\n hoverChange: {\n width: '12px',\n height: '12px',\n backgroundColor: theme!.semanticColors.buttonBackground,\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"]}