@fluentui/react-charts 9.3.27 → 9.3.29

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 (440) hide show
  1. package/CHANGELOG.md +32 -2
  2. package/dist/index.d.cts +51 -0
  3. package/dist/index.d.ts +51 -0
  4. package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.js +1 -4
  5. package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.js.map +1 -1
  6. package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.types.js.map +1 -1
  7. package/lib/components/AnnotationOnlyChart/index.js.map +1 -1
  8. package/lib/components/AnnotationOnlyChart/useAnnotationOnlyChartStyles.styles.raw.js.map +1 -1
  9. package/lib/components/AreaChart/AreaChart.js +35 -5
  10. package/lib/components/AreaChart/AreaChart.js.map +1 -1
  11. package/lib/components/AreaChart/AreaChart.types.js.map +1 -1
  12. package/lib/components/AreaChart/index.js.map +1 -1
  13. package/lib/components/AreaChart/useAreaChartStyles.styles.raw.js.map +1 -1
  14. package/lib/components/ChartTable/ChartTable.js.map +1 -1
  15. package/lib/components/ChartTable/ChartTable.types.js.map +1 -1
  16. package/lib/components/ChartTable/index.js.map +1 -1
  17. package/lib/components/ChartTable/useChartTableStyles.styles.raw.js.map +1 -1
  18. package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.js +19 -29
  19. package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.js.map +1 -1
  20. package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.types.js.map +1 -1
  21. package/lib/components/CommonComponents/Annotations/index.js.map +1 -1
  22. package/lib/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.js +2 -2
  23. package/lib/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.js.map +1 -1
  24. package/lib/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.raw.js +2 -2
  25. package/lib/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.raw.js.map +1 -1
  26. package/lib/components/CommonComponents/CartesianChart.js +17 -15
  27. package/lib/components/CommonComponents/CartesianChart.js.map +1 -1
  28. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
  29. package/lib/components/CommonComponents/ChartPopover.js +3 -2
  30. package/lib/components/CommonComponents/ChartPopover.js.map +1 -1
  31. package/lib/components/CommonComponents/ChartPopover.types.js.map +1 -1
  32. package/lib/components/CommonComponents/index.js.map +1 -1
  33. package/lib/components/CommonComponents/useCartesianChartStyles.styles.raw.js.map +1 -1
  34. package/lib/components/CommonComponents/useChartPopoverStyles.styles.raw.js.map +1 -1
  35. package/lib/components/DeclarativeChart/DeclarativeChart.js +9 -9
  36. package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  37. package/lib/components/DeclarativeChart/PlotlyColorAdapter.js +4 -4
  38. package/lib/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
  39. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +92 -110
  40. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  41. package/lib/components/DeclarativeChart/index.js.map +1 -1
  42. package/lib/components/DonutChart/Arc/Arc.js.map +1 -1
  43. package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -1
  44. package/lib/components/DonutChart/Arc/index.js.map +1 -1
  45. package/lib/components/DonutChart/Arc/useArcStyles.styles.raw.js.map +1 -1
  46. package/lib/components/DonutChart/DonutChart.js.map +1 -1
  47. package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
  48. package/lib/components/DonutChart/Pie/Pie.js.map +1 -1
  49. package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -1
  50. package/lib/components/DonutChart/Pie/index.js.map +1 -1
  51. package/lib/components/DonutChart/Pie/usePieStyles.styles.raw.js.map +1 -1
  52. package/lib/components/DonutChart/index.js.map +1 -1
  53. package/lib/components/DonutChart/useDonutChartStyles.styles.raw.js.map +1 -1
  54. package/lib/components/FunnelChart/FunnelChart.js +5 -5
  55. package/lib/components/FunnelChart/FunnelChart.js.map +1 -1
  56. package/lib/components/FunnelChart/FunnelChart.types.js.map +1 -1
  57. package/lib/components/FunnelChart/funnelGeometry.js.map +1 -1
  58. package/lib/components/FunnelChart/index.js.map +1 -1
  59. package/lib/components/FunnelChart/useFunnelChartStyles.styles.raw.js.map +1 -1
  60. package/lib/components/GanttChart/GanttChart.js +4 -3
  61. package/lib/components/GanttChart/GanttChart.js.map +1 -1
  62. package/lib/components/GanttChart/GanttChart.types.js.map +1 -1
  63. package/lib/components/GanttChart/index.js.map +1 -1
  64. package/lib/components/GanttChart/useGanttChartStyles.styles.raw.js.map +1 -1
  65. package/lib/components/GaugeChart/GaugeChart.js +34 -13
  66. package/lib/components/GaugeChart/GaugeChart.js.map +1 -1
  67. package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -1
  68. package/lib/components/GaugeChart/index.js.map +1 -1
  69. package/lib/components/GaugeChart/useGaugeChartStyles.styles.raw.js.map +1 -1
  70. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +45 -46
  71. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  72. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  73. package/lib/components/GroupedVerticalBarChart/index.js.map +1 -1
  74. package/lib/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.raw.js.map +1 -1
  75. package/lib/components/HeatMapChart/HeatMapChart.js +1 -0
  76. package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -1
  77. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  78. package/lib/components/HeatMapChart/index.js.map +1 -1
  79. package/lib/components/HeatMapChart/useHeatMapChartStyles.styles.raw.js.map +1 -1
  80. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +5 -6
  81. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
  82. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  83. package/lib/components/HorizontalBarChart/index.js.map +1 -1
  84. package/lib/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.raw.js.map +1 -1
  85. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +4 -4
  86. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  87. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  88. package/lib/components/HorizontalBarChartWithAxis/index.js.map +1 -1
  89. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js.map +1 -1
  90. package/lib/components/Legends/Legends.js +16 -20
  91. package/lib/components/Legends/Legends.js.map +1 -1
  92. package/lib/components/Legends/Legends.types.js.map +1 -1
  93. package/lib/components/Legends/OverflowMenu.js +13 -10
  94. package/lib/components/Legends/OverflowMenu.js.map +1 -1
  95. package/lib/components/Legends/index.js.map +1 -1
  96. package/lib/components/Legends/shape.js.map +1 -1
  97. package/lib/components/Legends/useLegendsStyles.styles.raw.js.map +1 -1
  98. package/lib/components/LineChart/LineChart.js +40 -36
  99. package/lib/components/LineChart/LineChart.js.map +1 -1
  100. package/lib/components/LineChart/LineChart.types.js.map +1 -1
  101. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -1
  102. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +1 -1
  103. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
  104. package/lib/components/LineChart/index.js.map +1 -1
  105. package/lib/components/LineChart/useLineChartStyles.styles.raw.js.map +1 -1
  106. package/lib/components/PolarChart/PolarChart.js +3 -4
  107. package/lib/components/PolarChart/PolarChart.js.map +1 -1
  108. package/lib/components/PolarChart/PolarChart.types.js.map +1 -1
  109. package/lib/components/PolarChart/PolarChart.utils.js +3 -3
  110. package/lib/components/PolarChart/PolarChart.utils.js.map +1 -1
  111. package/lib/components/PolarChart/index.js.map +1 -1
  112. package/lib/components/PolarChart/usePolarChartStyles.styles.raw.js.map +1 -1
  113. package/lib/components/ResponsiveContainer/ResponsiveContainer.js +1 -1
  114. package/lib/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -1
  115. package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js.map +1 -1
  116. package/lib/components/ResponsiveContainer/index.js.map +1 -1
  117. package/lib/components/ResponsiveContainer/useResponsiveChildStyles.styles.raw.js.map +1 -1
  118. package/lib/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -1
  119. package/lib/components/SankeyChart/SankeyChart.js.map +1 -1
  120. package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -1
  121. package/lib/components/SankeyChart/index.js.map +1 -1
  122. package/lib/components/SankeyChart/useSankeyChartStyles.styles.raw.js.map +1 -1
  123. package/lib/components/ScatterChart/ScatterChart.js +3 -3
  124. package/lib/components/ScatterChart/ScatterChart.js.map +1 -1
  125. package/lib/components/ScatterChart/ScatterChart.types.js.map +1 -1
  126. package/lib/components/ScatterChart/index.js.map +1 -1
  127. package/lib/components/ScatterChart/useScatterChartStyles.styles.raw.js.map +1 -1
  128. package/lib/components/Sparkline/Sparkline.js +1 -3
  129. package/lib/components/Sparkline/Sparkline.js.map +1 -1
  130. package/lib/components/Sparkline/Sparkline.types.js.map +1 -1
  131. package/lib/components/Sparkline/index.js.map +1 -1
  132. package/lib/components/Sparkline/useSparklineStyles.styles.raw.js.map +1 -1
  133. package/lib/components/VegaDeclarativeChart/VegaDeclarativeChart.js.map +1 -1
  134. package/lib/components/VegaDeclarativeChart/VegaDeclarativeChartHooks.js.map +1 -1
  135. package/lib/components/VegaDeclarativeChart/VegaLiteColorAdapter.js +2 -2
  136. package/lib/components/VegaDeclarativeChart/VegaLiteColorAdapter.js.map +1 -1
  137. package/lib/components/VegaDeclarativeChart/VegaLiteExpressionEvaluator.js +1 -0
  138. package/lib/components/VegaDeclarativeChart/VegaLiteExpressionEvaluator.js.map +1 -1
  139. package/lib/components/VegaDeclarativeChart/VegaLiteSchemaAdapter.js +88 -88
  140. package/lib/components/VegaDeclarativeChart/VegaLiteSchemaAdapter.js.map +1 -1
  141. package/lib/components/VegaDeclarativeChart/VegaLiteTypes.js.map +1 -1
  142. package/lib/components/VegaDeclarativeChart/index.js.map +1 -1
  143. package/lib/components/VerticalBarChart/VerticalBarChart.js +2 -1
  144. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  145. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  146. package/lib/components/VerticalBarChart/index.js.map +1 -1
  147. package/lib/components/VerticalBarChart/useVerticalBarChartStyles.styles.raw.js.map +1 -1
  148. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +6 -5
  149. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  150. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  151. package/lib/components/VerticalStackedBarChart/index.js.map +1 -1
  152. package/lib/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.raw.js.map +1 -1
  153. package/lib/types/ChartAnnotation.js.map +1 -1
  154. package/lib/types/DataPoint.js.map +1 -1
  155. package/lib/types/EventAnnotation.js.map +1 -1
  156. package/lib/types/LegendDataItem.js.map +1 -1
  157. package/lib/types/index.js.map +1 -1
  158. package/lib/utilities/ChartTitle.js +3 -4
  159. package/lib/utilities/ChartTitle.js.map +1 -1
  160. package/lib/utilities/Common.styles.js +1 -4
  161. package/lib/utilities/Common.styles.js.map +1 -1
  162. package/lib/utilities/Common.styles.raw.js +1 -4
  163. package/lib/utilities/Common.styles.raw.js.map +1 -1
  164. package/lib/utilities/FocusableTooltipText.js.map +1 -1
  165. package/lib/utilities/KeyCodes.js.map +1 -1
  166. package/lib/utilities/SVGTooltipText.js.map +1 -1
  167. package/lib/utilities/async-utils.js.map +1 -1
  168. package/lib/utilities/colors.js.map +1 -1
  169. package/lib/utilities/getWindow.js.map +1 -1
  170. package/lib/utilities/hooks.js.map +1 -1
  171. package/lib/utilities/image-export-utils.js.map +1 -1
  172. package/lib/utilities/index.js.map +1 -1
  173. package/lib/utilities/overflow-utils.js.map +1 -1
  174. package/lib/utilities/scatterpolar-utils.js +3 -4
  175. package/lib/utilities/scatterpolar-utils.js.map +1 -1
  176. package/lib/utilities/string.js.map +1 -1
  177. package/lib/utilities/test-data/specialChartNames.js +11 -0
  178. package/lib/utilities/test-data/specialChartNames.js.map +1 -0
  179. package/lib/utilities/test-data.js.map +1 -1
  180. package/lib/utilities/utilities.js +9 -9
  181. package/lib/utilities/utilities.js.map +1 -1
  182. package/lib/utilities/vbc-utils.js.map +1 -1
  183. package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.cjs +1 -4
  184. package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.cjs.map +1 -1
  185. package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.types.cjs.map +1 -1
  186. package/lib-commonjs/components/AnnotationOnlyChart/index.cjs.map +1 -1
  187. package/lib-commonjs/components/AnnotationOnlyChart/useAnnotationOnlyChartStyles.styles.raw.cjs.map +1 -1
  188. package/lib-commonjs/components/AreaChart/AreaChart.cjs +35 -5
  189. package/lib-commonjs/components/AreaChart/AreaChart.cjs.map +1 -1
  190. package/lib-commonjs/components/AreaChart/AreaChart.types.cjs.map +1 -1
  191. package/lib-commonjs/components/AreaChart/index.cjs.map +1 -1
  192. package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.cjs +3 -3
  193. package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.cjs.map +1 -1
  194. package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.raw.cjs +3 -3
  195. package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.raw.cjs.map +1 -1
  196. package/lib-commonjs/components/ChartTable/ChartTable.cjs.map +1 -1
  197. package/lib-commonjs/components/ChartTable/ChartTable.types.cjs.map +1 -1
  198. package/lib-commonjs/components/ChartTable/index.cjs.map +1 -1
  199. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.cjs +3 -3
  200. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.cjs.map +1 -1
  201. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.raw.cjs +3 -3
  202. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.raw.cjs.map +1 -1
  203. package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.cjs +19 -29
  204. package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.cjs.map +1 -1
  205. package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.types.cjs.map +1 -1
  206. package/lib-commonjs/components/CommonComponents/Annotations/index.cjs.map +1 -1
  207. package/lib-commonjs/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.cjs +14 -14
  208. package/lib-commonjs/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.cjs.map +1 -1
  209. package/lib-commonjs/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.raw.cjs +14 -14
  210. package/lib-commonjs/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.raw.cjs.map +1 -1
  211. package/lib-commonjs/components/CommonComponents/CartesianChart.cjs +17 -15
  212. package/lib-commonjs/components/CommonComponents/CartesianChart.cjs.map +1 -1
  213. package/lib-commonjs/components/CommonComponents/CartesianChart.types.cjs.map +1 -1
  214. package/lib-commonjs/components/CommonComponents/ChartPopover.cjs +3 -2
  215. package/lib-commonjs/components/CommonComponents/ChartPopover.cjs.map +1 -1
  216. package/lib-commonjs/components/CommonComponents/ChartPopover.types.cjs.map +1 -1
  217. package/lib-commonjs/components/CommonComponents/index.cjs.map +1 -1
  218. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.cjs +3 -3
  219. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.cjs.map +1 -1
  220. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.raw.cjs +3 -3
  221. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.raw.cjs.map +1 -1
  222. package/lib-commonjs/components/CommonComponents/useChartPopoverStyles.styles.cjs +3 -3
  223. package/lib-commonjs/components/CommonComponents/useChartPopoverStyles.styles.cjs.map +1 -1
  224. package/lib-commonjs/components/CommonComponents/useChartPopoverStyles.styles.raw.cjs +3 -3
  225. package/lib-commonjs/components/CommonComponents/useChartPopoverStyles.styles.raw.cjs.map +1 -1
  226. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.cjs +9 -9
  227. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.cjs.map +1 -1
  228. package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.cjs +13 -13
  229. package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.cjs.map +1 -1
  230. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.cjs +122 -140
  231. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.cjs.map +1 -1
  232. package/lib-commonjs/components/DeclarativeChart/index.cjs.map +1 -1
  233. package/lib-commonjs/components/DonutChart/Arc/Arc.cjs.map +1 -1
  234. package/lib-commonjs/components/DonutChart/Arc/Arc.types.cjs.map +1 -1
  235. package/lib-commonjs/components/DonutChart/Arc/index.cjs.map +1 -1
  236. package/lib-commonjs/components/DonutChart/Arc/useArcStyles.styles.cjs +3 -3
  237. package/lib-commonjs/components/DonutChart/Arc/useArcStyles.styles.cjs.map +1 -1
  238. package/lib-commonjs/components/DonutChart/Arc/useArcStyles.styles.raw.cjs +3 -3
  239. package/lib-commonjs/components/DonutChart/Arc/useArcStyles.styles.raw.cjs.map +1 -1
  240. package/lib-commonjs/components/DonutChart/DonutChart.cjs.map +1 -1
  241. package/lib-commonjs/components/DonutChart/DonutChart.types.cjs.map +1 -1
  242. package/lib-commonjs/components/DonutChart/Pie/Pie.cjs.map +1 -1
  243. package/lib-commonjs/components/DonutChart/Pie/Pie.types.cjs.map +1 -1
  244. package/lib-commonjs/components/DonutChart/Pie/index.cjs.map +1 -1
  245. package/lib-commonjs/components/DonutChart/Pie/usePieStyles.styles.cjs +3 -3
  246. package/lib-commonjs/components/DonutChart/Pie/usePieStyles.styles.cjs.map +1 -1
  247. package/lib-commonjs/components/DonutChart/Pie/usePieStyles.styles.raw.cjs +3 -3
  248. package/lib-commonjs/components/DonutChart/Pie/usePieStyles.styles.raw.cjs.map +1 -1
  249. package/lib-commonjs/components/DonutChart/index.cjs.map +1 -1
  250. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.cjs +3 -3
  251. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.cjs.map +1 -1
  252. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.raw.cjs +3 -3
  253. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.raw.cjs.map +1 -1
  254. package/lib-commonjs/components/FunnelChart/FunnelChart.cjs +5 -5
  255. package/lib-commonjs/components/FunnelChart/FunnelChart.cjs.map +1 -1
  256. package/lib-commonjs/components/FunnelChart/FunnelChart.types.cjs.map +1 -1
  257. package/lib-commonjs/components/FunnelChart/funnelGeometry.cjs +6 -6
  258. package/lib-commonjs/components/FunnelChart/funnelGeometry.cjs.map +1 -1
  259. package/lib-commonjs/components/FunnelChart/index.cjs.map +1 -1
  260. package/lib-commonjs/components/FunnelChart/useFunnelChartStyles.styles.cjs +3 -3
  261. package/lib-commonjs/components/FunnelChart/useFunnelChartStyles.styles.cjs.map +1 -1
  262. package/lib-commonjs/components/FunnelChart/useFunnelChartStyles.styles.raw.cjs +3 -3
  263. package/lib-commonjs/components/FunnelChart/useFunnelChartStyles.styles.raw.cjs.map +1 -1
  264. package/lib-commonjs/components/GanttChart/GanttChart.cjs +4 -3
  265. package/lib-commonjs/components/GanttChart/GanttChart.cjs.map +1 -1
  266. package/lib-commonjs/components/GanttChart/GanttChart.types.cjs.map +1 -1
  267. package/lib-commonjs/components/GanttChart/index.cjs.map +1 -1
  268. package/lib-commonjs/components/GanttChart/useGanttChartStyles.styles.cjs +3 -3
  269. package/lib-commonjs/components/GanttChart/useGanttChartStyles.styles.cjs.map +1 -1
  270. package/lib-commonjs/components/GanttChart/useGanttChartStyles.styles.raw.cjs +3 -3
  271. package/lib-commonjs/components/GanttChart/useGanttChartStyles.styles.raw.cjs.map +1 -1
  272. package/lib-commonjs/components/GaugeChart/GaugeChart.cjs +41 -20
  273. package/lib-commonjs/components/GaugeChart/GaugeChart.cjs.map +1 -1
  274. package/lib-commonjs/components/GaugeChart/GaugeChart.types.cjs.map +1 -1
  275. package/lib-commonjs/components/GaugeChart/index.cjs.map +1 -1
  276. package/lib-commonjs/components/GaugeChart/useGaugeChartStyles.styles.cjs +3 -3
  277. package/lib-commonjs/components/GaugeChart/useGaugeChartStyles.styles.cjs.map +1 -1
  278. package/lib-commonjs/components/GaugeChart/useGaugeChartStyles.styles.raw.cjs +3 -3
  279. package/lib-commonjs/components/GaugeChart/useGaugeChartStyles.styles.raw.cjs.map +1 -1
  280. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.cjs +44 -44
  281. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.cjs.map +1 -1
  282. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.cjs.map +1 -1
  283. package/lib-commonjs/components/GroupedVerticalBarChart/index.cjs.map +1 -1
  284. package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.cjs +3 -3
  285. package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.cjs.map +1 -1
  286. package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.raw.cjs +3 -3
  287. package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.raw.cjs.map +1 -1
  288. package/lib-commonjs/components/HeatMapChart/HeatMapChart.cjs +1 -0
  289. package/lib-commonjs/components/HeatMapChart/HeatMapChart.cjs.map +1 -1
  290. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.cjs.map +1 -1
  291. package/lib-commonjs/components/HeatMapChart/index.cjs.map +1 -1
  292. package/lib-commonjs/components/HeatMapChart/useHeatMapChartStyles.styles.cjs +3 -3
  293. package/lib-commonjs/components/HeatMapChart/useHeatMapChartStyles.styles.cjs.map +1 -1
  294. package/lib-commonjs/components/HeatMapChart/useHeatMapChartStyles.styles.raw.cjs +3 -3
  295. package/lib-commonjs/components/HeatMapChart/useHeatMapChartStyles.styles.raw.cjs.map +1 -1
  296. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.cjs +5 -6
  297. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.cjs.map +1 -1
  298. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.cjs.map +1 -1
  299. package/lib-commonjs/components/HorizontalBarChart/index.cjs.map +1 -1
  300. package/lib-commonjs/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.cjs +3 -3
  301. package/lib-commonjs/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.cjs.map +1 -1
  302. package/lib-commonjs/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.raw.cjs +3 -3
  303. package/lib-commonjs/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.raw.cjs.map +1 -1
  304. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.cjs +4 -4
  305. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.cjs.map +1 -1
  306. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.cjs.map +1 -1
  307. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.cjs.map +1 -1
  308. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.cjs +3 -3
  309. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.cjs.map +1 -1
  310. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.cjs +3 -3
  311. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.cjs.map +1 -1
  312. package/lib-commonjs/components/Legends/Legends.cjs +16 -19
  313. package/lib-commonjs/components/Legends/Legends.cjs.map +1 -1
  314. package/lib-commonjs/components/Legends/Legends.types.cjs.map +1 -1
  315. package/lib-commonjs/components/Legends/OverflowMenu.cjs +12 -9
  316. package/lib-commonjs/components/Legends/OverflowMenu.cjs.map +1 -1
  317. package/lib-commonjs/components/Legends/index.cjs.map +1 -1
  318. package/lib-commonjs/components/Legends/shape.cjs.map +1 -1
  319. package/lib-commonjs/components/Legends/useLegendsStyles.styles.cjs +11 -11
  320. package/lib-commonjs/components/Legends/useLegendsStyles.styles.cjs.map +1 -1
  321. package/lib-commonjs/components/Legends/useLegendsStyles.styles.raw.cjs +11 -11
  322. package/lib-commonjs/components/Legends/useLegendsStyles.styles.raw.cjs.map +1 -1
  323. package/lib-commonjs/components/LineChart/LineChart.cjs +40 -36
  324. package/lib-commonjs/components/LineChart/LineChart.cjs.map +1 -1
  325. package/lib-commonjs/components/LineChart/LineChart.types.cjs.map +1 -1
  326. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.cjs.map +1 -1
  327. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.cjs.map +1 -1
  328. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.cjs.map +1 -1
  329. package/lib-commonjs/components/LineChart/index.cjs.map +1 -1
  330. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.cjs +3 -3
  331. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.cjs.map +1 -1
  332. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.raw.cjs +3 -3
  333. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.raw.cjs.map +1 -1
  334. package/lib-commonjs/components/PolarChart/PolarChart.cjs +3 -4
  335. package/lib-commonjs/components/PolarChart/PolarChart.cjs.map +1 -1
  336. package/lib-commonjs/components/PolarChart/PolarChart.types.cjs.map +1 -1
  337. package/lib-commonjs/components/PolarChart/PolarChart.utils.cjs +10 -10
  338. package/lib-commonjs/components/PolarChart/PolarChart.utils.cjs.map +1 -1
  339. package/lib-commonjs/components/PolarChart/index.cjs.map +1 -1
  340. package/lib-commonjs/components/PolarChart/usePolarChartStyles.styles.cjs +3 -3
  341. package/lib-commonjs/components/PolarChart/usePolarChartStyles.styles.cjs.map +1 -1
  342. package/lib-commonjs/components/PolarChart/usePolarChartStyles.styles.raw.cjs +3 -3
  343. package/lib-commonjs/components/PolarChart/usePolarChartStyles.styles.raw.cjs.map +1 -1
  344. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.cjs +1 -1
  345. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.cjs.map +1 -1
  346. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.cjs.map +1 -1
  347. package/lib-commonjs/components/ResponsiveContainer/index.cjs.map +1 -1
  348. package/lib-commonjs/components/ResponsiveContainer/useResponsiveChildStyles.styles.cjs +3 -3
  349. package/lib-commonjs/components/ResponsiveContainer/useResponsiveChildStyles.styles.cjs.map +1 -1
  350. package/lib-commonjs/components/ResponsiveContainer/useResponsiveChildStyles.styles.raw.cjs +3 -3
  351. package/lib-commonjs/components/ResponsiveContainer/useResponsiveChildStyles.styles.raw.cjs.map +1 -1
  352. package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.cjs.map +1 -1
  353. package/lib-commonjs/components/SankeyChart/SankeyChart.cjs +5 -5
  354. package/lib-commonjs/components/SankeyChart/SankeyChart.cjs.map +1 -1
  355. package/lib-commonjs/components/SankeyChart/SankeyChart.types.cjs.map +1 -1
  356. package/lib-commonjs/components/SankeyChart/index.cjs.map +1 -1
  357. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.cjs +3 -3
  358. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.cjs.map +1 -1
  359. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.raw.cjs +3 -3
  360. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.raw.cjs.map +1 -1
  361. package/lib-commonjs/components/ScatterChart/ScatterChart.cjs +3 -3
  362. package/lib-commonjs/components/ScatterChart/ScatterChart.cjs.map +1 -1
  363. package/lib-commonjs/components/ScatterChart/ScatterChart.types.cjs.map +1 -1
  364. package/lib-commonjs/components/ScatterChart/index.cjs.map +1 -1
  365. package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.cjs +3 -3
  366. package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.cjs.map +1 -1
  367. package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.raw.cjs +3 -3
  368. package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.raw.cjs.map +1 -1
  369. package/lib-commonjs/components/Sparkline/Sparkline.cjs +1 -3
  370. package/lib-commonjs/components/Sparkline/Sparkline.cjs.map +1 -1
  371. package/lib-commonjs/components/Sparkline/Sparkline.types.cjs.map +1 -1
  372. package/lib-commonjs/components/Sparkline/index.cjs.map +1 -1
  373. package/lib-commonjs/components/Sparkline/useSparklineStyles.styles.cjs +3 -3
  374. package/lib-commonjs/components/Sparkline/useSparklineStyles.styles.cjs.map +1 -1
  375. package/lib-commonjs/components/Sparkline/useSparklineStyles.styles.raw.cjs +3 -3
  376. package/lib-commonjs/components/Sparkline/useSparklineStyles.styles.raw.cjs.map +1 -1
  377. package/lib-commonjs/components/VegaDeclarativeChart/VegaDeclarativeChart.cjs.map +1 -1
  378. package/lib-commonjs/components/VegaDeclarativeChart/VegaDeclarativeChartHooks.cjs +3 -3
  379. package/lib-commonjs/components/VegaDeclarativeChart/VegaDeclarativeChartHooks.cjs.map +1 -1
  380. package/lib-commonjs/components/VegaDeclarativeChart/VegaLiteColorAdapter.cjs +7 -7
  381. package/lib-commonjs/components/VegaDeclarativeChart/VegaLiteColorAdapter.cjs.map +1 -1
  382. package/lib-commonjs/components/VegaDeclarativeChart/VegaLiteExpressionEvaluator.cjs +1 -0
  383. package/lib-commonjs/components/VegaDeclarativeChart/VegaLiteExpressionEvaluator.cjs.map +1 -1
  384. package/lib-commonjs/components/VegaDeclarativeChart/VegaLiteSchemaAdapter.cjs +105 -105
  385. package/lib-commonjs/components/VegaDeclarativeChart/VegaLiteSchemaAdapter.cjs.map +1 -1
  386. package/lib-commonjs/components/VegaDeclarativeChart/VegaLiteTypes.cjs.map +1 -1
  387. package/lib-commonjs/components/VegaDeclarativeChart/index.cjs.map +1 -1
  388. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.cjs +2 -1
  389. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.cjs.map +1 -1
  390. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.cjs.map +1 -1
  391. package/lib-commonjs/components/VerticalBarChart/index.cjs.map +1 -1
  392. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.cjs +3 -3
  393. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.cjs.map +1 -1
  394. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.raw.cjs +3 -3
  395. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.raw.cjs.map +1 -1
  396. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.cjs +6 -5
  397. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.cjs.map +1 -1
  398. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.cjs.map +1 -1
  399. package/lib-commonjs/components/VerticalStackedBarChart/index.cjs.map +1 -1
  400. package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.cjs +3 -3
  401. package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.cjs.map +1 -1
  402. package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.raw.cjs +3 -3
  403. package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.raw.cjs.map +1 -1
  404. package/lib-commonjs/types/ChartAnnotation.cjs.map +1 -1
  405. package/lib-commonjs/types/DataPoint.cjs.map +1 -1
  406. package/lib-commonjs/types/EventAnnotation.cjs.map +1 -1
  407. package/lib-commonjs/types/LegendDataItem.cjs.map +1 -1
  408. package/lib-commonjs/types/index.cjs.map +1 -1
  409. package/lib-commonjs/utilities/ChartTitle.cjs +3 -4
  410. package/lib-commonjs/utilities/ChartTitle.cjs.map +1 -1
  411. package/lib-commonjs/utilities/Common.styles.cjs +9 -12
  412. package/lib-commonjs/utilities/Common.styles.cjs.map +1 -1
  413. package/lib-commonjs/utilities/Common.styles.raw.cjs +9 -12
  414. package/lib-commonjs/utilities/Common.styles.raw.cjs.map +1 -1
  415. package/lib-commonjs/utilities/FocusableTooltipText.cjs.map +1 -1
  416. package/lib-commonjs/utilities/KeyCodes.cjs.map +1 -1
  417. package/lib-commonjs/utilities/SVGTooltipText.cjs.map +1 -1
  418. package/lib-commonjs/utilities/async-utils.cjs.map +1 -1
  419. package/lib-commonjs/utilities/colors.cjs +7 -7
  420. package/lib-commonjs/utilities/colors.cjs.map +1 -1
  421. package/lib-commonjs/utilities/getWindow.cjs.map +1 -1
  422. package/lib-commonjs/utilities/hooks.cjs.map +1 -1
  423. package/lib-commonjs/utilities/image-export-utils.cjs +3 -3
  424. package/lib-commonjs/utilities/image-export-utils.cjs.map +1 -1
  425. package/lib-commonjs/utilities/index.cjs.map +1 -1
  426. package/lib-commonjs/utilities/overflow-utils.cjs +4 -4
  427. package/lib-commonjs/utilities/overflow-utils.cjs.map +1 -1
  428. package/lib-commonjs/utilities/scatterpolar-utils.cjs +6 -7
  429. package/lib-commonjs/utilities/scatterpolar-utils.cjs.map +1 -1
  430. package/lib-commonjs/utilities/string.cjs +1 -1
  431. package/lib-commonjs/utilities/string.cjs.map +1 -1
  432. package/lib-commonjs/utilities/test-data/specialChartNames.cjs +21 -0
  433. package/lib-commonjs/utilities/test-data/specialChartNames.cjs.map +1 -0
  434. package/lib-commonjs/utilities/test-data.cjs +18 -18
  435. package/lib-commonjs/utilities/test-data.cjs.map +1 -1
  436. package/lib-commonjs/utilities/utilities.cjs +92 -92
  437. package/lib-commonjs/utilities/utilities.cjs.map +1 -1
  438. package/lib-commonjs/utilities/vbc-utils.cjs +7 -7
  439. package/lib-commonjs/utilities/vbc-utils.cjs.map +1 -1
  440. package/package.json +9 -9
@@ -1 +1 @@
1
- {"version":3,"sources":["useVerticalBarChartStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles, mergeClasses } from \"@griffel/react\";\nimport { tokens } from \"@fluentui/react-theme\";\nimport { HighContrastSelector } from \"../../utilities/utilities.js\";\nimport { getBarLabelStyle, getTooltipStyle } from \"../../utilities/index.js\";\nexport const verticalbarchartClassNames = {\n opacityChangeOnHover: 'fui-vbc__opacityChangeOnHover',\n tooltip: 'fui-vbc__tooltip',\n barLabel: 'fui-vbc__barLabel',\n lineBorder: 'fui-vbc_lineBorder',\n root: '',\n xAxis: '',\n yAxis: '',\n legendContainer: '',\n hover: '',\n descriptionMessage: '',\n axisTitle: '',\n chartTitle: '',\n shapeStyles: '',\n chartWrapper: '',\n svgTooltip: '',\n chart: '',\n axisAnnotation: '',\n plotContainer: '',\n annotationLayer: ''\n};\nconst useStyles = makeStyles({\n opacityChangeOnHover: {},\n tooltip: getTooltipStyle(),\n barLabel: getBarLabelStyle(),\n lineBorder: {\n stroke: tokens.colorNeutralBackground1,\n [HighContrastSelector]: {\n stroke: 'Canvas'\n }\n }\n});\n/**\n * Apply styling to the Carousel slots based on the state\n */ export const useVerticalBarChartStyles = (props)=>{\n const baseStyles = useStyles();\n return {\n opacityChangeOnHover: mergeClasses(verticalbarchartClassNames.opacityChangeOnHover, baseStyles.opacityChangeOnHover /*props.styles?.opacityChangeOnHover*/ ),\n tooltip: mergeClasses(verticalbarchartClassNames.tooltip, baseStyles.tooltip /*props.styles?.tooltip*/ ),\n barLabel: mergeClasses(verticalbarchartClassNames.barLabel, baseStyles.barLabel /*props.styles?.barLabel*/ ),\n lineBorder: mergeClasses(verticalbarchartClassNames.lineBorder, baseStyles.lineBorder /*props.styles?.lineBorder*/ )\n };\n};\n"],"names":["__styles","mergeClasses","tokens","HighContrastSelector","getBarLabelStyle","getTooltipStyle","verticalbarchartClassNames","opacityChangeOnHover","tooltip","barLabel","lineBorder","root","xAxis","yAxis","legendContainer","hover","descriptionMessage","axisTitle","chartTitle","shapeStyles","chartWrapper","svgTooltip","chart","axisAnnotation","plotContainer","annotationLayer","useStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","mc9l5x","Beiy3e4","Byoj8tv","uwmqm3","z189sj","z8tnut","B0ocmuz","qhf8xq","fsow6f","De3pzq","Beyfa6y","Bbmb7ep","Btl43ni","B7oj6ja","Dimara","Bkecrkj","sj55zd","Bkfmm31","Bvjb7m6","ojy3ng","Bj7tp1g","d","p","m","useVerticalBarChartStyles","props","baseStyles"],"mappings":"AAAA,YAAY;;;;;;;;;;;;IAuCKuD,yBAAyB;;;IAlC7BjD,0BAA0B;;;;uBAJE,gBAAgB;AAIlD,mCAAmC;IACtCC,oBAAoB,EAAE,+BAA+B;IACrDC,OAAO,EAAE,kBAAkB;IAC3BC,QAAQ,EAAE,mBAAmB;IAC7BC,UAAU,EAAE,oBAAoB;IAChCC,IAAI,EAAE,EAAE;IACRC,KAAK,EAAE,EAAE;IACTC,KAAK,EAAE,EAAE;IACTC,eAAe,EAAE,EAAE;IACnBC,KAAK,EAAE,EAAE;IACTC,kBAAkB,EAAE,EAAE;IACtBC,SAAS,EAAE,EAAE;IACbC,UAAU,EAAE,EAAE;IACdC,WAAW,EAAE,EAAE;IACfC,YAAY,EAAE,EAAE;IAChBC,UAAU,EAAE,EAAE;IACdC,KAAK,EAAE,EAAE;IACTC,cAAc,EAAE,EAAE;IAClBC,aAAa,EAAE,EAAE;IACjBC,eAAe,EAAE;AACrB,CAAC;AACD,MAAMC,SAAS,GAAA,WAAA,OAAG1B,eAAA,EAAA;IAAAO,oBAAA,EAAA,CAAA;IAAAC,OAAA,EAAA;QAAAmB,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;IAAA;IAAAtC,QAAA,EAAA;QAAAkB,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAkB,OAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;IAAAvC,UAAA,EAAA;QAAAwC,MAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;AAAA,GAAA;IAAAC,CAAA,EAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;YAAA;YAAA;gBAAAC,CAAA,EAAA,CAAA;YAAA;SAAA;QAAA;QAAA;QAAA;QAAA;YAAA;YAAA;gBAAAA,CAAA,EAAA,CAAA;YAAA;SAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;KAAA;IAAAC,CAAA,EAAA;QAAA;YAAA;YAAA;gBAAAA,CAAA,EAAA;YAAA;SAAA;KAAA;AAAA,CAUjB,CAAC;AAGS,mCAAmCE,KAAK,IAAG;IAClD,MAAMC,UAAU,GAAG/B,SAAS,CAAC,CAAC;IAC9B,OAAO;QACHnB,oBAAoB,MAAEN,mBAAY,EAACK,0BAA0B,CAACC,oBAAoB,EAAEkD,UAAU,CAAClD,oBAAoB,CAAC,oCAAA,EAAuC,CAAC;QAC5JC,OAAO,MAAEP,mBAAY,EAACK,0BAA0B,CAACE,OAAO,EAAEiD,UAAU,CAACjD,OAAO,CAAC,uBAAA,EAA0B,CAAC;QACxGC,QAAQ,MAAER,mBAAY,EAACK,0BAA0B,CAACG,QAAQ,EAAEgD,UAAU,CAAChD,QAAQ,CAAC,wBAAA,EAA2B,CAAC;QAC5GC,UAAU,MAAET,mBAAY,EAACK,0BAA0B,CAACI,UAAU,EAAE+C,UAAU,CAAC/C,UAAU,CAAC,0BAAA,EAA6B;IACvH,CAAC;AACL,CAAC"}
1
+ {"version":3,"sources":["useVerticalBarChartStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles, mergeClasses } from \"@griffel/react\";\nimport { tokens } from \"@fluentui/react-theme\";\nimport { HighContrastSelector } from \"../../utilities/utilities.js\";\nimport { getBarLabelStyle, getTooltipStyle } from \"../../utilities/index.js\";\nexport const verticalbarchartClassNames = {\n opacityChangeOnHover: 'fui-vbc__opacityChangeOnHover',\n tooltip: 'fui-vbc__tooltip',\n barLabel: 'fui-vbc__barLabel',\n lineBorder: 'fui-vbc_lineBorder',\n root: '',\n xAxis: '',\n yAxis: '',\n legendContainer: '',\n hover: '',\n descriptionMessage: '',\n axisTitle: '',\n chartTitle: '',\n shapeStyles: '',\n chartWrapper: '',\n svgTooltip: '',\n chart: '',\n axisAnnotation: '',\n plotContainer: '',\n annotationLayer: ''\n};\nconst useStyles = makeStyles({\n opacityChangeOnHover: {},\n tooltip: getTooltipStyle(),\n barLabel: getBarLabelStyle(),\n lineBorder: {\n stroke: tokens.colorNeutralBackground1,\n [HighContrastSelector]: {\n stroke: 'Canvas'\n }\n }\n});\n/**\n * Apply styling to the Carousel slots based on the state\n */ export const useVerticalBarChartStyles = (props)=>{\n const baseStyles = useStyles();\n return {\n opacityChangeOnHover: mergeClasses(verticalbarchartClassNames.opacityChangeOnHover, baseStyles.opacityChangeOnHover /*props.styles?.opacityChangeOnHover*/ ),\n tooltip: mergeClasses(verticalbarchartClassNames.tooltip, baseStyles.tooltip /*props.styles?.tooltip*/ ),\n barLabel: mergeClasses(verticalbarchartClassNames.barLabel, baseStyles.barLabel /*props.styles?.barLabel*/ ),\n lineBorder: mergeClasses(verticalbarchartClassNames.lineBorder, baseStyles.lineBorder /*props.styles?.lineBorder*/ )\n };\n};\n"],"names":["__styles","mergeClasses","tokens","HighContrastSelector","getBarLabelStyle","getTooltipStyle","verticalbarchartClassNames","opacityChangeOnHover","tooltip","barLabel","lineBorder","root","xAxis","yAxis","legendContainer","hover","descriptionMessage","axisTitle","chartTitle","shapeStyles","chartWrapper","svgTooltip","chart","axisAnnotation","plotContainer","annotationLayer","useStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","mc9l5x","Beiy3e4","Byoj8tv","uwmqm3","z189sj","z8tnut","B0ocmuz","qhf8xq","fsow6f","De3pzq","Beyfa6y","Bbmb7ep","Btl43ni","B7oj6ja","Dimara","Bkecrkj","sj55zd","Bkfmm31","Bvjb7m6","ojy3ng","Bj7tp1g","d","p","m","useVerticalBarChartStyles","props","baseStyles"],"mappings":"AAAA,YAAY;;;;;;;;;;;;QAuCKuD,yBAAyB;;;QAlC7BjD,0BAA0B;;;;uBAJE,gBAAgB;AAIlD,mCAAmC;IACtCC,oBAAoB,EAAE,+BAA+B;IACrDC,OAAO,EAAE,kBAAkB;IAC3BC,QAAQ,EAAE,mBAAmB;IAC7BC,UAAU,EAAE,oBAAoB;IAChCC,IAAI,EAAE,EAAE;IACRC,KAAK,EAAE,EAAE;IACTC,KAAK,EAAE,EAAE;IACTC,eAAe,EAAE,EAAE;IACnBC,KAAK,EAAE,EAAE;IACTC,kBAAkB,EAAE,EAAE;IACtBC,SAAS,EAAE,EAAE;IACbC,UAAU,EAAE,EAAE;IACdC,WAAW,EAAE,EAAE;IACfC,YAAY,EAAE,EAAE;IAChBC,UAAU,EAAE,EAAE;IACdC,KAAK,EAAE,EAAE;IACTC,cAAc,EAAE,EAAE;IAClBC,aAAa,EAAE,EAAE;IACjBC,eAAe,EAAE;AACrB,CAAC;AACD,MAAMC,SAAS,GAAA,WAAA,OAAG1B,eAAA,EAAA;IAAAO,oBAAA,EAAA,CAAA;IAAAC,OAAA,EAAA;QAAAmB,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;IAAA;IAAAtC,QAAA,EAAA;QAAAkB,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;QAAAkB,OAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;IAAAvC,UAAA,EAAA;QAAAwC,MAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;AAAA,GAAA;IAAAC,CAAA,EAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;YAAA;YAAA;gBAAAC,CAAA,EAAA,CAAA;YAAA;SAAA;QAAA;QAAA;QAAA;QAAA;YAAA;YAAA;gBAAAA,CAAA,EAAA,CAAA;YAAA;SAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;KAAA;IAAAC,CAAA,EAAA;QAAA;YAAA;YAAA;gBAAAA,CAAA,EAAA;YAAA;SAAA;KAAA;AAAA,CAUjB,CAAC;AAGS,mCAAmCE,KAAK,IAAG;IAClD,MAAMC,UAAU,GAAG/B,SAAS,CAAC,CAAC;IAC9B,OAAO;QACHnB,oBAAoB,MAAEN,mBAAY,EAACK,0BAA0B,CAACC,oBAAoB,EAAEkD,UAAU,CAAClD,oBAAoB,CAAC,oCAAA,EAAuC,CAAC;QAC5JC,OAAO,MAAEP,mBAAY,EAACK,0BAA0B,CAACE,OAAO,EAAEiD,UAAU,CAACjD,OAAO,CAAC,uBAAA,EAA0B,CAAC;QACxGC,QAAQ,MAAER,mBAAY,EAACK,0BAA0B,CAACG,QAAQ,EAAEgD,UAAU,CAAChD,QAAQ,CAAC,wBAAA,EAA2B,CAAC;QAC5GC,UAAU,MAAET,mBAAY,EAACK,0BAA0B,CAACI,UAAU,EAAE+C,UAAU,CAAC/C,UAAU,CAAC,0BAAA,EAA6B;IACvH,CAAC;AACL,CAAC"}
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
6
6
  function _export(target, all) {
7
7
  for(var name in all)Object.defineProperty(target, name, {
8
8
  enumerable: true,
9
- get: all[name]
9
+ get: Object.getOwnPropertyDescriptor(all, name).get
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- useVerticalBarChartStyles: function() {
13
+ get useVerticalBarChartStyles () {
14
14
  return useVerticalBarChartStyles;
15
15
  },
16
- verticalbarchartClassNames: function() {
16
+ get verticalbarchartClassNames () {
17
17
  return verticalbarchartClassNames;
18
18
  }
19
19
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/VerticalBarChart/useVerticalBarChartStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport type { GriffelStyle } from '@griffel/react';\nimport { makeStyles, mergeClasses } from '@griffel/react';\nimport type { VerticalBarChartProps, VerticalBarChartStyles } from '../../index';\nimport type { SlotClassNames } from '@fluentui/react-utilities/src/index';\nimport { tokens } from '@fluentui/react-theme';\nimport { HighContrastSelector } from '../../utilities/utilities';\nimport { getBarLabelStyle, getTooltipStyle } from '../../utilities/index';\n\nexport const verticalbarchartClassNames: SlotClassNames<VerticalBarChartStyles> = {\n opacityChangeOnHover: 'fui-vbc__opacityChangeOnHover',\n tooltip: 'fui-vbc__tooltip',\n barLabel: 'fui-vbc__barLabel',\n lineBorder: 'fui-vbc_lineBorder',\n root: '',\n xAxis: '',\n yAxis: '',\n legendContainer: '',\n hover: '',\n descriptionMessage: '',\n axisTitle: '',\n chartTitle: '',\n shapeStyles: '',\n chartWrapper: '',\n svgTooltip: '',\n chart: '',\n axisAnnotation: '',\n plotContainer: '',\n annotationLayer: '',\n};\nconst useStyles = makeStyles({\n opacityChangeOnHover: {},\n tooltip: getTooltipStyle() as GriffelStyle,\n barLabel: getBarLabelStyle() as GriffelStyle,\n lineBorder: {\n stroke: tokens.colorNeutralBackground1,\n [HighContrastSelector]: {\n stroke: 'Canvas',\n },\n },\n});\n\n/**\n * Apply styling to the Carousel slots based on the state\n */\nexport const useVerticalBarChartStyles = (props: VerticalBarChartProps): VerticalBarChartStyles => {\n const baseStyles = useStyles();\n\n return {\n opacityChangeOnHover: mergeClasses(\n verticalbarchartClassNames.opacityChangeOnHover,\n baseStyles.opacityChangeOnHover /*props.styles?.opacityChangeOnHover*/,\n ),\n tooltip: mergeClasses(verticalbarchartClassNames.tooltip, baseStyles.tooltip /*props.styles?.tooltip*/),\n barLabel: mergeClasses(verticalbarchartClassNames.barLabel, baseStyles.barLabel /*props.styles?.barLabel*/),\n lineBorder: mergeClasses(verticalbarchartClassNames.lineBorder, baseStyles.lineBorder /*props.styles?.lineBorder*/),\n };\n};\n"],"names":["makeStyles","mergeClasses","tokens","HighContrastSelector","getBarLabelStyle","getTooltipStyle","verticalbarchartClassNames","opacityChangeOnHover","tooltip","barLabel","lineBorder","root","xAxis","yAxis","legendContainer","hover","descriptionMessage","axisTitle","chartTitle","shapeStyles","chartWrapper","svgTooltip","chart","axisAnnotation","plotContainer","annotationLayer","useStyles","stroke","colorNeutralBackground1","useVerticalBarChartStyles","props","baseStyles"],"mappings":"AAAA;;;;;;;;;;;;IA8Ca6B,yBAAAA;;;IApCAvB,0BAAAA;;;;uBAP4B,iBAAiB;4BAGnC,wBAAwB;2BACV,+BAA4B;uBACf,2BAAwB;AAEnE,mCAA2E;IAChFC,sBAAsB;IACtBC,SAAS;IACTC,UAAU;IACVC,YAAY;IACZC,MAAM;IACNC,OAAO;IACPC,OAAO;IACPC,iBAAiB;IACjBC,OAAO;IACPC,oBAAoB;IACpBC,WAAW;IACXC,YAAY;IACZC,aAAa;IACbC,cAAc;IACdC,YAAY;IACZC,OAAO;IACPC,gBAAgB;IAChBC,eAAe;IACfC,iBAAiB;AACnB,EAAE;AACF,MAAMC,gBAAY1B,iBAAAA,EAAW;IAC3BO,sBAAsB,CAAC;IACvBC,aAASH,sBAAAA;IACTI,cAAUL,uBAAAA;IACVM,YAAY;QACViB,QAAQzB,kBAAAA,CAAO0B,uBAAuB;QACtC,CAACzB,+BAAAA,CAAqB,EAAE;YACtBwB,QAAQ;QACV;IACF;AACF;AAKO,kCAAkC,CAACG;IACxC,MAAMC,aAAaL;IAEnB,OAAO;QACLnB,0BAAsBN,mBAAAA,EACpBK,2BAA2BC,oBAAoB,EAC/CwB,WAAWxB,oBAAoB,CAAC,oCAAoC;QAEtEC,aAASP,mBAAAA,EAAaK,2BAA2BE,OAAO,EAAEuB,WAAWvB,OAAO,CAAC,uBAAuB;QACpGC,cAAUR,mBAAAA,EAAaK,2BAA2BG,QAAQ,EAAEsB,WAAWtB,QAAQ,CAAC,wBAAwB;QACxGC,gBAAYT,mBAAAA,EAAaK,2BAA2BI,UAAU,EAAEqB,WAAWrB,UAAU,CAAC,0BAA0B;IAClH;AACF,EAAE"}
1
+ {"version":3,"sources":["../../../src/components/VerticalBarChart/useVerticalBarChartStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport type { GriffelStyle } from '@griffel/react';\nimport { makeStyles, mergeClasses } from '@griffel/react';\nimport type { VerticalBarChartProps, VerticalBarChartStyles } from '../../index';\nimport type { SlotClassNames } from '@fluentui/react-utilities/src/index';\nimport { tokens } from '@fluentui/react-theme';\nimport { HighContrastSelector } from '../../utilities/utilities';\nimport { getBarLabelStyle, getTooltipStyle } from '../../utilities/index';\n\nexport const verticalbarchartClassNames: SlotClassNames<VerticalBarChartStyles> = {\n opacityChangeOnHover: 'fui-vbc__opacityChangeOnHover',\n tooltip: 'fui-vbc__tooltip',\n barLabel: 'fui-vbc__barLabel',\n lineBorder: 'fui-vbc_lineBorder',\n root: '',\n xAxis: '',\n yAxis: '',\n legendContainer: '',\n hover: '',\n descriptionMessage: '',\n axisTitle: '',\n chartTitle: '',\n shapeStyles: '',\n chartWrapper: '',\n svgTooltip: '',\n chart: '',\n axisAnnotation: '',\n plotContainer: '',\n annotationLayer: '',\n};\nconst useStyles = makeStyles({\n opacityChangeOnHover: {},\n tooltip: getTooltipStyle() as GriffelStyle,\n barLabel: getBarLabelStyle() as GriffelStyle,\n lineBorder: {\n stroke: tokens.colorNeutralBackground1,\n [HighContrastSelector]: {\n stroke: 'Canvas',\n },\n },\n});\n\n/**\n * Apply styling to the Carousel slots based on the state\n */\nexport const useVerticalBarChartStyles = (props: VerticalBarChartProps): VerticalBarChartStyles => {\n const baseStyles = useStyles();\n\n return {\n opacityChangeOnHover: mergeClasses(\n verticalbarchartClassNames.opacityChangeOnHover,\n baseStyles.opacityChangeOnHover /*props.styles?.opacityChangeOnHover*/,\n ),\n tooltip: mergeClasses(verticalbarchartClassNames.tooltip, baseStyles.tooltip /*props.styles?.tooltip*/),\n barLabel: mergeClasses(verticalbarchartClassNames.barLabel, baseStyles.barLabel /*props.styles?.barLabel*/),\n lineBorder: mergeClasses(verticalbarchartClassNames.lineBorder, baseStyles.lineBorder /*props.styles?.lineBorder*/),\n };\n};\n"],"names":["makeStyles","mergeClasses","tokens","HighContrastSelector","getBarLabelStyle","getTooltipStyle","verticalbarchartClassNames","opacityChangeOnHover","tooltip","barLabel","lineBorder","root","xAxis","yAxis","legendContainer","hover","descriptionMessage","axisTitle","chartTitle","shapeStyles","chartWrapper","svgTooltip","chart","axisAnnotation","plotContainer","annotationLayer","useStyles","stroke","colorNeutralBackground1","useVerticalBarChartStyles","props","baseStyles"],"mappings":"AAAA;;;;;;;;;;;;QA8Ca6B;;;QApCAvB;;;;uBAP4B,iBAAiB;4BAGnC,wBAAwB;2BACV,+BAA4B;uBACf,2BAAwB;AAEnE,mCAA2E;IAChFC,sBAAsB;IACtBC,SAAS;IACTC,UAAU;IACVC,YAAY;IACZC,MAAM;IACNC,OAAO;IACPC,OAAO;IACPC,iBAAiB;IACjBC,OAAO;IACPC,oBAAoB;IACpBC,WAAW;IACXC,YAAY;IACZC,aAAa;IACbC,cAAc;IACdC,YAAY;IACZC,OAAO;IACPC,gBAAgB;IAChBC,eAAe;IACfC,iBAAiB;AACnB,EAAE;AACF,MAAMC,gBAAY1B,iBAAAA,EAAW;IAC3BO,sBAAsB,CAAC;IACvBC,aAASH,sBAAAA;IACTI,cAAUL,uBAAAA;IACVM,YAAY;QACViB,QAAQzB,kBAAAA,CAAO0B,uBAAuB;QACtC,CAACzB,+BAAAA,CAAqB,EAAE;YACtBwB,QAAQ;QACV;IACF;AACF;AAKO,kCAAkC,CAACG;IACxC,MAAMC,aAAaL;IAEnB,OAAO;QACLnB,sBAAsBN,uBAAAA,EACpBK,2BAA2BC,oBAAoB,EAC/CwB,WAAWxB,oBAAoB,CAAC,oCAAoC;QAEtEC,aAASP,mBAAAA,EAAaK,2BAA2BE,OAAO,EAAEuB,WAAWvB,OAAO,CAAC,uBAAuB;QACpGC,cAAUR,mBAAAA,EAAaK,2BAA2BG,QAAQ,EAAEsB,WAAWtB,QAAQ,CAAC,wBAAwB;QACxGC,gBAAYT,mBAAAA,EAAaK,2BAA2BI,UAAU,EAAEqB,WAAWrB,UAAU,CAAC,0BAA0B;IAClH;AACF,EAAE"}
@@ -179,6 +179,7 @@ const VerticalStackedBarChart = /*#__PURE__*/ _react.forwardRef((_props, forward
179
179
  }
180
180
  }
181
181
  function _onStackHoverFocus(stack, event) {
182
+ var _ref;
182
183
  var _stack_lineData;
183
184
  let clientX = 0;
184
185
  let clientY = 0;
@@ -209,8 +210,7 @@ const VerticalStackedBarChart = /*#__PURE__*/ _react.forwardRef((_props, forward
209
210
  });
210
211
  }
211
212
  _updatePosition(clientX, clientY);
212
- var _stack_lineData_length;
213
- setPopoverOpen(stack.chartData.length > 0 || ((_stack_lineData_length = (_stack_lineData = stack.lineData) === null || _stack_lineData === void 0 ? void 0 : _stack_lineData.length) !== null && _stack_lineData_length !== void 0 ? _stack_lineData_length : 0) > 0);
213
+ setPopoverOpen(stack.chartData.length > 0 || ((_ref = (_stack_lineData = stack.lineData) === null || _stack_lineData === void 0 ? void 0 : _stack_lineData.length) !== null && _ref !== void 0 ? _ref : 0) > 0);
214
214
  setYValueHover(isLinesPresent ? [
215
215
  ...lineData.sort((a, b)=>a.data < b.data ? 1 : -1),
216
216
  ...stack.chartData.slice().reverse()
@@ -405,6 +405,7 @@ const VerticalStackedBarChart = /*#__PURE__*/ _react.forwardRef((_props, forward
405
405
  const dots = [];
406
406
  const shouldHighlight = _isLegendHighlighted(item) || _noLegendHighlighted();
407
407
  for(let i = 1; i < lineObject[item].length; i++){
408
+ var _ref, _ref1;
408
409
  var _lineObject_item__lineOptions, _lineObject_item__lineOptions1, _lineObject_item__lineOptions2;
409
410
  const x1 = xScale(lineObject[item][i - 1].xItem.xAxisPoint);
410
411
  const useSecondaryYScale = lineObject[item][i - 1].useSecondaryYScale && lineObject[item][i].useSecondaryYScale && yScaleSecondary;
@@ -427,7 +428,6 @@ const VerticalStackedBarChart = /*#__PURE__*/ _react.forwardRef((_props, forward
427
428
  transform: `translate(${xScaleBandwidthTranslate}, ${yScaleBandwidthTranslate})`
428
429
  }));
429
430
  }
430
- var _lineObject_item__lineOptions_strokeWidth, _lineObject_item__lineOptions_strokeLinecap;
431
431
  lines.push(/*#__PURE__*/ _react.createElement("line", {
432
432
  key: `${index}-${i}-line`,
433
433
  x1: x1,
@@ -435,8 +435,8 @@ const VerticalStackedBarChart = /*#__PURE__*/ _react.forwardRef((_props, forward
435
435
  x2: x2,
436
436
  y2: y2,
437
437
  opacity: shouldHighlight ? 1 : 0.1,
438
- strokeWidth: (_lineObject_item__lineOptions_strokeWidth = (_lineObject_item__lineOptions = lineObject[item][0].lineOptions) === null || _lineObject_item__lineOptions === void 0 ? void 0 : _lineObject_item__lineOptions.strokeWidth) !== null && _lineObject_item__lineOptions_strokeWidth !== void 0 ? _lineObject_item__lineOptions_strokeWidth : 3,
439
- strokeLinecap: (_lineObject_item__lineOptions_strokeLinecap = (_lineObject_item__lineOptions1 = lineObject[item][0].lineOptions) === null || _lineObject_item__lineOptions1 === void 0 ? void 0 : _lineObject_item__lineOptions1.strokeLinecap) !== null && _lineObject_item__lineOptions_strokeLinecap !== void 0 ? _lineObject_item__lineOptions_strokeLinecap : 'round',
438
+ strokeWidth: (_ref = (_lineObject_item__lineOptions = lineObject[item][0].lineOptions) === null || _lineObject_item__lineOptions === void 0 ? void 0 : _lineObject_item__lineOptions.strokeWidth) !== null && _ref !== void 0 ? _ref : 3,
439
+ strokeLinecap: (_ref1 = (_lineObject_item__lineOptions1 = lineObject[item][0].lineOptions) === null || _lineObject_item__lineOptions1 === void 0 ? void 0 : _lineObject_item__lineOptions1.strokeLinecap) !== null && _ref1 !== void 0 ? _ref1 : 'round',
440
440
  strokeDasharray: (_lineObject_item__lineOptions2 = lineObject[item][0].lineOptions) === null || _lineObject_item__lineOptions2 === void 0 ? void 0 : _lineObject_item__lineOptions2.strokeDasharray,
441
441
  stroke: lineObject[item][i].color,
442
442
  transform: `translate(${xScaleBandwidthTranslate}, ${yScaleBandwidthTranslate})`,
@@ -1064,6 +1064,7 @@ const VerticalStackedBarChart = /*#__PURE__*/ _react.forwardRef((_props, forward
1064
1064
  getGraphData: _getGraphData,
1065
1065
  getAxisData: _getAxisData,
1066
1066
  onChartMouseLeave: _handleChartMouseLeave,
1067
+ onChartBlur: _handleChartMouseLeave,
1067
1068
  getDomainMargins: _getDomainMargins,
1068
1069
  ..._xAxisType === _index1.XAxisTypes.StringAxis && {
1069
1070
  xAxisInnerPadding: _xAxisInnerPadding,