@fluentui/react-charts 0.0.0-nightly-20251218-0407.1 → 0.0.0-nightly-20251222-0408.1

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 (43) hide show
  1. package/CHANGELOG.md +13 -13
  2. package/dist/index.d.ts +13 -0
  3. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +5 -2
  4. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  5. package/lib/components/GaugeChart/GaugeChart.js +1 -1
  6. package/lib/components/GaugeChart/GaugeChart.js.map +1 -1
  7. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +1 -1
  8. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  9. package/lib/components/HeatMapChart/HeatMapChart.js +5 -1
  10. package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -1
  11. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +56 -5
  12. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  13. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  14. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js +18 -3
  15. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js.map +1 -1
  16. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js +13 -2
  17. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js.map +1 -1
  18. package/lib/components/Legends/OverflowMenu.js +9 -2
  19. package/lib/components/Legends/OverflowMenu.js.map +1 -1
  20. package/lib/components/SankeyChart/SankeyChart.js +1 -1
  21. package/lib/components/SankeyChart/SankeyChart.js.map +1 -1
  22. package/lib/types/DataPoint.js.map +1 -1
  23. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +5 -2
  24. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  25. package/lib-commonjs/components/GaugeChart/GaugeChart.js +1 -1
  26. package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +1 -1
  27. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +1 -1
  28. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  29. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +5 -1
  30. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +1 -1
  31. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +55 -4
  32. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  33. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  34. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js +26 -3
  35. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.js.map +1 -1
  36. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js +13 -2
  37. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js.map +1 -1
  38. package/lib-commonjs/components/Legends/OverflowMenu.js +9 -2
  39. package/lib-commonjs/components/Legends/OverflowMenu.js.map +1 -1
  40. package/lib-commonjs/components/SankeyChart/SankeyChart.js +1 -1
  41. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -1
  42. package/lib-commonjs/types/DataPoint.js.map +1 -1
  43. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -1,26 +1,26 @@
1
1
  # Change Log - @fluentui/react-charts
2
2
 
3
- This log was last generated on Thu, 18 Dec 2025 04:22:11 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 22 Dec 2025 04:23:02 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20251218-0407.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v0.0.0-nightly-20251218-0407.1)
7
+ ## [0.0.0-nightly-20251222-0408.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v0.0.0-nightly-20251222-0408.1)
8
8
 
9
- Thu, 18 Dec 2025 04:22:11 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.3.8..@fluentui/react-charts_v0.0.0-nightly-20251218-0407.1)
9
+ Mon, 22 Dec 2025 04:23:02 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charts_v9.3.8..@fluentui/react-charts_v0.0.0-nightly-20251222-0408.1)
11
11
 
12
12
  ### Changes
13
13
 
14
14
  - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
15
- - Bump @fluentui/react-button to v0.0.0-nightly-20251218-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/b004c53fd199a8a2f9735b2d72d9b1615014ea49) by beachball)
16
- - Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20251218-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/b004c53fd199a8a2f9735b2d72d9b1615014ea49) by beachball)
17
- - Bump @fluentui/react-overflow to v0.0.0-nightly-20251218-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/b004c53fd199a8a2f9735b2d72d9b1615014ea49) by beachball)
18
- - Bump @fluentui/react-popover to v0.0.0-nightly-20251218-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/b004c53fd199a8a2f9735b2d72d9b1615014ea49) by beachball)
19
- - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20251218-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/b004c53fd199a8a2f9735b2d72d9b1615014ea49) by beachball)
20
- - Bump @fluentui/react-tabster to v0.0.0-nightly-20251218-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/b004c53fd199a8a2f9735b2d72d9b1615014ea49) by beachball)
21
- - Bump @fluentui/react-theme to v0.0.0-nightly-20251218-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/b004c53fd199a8a2f9735b2d72d9b1615014ea49) by beachball)
22
- - Bump @fluentui/react-tooltip to v0.0.0-nightly-20251218-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/b004c53fd199a8a2f9735b2d72d9b1615014ea49) by beachball)
23
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20251218-0407.1 ([commit](https://github.com/microsoft/fluentui/commit/b004c53fd199a8a2f9735b2d72d9b1615014ea49) by beachball)
15
+ - Bump @fluentui/react-button to v0.0.0-nightly-20251222-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/fc5fcc710f6c3c5af009586e3d87e8f12bed3d8c) by beachball)
16
+ - Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20251222-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/fc5fcc710f6c3c5af009586e3d87e8f12bed3d8c) by beachball)
17
+ - Bump @fluentui/react-overflow to v0.0.0-nightly-20251222-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/fc5fcc710f6c3c5af009586e3d87e8f12bed3d8c) by beachball)
18
+ - Bump @fluentui/react-popover to v0.0.0-nightly-20251222-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/fc5fcc710f6c3c5af009586e3d87e8f12bed3d8c) by beachball)
19
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20251222-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/fc5fcc710f6c3c5af009586e3d87e8f12bed3d8c) by beachball)
20
+ - Bump @fluentui/react-tabster to v0.0.0-nightly-20251222-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/fc5fcc710f6c3c5af009586e3d87e8f12bed3d8c) by beachball)
21
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20251222-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/fc5fcc710f6c3c5af009586e3d87e8f12bed3d8c) by beachball)
22
+ - Bump @fluentui/react-tooltip to v0.0.0-nightly-20251222-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/fc5fcc710f6c3c5af009586e3d87e8f12bed3d8c) by beachball)
23
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20251222-0408.1 ([commit](https://github.com/microsoft/fluentui/commit/fc5fcc710f6c3c5af009586e3d87e8f12bed3d8c) by beachball)
24
24
 
25
25
  ## [9.3.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-charts_v9.3.8)
26
26
 
package/dist/index.d.ts CHANGED
@@ -2561,6 +2561,10 @@ export declare interface HorizontalBarChartWithAxisDataPoint {
2561
2561
  * This is an optional prop, If haven't given data will take
2562
2562
  */
2563
2563
  yAxisCalloutData?: string;
2564
+ /**
2565
+ * Label to display on the bar
2566
+ */
2567
+ barLabel?: string;
2564
2568
  /**
2565
2569
  * onClick action for each datapoint in the chart
2566
2570
  */
@@ -2625,6 +2629,11 @@ export declare interface HorizontalBarChartWithAxisProps extends CartesianChartP
2625
2629
  * The prop used to enable rounded corners for the bars.
2626
2630
  */
2627
2631
  roundCorners?: boolean;
2632
+ /**
2633
+ * Prop to hide the bar labels
2634
+ * @default false
2635
+ */
2636
+ hideLabels?: boolean;
2628
2637
  }
2629
2638
 
2630
2639
  /**
@@ -2682,6 +2691,10 @@ export declare interface HorizontalBarChartWithAxisStyles extends CartesianChart
2682
2691
  * Style to change the opacity of bars in dataviz when we hover on a single bar or legends
2683
2692
  */
2684
2693
  opacityChangeOnHover: string;
2694
+ /**
2695
+ * Style for the bar labels displayed at the end of each bar
2696
+ */
2697
+ barLabel?: string;
2685
2698
  }
2686
2699
 
2687
2700
  /**
@@ -1640,7 +1640,7 @@ export const transformPlotlyJsonToHorizontalBarWithAxisProps = (input, isMultiPl
1640
1640
  const extractedColors = extractColor((_input_layout = input.layout) === null || _input_layout === void 0 ? void 0 : (_input_layout_template = _input_layout.template) === null || _input_layout_template === void 0 ? void 0 : (_input_layout_template_layout = _input_layout_template.layout) === null || _input_layout_template_layout === void 0 ? void 0 : _input_layout_template_layout.colorway, colorwayType, (_series_marker = series.marker) === null || _series_marker === void 0 ? void 0 : _series_marker.color, colorMap, isDarkTheme);
1641
1641
  const legend = legends[index];
1642
1642
  return series.y.map((yValue, i)=>{
1643
- var _series_marker, _series_marker1, _series_marker_color, _series_marker2, _input_layout_template_layout, _input_layout_template, _input_layout, _series_x;
1643
+ var _series_marker, _series_marker1, _series_marker_color, _series_marker2, _input_layout_template_layout, _input_layout_template, _input_layout, _series_x, _series_text;
1644
1644
  if (isInvalidValue(yValue)) {
1645
1645
  return null;
1646
1646
  }
@@ -1654,7 +1654,10 @@ export const transformPlotlyJsonToHorizontalBarWithAxisProps = (input, isMultiPl
1654
1654
  legend,
1655
1655
  color: (_rgb_copy_formatHex8 = rgb(color).copy({
1656
1656
  opacity
1657
- }).formatHex8()) !== null && _rgb_copy_formatHex8 !== void 0 ? _rgb_copy_formatHex8 : color
1657
+ }).formatHex8()) !== null && _rgb_copy_formatHex8 !== void 0 ? _rgb_copy_formatHex8 : color,
1658
+ ...((_series_text = series.text) === null || _series_text === void 0 ? void 0 : _series_text[i]) ? {
1659
+ barLabel: series.text[i].toString()
1660
+ } : {}
1658
1661
  };
1659
1662
  }).filter((point)=>point !== null);
1660
1663
  }).flat();