@fluentui/react-charting 5.24.25 → 5.24.27

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 (41) hide show
  1. package/CHANGELOG.json +49 -1
  2. package/CHANGELOG.md +23 -2
  3. package/dist/react-charting.d.ts +7 -0
  4. package/dist/react-charting.js +1 -1
  5. package/dist/react-charting.min.js +1 -1
  6. package/etc/react-charting.api.md +1 -0
  7. package/lib/components/DeclarativeChart/DeclarativeChart.js +16 -5
  8. package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  9. package/lib/components/DeclarativeChart/PlotlyColorAdapter.d.ts +8 -4
  10. package/lib/components/DeclarativeChart/PlotlyColorAdapter.js +70 -19
  11. package/lib/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
  12. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +96 -65
  13. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  14. package/lib/components/DonutChart/DonutChart.base.js +7 -2
  15. package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
  16. package/lib/components/DonutChart/DonutChart.types.d.ts +7 -0
  17. package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
  18. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +16 -5
  19. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  20. package/lib-amd/components/DeclarativeChart/PlotlyColorAdapter.d.ts +8 -4
  21. package/lib-amd/components/DeclarativeChart/PlotlyColorAdapter.js +71 -20
  22. package/lib-amd/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
  23. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +96 -65
  24. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  25. package/lib-amd/components/DonutChart/DonutChart.base.js +7 -2
  26. package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -1
  27. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +7 -0
  28. package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -1
  29. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +16 -5
  30. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  31. package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.d.ts +8 -4
  32. package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.js +71 -20
  33. package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
  34. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +96 -65
  35. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  36. package/lib-commonjs/components/DonutChart/DonutChart.base.js +7 -2
  37. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
  38. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +7 -0
  39. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
  40. package/package.json +4 -4
  41. package/src/components/DonutChart/DonutChart.types.ts +8 -0
package/CHANGELOG.json CHANGED
@@ -2,7 +2,55 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 21 Aug 2025 12:14:43 GMT",
5
+ "date": "Mon, 08 Sep 2025 07:22:19 GMT",
6
+ "tag": "@fluentui/react-charting_v5.24.27",
7
+ "version": "5.24.27",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "120183316+srmukher@users.noreply.github.com",
12
+ "package": "@fluentui/react-charting",
13
+ "commit": "2d6aca289ee6cc4571e4e3dcdf810deb78ac18fa",
14
+ "comment": "fix(react-charting): Fixing donut colors and segment orders"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Tue, 26 Aug 2025 07:21:43 GMT",
21
+ "tag": "@fluentui/react-charting_v5.24.26",
22
+ "version": "5.24.26",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "120183316+srmukher@users.noreply.github.com",
27
+ "package": "@fluentui/react-charting",
28
+ "commit": "78ed2ed56e904c6cbe404e78965de05ab66acf08",
29
+ "comment": "fix(react-charting): Updating segment colors for Donut chart"
30
+ },
31
+ {
32
+ "author": "beachball",
33
+ "package": "@fluentui/react-charting",
34
+ "comment": "Bump @fluentui/react-focus to v8.9.26",
35
+ "commit": "54d698502c976954b7246ada9cc866e7c6a881a2"
36
+ },
37
+ {
38
+ "author": "beachball",
39
+ "package": "@fluentui/react-charting",
40
+ "comment": "Bump @fluentui/theme-samples to v8.7.214",
41
+ "commit": "54d698502c976954b7246ada9cc866e7c6a881a2"
42
+ },
43
+ {
44
+ "author": "beachball",
45
+ "package": "@fluentui/react-charting",
46
+ "comment": "Bump @fluentui/react to v8.123.5",
47
+ "commit": "54d698502c976954b7246ada9cc866e7c6a881a2"
48
+ }
49
+ ]
50
+ }
51
+ },
52
+ {
53
+ "date": "Thu, 21 Aug 2025 12:15:04 GMT",
6
54
  "tag": "@fluentui/react-charting_v5.24.25",
7
55
  "version": "5.24.25",
8
56
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,33 @@
1
1
  # Change Log - @fluentui/react-charting
2
2
 
3
- This log was last generated on Thu, 21 Aug 2025 12:14:43 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 08 Sep 2025 07:22:19 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.24.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.27)
8
+
9
+ Mon, 08 Sep 2025 07:22:19 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.26..@fluentui/react-charting_v5.24.27)
11
+
12
+ ### Patches
13
+
14
+ - fix(react-charting): Fixing donut colors and segment orders ([PR #35131](https://github.com/microsoft/fluentui/pull/35131) by 120183316+srmukher@users.noreply.github.com)
15
+
16
+ ## [5.24.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.26)
17
+
18
+ Tue, 26 Aug 2025 07:21:43 GMT
19
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.25..@fluentui/react-charting_v5.24.26)
20
+
21
+ ### Patches
22
+
23
+ - fix(react-charting): Updating segment colors for Donut chart ([PR #35054](https://github.com/microsoft/fluentui/pull/35054) by 120183316+srmukher@users.noreply.github.com)
24
+ - Bump @fluentui/react-focus to v8.9.26 ([commit](https://github.com/microsoft/fluentui/commit/54d698502c976954b7246ada9cc866e7c6a881a2) by beachball)
25
+ - Bump @fluentui/theme-samples to v8.7.214 ([commit](https://github.com/microsoft/fluentui/commit/54d698502c976954b7246ada9cc866e7c6a881a2) by beachball)
26
+ - Bump @fluentui/react to v8.123.5 ([commit](https://github.com/microsoft/fluentui/commit/54d698502c976954b7246ada9cc866e7c6a881a2) by beachball)
27
+
7
28
  ## [5.24.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.25)
8
29
 
9
- Thu, 21 Aug 2025 12:14:43 GMT
30
+ Thu, 21 Aug 2025 12:15:04 GMT
10
31
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.24..@fluentui/react-charting_v5.24.25)
11
32
 
12
33
  ### Patches
@@ -1331,6 +1331,13 @@ export declare interface IDonutChartProps extends ICartesianChartProps {
1331
1331
  * the public methods and properties of the component.
1332
1332
  */
1333
1333
  componentRef?: IRefObject<IChart>;
1334
+ /**
1335
+ * Rendering order of the legend
1336
+ * @default 'default'
1337
+ * 'default' - as per data provided
1338
+ * 'sorted' - in descending order of value
1339
+ */
1340
+ order?: 'default' | 'sorted';
1334
1341
  }
1335
1342
 
1336
1343
  /**