@fluentui/react-charting 5.19.22 → 5.19.23

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 (32) hide show
  1. package/CHANGELOG.json +34 -1
  2. package/CHANGELOG.md +14 -2
  3. package/dist/react-charting.d.ts +14 -1
  4. package/dist/react-charting.js +1 -1
  5. package/dist/react-charting.min.js +1 -1
  6. package/etc/react-charting.api.md +10 -1
  7. package/lib/components/GaugeChart/GaugeChart.base.d.ts +10 -3
  8. package/lib/components/GaugeChart/GaugeChart.base.js +74 -37
  9. package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -1
  10. package/lib/components/GaugeChart/GaugeChart.types.d.ts +13 -1
  11. package/lib/components/GaugeChart/GaugeChart.types.js +8 -0
  12. package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -1
  13. package/lib/version.js +1 -1
  14. package/lib/version.js.map +1 -1
  15. package/lib-amd/components/GaugeChart/GaugeChart.base.d.ts +10 -3
  16. package/lib-amd/components/GaugeChart/GaugeChart.base.js +77 -37
  17. package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +1 -1
  18. package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +13 -1
  19. package/lib-amd/components/GaugeChart/GaugeChart.types.js +9 -1
  20. package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +1 -1
  21. package/lib-amd/version.js +1 -1
  22. package/lib-amd/version.js.map +1 -1
  23. package/lib-commonjs/components/GaugeChart/GaugeChart.base.d.ts +10 -3
  24. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +77 -37
  25. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -1
  26. package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +13 -1
  27. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js +9 -1
  28. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -1
  29. package/lib-commonjs/version.js +1 -1
  30. package/lib-commonjs/version.js.map +1 -1
  31. package/package.json +3 -3
  32. package/src/components/GaugeChart/GaugeChart.types.ts +15 -1
package/CHANGELOG.json CHANGED
@@ -2,7 +2,40 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 06 Feb 2024 07:27:24 GMT",
5
+ "date": "Wed, 07 Feb 2024 07:25:13 GMT",
6
+ "tag": "@fluentui/react-charting_v5.19.23",
7
+ "version": "5.19.23",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "kumarkshitij@microsoft.com",
12
+ "package": "@fluentui/react-charting",
13
+ "commit": "36a4c3b734b77fefaa3f137a88a12d4a5ebeae7a",
14
+ "comment": "Fix bugs in gauge chart"
15
+ },
16
+ {
17
+ "author": "srmukher@microsoft.com",
18
+ "package": "@fluentui/react-charting",
19
+ "commit": "d89076308f8f3cfe80756f873bc12447a474e12c",
20
+ "comment": "Adding terser plugin options to reduce charting bundle size"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-charting",
25
+ "comment": "Bump @fluentui/theme-samples to v8.7.136",
26
+ "commit": "cd1e26c488d7290d6ffa11eebdda50bbbe19d3aa"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-charting",
31
+ "comment": "Bump @fluentui/react to v8.115.5",
32
+ "commit": "cd1e26c488d7290d6ffa11eebdda50bbbe19d3aa"
33
+ }
34
+ ]
35
+ }
36
+ },
37
+ {
38
+ "date": "Tue, 06 Feb 2024 07:27:41 GMT",
6
39
  "tag": "@fluentui/react-charting_v5.19.22",
7
40
  "version": "5.19.22",
8
41
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,24 @@
1
1
  # Change Log - @fluentui/react-charting
2
2
 
3
- This log was last generated on Tue, 06 Feb 2024 07:27:24 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 07 Feb 2024 07:25:13 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.19.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.19.23)
8
+
9
+ Wed, 07 Feb 2024 07:25:13 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.19.22..@fluentui/react-charting_v5.19.23)
11
+
12
+ ### Patches
13
+
14
+ - Fix bugs in gauge chart ([PR #26681](https://github.com/microsoft/fluentui/pull/26681) by kumarkshitij@microsoft.com)
15
+ - Adding terser plugin options to reduce charting bundle size ([PR #30392](https://github.com/microsoft/fluentui/pull/30392) by srmukher@microsoft.com)
16
+ - Bump @fluentui/theme-samples to v8.7.136 ([PR #30492](https://github.com/microsoft/fluentui/pull/30492) by beachball)
17
+ - Bump @fluentui/react to v8.115.5 ([PR #30492](https://github.com/microsoft/fluentui/pull/30492) by beachball)
18
+
7
19
  ## [5.19.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.19.22)
8
20
 
9
- Tue, 06 Feb 2024 07:27:24 GMT
21
+ Tue, 06 Feb 2024 07:27:41 GMT
10
22
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.19.21..@fluentui/react-charting_v5.19.22)
11
23
 
12
24
  ### Patches
@@ -118,6 +118,14 @@ export declare const DonutChart: React_2.FunctionComponent<IDonutChartProps>;
118
118
  */
119
119
  export declare const GaugeChart: React_2.FunctionComponent<IGaugeChartProps>;
120
120
 
121
+ /**
122
+ * {@docCategory GaugeChart}
123
+ */
124
+ export declare enum GaugeChartVariant {
125
+ SingleSegment = "single-segment",
126
+ MultipleSegments = "multiple-segments"
127
+ }
128
+
121
129
  /**
122
130
  * {@docCategory GaugeChart}
123
131
  */
@@ -998,7 +1006,7 @@ export declare interface IGaugeChartProps {
998
1006
  * Format of the chart value
999
1007
  * @defaultvalue GaugeValueFormat.Percentage
1000
1008
  */
1001
- chartValueFormat?: GaugeValueFormat | ((sweepFraction: number[]) => string);
1009
+ chartValueFormat?: GaugeValueFormat | ((sweepFraction: [number, number]) => string);
1002
1010
  /**
1003
1011
  * Decides whether to show/hide legends
1004
1012
  * @defaultvalue false
@@ -1030,6 +1038,11 @@ export declare interface IGaugeChartProps {
1030
1038
  * Props for the callout in the chart
1031
1039
  */
1032
1040
  calloutProps?: Partial<ICalloutProps>;
1041
+ /**
1042
+ * Specifies the variant of GaugeChart to be rendered
1043
+ * @defaultvalue GaugeChartVariant.MultipleSegments
1044
+ */
1045
+ variant?: GaugeChartVariant;
1033
1046
  }
1034
1047
 
1035
1048
  /**