@fluentui/react-charting 5.19.8 → 5.19.10

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 (93) hide show
  1. package/CHANGELOG.json +72 -1
  2. package/CHANGELOG.md +22 -2
  3. package/config/tests.js +3 -0
  4. package/dist/react-charting.d.ts +6 -5
  5. package/dist/react-charting.js +1 -1
  6. package/dist/react-charting.min.js +1 -1
  7. package/etc/react-charting.api.md +6 -5
  8. package/lib/components/CommonComponents/CartesianChart.types.d.ts +2 -2
  9. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
  10. package/lib/components/DonutChart/Arc/Arc.js +2 -2
  11. package/lib/components/DonutChart/Arc/Arc.js.map +1 -1
  12. package/lib/components/DonutChart/DonutChart.base.d.ts +2 -2
  13. package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
  14. package/lib/components/DonutChart/Pie/Pie.js +3 -5
  15. package/lib/components/DonutChart/Pie/Pie.js.map +1 -1
  16. package/lib/components/GaugeChart/GaugeChart.base.js +2 -3
  17. package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -1
  18. package/lib/components/HeatMapChart/HeatMapChart.base.js +2 -2
  19. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  20. package/lib/components/PieChart/Arc/Arc.js +3 -3
  21. package/lib/components/PieChart/Arc/Arc.js.map +1 -1
  22. package/lib/components/PieChart/Pie/Pie.js +4 -5
  23. package/lib/components/PieChart/Pie/Pie.js.map +1 -1
  24. package/lib/components/SankeyChart/SankeyChart.base.js +3 -4
  25. package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -1
  26. package/lib/types/IDataPoint.d.ts +3 -3
  27. package/lib/types/IDataPoint.js.map +1 -1
  28. package/lib/utilities/test-data.d.ts +4 -1
  29. package/lib/utilities/test-data.js +78 -0
  30. package/lib/utilities/test-data.js.map +1 -1
  31. package/lib/utilities/utilities.d.ts +2 -2
  32. package/lib/utilities/utilities.js +4 -4
  33. package/lib/utilities/utilities.js.map +1 -1
  34. package/lib/version.js +1 -1
  35. package/lib/version.js.map +1 -1
  36. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +2 -2
  37. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
  38. package/lib-amd/components/DonutChart/Arc/Arc.js +2 -2
  39. package/lib-amd/components/DonutChart/Arc/Arc.js.map +1 -1
  40. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +2 -2
  41. package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -1
  42. package/lib-amd/components/DonutChart/Pie/Pie.js +3 -5
  43. package/lib-amd/components/DonutChart/Pie/Pie.js.map +1 -1
  44. package/lib-amd/components/GaugeChart/GaugeChart.base.js +2 -3
  45. package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +1 -1
  46. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +2 -2
  47. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  48. package/lib-amd/components/PieChart/Arc/Arc.js +3 -3
  49. package/lib-amd/components/PieChart/Arc/Arc.js.map +1 -1
  50. package/lib-amd/components/PieChart/Pie/Pie.js +3 -4
  51. package/lib-amd/components/PieChart/Pie/Pie.js.map +1 -1
  52. package/lib-amd/components/SankeyChart/SankeyChart.base.js +3 -4
  53. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -1
  54. package/lib-amd/types/IDataPoint.d.ts +3 -3
  55. package/lib-amd/types/IDataPoint.js.map +1 -1
  56. package/lib-amd/utilities/test-data.d.ts +4 -1
  57. package/lib-amd/utilities/test-data.js +79 -1
  58. package/lib-amd/utilities/test-data.js.map +1 -1
  59. package/lib-amd/utilities/utilities.d.ts +2 -2
  60. package/lib-amd/utilities/utilities.js +4 -4
  61. package/lib-amd/utilities/utilities.js.map +1 -1
  62. package/lib-amd/version.js +1 -1
  63. package/lib-amd/version.js.map +1 -1
  64. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +2 -2
  65. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  66. package/lib-commonjs/components/DonutChart/Arc/Arc.js +2 -2
  67. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -1
  68. package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +2 -2
  69. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
  70. package/lib-commonjs/components/DonutChart/Pie/Pie.js +3 -5
  71. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -1
  72. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +2 -3
  73. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -1
  74. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +2 -2
  75. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  76. package/lib-commonjs/components/PieChart/Arc/Arc.js +3 -3
  77. package/lib-commonjs/components/PieChart/Arc/Arc.js.map +1 -1
  78. package/lib-commonjs/components/PieChart/Pie/Pie.js +4 -5
  79. package/lib-commonjs/components/PieChart/Pie/Pie.js.map +1 -1
  80. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +3 -4
  81. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -1
  82. package/lib-commonjs/types/IDataPoint.d.ts +3 -3
  83. package/lib-commonjs/types/IDataPoint.js.map +1 -1
  84. package/lib-commonjs/utilities/test-data.d.ts +4 -1
  85. package/lib-commonjs/utilities/test-data.js +79 -1
  86. package/lib-commonjs/utilities/test-data.js.map +1 -1
  87. package/lib-commonjs/utilities/utilities.d.ts +2 -2
  88. package/lib-commonjs/utilities/utilities.js +4 -4
  89. package/lib-commonjs/utilities/utilities.js.map +1 -1
  90. package/lib-commonjs/version.js +1 -1
  91. package/lib-commonjs/version.js.map +1 -1
  92. package/package.json +4 -4
  93. package/src/components/CommonComponents/CartesianChart.types.ts +2 -2
package/CHANGELOG.json CHANGED
@@ -2,7 +2,78 @@
2
2
  "name": "@fluentui/react-charting",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 25 Dec 2023 07:27:28 GMT",
5
+ "date": "Tue, 09 Jan 2024 07:30:35 GMT",
6
+ "tag": "@fluentui/react-charting_v5.19.10",
7
+ "version": "5.19.10",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "beachball",
12
+ "package": "@fluentui/react-charting",
13
+ "comment": "Bump @fluentui/react-focus to v8.8.36",
14
+ "commit": "6eaad68b1cbaeb5b4917fabe17e6fae7a851f780"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-charting",
19
+ "comment": "Bump @fluentui/theme-samples to v8.7.127",
20
+ "commit": "6eaad68b1cbaeb5b4917fabe17e6fae7a851f780"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-charting",
25
+ "comment": "Bump @fluentui/react to v8.114.1",
26
+ "commit": "6eaad68b1cbaeb5b4917fabe17e6fae7a851f780"
27
+ }
28
+ ]
29
+ }
30
+ },
31
+ {
32
+ "date": "Thu, 04 Jan 2024 07:26:40 GMT",
33
+ "tag": "@fluentui/react-charting_v5.19.9",
34
+ "version": "5.19.9",
35
+ "comments": {
36
+ "none": [
37
+ {
38
+ "author": "132879294+v-baambati@users.noreply.github.com",
39
+ "package": "@fluentui/react-charting",
40
+ "commit": "9d99266dec5a450bcd44c0f777735b31dd98eccc",
41
+ "comment": "Moved HorizontalBarChartWithAxis test cases input data to common utilities/test-data.ts file"
42
+ }
43
+ ],
44
+ "patch": [
45
+ {
46
+ "author": "ankityadav@microsoft.com",
47
+ "package": "@fluentui/react-charting",
48
+ "commit": "f65de264d2d290f33a6ea6018e0dc341317a9e8b",
49
+ "comment": "Importing functions which are used instead of importing complete library"
50
+ }
51
+ ]
52
+ }
53
+ },
54
+ {
55
+ "date": "Wed, 27 Dec 2023 07:26:32 GMT",
56
+ "tag": "@fluentui/react-charting_v5.19.8",
57
+ "version": "5.19.8",
58
+ "comments": {
59
+ "none": [
60
+ {
61
+ "author": "srmukher@microsoft.com",
62
+ "package": "@fluentui/react-charting",
63
+ "commit": "8495bb4f55924c083e9ecd6f231856865d751049",
64
+ "comment": "Added unit tests for Area, Line and Vertical bar charts"
65
+ },
66
+ {
67
+ "author": "srmukher@microsoft.com",
68
+ "package": "@fluentui/react-charting",
69
+ "commit": "ddd372e4b5cfcb4c4a7f2e87a34251ac9273dc3c",
70
+ "comment": "Adding Unit Tests for 4 charts"
71
+ }
72
+ ]
73
+ }
74
+ },
75
+ {
76
+ "date": "Mon, 25 Dec 2023 07:28:36 GMT",
6
77
  "tag": "@fluentui/react-charting_v5.19.8",
7
78
  "version": "5.19.8",
8
79
  "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 Mon, 25 Dec 2023 07:27:28 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 09 Jan 2024 07:30:35 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [5.19.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.19.10)
8
+
9
+ Tue, 09 Jan 2024 07:30:35 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.19.9..@fluentui/react-charting_v5.19.10)
11
+
12
+ ### Patches
13
+
14
+ - Bump @fluentui/react-focus to v8.8.36 ([PR #30003](https://github.com/microsoft/fluentui/pull/30003) by beachball)
15
+ - Bump @fluentui/theme-samples to v8.7.127 ([PR #30003](https://github.com/microsoft/fluentui/pull/30003) by beachball)
16
+ - Bump @fluentui/react to v8.114.1 ([PR #30003](https://github.com/microsoft/fluentui/pull/30003) by beachball)
17
+
18
+ ## [5.19.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.19.9)
19
+
20
+ Thu, 04 Jan 2024 07:26:40 GMT
21
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.19.8..@fluentui/react-charting_v5.19.9)
22
+
23
+ ### Patches
24
+
25
+ - Importing functions which are used instead of importing complete library ([PR #30185](https://github.com/microsoft/fluentui/pull/30185) by ankityadav@microsoft.com)
26
+
7
27
  ## [5.19.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.19.8)
8
28
 
9
- Mon, 25 Dec 2023 07:27:28 GMT
29
+ Mon, 25 Dec 2023 07:28:36 GMT
10
30
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.19.7..@fluentui/react-charting_v5.19.8)
11
31
 
12
32
  ### Patches
package/config/tests.js CHANGED
@@ -11,3 +11,6 @@ setIconOptions({
11
11
 
12
12
  // Configure enzyme.
13
13
  configure({ adapter: new Adapter() });
14
+
15
+ const env = 'PROD';
16
+ module.exports = env;
@@ -1,5 +1,3 @@
1
- import * as d3Sankey from 'd3-sankey';
2
- import * as d3TimeFormat from 'd3-time-format';
3
1
  import { FocusZoneDirection } from '@fluentui/react-focus';
4
2
  import { ICalloutContentStyleProps } from '@fluentui/react/lib/Callout';
5
3
  import { ICalloutContentStyles } from '@fluentui/react/lib/Callout';
@@ -16,7 +14,10 @@ import { IStyleFunctionOrObject as IStyleFunctionOrObject_2 } from '@fluentui/re
16
14
  import { ITheme } from '@fluentui/react/lib/Styling';
17
15
  import { ITheme as ITheme_2 } from '@fluentui/react';
18
16
  import * as React_2 from 'react';
17
+ import { SankeyLink } from 'd3-sankey';
18
+ import { SankeyNode } from 'd3-sankey';
19
19
  import { SVGProps } from 'react';
20
+ import { TimeLocaleDefinition } from 'd3-time-format';
20
21
 
21
22
  /**
22
23
  * Areachart component.
@@ -426,7 +427,7 @@ export declare interface ICartesianChartProps {
426
427
  /**
427
428
  * The prop used to define a custom locale for the date time format.
428
429
  */
429
- timeFormatLocale?: d3TimeFormat.TimeLocaleDefinition;
430
+ timeFormatLocale?: TimeLocaleDefinition;
430
431
  /**
431
432
  * The prop used to define a custom datetime formatter for date axis.
432
433
  */
@@ -3821,9 +3822,9 @@ export declare const SankeyChart: React_2.FunctionComponent<ISankeyChartProps>;
3821
3822
 
3822
3823
  export declare const Shape: React_2.FC<IShapeProps>;
3823
3824
 
3824
- export declare type SLink = d3Sankey.SankeyLink<ISNodeExtra, ISLinkExtra>;
3825
+ export declare type SLink = SankeyLink<ISNodeExtra, ISLinkExtra>;
3825
3826
 
3826
- export declare type SNode = d3Sankey.SankeyNode<ISNodeExtra, ISLinkExtra>;
3827
+ export declare type SNode = SankeyNode<ISNodeExtra, ISLinkExtra>;
3827
3828
 
3828
3829
  /**
3829
3830
  * Sparkline component