@fluentui/react-charting 5.21.26 → 5.21.28

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 (742) hide show
  1. package/CHANGELOG.json +55 -1
  2. package/CHANGELOG.md +24 -2
  3. package/lib/AreaChart.js.map +1 -1
  4. package/lib/CartesianChart.js.map +1 -1
  5. package/lib/DonutChart.js.map +1 -1
  6. package/lib/GaugeChart.js.map +1 -1
  7. package/lib/GroupedVerticalBarChart.js.map +1 -1
  8. package/lib/HeatMapChart.js.map +1 -1
  9. package/lib/HorizontalBarChart.js.map +1 -1
  10. package/lib/HorizontalBarChartWithAxis.js.map +1 -1
  11. package/lib/Legends.js.map +1 -1
  12. package/lib/LineChart.js.map +1 -1
  13. package/lib/PieChart.js.map +1 -1
  14. package/lib/SankeyChart.js.map +1 -1
  15. package/lib/Sparkline.js.map +1 -1
  16. package/lib/StackedBarChart.js.map +1 -1
  17. package/lib/Styling.js.map +1 -1
  18. package/lib/TreeChart.js.map +1 -1
  19. package/lib/Utilities.js.map +1 -1
  20. package/lib/VerticalBarChart.js.map +1 -1
  21. package/lib/VerticalStackedBarChart.js.map +1 -1
  22. package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
  23. package/lib/components/AreaChart/AreaChart.js.map +1 -1
  24. package/lib/components/AreaChart/AreaChart.styles.js.map +1 -1
  25. package/lib/components/AreaChart/AreaChart.types.js.map +1 -1
  26. package/lib/components/AreaChart/index.js.map +1 -1
  27. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
  28. package/lib/components/CommonComponents/CartesianChart.js.map +1 -1
  29. package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -1
  30. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
  31. package/lib/components/CommonComponents/index.js.map +1 -1
  32. package/lib/components/DonutChart/Arc/Arc.js.map +1 -1
  33. package/lib/components/DonutChart/Arc/Arc.styles.js.map +1 -1
  34. package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -1
  35. package/lib/components/DonutChart/Arc/index.js.map +1 -1
  36. package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
  37. package/lib/components/DonutChart/DonutChart.js.map +1 -1
  38. package/lib/components/DonutChart/DonutChart.styles.js.map +1 -1
  39. package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
  40. package/lib/components/DonutChart/Pie/Pie.js.map +1 -1
  41. package/lib/components/DonutChart/Pie/Pie.styles.js.map +1 -1
  42. package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -1
  43. package/lib/components/DonutChart/Pie/index.js.map +1 -1
  44. package/lib/components/DonutChart/index.js.map +1 -1
  45. package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -1
  46. package/lib/components/GaugeChart/GaugeChart.js.map +1 -1
  47. package/lib/components/GaugeChart/GaugeChart.styles.js.map +1 -1
  48. package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -1
  49. package/lib/components/GaugeChart/index.js.map +1 -1
  50. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  51. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  52. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -1
  53. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  54. package/lib/components/GroupedVerticalBarChart/index.js.map +1 -1
  55. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  56. package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -1
  57. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +1 -1
  58. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  59. package/lib/components/HeatMapChart/index.js.map +1 -1
  60. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  61. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
  62. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -1
  63. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  64. package/lib/components/HorizontalBarChart/index.js.map +1 -1
  65. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  66. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  67. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -1
  68. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  69. package/lib/components/HorizontalBarChartWithAxis/index.js.map +1 -1
  70. package/lib/components/Legends/Legends.base.js.map +1 -1
  71. package/lib/components/Legends/Legends.js.map +1 -1
  72. package/lib/components/Legends/Legends.styles.js.map +1 -1
  73. package/lib/components/Legends/Legends.types.js.map +1 -1
  74. package/lib/components/Legends/index.js.map +1 -1
  75. package/lib/components/Legends/shape.js.map +1 -1
  76. package/lib/components/LineChart/LineChart.base.js.map +1 -1
  77. package/lib/components/LineChart/LineChart.js.map +1 -1
  78. package/lib/components/LineChart/LineChart.styles.js.map +1 -1
  79. package/lib/components/LineChart/LineChart.types.js.map +1 -1
  80. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -1
  81. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +1 -1
  82. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
  83. package/lib/components/LineChart/index.js.map +1 -1
  84. package/lib/components/PieChart/Arc/Arc.js.map +1 -1
  85. package/lib/components/PieChart/Arc/Arc.styles.js.map +1 -1
  86. package/lib/components/PieChart/Arc/Arc.types.js.map +1 -1
  87. package/lib/components/PieChart/Arc/index.js.map +1 -1
  88. package/lib/components/PieChart/Pie/Pie.js.map +1 -1
  89. package/lib/components/PieChart/Pie/Pie.styles.js.map +1 -1
  90. package/lib/components/PieChart/Pie/Pie.types.js.map +1 -1
  91. package/lib/components/PieChart/Pie/index.js.map +1 -1
  92. package/lib/components/PieChart/PieChart.base.js.map +1 -1
  93. package/lib/components/PieChart/PieChart.js.map +1 -1
  94. package/lib/components/PieChart/PieChart.styles.js.map +1 -1
  95. package/lib/components/PieChart/PieChart.types.js.map +1 -1
  96. package/lib/components/PieChart/index.js.map +1 -1
  97. package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -1
  98. package/lib/components/SankeyChart/SankeyChart.js.map +1 -1
  99. package/lib/components/SankeyChart/SankeyChart.styles.js.map +1 -1
  100. package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -1
  101. package/lib/components/SankeyChart/index.js.map +1 -1
  102. package/lib/components/Sparkline/Sparkline.base.js.map +1 -1
  103. package/lib/components/Sparkline/Sparkline.js.map +1 -1
  104. package/lib/components/Sparkline/Sparkline.styles.js.map +1 -1
  105. package/lib/components/Sparkline/Sparkline.types.js.map +1 -1
  106. package/lib/components/Sparkline/index.js.map +1 -1
  107. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  108. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
  109. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -1
  110. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
  111. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  112. package/lib/components/StackedBarChart/StackedBarChart.js.map +1 -1
  113. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +1 -1
  114. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
  115. package/lib/components/StackedBarChart/index.js.map +1 -1
  116. package/lib/components/TreeChart/TreeChart.base.js.map +1 -1
  117. package/lib/components/TreeChart/TreeChart.js.map +1 -1
  118. package/lib/components/TreeChart/TreeChart.styles.js.map +1 -1
  119. package/lib/components/TreeChart/TreeChart.types.js.map +1 -1
  120. package/lib/components/TreeChart/index.js.map +1 -1
  121. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  122. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  123. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -1
  124. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  125. package/lib/components/VerticalBarChart/index.js.map +1 -1
  126. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  127. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  128. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -1
  129. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  130. package/lib/components/VerticalStackedBarChart/index.js.map +1 -1
  131. package/lib/index.js.map +1 -1
  132. package/lib/types/IDataPoint.js.map +1 -1
  133. package/lib/types/IEventAnnotation.js.map +1 -1
  134. package/lib/types/ILegendDataItem.js.map +1 -1
  135. package/lib/types/index.js.map +1 -1
  136. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
  137. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
  138. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -1
  139. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -1
  140. package/lib/utilities/ChartHoverCard/index.js.map +1 -1
  141. package/lib/utilities/FocusableTooltipText.js.map +1 -1
  142. package/lib/utilities/SVGTooltipText.js.map +1 -1
  143. package/lib/utilities/colors.js.map +1 -1
  144. package/lib/utilities/index.js.map +1 -1
  145. package/lib/utilities/locale-util.js.map +1 -1
  146. package/lib/utilities/test-data.js.map +1 -1
  147. package/lib/utilities/utilities.js.map +1 -1
  148. package/lib/utilities/vbc-utils.js.map +1 -1
  149. package/lib/version.js +1 -1
  150. package/lib/version.js.map +1 -1
  151. package/lib-commonjs/AreaChart.js.map +1 -1
  152. package/lib-commonjs/CartesianChart.js.map +1 -1
  153. package/lib-commonjs/DonutChart.js.map +1 -1
  154. package/lib-commonjs/GaugeChart.js.map +1 -1
  155. package/lib-commonjs/GroupedVerticalBarChart.js.map +1 -1
  156. package/lib-commonjs/HeatMapChart.js.map +1 -1
  157. package/lib-commonjs/HorizontalBarChart.js.map +1 -1
  158. package/lib-commonjs/HorizontalBarChartWithAxis.js.map +1 -1
  159. package/lib-commonjs/Legends.js.map +1 -1
  160. package/lib-commonjs/LineChart.js.map +1 -1
  161. package/lib-commonjs/PieChart.js.map +1 -1
  162. package/lib-commonjs/SankeyChart.js.map +1 -1
  163. package/lib-commonjs/Sparkline.js.map +1 -1
  164. package/lib-commonjs/StackedBarChart.js.map +1 -1
  165. package/lib-commonjs/Styling.js.map +1 -1
  166. package/lib-commonjs/TreeChart.js.map +1 -1
  167. package/lib-commonjs/Utilities.js.map +1 -1
  168. package/lib-commonjs/VerticalBarChart.js.map +1 -1
  169. package/lib-commonjs/VerticalStackedBarChart.js.map +1 -1
  170. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
  171. package/lib-commonjs/components/AreaChart/AreaChart.js.map +1 -1
  172. package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +1 -1
  173. package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +1 -1
  174. package/lib-commonjs/components/AreaChart/index.js.map +1 -1
  175. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  176. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -1
  177. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +1 -1
  178. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  179. package/lib-commonjs/components/CommonComponents/index.js.map +1 -1
  180. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -1
  181. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +1 -1
  182. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +1 -1
  183. package/lib-commonjs/components/DonutChart/Arc/index.js.map +1 -1
  184. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
  185. package/lib-commonjs/components/DonutChart/DonutChart.js.map +1 -1
  186. package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +1 -1
  187. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
  188. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -1
  189. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +1 -1
  190. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +1 -1
  191. package/lib-commonjs/components/DonutChart/Pie/index.js.map +1 -1
  192. package/lib-commonjs/components/DonutChart/index.js.map +1 -1
  193. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -1
  194. package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +1 -1
  195. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js.map +1 -1
  196. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -1
  197. package/lib-commonjs/components/GaugeChart/index.js.map +1 -1
  198. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  199. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  200. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -1
  201. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  202. package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +1 -1
  203. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  204. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +1 -1
  205. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +1 -1
  206. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  207. package/lib-commonjs/components/HeatMapChart/index.js.map +1 -1
  208. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  209. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
  210. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -1
  211. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  212. package/lib-commonjs/components/HorizontalBarChart/index.js.map +1 -1
  213. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  214. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  215. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -1
  216. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  217. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js.map +1 -1
  218. package/lib-commonjs/components/Legends/Legends.base.js.map +1 -1
  219. package/lib-commonjs/components/Legends/Legends.js.map +1 -1
  220. package/lib-commonjs/components/Legends/Legends.styles.js.map +1 -1
  221. package/lib-commonjs/components/Legends/Legends.types.js.map +1 -1
  222. package/lib-commonjs/components/Legends/index.js.map +1 -1
  223. package/lib-commonjs/components/Legends/shape.js.map +1 -1
  224. package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
  225. package/lib-commonjs/components/LineChart/LineChart.js.map +1 -1
  226. package/lib-commonjs/components/LineChart/LineChart.styles.js.map +1 -1
  227. package/lib-commonjs/components/LineChart/LineChart.types.js.map +1 -1
  228. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -1
  229. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +1 -1
  230. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
  231. package/lib-commonjs/components/LineChart/index.js.map +1 -1
  232. package/lib-commonjs/components/PieChart/Arc/Arc.js.map +1 -1
  233. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +1 -1
  234. package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +1 -1
  235. package/lib-commonjs/components/PieChart/Arc/index.js.map +1 -1
  236. package/lib-commonjs/components/PieChart/Pie/Pie.js.map +1 -1
  237. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +1 -1
  238. package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +1 -1
  239. package/lib-commonjs/components/PieChart/Pie/index.js.map +1 -1
  240. package/lib-commonjs/components/PieChart/PieChart.base.js.map +1 -1
  241. package/lib-commonjs/components/PieChart/PieChart.js.map +1 -1
  242. package/lib-commonjs/components/PieChart/PieChart.styles.js.map +1 -1
  243. package/lib-commonjs/components/PieChart/PieChart.types.js.map +1 -1
  244. package/lib-commonjs/components/PieChart/index.js.map +1 -1
  245. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -1
  246. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -1
  247. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +1 -1
  248. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +1 -1
  249. package/lib-commonjs/components/SankeyChart/index.js.map +1 -1
  250. package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +1 -1
  251. package/lib-commonjs/components/Sparkline/Sparkline.js.map +1 -1
  252. package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +1 -1
  253. package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +1 -1
  254. package/lib-commonjs/components/Sparkline/index.js.map +1 -1
  255. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  256. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
  257. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -1
  258. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
  259. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  260. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +1 -1
  261. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +1 -1
  262. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
  263. package/lib-commonjs/components/StackedBarChart/index.js.map +1 -1
  264. package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +1 -1
  265. package/lib-commonjs/components/TreeChart/TreeChart.js.map +1 -1
  266. package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +1 -1
  267. package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +1 -1
  268. package/lib-commonjs/components/TreeChart/index.js.map +1 -1
  269. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  270. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  271. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -1
  272. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  273. package/lib-commonjs/components/VerticalBarChart/index.js.map +1 -1
  274. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  275. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  276. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -1
  277. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  278. package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +1 -1
  279. package/lib-commonjs/index.js.map +1 -1
  280. package/lib-commonjs/types/IDataPoint.js.map +1 -1
  281. package/lib-commonjs/types/IEventAnnotation.js.map +1 -1
  282. package/lib-commonjs/types/ILegendDataItem.js.map +1 -1
  283. package/lib-commonjs/types/index.js.map +1 -1
  284. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
  285. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
  286. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -1
  287. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -1
  288. package/lib-commonjs/utilities/ChartHoverCard/index.js.map +1 -1
  289. package/lib-commonjs/utilities/FocusableTooltipText.js.map +1 -1
  290. package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -1
  291. package/lib-commonjs/utilities/colors.js.map +1 -1
  292. package/lib-commonjs/utilities/index.js.map +1 -1
  293. package/lib-commonjs/utilities/locale-util.js.map +1 -1
  294. package/lib-commonjs/utilities/test-data.js.map +1 -1
  295. package/lib-commonjs/utilities/utilities.js.map +1 -1
  296. package/lib-commonjs/utilities/vbc-utils.js.map +1 -1
  297. package/lib-commonjs/version.js +1 -1
  298. package/lib-commonjs/version.js.map +1 -1
  299. package/package.json +4 -4
  300. package/dist/react-charting.js +0 -1
  301. package/dist/react-charting.min.js +0 -1
  302. package/lib-amd/AreaChart.d.ts +0 -1
  303. package/lib-amd/AreaChart.js +0 -6
  304. package/lib-amd/AreaChart.js.map +0 -1
  305. package/lib-amd/CartesianChart.d.ts +0 -1
  306. package/lib-amd/CartesianChart.js +0 -6
  307. package/lib-amd/CartesianChart.js.map +0 -1
  308. package/lib-amd/DonutChart.d.ts +0 -1
  309. package/lib-amd/DonutChart.js +0 -6
  310. package/lib-amd/DonutChart.js.map +0 -1
  311. package/lib-amd/GaugeChart.d.ts +0 -1
  312. package/lib-amd/GaugeChart.js +0 -6
  313. package/lib-amd/GaugeChart.js.map +0 -1
  314. package/lib-amd/GroupedVerticalBarChart.d.ts +0 -1
  315. package/lib-amd/GroupedVerticalBarChart.js +0 -6
  316. package/lib-amd/GroupedVerticalBarChart.js.map +0 -1
  317. package/lib-amd/HeatMapChart.d.ts +0 -1
  318. package/lib-amd/HeatMapChart.js +0 -6
  319. package/lib-amd/HeatMapChart.js.map +0 -1
  320. package/lib-amd/HorizontalBarChart.d.ts +0 -1
  321. package/lib-amd/HorizontalBarChart.js +0 -6
  322. package/lib-amd/HorizontalBarChart.js.map +0 -1
  323. package/lib-amd/HorizontalBarChartWithAxis.d.ts +0 -1
  324. package/lib-amd/HorizontalBarChartWithAxis.js +0 -6
  325. package/lib-amd/HorizontalBarChartWithAxis.js.map +0 -1
  326. package/lib-amd/Legends.d.ts +0 -1
  327. package/lib-amd/Legends.js +0 -6
  328. package/lib-amd/Legends.js.map +0 -1
  329. package/lib-amd/LineChart.d.ts +0 -1
  330. package/lib-amd/LineChart.js +0 -6
  331. package/lib-amd/LineChart.js.map +0 -1
  332. package/lib-amd/PieChart.d.ts +0 -1
  333. package/lib-amd/PieChart.js +0 -6
  334. package/lib-amd/PieChart.js.map +0 -1
  335. package/lib-amd/SankeyChart.d.ts +0 -1
  336. package/lib-amd/SankeyChart.js +0 -6
  337. package/lib-amd/SankeyChart.js.map +0 -1
  338. package/lib-amd/Sparkline.d.ts +0 -1
  339. package/lib-amd/Sparkline.js +0 -6
  340. package/lib-amd/Sparkline.js.map +0 -1
  341. package/lib-amd/StackedBarChart.d.ts +0 -1
  342. package/lib-amd/StackedBarChart.js +0 -6
  343. package/lib-amd/StackedBarChart.js.map +0 -1
  344. package/lib-amd/Styling.d.ts +0 -2
  345. package/lib-amd/Styling.js +0 -75
  346. package/lib-amd/Styling.js.map +0 -1
  347. package/lib-amd/TreeChart.d.ts +0 -1
  348. package/lib-amd/TreeChart.js +0 -6
  349. package/lib-amd/TreeChart.js.map +0 -1
  350. package/lib-amd/Utilities.d.ts +0 -2
  351. package/lib-amd/Utilities.js +0 -183
  352. package/lib-amd/Utilities.js.map +0 -1
  353. package/lib-amd/VerticalBarChart.d.ts +0 -1
  354. package/lib-amd/VerticalBarChart.js +0 -6
  355. package/lib-amd/VerticalBarChart.js.map +0 -1
  356. package/lib-amd/VerticalStackedBarChart.d.ts +0 -1
  357. package/lib-amd/VerticalStackedBarChart.js +0 -6
  358. package/lib-amd/VerticalStackedBarChart.js.map +0 -1
  359. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -103
  360. package/lib-amd/components/AreaChart/AreaChart.base.js +0 -652
  361. package/lib-amd/components/AreaChart/AreaChart.base.js.map +0 -1
  362. package/lib-amd/components/AreaChart/AreaChart.d.ts +0 -7
  363. package/lib-amd/components/AreaChart/AreaChart.js +0 -12
  364. package/lib-amd/components/AreaChart/AreaChart.js.map +0 -1
  365. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +0 -2
  366. package/lib-amd/components/AreaChart/AreaChart.styles.js +0 -12
  367. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +0 -1
  368. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +0 -59
  369. package/lib-amd/components/AreaChart/AreaChart.types.js +0 -5
  370. package/lib-amd/components/AreaChart/AreaChart.types.js.map +0 -1
  371. package/lib-amd/components/AreaChart/index.d.ts +0 -2
  372. package/lib-amd/components/AreaChart/index.js +0 -7
  373. package/lib-amd/components/AreaChart/index.js.map +0 -1
  374. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +0 -62
  375. package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -593
  376. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +0 -1
  377. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +0 -7
  378. package/lib-amd/components/CommonComponents/CartesianChart.js +0 -11
  379. package/lib-amd/components/CommonComponents/CartesianChart.js.map +0 -1
  380. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  381. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +0 -180
  382. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  383. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -528
  384. package/lib-amd/components/CommonComponents/CartesianChart.types.js +0 -5
  385. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +0 -1
  386. package/lib-amd/components/CommonComponents/index.d.ts +0 -2
  387. package/lib-amd/components/CommonComponents/index.js +0 -7
  388. package/lib-amd/components/CommonComponents/index.js.map +0 -1
  389. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -21
  390. package/lib-amd/components/DonutChart/Arc/Arc.js +0 -88
  391. package/lib-amd/components/DonutChart/Arc/Arc.js.map +0 -1
  392. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  393. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +0 -33
  394. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  395. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -124
  396. package/lib-amd/components/DonutChart/Arc/Arc.types.js +0 -5
  397. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +0 -1
  398. package/lib-amd/components/DonutChart/Arc/index.d.ts +0 -2
  399. package/lib-amd/components/DonutChart/Arc/index.js +0 -7
  400. package/lib-amd/components/DonutChart/Arc/index.js.map +0 -1
  401. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +0 -54
  402. package/lib-amd/components/DonutChart/DonutChart.base.js +0 -241
  403. package/lib-amd/components/DonutChart/DonutChart.base.js.map +0 -1
  404. package/lib-amd/components/DonutChart/DonutChart.d.ts +0 -7
  405. package/lib-amd/components/DonutChart/DonutChart.js +0 -12
  406. package/lib-amd/components/DonutChart/DonutChart.js.map +0 -1
  407. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +0 -2
  408. package/lib-amd/components/DonutChart/DonutChart.styles.js +0 -36
  409. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
  410. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -75
  411. package/lib-amd/components/DonutChart/DonutChart.types.js +0 -5
  412. package/lib-amd/components/DonutChart/DonutChart.types.js.map +0 -1
  413. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +0 -15
  414. package/lib-amd/components/DonutChart/Pie/Pie.js +0 -67
  415. package/lib-amd/components/DonutChart/Pie/Pie.js.map +0 -1
  416. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  417. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +0 -24
  418. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  419. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -96
  420. package/lib-amd/components/DonutChart/Pie/Pie.types.js +0 -5
  421. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +0 -1
  422. package/lib-amd/components/DonutChart/Pie/index.d.ts +0 -2
  423. package/lib-amd/components/DonutChart/Pie/index.js +0 -7
  424. package/lib-amd/components/DonutChart/Pie/index.js.map +0 -1
  425. package/lib-amd/components/DonutChart/index.d.ts +0 -3
  426. package/lib-amd/components/DonutChart/index.js +0 -8
  427. package/lib-amd/components/DonutChart/index.js.map +0 -1
  428. package/lib-amd/components/GaugeChart/GaugeChart.base.d.ts +0 -75
  429. package/lib-amd/components/GaugeChart/GaugeChart.base.js +0 -410
  430. package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +0 -1
  431. package/lib-amd/components/GaugeChart/GaugeChart.d.ts +0 -7
  432. package/lib-amd/components/GaugeChart/GaugeChart.js +0 -11
  433. package/lib-amd/components/GaugeChart/GaugeChart.js.map +0 -1
  434. package/lib-amd/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
  435. package/lib-amd/components/GaugeChart/GaugeChart.styles.js +0 -122
  436. package/lib-amd/components/GaugeChart/GaugeChart.styles.js.map +0 -1
  437. package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +0 -238
  438. package/lib-amd/components/GaugeChart/GaugeChart.types.js +0 -22
  439. package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +0 -1
  440. package/lib-amd/components/GaugeChart/index.d.ts +0 -2
  441. package/lib-amd/components/GaugeChart/index.js +0 -7
  442. package/lib-amd/components/GaugeChart/index.js.map +0 -1
  443. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -72
  444. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -425
  445. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  446. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
  447. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -12
  448. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  449. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  450. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
  451. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  452. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -111
  453. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -5
  454. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  455. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +0 -2
  456. package/lib-amd/components/GroupedVerticalBarChart/index.js +0 -7
  457. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +0 -1
  458. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +0 -152
  459. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -538
  460. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  461. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +0 -7
  462. package/lib-amd/components/HeatMapChart/HeatMapChart.js +0 -11
  463. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +0 -1
  464. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  465. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +0 -29
  466. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  467. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -122
  468. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +0 -5
  469. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  470. package/lib-amd/components/HeatMapChart/index.d.ts +0 -2
  471. package/lib-amd/components/HeatMapChart/index.js +0 -7
  472. package/lib-amd/components/HeatMapChart/index.js.map +0 -1
  473. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
  474. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -270
  475. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  476. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
  477. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +0 -12
  478. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  479. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  480. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -69
  481. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  482. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -188
  483. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -14
  484. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  485. package/lib-amd/components/HorizontalBarChart/index.d.ts +0 -3
  486. package/lib-amd/components/HorizontalBarChart/index.js +0 -8
  487. package/lib-amd/components/HorizontalBarChart/index.js.map +0 -1
  488. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -61
  489. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -499
  490. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
  491. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
  492. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -12
  493. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
  494. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
  495. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -17
  496. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
  497. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -112
  498. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -5
  499. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
  500. package/lib-amd/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
  501. package/lib-amd/components/HorizontalBarChartWithAxis/index.js +0 -7
  502. package/lib-amd/components/HorizontalBarChartWithAxis/index.js.map +0 -1
  503. package/lib-amd/components/Legends/Legends.base.d.ts +0 -43
  504. package/lib-amd/components/Legends/Legends.base.js +0 -308
  505. package/lib-amd/components/Legends/Legends.base.js.map +0 -1
  506. package/lib-amd/components/Legends/Legends.d.ts +0 -7
  507. package/lib-amd/components/Legends/Legends.js +0 -11
  508. package/lib-amd/components/Legends/Legends.js.map +0 -1
  509. package/lib-amd/components/Legends/Legends.styles.d.ts +0 -2
  510. package/lib-amd/components/Legends/Legends.styles.js +0 -111
  511. package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
  512. package/lib-amd/components/Legends/Legends.types.d.ts +0 -210
  513. package/lib-amd/components/Legends/Legends.types.js +0 -5
  514. package/lib-amd/components/Legends/Legends.types.js.map +0 -1
  515. package/lib-amd/components/Legends/index.d.ts +0 -3
  516. package/lib-amd/components/Legends/index.js +0 -8
  517. package/lib-amd/components/Legends/index.js.map +0 -1
  518. package/lib-amd/components/Legends/shape.d.ts +0 -9
  519. package/lib-amd/components/Legends/shape.js +0 -27
  520. package/lib-amd/components/Legends/shape.js.map +0 -1
  521. package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -92
  522. package/lib-amd/components/LineChart/LineChart.base.js +0 -861
  523. package/lib-amd/components/LineChart/LineChart.base.js.map +0 -1
  524. package/lib-amd/components/LineChart/LineChart.d.ts +0 -7
  525. package/lib-amd/components/LineChart/LineChart.js +0 -12
  526. package/lib-amd/components/LineChart/LineChart.js.map +0 -1
  527. package/lib-amd/components/LineChart/LineChart.styles.d.ts +0 -2
  528. package/lib-amd/components/LineChart/LineChart.styles.js +0 -12
  529. package/lib-amd/components/LineChart/LineChart.styles.js.map +0 -1
  530. package/lib-amd/components/LineChart/LineChart.types.d.ts +0 -98
  531. package/lib-amd/components/LineChart/LineChart.types.js +0 -5
  532. package/lib-amd/components/LineChart/LineChart.types.js.map +0 -1
  533. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
  534. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +0 -97
  535. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  536. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
  537. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +0 -42
  538. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  539. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  540. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +0 -40
  541. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  542. package/lib-amd/components/LineChart/index.d.ts +0 -3
  543. package/lib-amd/components/LineChart/index.js +0 -8
  544. package/lib-amd/components/LineChart/index.js.map +0 -1
  545. package/lib-amd/components/PieChart/Arc/Arc.d.ts +0 -17
  546. package/lib-amd/components/PieChart/Arc/Arc.js +0 -85
  547. package/lib-amd/components/PieChart/Arc/Arc.js.map +0 -1
  548. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +0 -3
  549. package/lib-amd/components/PieChart/Arc/Arc.styles.js +0 -16
  550. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +0 -1
  551. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +0 -73
  552. package/lib-amd/components/PieChart/Arc/Arc.types.js +0 -5
  553. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +0 -1
  554. package/lib-amd/components/PieChart/Arc/index.d.ts +0 -2
  555. package/lib-amd/components/PieChart/Arc/index.js +0 -7
  556. package/lib-amd/components/PieChart/Arc/index.js.map +0 -1
  557. package/lib-amd/components/PieChart/Pie/Pie.d.ts +0 -10
  558. package/lib-amd/components/PieChart/Pie/Pie.js +0 -43
  559. package/lib-amd/components/PieChart/Pie/Pie.js.map +0 -1
  560. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  561. package/lib-amd/components/PieChart/Pie/Pie.styles.js +0 -12
  562. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +0 -1
  563. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +0 -47
  564. package/lib-amd/components/PieChart/Pie/Pie.types.js +0 -5
  565. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +0 -1
  566. package/lib-amd/components/PieChart/Pie/index.d.ts +0 -2
  567. package/lib-amd/components/PieChart/Pie/index.js +0 -7
  568. package/lib-amd/components/PieChart/Pie/index.js.map +0 -1
  569. package/lib-amd/components/PieChart/PieChart.base.d.ts +0 -10
  570. package/lib-amd/components/PieChart/PieChart.base.js +0 -46
  571. package/lib-amd/components/PieChart/PieChart.base.js.map +0 -1
  572. package/lib-amd/components/PieChart/PieChart.d.ts +0 -7
  573. package/lib-amd/components/PieChart/PieChart.js +0 -12
  574. package/lib-amd/components/PieChart/PieChart.js.map +0 -1
  575. package/lib-amd/components/PieChart/PieChart.styles.d.ts +0 -2
  576. package/lib-amd/components/PieChart/PieChart.styles.js +0 -34
  577. package/lib-amd/components/PieChart/PieChart.styles.js.map +0 -1
  578. package/lib-amd/components/PieChart/PieChart.types.d.ts +0 -75
  579. package/lib-amd/components/PieChart/PieChart.types.js +0 -5
  580. package/lib-amd/components/PieChart/PieChart.types.js.map +0 -1
  581. package/lib-amd/components/PieChart/index.d.ts +0 -2
  582. package/lib-amd/components/PieChart/index.js +0 -7
  583. package/lib-amd/components/PieChart/index.js.map +0 -1
  584. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +0 -90
  585. package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -930
  586. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +0 -1
  587. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +0 -7
  588. package/lib-amd/components/SankeyChart/SankeyChart.js +0 -12
  589. package/lib-amd/components/SankeyChart/SankeyChart.js.map +0 -1
  590. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  591. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +0 -65
  592. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  593. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -146
  594. package/lib-amd/components/SankeyChart/SankeyChart.types.js +0 -5
  595. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +0 -1
  596. package/lib-amd/components/SankeyChart/index.d.ts +0 -2
  597. package/lib-amd/components/SankeyChart/index.js +0 -7
  598. package/lib-amd/components/SankeyChart/index.js.map +0 -1
  599. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +0 -23
  600. package/lib-amd/components/Sparkline/Sparkline.base.js +0 -84
  601. package/lib-amd/components/Sparkline/Sparkline.base.js.map +0 -1
  602. package/lib-amd/components/Sparkline/Sparkline.d.ts +0 -7
  603. package/lib-amd/components/Sparkline/Sparkline.js +0 -12
  604. package/lib-amd/components/Sparkline/Sparkline.js.map +0 -1
  605. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +0 -2
  606. package/lib-amd/components/Sparkline/Sparkline.styles.js +0 -15
  607. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +0 -1
  608. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +0 -59
  609. package/lib-amd/components/Sparkline/Sparkline.types.js +0 -5
  610. package/lib-amd/components/Sparkline/Sparkline.types.js.map +0 -1
  611. package/lib-amd/components/Sparkline/index.d.ts +0 -2
  612. package/lib-amd/components/Sparkline/index.js +0 -7
  613. package/lib-amd/components/Sparkline/index.js.map +0 -1
  614. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
  615. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -412
  616. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  617. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
  618. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +0 -12
  619. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  620. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  621. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -89
  622. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  623. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -213
  624. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -14
  625. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  626. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
  627. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -349
  628. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  629. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +0 -7
  630. package/lib-amd/components/StackedBarChart/StackedBarChart.js +0 -12
  631. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +0 -1
  632. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  633. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +0 -107
  634. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  635. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -222
  636. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +0 -5
  637. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  638. package/lib-amd/components/StackedBarChart/index.d.ts +0 -5
  639. package/lib-amd/components/StackedBarChart/index.js +0 -10
  640. package/lib-amd/components/StackedBarChart/index.js.map +0 -1
  641. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +0 -18
  642. package/lib-amd/components/TreeChart/TreeChart.base.js +0 -320
  643. package/lib-amd/components/TreeChart/TreeChart.base.js.map +0 -1
  644. package/lib-amd/components/TreeChart/TreeChart.d.ts +0 -7
  645. package/lib-amd/components/TreeChart/TreeChart.js +0 -11
  646. package/lib-amd/components/TreeChart/TreeChart.js.map +0 -1
  647. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +0 -2
  648. package/lib-amd/components/TreeChart/TreeChart.styles.js +0 -34
  649. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
  650. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -216
  651. package/lib-amd/components/TreeChart/TreeChart.types.js +0 -34
  652. package/lib-amd/components/TreeChart/TreeChart.types.js.map +0 -1
  653. package/lib-amd/components/TreeChart/index.d.ts +0 -2
  654. package/lib-amd/components/TreeChart/index.js +0 -7
  655. package/lib-amd/components/TreeChart/index.js.map +0 -1
  656. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -84
  657. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -738
  658. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  659. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
  660. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +0 -12
  661. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  662. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  663. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
  664. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  665. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -145
  666. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +0 -5
  667. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  668. package/lib-amd/components/VerticalBarChart/index.d.ts +0 -2
  669. package/lib-amd/components/VerticalBarChart/index.js +0 -7
  670. package/lib-amd/components/VerticalBarChart/index.js.map +0 -1
  671. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -92
  672. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -754
  673. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  674. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
  675. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -12
  676. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  677. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  678. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
  679. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  680. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -172
  681. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -5
  682. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  683. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +0 -2
  684. package/lib-amd/components/VerticalStackedBarChart/index.js +0 -7
  685. package/lib-amd/components/VerticalStackedBarChart/index.js.map +0 -1
  686. package/lib-amd/index.d.ts +0 -21
  687. package/lib-amd/index.js +0 -25
  688. package/lib-amd/index.js.map +0 -1
  689. package/lib-amd/types/IDataPoint.d.ts +0 -687
  690. package/lib-amd/types/IDataPoint.js +0 -5
  691. package/lib-amd/types/IDataPoint.js.map +0 -1
  692. package/lib-amd/types/IEventAnnotation.d.ts +0 -6
  693. package/lib-amd/types/IEventAnnotation.js +0 -5
  694. package/lib-amd/types/IEventAnnotation.js.map +0 -1
  695. package/lib-amd/types/ILegendDataItem.d.ts +0 -10
  696. package/lib-amd/types/ILegendDataItem.js +0 -5
  697. package/lib-amd/types/ILegendDataItem.js.map +0 -1
  698. package/lib-amd/types/index.d.ts +0 -2
  699. package/lib-amd/types/index.js +0 -7
  700. package/lib-amd/types/index.js.map +0 -1
  701. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  702. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -39
  703. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  704. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  705. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +0 -8
  706. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  707. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  708. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -103
  709. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  710. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  711. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -5
  712. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  713. package/lib-amd/utilities/ChartHoverCard/index.d.ts +0 -3
  714. package/lib-amd/utilities/ChartHoverCard/index.js +0 -8
  715. package/lib-amd/utilities/ChartHoverCard/index.js.map +0 -1
  716. package/lib-amd/utilities/FocusableTooltipText.d.ts +0 -27
  717. package/lib-amd/utilities/FocusableTooltipText.js +0 -54
  718. package/lib-amd/utilities/FocusableTooltipText.js.map +0 -1
  719. package/lib-amd/utilities/SVGTooltipText.d.ts +0 -95
  720. package/lib-amd/utilities/SVGTooltipText.js +0 -175
  721. package/lib-amd/utilities/SVGTooltipText.js.map +0 -1
  722. package/lib-amd/utilities/colors.d.ts +0 -51
  723. package/lib-amd/utilities/colors.js +0 -139
  724. package/lib-amd/utilities/colors.js.map +0 -1
  725. package/lib-amd/utilities/index.d.ts +0 -4
  726. package/lib-amd/utilities/index.js +0 -9
  727. package/lib-amd/utilities/index.js.map +0 -1
  728. package/lib-amd/utilities/locale-util.d.ts +0 -3
  729. package/lib-amd/utilities/locale-util.js +0 -24
  730. package/lib-amd/utilities/locale-util.js.map +0 -1
  731. package/lib-amd/utilities/test-data.d.ts +0 -27
  732. package/lib-amd/utilities/test-data.js +0 -214
  733. package/lib-amd/utilities/test-data.js.map +0 -1
  734. package/lib-amd/utilities/utilities.d.ts +0 -411
  735. package/lib-amd/utilities/utilities.js +0 -1085
  736. package/lib-amd/utilities/utilities.js.map +0 -1
  737. package/lib-amd/utilities/vbc-utils.d.ts +0 -2
  738. package/lib-amd/utilities/vbc-utils.js +0 -38
  739. package/lib-amd/utilities/vbc-utils.js.map +0 -1
  740. package/lib-amd/version.d.ts +0 -1
  741. package/lib-amd/version.js +0 -6
  742. package/lib-amd/version.js.map +0 -1
@@ -1,111 +0,0 @@
1
- define(["require", "exports", "tslib", "@fluentui/react/lib/Styling"], function (require, exports, tslib_1, Styling_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.getStyles = void 0;
5
- var getStyles = function (props) {
6
- var _a, _b;
7
- var className = props.className, theme = props.theme, _c = props.isLineLegendInBarChart, isLineLegendInBarChart = _c === void 0 ? false : _c;
8
- var _d = theme, palette = _d.palette, fonts = _d.fonts;
9
- var options = {
10
- inset: undefined,
11
- position: undefined,
12
- highContrastStyle: {
13
- outlineColor: theme.semanticColors.focusBorder,
14
- },
15
- borderColor: 'transparent',
16
- outlineColor: undefined,
17
- };
18
- return {
19
- root: [
20
- {
21
- whiteSpace: 'nowrap',
22
- width: '100%',
23
- alignItems: 'center',
24
- margin: '-8px 0 0 -8px',
25
- },
26
- className,
27
- ],
28
- legend: [
29
- (0, Styling_1.getFocusStyle)(theme, options),
30
- {
31
- display: 'flex',
32
- alignItems: 'center',
33
- cursor: 'pointer',
34
- border: 'none',
35
- padding: '8px',
36
- background: 'none',
37
- textTransform: 'capitalize',
38
- },
39
- ],
40
- rect: {
41
- selectors: (_a = {},
42
- _a[Styling_1.HighContrastSelector] = {
43
- content: "linear-gradient(to right, ".concat(props.colorOnSelectedState, ", ").concat(props.colorOnSelectedState, ")"),
44
- opacity: props.colorOnSelectedState === theme.semanticColors.buttonBackground ? '0.6' : '',
45
- },
46
- _a),
47
- width: '12px',
48
- height: isLineLegendInBarChart ? '4px' : '12px',
49
- backgroundColor: props.stripePattern ? '' : props.colorOnSelectedState,
50
- marginRight: '8px',
51
- border: '1px solid',
52
- borderColor: props.borderColor ? props.borderColor : theme === null || theme === void 0 ? void 0 : theme.semanticColors.buttonBorder,
53
- content: props.stripePattern
54
- ? // eslint-disable-next-line @fluentui/max-len
55
- "repeating-linear-gradient(135deg, transparent, transparent 3px, ".concat(props.colorOnSelectedState, " 1px, ").concat(props.colorOnSelectedState, " 4px)")
56
- : '',
57
- },
58
- shape: [
59
- {
60
- marginRight: '8px',
61
- },
62
- ],
63
- triangle: {
64
- width: '0',
65
- height: '0',
66
- borderLeft: '6px solid transparent',
67
- borderRight: '6px solid transparent',
68
- borderTop: '10.4px solid',
69
- borderTopColor: props.colorOnSelectedState,
70
- marginRight: '8px',
71
- opacity: props.colorOnSelectedState === theme.semanticColors.buttonBackground
72
- ? '0.6'
73
- : props.opacity
74
- ? props.opacity
75
- : '',
76
- selectors: (_b = {},
77
- _b[Styling_1.HighContrastSelector] = {
78
- border: '0px',
79
- height: '10.4px',
80
- width: '10.4px',
81
- clipPath: 'polygon(50% 100%, 0 0, 100% 0)',
82
- backgroundImage: "linear-gradient(to right, ".concat(props.colorOnSelectedState, ", ").concat(props.colorOnSelectedState, ")"),
83
- },
84
- _b),
85
- },
86
- text: tslib_1.__assign(tslib_1.__assign({}, fonts.small), { lineHeight: '16px', color: theme === null || theme === void 0 ? void 0 : theme.semanticColors.bodyText, opacity: props.colorOnSelectedState === theme.semanticColors.buttonBackground ? '0.67' : '' }),
87
- hoverChange: {
88
- width: '12px',
89
- height: '12px',
90
- backgroundColor: theme.semanticColors.buttonBackground,
91
- marginRight: '8px',
92
- border: '1px solid',
93
- borderColor: props.borderColor ? props.borderColor : palette.black,
94
- },
95
- overflowIndicationTextStyle: [
96
- (0, Styling_1.getFocusStyle)(theme, options),
97
- tslib_1.__assign(tslib_1.__assign({ cursor: 'pointer', color: theme === null || theme === void 0 ? void 0 : theme.semanticColors.bodyText }, fonts.small), { lineHeight: '16px', padding: '8px' }),
98
- ],
99
- hoverCardRoot: {
100
- padding: '8px',
101
- },
102
- subComponentStyles: {
103
- hoverCardStyles: {
104
- host: [(0, Styling_1.getFocusStyle)(theme, options)],
105
- },
106
- },
107
- };
108
- };
109
- exports.getStyles = getStyles;
110
- });
111
- //# sourceMappingURL=Legends.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Legends.styles.js","sourceRoot":"../src/","sources":["components/Legends/Legends.styles.ts"],"names":[],"mappings":";;;;IAGO,IAAM,SAAS,GAAG,UAAC,KAAwB;;QACxC,IAAA,SAAS,GAA4C,KAAK,UAAjD,EAAE,KAAK,GAAqC,KAAK,MAA1C,EAAE,KAAmC,KAAK,uBAAV,EAA9B,sBAAsB,mBAAG,KAAK,KAAA,CAAW;QAC7D,IAAA,KAAqB,KAAM,EAAzB,OAAO,aAAA,EAAE,KAAK,WAAW,CAAC;QAClC,IAAM,OAAO,GAA2B;YACtC,KAAK,EAAE,SAAS;YAChB,QAAQ,EAAE,SAAS;YACnB,iBAAiB,EAAE;gBACjB,YAAY,EAAE,KAAM,CAAC,cAAc,CAAC,WAAW;aAChD;YACD,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,SAAS;SACxB,CAAC;QACF,OAAO;YACL,IAAI,EAAE;gBACJ;oBACE,UAAU,EAAE,QAAQ;oBACpB,KAAK,EAAE,MAAM;oBACb,UAAU,EAAE,QAAQ;oBACpB,MAAM,EAAE,eAAe;iBACxB;gBACD,SAAS;aACV;YACD,MAAM,EAAE;gBACN,IAAA,uBAAa,EAAC,KAAM,EAAE,OAAO,CAAC;gBAC9B;oBACE,OAAO,EAAE,MAAM;oBACf,UAAU,EAAE,QAAQ;oBACpB,MAAM,EAAE,SAAS;oBACjB,MAAM,EAAE,MAAM;oBACd,OAAO,EAAE,KAAK;oBACd,UAAU,EAAE,MAAM;oBAClB,aAAa,EAAE,YAAY;iBAC5B;aACF;YACD,IAAI,EAAE;gBACJ,SAAS;oBACP,GAAC,8BAAoB,IAAG;wBACtB,OAAO,EAAE,oCAA6B,KAAK,CAAC,oBAAoB,eAAK,KAAK,CAAC,oBAAoB,MAAG;wBAClG,OAAO,EAAE,KAAK,CAAC,oBAAoB,KAAK,KAAM,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE;qBAC5F;uBACF;gBACD,KAAK,EAAE,MAAM;gBACb,MAAM,EAAE,sBAAsB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM;gBAC/C,eAAe,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB;gBACtE,WAAW,EAAE,KAAK;gBAClB,MAAM,EAAE,WAAW;gBACnB,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,cAAc,CAAC,YAAY;gBACvF,OAAO,EAAE,KAAK,CAAC,aAAa;oBAC1B,CAAC,CAAC,6CAA6C;wBAC7C,0EAAmE,KAAK,CAAC,oBAAoB,mBAAS,KAAK,CAAC,oBAAoB,UAAO;oBACzI,CAAC,CAAC,EAAE;aACP;YACD,KAAK,EAAE;gBACL;oBACE,WAAW,EAAE,KAAK;iBACnB;aACF;YACD,QAAQ,EAAE;gBACR,KAAK,EAAE,GAAG;gBACV,MAAM,EAAE,GAAG;gBACX,UAAU,EAAE,uBAAuB;gBACnC,WAAW,EAAE,uBAAuB;gBACpC,SAAS,EAAE,cAAc;gBACzB,cAAc,EAAE,KAAK,CAAC,oBAAoB;gBAC1C,WAAW,EAAE,KAAK;gBAClB,OAAO,EACL,KAAK,CAAC,oBAAoB,KAAK,KAAM,CAAC,cAAc,CAAC,gBAAgB;oBACnE,CAAC,CAAC,KAAK;oBACP,CAAC,CAAC,KAAK,CAAC,OAAO;wBACf,CAAC,CAAC,KAAK,CAAC,OAAO;wBACf,CAAC,CAAC,EAAE;gBACR,SAAS;oBACP,GAAC,8BAAoB,IAAG;wBACtB,MAAM,EAAE,KAAK;wBACb,MAAM,EAAE,QAAQ;wBAChB,KAAK,EAAE,QAAQ;wBACf,QAAQ,EAAE,gCAAgC;wBAC1C,eAAe,EAAE,oCAA6B,KAAK,CAAC,oBAAoB,eAAK,KAAK,CAAC,oBAAoB,MAAG;qBACjG;uBACZ;aACF;YACD,IAAI,wCACC,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;YACD,WAAW,EAAE;gBACX,KAAK,EAAE,MAAM;gBACb,MAAM,EAAE,MAAM;gBACd,eAAe,EAAE,KAAM,CAAC,cAAc,CAAC,gBAAgB;gBACvD,WAAW,EAAE,KAAK;gBAClB,MAAM,EAAE,WAAW;gBACnB,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK;aACnE;YACD,2BAA2B,EAAE;gBAC3B,IAAA,uBAAa,EAAC,KAAM,EAAE,OAAO,CAAC;oDAE5B,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;aAEjB;YACD,aAAa,EAAE;gBACb,OAAO,EAAE,KAAK;aACf;YACD,kBAAkB,EAAE;gBAClB,eAAe,EAAE;oBACf,IAAI,EAAE,CAAC,IAAA,uBAAa,EAAC,KAAM,EAAE,OAAO,CAAC,CAAC;iBACvC;aACF;SACF,CAAC;IACJ,CAAC,CAAC;IAlHW,QAAA,SAAS,aAkHpB","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"]}
@@ -1,210 +0,0 @@
1
- import * as React from 'react';
2
- import { ITheme, IStyle } from '@fluentui/react/lib/Styling';
3
- import { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
4
- import { IHoverCardStyleProps, IHoverCardStyles } from '@fluentui/react/lib/HoverCard';
5
- import { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';
6
- import { IFocusZoneProps } from '@fluentui/react-focus';
7
- import { CustomPoints, Points } from '../../utilities/utilities';
8
- export interface ILegendOverflowData {
9
- primary: ILegend[];
10
- overflow?: ILegend[];
11
- }
12
- /**
13
- * @public
14
- * {@docCategory Legends}
15
- */
16
- export interface ILegendSubComponentStyles {
17
- hoverCardStyles: IStyleFunctionOrObject<IHoverCardStyleProps, IHoverCardStyles>;
18
- }
19
- /**
20
- * @public
21
- * Legends styles
22
- * {@docCategory Legends}
23
- */
24
- export interface ILegendsStyles {
25
- /**
26
- * Style set for the root of the legend component
27
- */
28
- root: IStyle;
29
- /**
30
- * Style set for Legend. This is a wrapping class for text of legend and the rectange box that represents a legend
31
- */
32
- legend: IStyle;
33
- /**
34
- * Style set for the rectangle that represents a legend
35
- */
36
- rect: IStyle;
37
- /**
38
- * styles set for the shape that represents a legend
39
- */
40
- shape: IStyle;
41
- /**
42
- * Style set for the triangle that represents a legend
43
- */
44
- triangle: IStyle;
45
- /**
46
- * Style for the legend text
47
- */
48
- text: IStyle;
49
- /**
50
- * Style for the legend text
51
- */
52
- hoverChange: IStyle;
53
- /**
54
- * Style for the text that indicates the no.of legends that are in hovercard due to lack of space
55
- */
56
- overflowIndicationTextStyle: IStyle;
57
- /**
58
- * Style for the overflow container
59
- */
60
- hoverCardRoot: IStyle;
61
- /**
62
- * sub component styles
63
- */
64
- subComponentStyles: ILegendSubComponentStyles;
65
- }
66
- /**
67
- * @public
68
- * ILegend interface
69
- * {@docCategory Legends}
70
- */
71
- export interface ILegend {
72
- /**
73
- * Defines the title of the legend
74
- */
75
- title: string;
76
- /**
77
- * Defines the function that is executed on clicking this legend
78
- */
79
- action?: VoidFunction;
80
- /**
81
- * Defines the function that is executed upon hovering over the legend
82
- */
83
- hoverAction?: VoidFunction;
84
- /**
85
- * Defines the function that is executed upon moving the mouse away from the legend
86
- */
87
- onMouseOutAction?: (isLegendFocused?: boolean) => void;
88
- /**
89
- * The color for the legend
90
- */
91
- color: string;
92
- /**
93
- * The opacity of the legend color
94
- */
95
- opacity?: number;
96
- /**
97
- * The shape for the legend
98
- */
99
- shape?: LegendShape;
100
- /**
101
- * Indicated whether or not to apply stripe pattern
102
- */
103
- stripePattern?: boolean;
104
- /**
105
- * Indicates if the legend belongs to a line in the Bar Chart
106
- */
107
- isLineLegendInBarChart?: boolean;
108
- nativeButtonProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;
109
- }
110
- /**
111
- * @public
112
- * Legend style properties
113
- * {@docCategory Legends}
114
- */
115
- export interface ILegendStyleProps {
116
- theme?: ITheme;
117
- className?: string;
118
- colorOnSelectedState?: string;
119
- borderColor?: string;
120
- opacity?: number;
121
- overflow?: boolean;
122
- stripePattern?: boolean;
123
- isLineLegendInBarChart?: boolean;
124
- }
125
- /**
126
- * @public
127
- * Legend properties
128
- * {@docCategory Legends}
129
- */
130
- export interface ILegendsProps {
131
- /**
132
- * Prop that takes list of legends
133
- */
134
- legends: ILegend[];
135
- /**
136
- * Additional CSS class(es) to apply to the legneds component.
137
- */
138
- className?: string;
139
- /**
140
- * Theme (provided through customization.)
141
- */
142
- theme?: ITheme;
143
- /**
144
- * Call to provide customized styling that will layer on top of the variant rules.
145
- */
146
- styles?: IStyleFunctionOrObject<ILegendStyleProps, ILegendsStyles>;
147
- /**
148
- * This prop makes the legends component align itself to the center in the container it is sitting in
149
- */
150
- centerLegends?: boolean;
151
- /**
152
- * Enable the legends to wrap lines if there is not enough space to show all legends on a single line
153
- */
154
- enabledWrapLines?: boolean;
155
- /**
156
- * props for the overflow set component
157
- */
158
- overflowProps?: Partial<IOverflowSetProps>;
159
- /**
160
- * focus zone props in hover card
161
- */
162
- focusZonePropsInHoverCard?: IFocusZoneProps;
163
- /**
164
- * text for overflow legends string
165
- */
166
- overflowText?: string;
167
- /**
168
- * prop that decides if legends are focusable
169
- * @default true
170
- */
171
- allowFocusOnLegends?: boolean;
172
- /**
173
- * prop that decide if we can select multiple legends or single legend at a time
174
- * @default false
175
- */
176
- canSelectMultipleLegends?: boolean;
177
- /**
178
- * Defines the function that is executed upon hiding of hover card
179
- * make sure to send prop when the prop is canSelectMultipleLegends is set to true
180
- * and empty the selected state legends
181
- */
182
- onLegendHoverCardLeave?: VoidFunction;
183
- /**
184
- * Callback issued when the selected option changes.
185
- */
186
- onChange?: (selectedLegends: string[], event: React.MouseEvent<HTMLButtonElement>, currentLegend?: ILegend) => void;
187
- /**
188
- * Keys (title) that will be initially used to set selected items.
189
- * This prop is used for multiSelect scenarios.
190
- * In other cases, defaultSelectedLegend should be used.
191
- */
192
- defaultSelectedLegends?: string[];
193
- /**
194
- * Key that will be initially used to set selected item.
195
- * This prop is used for singleSelect scenarios.
196
- */
197
- defaultSelectedLegend?: string;
198
- /**
199
- * The shape for the legend.
200
- */
201
- shape?: LegendShape;
202
- }
203
- /**
204
- * @public
205
- * The shape for the legend
206
- * default: show the rect legend
207
- * triangle: show the triangle legend
208
- * {@docCategory Legends}
209
- */
210
- export type LegendShape = 'default' | 'triangle' | keyof typeof Points | keyof typeof CustomPoints;
@@ -1,5 +0,0 @@
1
- define(["require", "exports"], function (require, exports) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- });
5
- //# sourceMappingURL=Legends.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Legends.types.js","sourceRoot":"../src/","sources":["components/Legends/Legends.types.ts"],"names":[],"mappings":"","sourcesContent":["import * as React from 'react';\nimport { ITheme, IStyle } from '@fluentui/react/lib/Styling';\nimport { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IHoverCardStyleProps, IHoverCardStyles } from '@fluentui/react/lib/HoverCard';\nimport { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';\nimport { IFocusZoneProps } from '@fluentui/react-focus';\nimport { CustomPoints, Points } from '../../utilities/utilities';\n\nexport interface ILegendOverflowData {\n primary: ILegend[];\n\n overflow?: ILegend[];\n}\n\n/**\n * @public\n * {@docCategory Legends}\n */\nexport interface ILegendSubComponentStyles {\n hoverCardStyles: IStyleFunctionOrObject<IHoverCardStyleProps, IHoverCardStyles>;\n}\n\n/**\n * @public\n * Legends styles\n * {@docCategory Legends}\n */\nexport interface ILegendsStyles {\n /**\n * Style set for the root of the legend component\n */\n root: IStyle;\n\n /**\n * Style set for Legend. This is a wrapping class for text of legend and the rectange box that represents a legend\n */\n legend: IStyle;\n\n /**\n * Style set for the rectangle that represents a legend\n */\n rect: IStyle;\n\n /**\n * styles set for the shape that represents a legend\n */\n shape: IStyle;\n\n /**\n * Style set for the triangle that represents a legend\n */\n triangle: IStyle;\n\n /**\n * Style for the legend text\n */\n text: IStyle;\n\n /**\n * Style for the legend text\n */\n hoverChange: IStyle;\n\n /**\n * Style for the text that indicates the no.of legends that are in hovercard due to lack of space\n */\n overflowIndicationTextStyle: IStyle;\n\n /**\n * Style for the overflow container\n */\n hoverCardRoot: IStyle;\n\n /**\n * sub component styles\n */\n subComponentStyles: ILegendSubComponentStyles;\n}\n\n/**\n * @public\n * ILegend interface\n * {@docCategory Legends}\n */\nexport interface ILegend {\n /**\n * Defines the title of the legend\n */\n title: string;\n\n /**\n * Defines the function that is executed on clicking this legend\n */\n action?: VoidFunction;\n\n /**\n * Defines the function that is executed upon hovering over the legend\n */\n hoverAction?: VoidFunction;\n\n /**\n * Defines the function that is executed upon moving the mouse away from the legend\n */\n onMouseOutAction?: (isLegendFocused?: boolean) => void;\n\n /**\n * The color for the legend\n */\n color: string;\n\n /**\n * The opacity of the legend color\n */\n opacity?: number;\n\n /**\n * The shape for the legend\n */\n shape?: LegendShape;\n\n /**\n * Indicated whether or not to apply stripe pattern\n */\n stripePattern?: boolean;\n\n /**\n * Indicates if the legend belongs to a line in the Bar Chart\n */\n isLineLegendInBarChart?: boolean;\n\n /*\n * native button props for the legend button\n */\n nativeButtonProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;\n}\n\n/**\n * @public\n * Legend style properties\n * {@docCategory Legends}\n */\nexport interface ILegendStyleProps {\n theme?: ITheme;\n className?: string;\n colorOnSelectedState?: string;\n borderColor?: string;\n opacity?: number;\n overflow?: boolean;\n stripePattern?: boolean;\n isLineLegendInBarChart?: boolean;\n}\n\n/**\n * @public\n * Legend properties\n * {@docCategory Legends}\n */\nexport interface ILegendsProps {\n /**\n * Prop that takes list of legends\n */\n legends: ILegend[];\n\n /**\n * Additional CSS class(es) to apply to the legneds component.\n */\n className?: string;\n\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<ILegendStyleProps, ILegendsStyles>;\n\n /**\n * This prop makes the legends component align itself to the center in the container it is sitting in\n */\n centerLegends?: boolean;\n\n /**\n * Enable the legends to wrap lines if there is not enough space to show all legends on a single line\n */\n enabledWrapLines?: boolean;\n\n /**\n * props for the overflow set component\n */\n overflowProps?: Partial<IOverflowSetProps>;\n\n /**\n * focus zone props in hover card\n */\n focusZonePropsInHoverCard?: IFocusZoneProps;\n\n /**\n * text for overflow legends string\n */\n overflowText?: string;\n\n /**\n * prop that decides if legends are focusable\n * @default true\n */\n allowFocusOnLegends?: boolean;\n\n /**\n * prop that decide if we can select multiple legends or single legend at a time\n * @default false\n */\n canSelectMultipleLegends?: boolean;\n\n /**\n * Defines the function that is executed upon hiding of hover card\n * make sure to send prop when the prop is canSelectMultipleLegends is set to true\n * and empty the selected state legends\n */\n onLegendHoverCardLeave?: VoidFunction;\n\n /**\n * Callback issued when the selected option changes.\n */\n onChange?: (selectedLegends: string[], event: React.MouseEvent<HTMLButtonElement>, currentLegend?: ILegend) => void;\n\n /**\n * Keys (title) that will be initially used to set selected items.\n * This prop is used for multiSelect scenarios.\n * In other cases, defaultSelectedLegend should be used.\n */\n defaultSelectedLegends?: string[];\n\n /**\n * Key that will be initially used to set selected item.\n * This prop is used for singleSelect scenarios.\n */\n defaultSelectedLegend?: string;\n\n /**\n * The shape for the legend.\n */\n shape?: LegendShape;\n}\n\n/**\n * @public\n * The shape for the legend\n * default: show the rect legend\n * triangle: show the triangle legend\n * {@docCategory Legends}\n */\nexport type LegendShape = 'default' | 'triangle' | keyof typeof Points | keyof typeof CustomPoints;\n"]}
@@ -1,3 +0,0 @@
1
- export * from './Legends';
2
- export * from './Legends.types';
3
- export * from './shape';
@@ -1,8 +0,0 @@
1
- define(["require", "exports", "tslib", "./Legends", "./Legends.types", "./shape"], function (require, exports, tslib_1, Legends_1, Legends_types_1, shape_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- tslib_1.__exportStar(Legends_1, exports);
5
- tslib_1.__exportStar(Legends_types_1, exports);
6
- tslib_1.__exportStar(shape_1, exports);
7
- });
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Legends/index.ts"],"names":[],"mappings":";;;IAAA,yCAA0B;IAC1B,+CAAgC;IAChC,uCAAwB","sourcesContent":["export * from './Legends';\nexport * from './Legends.types';\nexport * from './shape';\n"]}
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- import { LegendShape } from './Legends.types';
3
- export interface IShapeProps {
4
- svgProps: React.SVGAttributes<SVGElement>;
5
- pathProps: React.SVGAttributes<SVGPathElement>;
6
- shape: LegendShape;
7
- classNameForNonSvg?: string;
8
- }
9
- export declare const Shape: React.FC<IShapeProps>;
@@ -1,27 +0,0 @@
1
- define(["require", "exports", "tslib", "react", "../../utilities/utilities"], function (require, exports, tslib_1, React, utilities_1) {
2
- "use strict";
3
- var _a;
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.Shape = void 0;
6
- var pointPath = (_a = {},
7
- _a["".concat(utilities_1.Points[utilities_1.Points.circle])] = 'M1 6 A5 5 0 1 0 12 6 M1 6 A5 5 0 0 1 12 6',
8
- _a["".concat(utilities_1.Points[utilities_1.Points.square])] = 'M1 1 L12 1 L12 12 L1 12 L1 1 Z',
9
- _a["".concat(utilities_1.Points[utilities_1.Points.triangle])] = 'M6 10L8.74228e-07 -1.04907e-06L12 0L6 10Z',
10
- _a["".concat(utilities_1.Points[utilities_1.Points.pyramid])] = 'M6 10L8.74228e-07 -1.04907e-06L12 0L6 10Z',
11
- _a["".concat(utilities_1.Points[utilities_1.Points.diamond])] = 'M2 2 L10 2 L10 10 L2 10 L2 2 Z',
12
- _a["".concat(utilities_1.Points[utilities_1.Points.hexagon])] = 'M9 0H3L0 5L3 10H9L12 5L9 0Z',
13
- _a["".concat(utilities_1.Points[utilities_1.Points.pentagon])] = 'M6.06061 0L0 4.21277L2.30303 11H9.69697L12 4.21277L6.06061 0Z',
14
- _a["".concat(utilities_1.Points[utilities_1.Points.octagon])] = 'M7.08333 0H2.91667L0 2.91667V7.08333L2.91667 10H7.08333L10 7.08333V2.91667L7.08333 0Z',
15
- _a["".concat(utilities_1.CustomPoints[utilities_1.CustomPoints.dottedLine])] = 'M0 6 H3 M5 6 H8 M10 6 H13',
16
- _a);
17
- var Shape = function (_a) {
18
- var svgProps = _a.svgProps, pathProps = _a.pathProps, shape = _a.shape, classNameForNonSvg = _a.classNameForNonSvg;
19
- if (Object.keys(pointPath).indexOf(shape) === -1) {
20
- return React.createElement("div", { className: classNameForNonSvg });
21
- }
22
- return (React.createElement("svg", tslib_1.__assign({ width: 14, height: 14, viewBox: '-1 -1 14 14' }, svgProps, { transform: "rotate(".concat(shape === utilities_1.Points[utilities_1.Points.diamond] ? 45 : shape === utilities_1.Points[utilities_1.Points.pyramid] ? 180 : 0, ", 0, 0)") }),
23
- React.createElement("path", tslib_1.__assign({ d: pointPath[shape] }, pathProps))));
24
- };
25
- exports.Shape = Shape;
26
- });
27
- //# sourceMappingURL=shape.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shape.js","sourceRoot":"../src/","sources":["components/Legends/shape.tsx"],"names":[],"mappings":";;;;;IAeA,IAAM,SAAS;QACb,GAAC,UAAG,kBAAM,CAAC,kBAAM,CAAC,MAAM,CAAC,CAAE,IAAG,6CAA6C;QAC3E,GAAC,UAAG,kBAAM,CAAC,kBAAM,CAAC,MAAM,CAAC,CAAE,IAAG,iCAAiC;QAC/D,GAAC,UAAG,kBAAM,CAAC,kBAAM,CAAC,QAAQ,CAAC,CAAE,IAAG,2CAA2C;QAC3E,GAAC,UAAG,kBAAM,CAAC,kBAAM,CAAC,OAAO,CAAC,CAAE,IAAG,2CAA2C;QAC1E,GAAC,UAAG,kBAAM,CAAC,kBAAM,CAAC,OAAO,CAAC,CAAE,IAAG,iCAAiC;QAChE,GAAC,UAAG,kBAAM,CAAC,kBAAM,CAAC,OAAO,CAAC,CAAE,IAAG,6BAA6B;QAC5D,GAAC,UAAG,kBAAM,CAAC,kBAAM,CAAC,QAAQ,CAAC,CAAE,IAAG,+DAA+D;QAC/F,GAAC,UAAG,kBAAM,CAAC,kBAAM,CAAC,OAAO,CAAC,CAAE,IAC1B,uFAAuF;QACzF,GAAC,UAAG,wBAAY,CAAC,wBAAY,CAAC,UAAU,CAAC,CAAE,IAAG,2BAA2B;WAC1E,CAAC;IAEK,IAAM,KAAK,GAA0B,UAAC,EAAkD;YAAhD,QAAQ,cAAA,EAAE,SAAS,eAAA,EAAE,KAAK,WAAA,EAAE,kBAAkB,wBAAA;QAC3F,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE;YAChD,OAAO,6BAAK,SAAS,EAAE,kBAAkB,GAAI,CAAC;SAC/C;QACD,OAAO,CACL,8CACE,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,OAAO,EAAE,aAAa,IAClB,QAAQ,IACZ,SAAS,EAAE,iBAAU,KAAK,KAAK,kBAAM,CAAC,kBAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,KAAK,kBAAM,CAAC,kBAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,YAAS;YAEhH,+CAAM,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC,IAAM,SAAS,EAAI,CACxC,CACP,CAAC;IACJ,CAAC,CAAC;IAfW,QAAA,KAAK,SAehB","sourcesContent":["import * as React from 'react';\nimport { LegendShape } from './Legends.types';\nimport { CustomPoints, Points } from '../../utilities/utilities';\n\nexport interface IShapeProps {\n svgProps: React.SVGAttributes<SVGElement>;\n pathProps: React.SVGAttributes<SVGPathElement>;\n shape: LegendShape;\n classNameForNonSvg?: string;\n}\n\ntype PointPathType = {\n [key: string]: string;\n};\n\nconst pointPath: PointPathType = {\n [`${Points[Points.circle]}`]: 'M1 6 A5 5 0 1 0 12 6 M1 6 A5 5 0 0 1 12 6',\n [`${Points[Points.square]}`]: 'M1 1 L12 1 L12 12 L1 12 L1 1 Z',\n [`${Points[Points.triangle]}`]: 'M6 10L8.74228e-07 -1.04907e-06L12 0L6 10Z',\n [`${Points[Points.pyramid]}`]: 'M6 10L8.74228e-07 -1.04907e-06L12 0L6 10Z',\n [`${Points[Points.diamond]}`]: 'M2 2 L10 2 L10 10 L2 10 L2 2 Z',\n [`${Points[Points.hexagon]}`]: 'M9 0H3L0 5L3 10H9L12 5L9 0Z',\n [`${Points[Points.pentagon]}`]: 'M6.06061 0L0 4.21277L2.30303 11H9.69697L12 4.21277L6.06061 0Z',\n [`${Points[Points.octagon]}`]:\n 'M7.08333 0H2.91667L0 2.91667V7.08333L2.91667 10H7.08333L10 7.08333V2.91667L7.08333 0Z',\n [`${CustomPoints[CustomPoints.dottedLine]}`]: 'M0 6 H3 M5 6 H8 M10 6 H13',\n};\n\nexport const Shape: React.FC<IShapeProps> = ({ svgProps, pathProps, shape, classNameForNonSvg }) => {\n if (Object.keys(pointPath).indexOf(shape) === -1) {\n return <div className={classNameForNonSvg} />;\n }\n return (\n <svg\n width={14}\n height={14}\n viewBox={'-1 -1 14 14'}\n {...svgProps}\n transform={`rotate(${shape === Points[Points.diamond] ? 45 : shape === Points[Points.pyramid] ? 180 : 0}, 0, 0)`}\n >\n <path d={pointPath[shape]} {...pathProps} />\n </svg>\n );\n};\n"]}
@@ -1,92 +0,0 @@
1
- import * as React from 'react';
2
- import { IAccessibilityProps, IBasestate, ILineChartProps, ILineChartPoints, ICustomizedCalloutData, IColorFillBarsProps, ILineChartDataPoint } from '../../index';
3
- type LineChartDataWithIndex = ILineChartPoints & {
4
- index: number;
5
- };
6
- export interface ILineChartState extends IBasestate {
7
- selectedLegendPoints: LineChartDataWithIndex[];
8
- selectedColorBarLegend: IColorFillBarsProps[];
9
- isSelectedLegend: boolean;
10
- dataPointCalloutProps?: ICustomizedCalloutData;
11
- stackCalloutProps?: ICustomizedCalloutData;
12
- activePoint?: string;
13
- xAxisCalloutAccessibilityData?: IAccessibilityProps;
14
- nearestCircleToHighlight: ILineChartDataPoint | null;
15
- activeLine: number | null;
16
- }
17
- export declare class LineChartBase extends React.Component<ILineChartProps, ILineChartState> {
18
- static defaultProps: Partial<ILineChartProps>;
19
- private _points;
20
- private _calloutPoints;
21
- private _xAxisScale;
22
- private _yAxisScale;
23
- private _circleId;
24
- private _lineId;
25
- private _borderId;
26
- private _verticalLine;
27
- private _colorFillBarPatternId;
28
- private _uniqueCallOutID;
29
- private _refArray;
30
- private margins;
31
- private eventLabelHeight;
32
- private lines;
33
- private _renderedColorFillBars;
34
- private _colorFillBars;
35
- private _tooltipId;
36
- private _rectId;
37
- private _staticHighlightCircle;
38
- private _createLegendsMemoized;
39
- private _firstRenderOptimization;
40
- private _emptyChartId;
41
- private _isRTL;
42
- constructor(props: ILineChartProps);
43
- componentDidUpdate(prevProps: ILineChartProps): void;
44
- render(): JSX.Element;
45
- private _getDomainNRangeValues;
46
- private _injectIndexPropertyInLineChartData;
47
- private _getCustomizedCallout;
48
- private _getMargins;
49
- private _initializeLineChartData;
50
- private _handleSingleLegendSelectionAction;
51
- private _onHoverCardHide;
52
- private _createLegends;
53
- private _closeCallout;
54
- private _getBoxWidthOfShape;
55
- private _getPath;
56
- private _getPointFill;
57
- private _createLines;
58
- private _createColorFillBars;
59
- private _getStripePattern;
60
- private _checkInGap;
61
- private _refCallback;
62
- private _onMouseOverLargeDataset;
63
- private _handleFocus;
64
- private _handleHover;
65
- /**
66
- * Screen readers announce an element as clickable if the onClick attribute is set.
67
- * This function sets the attribute only when a click event handler is provided.
68
- */
69
- private _getClickHandler;
70
- private _handleMouseOut;
71
- private _handleChartMouseLeave;
72
- private _handleLegendClick;
73
- private _handleMultipleLineLegendSelectionAction;
74
- private _handleMultipleColorFillBarLegendSelectionAction;
75
- private _clearMultipleLegendSelections;
76
- /**
77
- * This function checks if the given legend is highlighted or not.
78
- * A legend can be highlighted in 2 ways:
79
- * 1. selection: if the user clicks on it
80
- * 2. hovering: if there is no selected legend and the user hovers over it
81
- */
82
- private _legendHighlighted;
83
- /**
84
- * This function checks if none of the legends is selected or hovered.
85
- */
86
- private _noLegendHighlighted;
87
- private _getColorFillBarOpacity;
88
- private _getAriaLabel;
89
- private _isChartEmpty;
90
- private _getChartTitle;
91
- }
92
- export {};