@fluentui/react-charting 5.22.0 → 5.22.2

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 (60) hide show
  1. package/CHANGELOG.json +43 -1
  2. package/CHANGELOG.md +22 -2
  3. package/dist/react-charting.d.ts +16 -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 +4 -0
  7. package/lib/components/DonutChart/Arc/Arc.js +9 -15
  8. package/lib/components/DonutChart/Arc/Arc.js.map +1 -1
  9. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +2 -2
  10. package/lib/components/DonutChart/Arc/Arc.styles.js +9 -2
  11. package/lib/components/DonutChart/Arc/Arc.styles.js.map +1 -1
  12. package/lib/components/DonutChart/Arc/Arc.types.d.ts +26 -0
  13. package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -1
  14. package/lib/components/GaugeChart/GaugeChart.base.js +9 -9
  15. package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -1
  16. package/lib/components/GaugeChart/GaugeChart.styles.js +9 -1
  17. package/lib/components/GaugeChart/GaugeChart.styles.js.map +1 -1
  18. package/lib/components/GaugeChart/GaugeChart.types.d.ts +16 -0
  19. package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -1
  20. package/lib/utilities/gradients.js +2 -2
  21. package/lib/utilities/gradients.js.map +1 -1
  22. package/lib/version.js +1 -1
  23. package/lib/version.js.map +1 -1
  24. package/lib-amd/components/DonutChart/Arc/Arc.js +9 -15
  25. package/lib-amd/components/DonutChart/Arc/Arc.js.map +1 -1
  26. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +2 -2
  27. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +9 -2
  28. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +1 -1
  29. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +26 -0
  30. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +1 -1
  31. package/lib-amd/components/GaugeChart/GaugeChart.base.js +9 -9
  32. package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +1 -1
  33. package/lib-amd/components/GaugeChart/GaugeChart.styles.js +9 -1
  34. package/lib-amd/components/GaugeChart/GaugeChart.styles.js.map +1 -1
  35. package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +16 -0
  36. package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +1 -1
  37. package/lib-amd/utilities/gradients.js +2 -2
  38. package/lib-amd/utilities/gradients.js.map +1 -1
  39. package/lib-amd/version.js +1 -1
  40. package/lib-amd/version.js.map +1 -1
  41. package/lib-commonjs/components/DonutChart/Arc/Arc.js +9 -15
  42. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -1
  43. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.d.ts +2 -2
  44. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js +9 -2
  45. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +1 -1
  46. package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +26 -0
  47. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +1 -1
  48. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +9 -9
  49. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -1
  50. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js +9 -1
  51. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js.map +1 -1
  52. package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +16 -0
  53. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -1
  54. package/lib-commonjs/utilities/gradients.js +2 -2
  55. package/lib-commonjs/utilities/gradients.js.map +1 -1
  56. package/lib-commonjs/version.js +1 -1
  57. package/lib-commonjs/version.js.map +1 -1
  58. package/package.json +3 -3
  59. package/src/components/DonutChart/Arc/Arc.types.ts +32 -0
  60. package/src/components/GaugeChart/GaugeChart.types.ts +20 -0
package/CHANGELOG.json CHANGED
@@ -2,7 +2,49 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 16 Aug 2024 07:20:58 GMT",
5
+ "date": "Thu, 22 Aug 2024 07:21:32 GMT",
6
+ "tag": "@fluentui/react-charting_v5.22.2",
7
+ "version": "5.22.2",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "shawngrant333@gmail.com",
12
+ "package": "@fluentui/react-charting",
13
+ "commit": "e06ecf6a96437a97adcc924083ee2d33b8229218",
14
+ "comment": "move gradient styling to css"
15
+ },
16
+ {
17
+ "author": "shawngrant333@gmail.com",
18
+ "package": "@fluentui/react-charting",
19
+ "commit": "2e0b7479df26ed3c998411425e8e7dae524bb076",
20
+ "comment": "update DataVizGradientPalette.disabled color"
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "date": "Wed, 21 Aug 2024 07:21:50 GMT",
27
+ "tag": "@fluentui/react-charting_v5.22.1",
28
+ "version": "5.22.1",
29
+ "comments": {
30
+ "patch": [
31
+ {
32
+ "author": "beachball",
33
+ "package": "@fluentui/react-charting",
34
+ "comment": "Bump @fluentui/theme-samples to v8.7.170",
35
+ "commit": "104fbc1f50ba51e29023a5f7a76e8de26e972ffa"
36
+ },
37
+ {
38
+ "author": "beachball",
39
+ "package": "@fluentui/react-charting",
40
+ "comment": "Bump @fluentui/react to v8.120.6",
41
+ "commit": "104fbc1f50ba51e29023a5f7a76e8de26e972ffa"
42
+ }
43
+ ]
44
+ }
45
+ },
46
+ {
47
+ "date": "Fri, 16 Aug 2024 07:21:16 GMT",
6
48
  "tag": "@fluentui/react-charting_v5.22.0",
7
49
  "version": "5.22.0",
8
50
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,32 @@
1
1
  # Change Log - @fluentui/react-charting
2
2
 
3
- This log was last generated on Fri, 16 Aug 2024 07:20:58 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 22 Aug 2024 07:21:32 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.22.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.22.2)
8
+
9
+ Thu, 22 Aug 2024 07:21:32 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.22.1..@fluentui/react-charting_v5.22.2)
11
+
12
+ ### Patches
13
+
14
+ - move gradient styling to css ([PR #32324](https://github.com/microsoft/fluentui/pull/32324) by shawngrant333@gmail.com)
15
+ - update DataVizGradientPalette.disabled color ([PR #32340](https://github.com/microsoft/fluentui/pull/32340) by shawngrant333@gmail.com)
16
+
17
+ ## [5.22.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.22.1)
18
+
19
+ Wed, 21 Aug 2024 07:21:50 GMT
20
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.22.0..@fluentui/react-charting_v5.22.1)
21
+
22
+ ### Patches
23
+
24
+ - Bump @fluentui/theme-samples to v8.7.170 ([commit](https://github.com/microsoft/fluentui/commit/104fbc1f50ba51e29023a5f7a76e8de26e972ffa) by beachball)
25
+ - Bump @fluentui/react to v8.120.6 ([commit](https://github.com/microsoft/fluentui/commit/104fbc1f50ba51e29023a5f7a76e8de26e972ffa) by beachball)
26
+
7
27
  ## [5.22.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.22.0)
8
28
 
9
- Fri, 16 Aug 2024 07:20:58 GMT
29
+ Fri, 16 Aug 2024 07:21:16 GMT
10
30
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.21.32..@fluentui/react-charting_v5.22.0)
11
31
 
12
32
  ### Minor changes
@@ -1187,6 +1187,18 @@ export declare interface IGaugeChartStyleProps {
1187
1187
  * Boolean flag which determines if shape is drawn in callout
1188
1188
  */
1189
1189
  toDrawShape?: boolean;
1190
+ /**
1191
+ * solid color for the arc (when enableGradient is false)
1192
+ */
1193
+ solidFill?: string;
1194
+ /**
1195
+ * gradient for the arc (when enableGradient is true)
1196
+ */
1197
+ gradientFill?: string;
1198
+ /**
1199
+ * opacity of the arc
1200
+ */
1201
+ opacity?: number;
1190
1202
  }
1191
1203
 
1192
1204
  /**
@@ -1226,6 +1238,10 @@ export declare interface IGaugeChartStyles {
1226
1238
  * Styles for the segments
1227
1239
  */
1228
1240
  segment?: IStyle;
1241
+ /**
1242
+ * Styles for gradient segments
1243
+ */
1244
+ gradientSegment?: IStyle;
1229
1245
  /**
1230
1246
  * Styles for the legends container
1231
1247
  */