@spteck/fluentui-react-charts 1.0.9 → 1.0.11

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.
@@ -789,8 +789,25 @@ var lightenColor = function lightenColor(hex, amount) {
789
789
  var getFluentPalette = function getFluentPalette(_theme) {
790
790
  return ['#4e79a7', '#f28e2c', '#e15759', '#76b7b2', '#59a14f', '#edc949', '#af7aa1', '#ff9da7', '#9c755f', '#bab0ab', '#8cd17d', '#b6992d', '#d37295', '#fabfd2', '#79706e'];
791
791
  };
792
+ /**
793
+ * Returns animation configuration for instant interactions.
794
+ * Disables hover/tooltip animations for immediate response.
795
+ */
796
+ var getInstantInteractionAnimations = function getInstantInteractionAnimations() {
797
+ return {
798
+ animation: false,
799
+ transitions: {
800
+ active: {
801
+ animation: {
802
+ duration: 0
803
+ }
804
+ }
805
+ }
806
+ };
807
+ };
792
808
  /**
793
809
  * Smart Fluent tooltip generator with chart-type awareness.
810
+ * Optimized for fast performance with reduced animation delays.
794
811
  */
795
812
  function createFluentTooltip(theme) {
796
813
  var fontFamily = theme.fontFamilyBase;
@@ -891,6 +908,10 @@ function createFluentTooltip(theme) {
891
908
  family: fontFamily,
892
909
  size: fontSize
893
910
  },
911
+ // Performance optimizations for faster tooltip display
912
+ animation: {
913
+ duration: 0
914
+ },
894
915
  callbacks: callbacks
895
916
  };
896
917
  }
@@ -933,7 +954,8 @@ function useChartUtils(theme) {
933
954
  getFluentPalette: getFluentPalette,
934
955
  createFluentTooltip: createFluentTooltip,
935
956
  createAxisLabelFormatter: createAxisLabelFormatter,
936
- debounce: debounce
957
+ debounce: debounce,
958
+ getInstantInteractionAnimations: getInstantInteractionAnimations
937
959
  };
938
960
  }, [theme]);
939
961
  }
@@ -1036,7 +1058,8 @@ function AreaChart(_ref) {
1036
1058
  var _useChartUtils = useChartUtils(theme),
1037
1059
  lightenColor = _useChartUtils.lightenColor,
1038
1060
  getFluentPalette = _useChartUtils.getFluentPalette,
1039
- createFluentTooltip = _useChartUtils.createFluentTooltip;
1061
+ createFluentTooltip = _useChartUtils.createFluentTooltip,
1062
+ getInstantInteractionAnimations = _useChartUtils.getInstantInteractionAnimations;
1040
1063
  var seriesColors = React.useMemo(function () {
1041
1064
  return data.reduce(function (acc, series, idx) {
1042
1065
  var base = getFluentPalette(theme)[idx % getFluentPalette(theme).length];
@@ -1099,9 +1122,10 @@ function AreaChart(_ref) {
1099
1122
  labelColor = _useMemo.labelColor,
1100
1123
  gridColor = _useMemo.gridColor;
1101
1124
  var options = React.useMemo(function () {
1102
- return {
1125
+ return _extends({
1103
1126
  responsive: true,
1104
- maintainAspectRatio: false,
1127
+ maintainAspectRatio: false
1128
+ }, getInstantInteractionAnimations(), {
1105
1129
  plugins: {
1106
1130
  title: {
1107
1131
  display: !!title,
@@ -1158,7 +1182,7 @@ function AreaChart(_ref) {
1158
1182
  }
1159
1183
  }
1160
1184
  }
1161
- };
1185
+ });
1162
1186
  }, [title, showDatalabels, theme, fontFamily, fontSize, labelColor, gridColor, stacked, createFluentTooltip]);
1163
1187
  return React__default.createElement("div", {
1164
1188
  className: styles.chartWithLegend
@@ -1197,7 +1221,8 @@ function BarChart(_ref) {
1197
1221
  var _useChartUtils = useChartUtils(theme),
1198
1222
  lightenColor = _useChartUtils.lightenColor,
1199
1223
  getFluentPalette = _useChartUtils.getFluentPalette,
1200
- createFluentTooltip = _useChartUtils.createFluentTooltip;
1224
+ createFluentTooltip = _useChartUtils.createFluentTooltip,
1225
+ getInstantInteractionAnimations = _useChartUtils.getInstantInteractionAnimations;
1201
1226
  var styles = useGraphGlobalStyles();
1202
1227
  var seriesColors = React.useMemo(function () {
1203
1228
  return data.reduce(function (acc, series, idx) {
@@ -1261,9 +1286,10 @@ function BarChart(_ref) {
1261
1286
  labelColor = _useMemo.labelColor,
1262
1287
  gridColor = _useMemo.gridColor;
1263
1288
  var options = React.useMemo(function () {
1264
- return {
1289
+ return _extends({
1265
1290
  responsive: true,
1266
- maintainAspectRatio: false,
1291
+ maintainAspectRatio: false
1292
+ }, getInstantInteractionAnimations(), {
1267
1293
  plugins: {
1268
1294
  title: {
1269
1295
  display: !!title,
@@ -1346,7 +1372,7 @@ function BarChart(_ref) {
1346
1372
  }
1347
1373
  }
1348
1374
  })
1349
- };
1375
+ });
1350
1376
  }, [title, showDatalabels, theme, fontFamily, fontSize, labelColor, gridColor, stacked, createFluentTooltip]);
1351
1377
  return React__default.createElement("div", {
1352
1378
  className: styles.chartWithLegend
@@ -1388,7 +1414,8 @@ function BarHorizontalChart(_ref) {
1388
1414
  var _useChartUtils = useChartUtils(theme),
1389
1415
  lightenColor = _useChartUtils.lightenColor,
1390
1416
  getFluentPalette = _useChartUtils.getFluentPalette,
1391
- createFluentTooltip = _useChartUtils.createFluentTooltip;
1417
+ createFluentTooltip = _useChartUtils.createFluentTooltip,
1418
+ getInstantInteractionAnimations = _useChartUtils.getInstantInteractionAnimations;
1392
1419
  var seriesColors = React.useMemo(function () {
1393
1420
  return data.reduce(function (acc, series, idx) {
1394
1421
  var base = getFluentPalette(theme)[idx % getFluentPalette(theme).length];
@@ -1447,10 +1474,11 @@ function BarHorizontalChart(_ref) {
1447
1474
  labelColor = _useMemo.labelColor,
1448
1475
  gridColor = _useMemo.gridColor;
1449
1476
  var options = React.useMemo(function () {
1450
- return {
1477
+ return _extends({
1451
1478
  indexAxis: 'y',
1452
1479
  responsive: true,
1453
- maintainAspectRatio: false,
1480
+ maintainAspectRatio: false
1481
+ }, getInstantInteractionAnimations(), {
1454
1482
  plugins: {
1455
1483
  title: {
1456
1484
  display: !!title,
@@ -1507,7 +1535,7 @@ function BarHorizontalChart(_ref) {
1507
1535
  }
1508
1536
  }
1509
1537
  }
1510
- };
1538
+ });
1511
1539
  }, [title, showDatalabels, theme, fontFamily, fontSize, labelColor, gridColor, stacked, createFluentTooltip]);
1512
1540
  return React__default.createElement("div", {
1513
1541
  className: styles.chartWithLegend
@@ -1547,7 +1575,8 @@ function BubbleChart(_ref) {
1547
1575
  var _useChartUtils = useChartUtils(theme),
1548
1576
  lightenColor = _useChartUtils.lightenColor,
1549
1577
  getFluentPalette = _useChartUtils.getFluentPalette,
1550
- createFluentTooltip = _useChartUtils.createFluentTooltip;
1578
+ createFluentTooltip = _useChartUtils.createFluentTooltip,
1579
+ getInstantInteractionAnimations = _useChartUtils.getInstantInteractionAnimations;
1551
1580
  var styles = useGraphGlobalStyles();
1552
1581
  var seriesColors = React.useMemo(function () {
1553
1582
  return data.reduce(function (acc, series, idx) {
@@ -1602,9 +1631,10 @@ function BubbleChart(_ref) {
1602
1631
  gridColor = _useMemo.gridColor;
1603
1632
  var options = React.useMemo(function () {
1604
1633
  var _data$2;
1605
- return {
1634
+ return _extends({
1606
1635
  responsive: true,
1607
- maintainAspectRatio: false,
1636
+ maintainAspectRatio: false
1637
+ }, getInstantInteractionAnimations(), {
1608
1638
  plugins: {
1609
1639
  title: {
1610
1640
  display: !!title,
@@ -1660,7 +1690,7 @@ function BubbleChart(_ref) {
1660
1690
  }
1661
1691
  }
1662
1692
  }
1663
- };
1693
+ });
1664
1694
  }, [title, showDataLabels, theme, getPrimary, getSecondary, data, fontFamily, fontSize, labelColor, gridColor, createFluentTooltip]);
1665
1695
  return React__default.createElement(React__default.Fragment, null, React__default.createElement("div", {
1666
1696
  className: styles.chartWithLegend
@@ -1701,7 +1731,8 @@ function ComboChart(_ref) {
1701
1731
  var _useChartUtils = useChartUtils(theme),
1702
1732
  lightenColor = _useChartUtils.lightenColor,
1703
1733
  getFluentPalette = _useChartUtils.getFluentPalette,
1704
- createFluentTooltip = _useChartUtils.createFluentTooltip;
1734
+ createFluentTooltip = _useChartUtils.createFluentTooltip,
1735
+ getInstantInteractionAnimations = _useChartUtils.getInstantInteractionAnimations;
1705
1736
  var seriesColors = React.useMemo(function () {
1706
1737
  return data.reduce(function (acc, series, idx) {
1707
1738
  var base = getFluentPalette(theme)[idx % getFluentPalette(theme).length];
@@ -1774,9 +1805,10 @@ function ComboChart(_ref) {
1774
1805
  labelColor = _useMemo.labelColor,
1775
1806
  gridColor = _useMemo.gridColor;
1776
1807
  var options = React.useMemo(function () {
1777
- return {
1808
+ return _extends({
1778
1809
  responsive: true,
1779
- maintainAspectRatio: false,
1810
+ maintainAspectRatio: false
1811
+ }, getInstantInteractionAnimations(), {
1780
1812
  plugins: {
1781
1813
  title: {
1782
1814
  display: !!title,
@@ -1833,7 +1865,7 @@ function ComboChart(_ref) {
1833
1865
  stacked: false
1834
1866
  }
1835
1867
  }
1836
- };
1868
+ });
1837
1869
  }, [title, showDataLabels, theme, fontFamily, fontSize, labelColor, gridColor, createFluentTooltip]);
1838
1870
  return React__default.createElement(React__default.Fragment, null, React__default.createElement("div", {
1839
1871
  className: styles.chartWithLegend
@@ -1892,7 +1924,8 @@ function DoughnutChart(_ref) {
1892
1924
  var _useChartUtils = useChartUtils(theme),
1893
1925
  lightenColor = _useChartUtils.lightenColor,
1894
1926
  getFluentPalette = _useChartUtils.getFluentPalette,
1895
- createFluentTooltip = _useChartUtils.createFluentTooltip;
1927
+ createFluentTooltip = _useChartUtils.createFluentTooltip,
1928
+ getInstantInteractionAnimations = _useChartUtils.getInstantInteractionAnimations;
1896
1929
  var _useState = React.useState([]),
1897
1930
  hiddenLabels = _useState[0],
1898
1931
  setHiddenLabels = _useState[1];
@@ -1967,9 +2000,10 @@ function DoughnutChart(_ref) {
1967
2000
  });
1968
2001
  }, [allLabels, valueMap, colors]);
1969
2002
  var options = React.useMemo(function () {
1970
- return {
2003
+ return _extends({
1971
2004
  responsive: true,
1972
- maintainAspectRatio: false,
2005
+ maintainAspectRatio: false
2006
+ }, getInstantInteractionAnimations(), {
1973
2007
  plugins: {
1974
2008
  legend: {
1975
2009
  display: false
@@ -2001,7 +2035,7 @@ function DoughnutChart(_ref) {
2001
2035
  }
2002
2036
  }
2003
2037
  }
2004
- };
2038
+ });
2005
2039
  }, [title, theme, showDataLabels, createFluentTooltip]);
2006
2040
  return React__default.createElement("div", {
2007
2041
  className: styles.chartWithLegend
@@ -2042,7 +2076,8 @@ function FloatingBarChart(_ref) {
2042
2076
  var _useChartUtils = useChartUtils(theme),
2043
2077
  lightenColor = _useChartUtils.lightenColor,
2044
2078
  getFluentPalette = _useChartUtils.getFluentPalette,
2045
- createFluentTooltip = _useChartUtils.createFluentTooltip;
2079
+ createFluentTooltip = _useChartUtils.createFluentTooltip,
2080
+ getInstantInteractionAnimations = _useChartUtils.getInstantInteractionAnimations;
2046
2081
  var seriesColors = React.useMemo(function () {
2047
2082
  return data.reduce(function (acc, series, idx) {
2048
2083
  var base = getFluentPalette(theme)[idx % getFluentPalette(theme).length];
@@ -2102,9 +2137,10 @@ function FloatingBarChart(_ref) {
2102
2137
  labelColor = _useMemo.labelColor,
2103
2138
  gridColor = _useMemo.gridColor;
2104
2139
  var options = React.useMemo(function () {
2105
- return {
2140
+ return _extends({
2106
2141
  responsive: true,
2107
- maintainAspectRatio: false,
2142
+ maintainAspectRatio: false
2143
+ }, getInstantInteractionAnimations(), {
2108
2144
  plugins: {
2109
2145
  title: {
2110
2146
  display: !!title,
@@ -2159,7 +2195,7 @@ function FloatingBarChart(_ref) {
2159
2195
  }
2160
2196
  }
2161
2197
  }
2162
- };
2198
+ });
2163
2199
  }, [title, theme, showDataLabels, labelColor, fontFamily, fontSize, gridColor, createFluentTooltip]);
2164
2200
  return React__default.createElement("div", {
2165
2201
  className: styles.chartWithLegend
@@ -2201,7 +2237,8 @@ function LineChart(_ref) {
2201
2237
  var _useChartUtils = useChartUtils(theme),
2202
2238
  lightenColor = _useChartUtils.lightenColor,
2203
2239
  getFluentPalette = _useChartUtils.getFluentPalette,
2204
- createFluentTooltip = _useChartUtils.createFluentTooltip;
2240
+ createFluentTooltip = _useChartUtils.createFluentTooltip,
2241
+ getInstantInteractionAnimations = _useChartUtils.getInstantInteractionAnimations;
2205
2242
  var seriesColors = React.useMemo(function () {
2206
2243
  return data.reduce(function (acc, series, idx) {
2207
2244
  var base = getFluentPalette(theme)[idx % getFluentPalette(theme).length];
@@ -2264,9 +2301,10 @@ function LineChart(_ref) {
2264
2301
  labelColor = _useMemo.labelColor,
2265
2302
  gridColor = _useMemo.gridColor;
2266
2303
  var options = React.useMemo(function () {
2267
- return {
2304
+ return _extends({
2268
2305
  responsive: true,
2269
- maintainAspectRatio: false,
2306
+ maintainAspectRatio: false
2307
+ }, getInstantInteractionAnimations(), {
2270
2308
  plugins: {
2271
2309
  title: {
2272
2310
  display: !!title,
@@ -2321,7 +2359,7 @@ function LineChart(_ref) {
2321
2359
  }
2322
2360
  }
2323
2361
  }
2324
- };
2362
+ });
2325
2363
  }, [title, theme, showDataLabels, labelColor, fontFamily, fontSize, gridColor, createFluentTooltip]);
2326
2364
  return React__default.createElement("div", {
2327
2365
  className: styles.chartWithLegend
@@ -2429,9 +2467,10 @@ function PieChart(_ref) {
2429
2467
  chartData = _useMemo2.chartData,
2430
2468
  legendEntries = _useMemo2.legendEntries;
2431
2469
  var options = React.useMemo(function () {
2432
- return {
2470
+ return _extends({
2433
2471
  responsive: true,
2434
- maintainAspectRatio: false,
2472
+ maintainAspectRatio: false
2473
+ }, getInstantInteractionAnimations(), {
2435
2474
  plugins: {
2436
2475
  tooltip: createFluentTooltip(theme),
2437
2476
  legend: {
@@ -2460,7 +2499,7 @@ function PieChart(_ref) {
2460
2499
  }
2461
2500
  }
2462
2501
  }
2463
- };
2502
+ });
2464
2503
  }, [theme, title, showDataLabels]);
2465
2504
  return React__default.createElement("div", {
2466
2505
  className: styles.chartWithLegend
@@ -2521,7 +2560,8 @@ function PolarChart(_ref) {
2521
2560
  theme = _ref$theme === void 0 ? reactComponents.webLightTheme : _ref$theme;
2522
2561
  var _useChartUtils = useChartUtils(theme),
2523
2562
  getFluentPalette = _useChartUtils.getFluentPalette,
2524
- lightenColor = _useChartUtils.lightenColor;
2563
+ lightenColor = _useChartUtils.lightenColor,
2564
+ getInstantInteractionAnimations = _useChartUtils.getInstantInteractionAnimations;
2525
2565
  var _useState = React.useState([]),
2526
2566
  hiddenLabels = _useState[0],
2527
2567
  setHiddenLabels = _useState[1];
@@ -2584,9 +2624,10 @@ function PolarChart(_ref) {
2584
2624
  };
2585
2625
  }, [filteredLabels, values, visibleColors]);
2586
2626
  var options = React.useMemo(function () {
2587
- return {
2627
+ return _extends({
2588
2628
  responsive: true,
2589
- maintainAspectRatio: false,
2629
+ maintainAspectRatio: false
2630
+ }, getInstantInteractionAnimations(), {
2590
2631
  plugins: {
2591
2632
  title: {
2592
2633
  display: !!title,
@@ -2633,7 +2674,7 @@ function PolarChart(_ref) {
2633
2674
  }
2634
2675
  }
2635
2676
  }
2636
- };
2677
+ });
2637
2678
  }, [theme, title, showDataLabels, createFluentTooltip]);
2638
2679
  return React__default.createElement("div", {
2639
2680
  className: styles.chartWithLegend
@@ -2673,7 +2714,8 @@ function RadarChart(_ref) {
2673
2714
  var styles = useGraphGlobalStyles();
2674
2715
  var _useChartUtils = useChartUtils(theme),
2675
2716
  lightenColor = _useChartUtils.lightenColor,
2676
- getFluentPalette = _useChartUtils.getFluentPalette;
2717
+ getFluentPalette = _useChartUtils.getFluentPalette,
2718
+ getInstantInteractionAnimations = _useChartUtils.getInstantInteractionAnimations;
2677
2719
  var seriesColors = React.useMemo(function () {
2678
2720
  return data.reduce(function (acc, series, idx) {
2679
2721
  var base = getFluentPalette(theme)[idx % getFluentPalette(theme).length];
@@ -2732,9 +2774,10 @@ function RadarChart(_ref) {
2732
2774
  labelColor = _useMemo.labelColor,
2733
2775
  gridColor = _useMemo.gridColor;
2734
2776
  var options = React.useMemo(function () {
2735
- return {
2777
+ return _extends({
2736
2778
  responsive: true,
2737
- maintainAspectRatio: false,
2779
+ maintainAspectRatio: false
2780
+ }, getInstantInteractionAnimations(), {
2738
2781
  plugins: {
2739
2782
  title: {
2740
2783
  display: !!title,
@@ -2787,7 +2830,7 @@ function RadarChart(_ref) {
2787
2830
  }
2788
2831
  }
2789
2832
  }
2790
- };
2833
+ });
2791
2834
  }, [theme, title, showDataLabels, createFluentTooltip, gridColor, labelColor, fontFamily, fontSize]);
2792
2835
  return React__default.createElement("div", {
2793
2836
  className: styles.chartWithLegend
@@ -2826,7 +2869,8 @@ function ScatterChart(_ref) {
2826
2869
  var _useChartUtils = useChartUtils(theme),
2827
2870
  getFluentPalette = _useChartUtils.getFluentPalette,
2828
2871
  lightenColor = _useChartUtils.lightenColor,
2829
- createFluentTooltip = _useChartUtils.createFluentTooltip;
2872
+ createFluentTooltip = _useChartUtils.createFluentTooltip,
2873
+ getInstantInteractionAnimations = _useChartUtils.getInstantInteractionAnimations;
2830
2874
  var seriesColors = React.useMemo(function () {
2831
2875
  return data.reduce(function (acc, series, idx) {
2832
2876
  var base = getFluentPalette(theme)[idx % getFluentPalette(theme).length];
@@ -2874,9 +2918,10 @@ function ScatterChart(_ref) {
2874
2918
  labelColor = _useMemo.labelColor,
2875
2919
  gridColor = _useMemo.gridColor;
2876
2920
  var options = React.useMemo(function () {
2877
- return {
2921
+ return _extends({
2878
2922
  responsive: true,
2879
- maintainAspectRatio: false,
2923
+ maintainAspectRatio: false
2924
+ }, getInstantInteractionAnimations(), {
2880
2925
  plugins: {
2881
2926
  title: {
2882
2927
  display: !!title,
@@ -2934,7 +2979,7 @@ function ScatterChart(_ref) {
2934
2979
  }
2935
2980
  }
2936
2981
  }
2937
- };
2982
+ });
2938
2983
  }, [theme, title, showDataLabels, createFluentTooltip, labelColor, fontFamily, fontSize, gridColor]);
2939
2984
  return React__default.createElement("div", {
2940
2985
  className: styles.chartWithLegend
@@ -2974,7 +3019,8 @@ function StackedLineChart(_ref) {
2974
3019
  var _useChartUtils = useChartUtils(theme),
2975
3020
  lightenColor = _useChartUtils.lightenColor,
2976
3021
  getFluentPalette = _useChartUtils.getFluentPalette,
2977
- createFluentTooltip = _useChartUtils.createFluentTooltip;
3022
+ createFluentTooltip = _useChartUtils.createFluentTooltip,
3023
+ getInstantInteractionAnimations = _useChartUtils.getInstantInteractionAnimations;
2978
3024
  var seriesColors = React.useMemo(function () {
2979
3025
  return data.reduce(function (acc, series, idx) {
2980
3026
  var base = getFluentPalette(theme)[idx % getFluentPalette(theme).length];
@@ -3037,9 +3083,10 @@ function StackedLineChart(_ref) {
3037
3083
  labelColor = _useMemo.labelColor,
3038
3084
  gridColor = _useMemo.gridColor;
3039
3085
  var options = React.useMemo(function () {
3040
- return {
3086
+ return _extends({
3041
3087
  responsive: true,
3042
- maintainAspectRatio: false,
3088
+ maintainAspectRatio: false
3089
+ }, getInstantInteractionAnimations(), {
3043
3090
  plugins: {
3044
3091
  title: {
3045
3092
  display: !!title,
@@ -3096,7 +3143,7 @@ function StackedLineChart(_ref) {
3096
3143
  }
3097
3144
  }
3098
3145
  }
3099
- };
3146
+ });
3100
3147
  }, [theme, title, showDataLabels, createFluentTooltip, labelColor, fontFamily, fontSize, gridColor]);
3101
3148
  return React__default.createElement("div", {
3102
3149
  className: styles.chartWithLegend
@@ -3138,7 +3185,8 @@ function SteamChart(_ref) {
3138
3185
  var styles = useGraphGlobalStyles();
3139
3186
  var _useChartUtils = useChartUtils(theme),
3140
3187
  lightenColor = _useChartUtils.lightenColor,
3141
- getFluentPalette = _useChartUtils.getFluentPalette;
3188
+ getFluentPalette = _useChartUtils.getFluentPalette,
3189
+ getInstantInteractionAnimations = _useChartUtils.getInstantInteractionAnimations;
3142
3190
  var seriesColors = React.useMemo(function () {
3143
3191
  return data.reduce(function (acc, series, idx) {
3144
3192
  var base = getFluentPalette(theme)[idx % getFluentPalette(theme).length];
@@ -3212,13 +3260,10 @@ function SteamChart(_ref) {
3212
3260
  labelColor = _useMemo.labelColor,
3213
3261
  gridColor = _useMemo.gridColor;
3214
3262
  var options = React.useMemo(function () {
3215
- return {
3263
+ return _extends({
3216
3264
  responsive: true,
3217
- maintainAspectRatio: false,
3218
- animation: {
3219
- duration: 800,
3220
- easing: 'easeOutQuart'
3221
- },
3265
+ maintainAspectRatio: false
3266
+ }, getInstantInteractionAnimations(), {
3222
3267
  plugins: {
3223
3268
  title: {
3224
3269
  display: !!title,
@@ -3284,7 +3329,7 @@ function SteamChart(_ref) {
3284
3329
  max: showPercent ? 100 : undefined
3285
3330
  }
3286
3331
  }
3287
- };
3332
+ });
3288
3333
  }, [theme, title, showDataLabels, createFluentTooltip, labelColor, fontFamily, fontSize, gridColor, showPercent]);
3289
3334
  return React__default.createElement("div", {
3290
3335
  className: styles.chartWithLegend
@@ -4108,6 +4153,7 @@ exports.SteamChart = SteamChart;
4108
4153
  exports.createAxisLabelFormatter = createAxisLabelFormatter;
4109
4154
  exports.createFluentTooltip = createFluentTooltip;
4110
4155
  exports.getFluentPalette = getFluentPalette;
4156
+ exports.getInstantInteractionAnimations = getInstantInteractionAnimations;
4111
4157
  exports.lightenColor = lightenColor;
4112
4158
  exports.useChartUtils = useChartUtils;
4113
4159
  exports.useGraphUtils = useChartUtils;