@fluentui/react-charting 5.19.7 → 5.19.9
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.
- package/CHANGELOG.json +86 -1
- package/CHANGELOG.md +23 -2
- package/config/tests.js +3 -0
- package/dist/react-charting.d.ts +6 -5
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/etc/react-charting.api.md +6 -5
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +2 -2
- package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib/components/DonutChart/Arc/Arc.js +2 -2
- package/lib/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.base.d.ts +2 -2
- package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib/components/DonutChart/Pie/Pie.js +3 -5
- package/lib/components/DonutChart/Pie/Pie.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.base.js +3 -4
- package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.js +2 -2
- package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib/components/PieChart/Arc/Arc.js +3 -3
- package/lib/components/PieChart/Arc/Arc.js.map +1 -1
- package/lib/components/PieChart/Pie/Pie.js +4 -5
- package/lib/components/PieChart/Pie/Pie.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.base.js +3 -4
- package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib/components/Sparkline/Sparkline.base.js +1 -1
- package/lib/components/Sparkline/Sparkline.base.js.map +1 -1
- package/lib/types/IDataPoint.d.ts +3 -3
- package/lib/types/IDataPoint.js.map +1 -1
- package/lib/utilities/test-data.d.ts +25 -0
- package/lib/utilities/test-data.js +198 -0
- package/lib/utilities/test-data.js.map +1 -0
- package/lib/utilities/utilities.d.ts +2 -2
- package/lib/utilities/utilities.js +4 -4
- package/lib/utilities/utilities.js.map +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +2 -2
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-amd/components/DonutChart/Arc/Arc.js +2 -2
- package/lib-amd/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib-amd/components/DonutChart/DonutChart.base.d.ts +2 -2
- package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib-amd/components/DonutChart/Pie/Pie.js +3 -5
- package/lib-amd/components/DonutChart/Pie/Pie.js.map +1 -1
- package/lib-amd/components/GaugeChart/GaugeChart.base.js +3 -4
- package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +2 -2
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-amd/components/PieChart/Arc/Arc.js +3 -3
- package/lib-amd/components/PieChart/Arc/Arc.js.map +1 -1
- package/lib-amd/components/PieChart/Pie/Pie.js +3 -4
- package/lib-amd/components/PieChart/Pie/Pie.js.map +1 -1
- package/lib-amd/components/SankeyChart/SankeyChart.base.js +3 -4
- package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib-amd/components/Sparkline/Sparkline.base.js +1 -1
- package/lib-amd/components/Sparkline/Sparkline.base.js.map +1 -1
- package/lib-amd/types/IDataPoint.d.ts +3 -3
- package/lib-amd/types/IDataPoint.js.map +1 -1
- package/lib-amd/utilities/test-data.d.ts +25 -0
- package/lib-amd/utilities/test-data.js +202 -0
- package/lib-amd/utilities/test-data.js.map +1 -0
- package/lib-amd/utilities/utilities.d.ts +2 -2
- package/lib-amd/utilities/utilities.js +4 -4
- package/lib-amd/utilities/utilities.js.map +1 -1
- package/lib-amd/version.js +1 -1
- package/lib-amd/version.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +2 -2
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.js +2 -2
- package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +2 -2
- package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.js +3 -5
- package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +3 -4
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +2 -2
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.js +3 -3
- package/lib-commonjs/components/PieChart/Arc/Arc.js.map +1 -1
- package/lib-commonjs/components/PieChart/Pie/Pie.js +4 -5
- package/lib-commonjs/components/PieChart/Pie/Pie.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +3 -4
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib-commonjs/components/Sparkline/Sparkline.base.js +1 -1
- package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +1 -1
- package/lib-commonjs/types/IDataPoint.d.ts +3 -3
- package/lib-commonjs/types/IDataPoint.js.map +1 -1
- package/lib-commonjs/utilities/test-data.d.ts +25 -0
- package/lib-commonjs/utilities/test-data.js +201 -0
- package/lib-commonjs/utilities/test-data.js.map +1 -0
- package/lib-commonjs/utilities/utilities.d.ts +2 -2
- package/lib-commonjs/utilities/utilities.js +4 -4
- package/lib-commonjs/utilities/utilities.js.map +1 -1
- package/lib-commonjs/version.js +1 -1
- package/lib-commonjs/version.js.map +1 -1
- package/package.json +3 -3
- package/src/components/CommonComponents/CartesianChart.types.ts +2 -2
- package/lib/components/VerticalBarChart/tests/test-data.d.ts +0 -8
- package/lib/components/VerticalBarChart/tests/test-data.js +0 -28
- package/lib/components/VerticalBarChart/tests/test-data.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/tests/test-data.d.ts +0 -8
- package/lib-amd/components/VerticalBarChart/tests/test-data.js +0 -32
- package/lib-amd/components/VerticalBarChart/tests/test-data.js.map +0 -1
- package/lib-commonjs/components/VerticalBarChart/tests/test-data.d.ts +0 -8
- package/lib-commonjs/components/VerticalBarChart/tests/test-data.js +0 -31
- package/lib-commonjs/components/VerticalBarChart/tests/test-data.js.map +0 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,92 @@
|
|
|
2
2
|
"name": "@fluentui/react-charting",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Thu, 04 Jan 2024 07:26:14 GMT",
|
|
6
|
+
"tag": "@fluentui/react-charting_v5.19.9",
|
|
7
|
+
"version": "5.19.9",
|
|
8
|
+
"comments": {
|
|
9
|
+
"none": [
|
|
10
|
+
{
|
|
11
|
+
"author": "132879294+v-baambati@users.noreply.github.com",
|
|
12
|
+
"package": "@fluentui/react-charting",
|
|
13
|
+
"commit": "9d99266dec5a450bcd44c0f777735b31dd98eccc",
|
|
14
|
+
"comment": "Moved HorizontalBarChartWithAxis test cases input data to common utilities/test-data.ts file"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"patch": [
|
|
18
|
+
{
|
|
19
|
+
"author": "ankityadav@microsoft.com",
|
|
20
|
+
"package": "@fluentui/react-charting",
|
|
21
|
+
"commit": "f65de264d2d290f33a6ea6018e0dc341317a9e8b",
|
|
22
|
+
"comment": "Importing functions which are used instead of importing complete library"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"date": "Wed, 27 Dec 2023 07:26:32 GMT",
|
|
29
|
+
"tag": "@fluentui/react-charting_v5.19.8",
|
|
30
|
+
"version": "5.19.8",
|
|
31
|
+
"comments": {
|
|
32
|
+
"none": [
|
|
33
|
+
{
|
|
34
|
+
"author": "srmukher@microsoft.com",
|
|
35
|
+
"package": "@fluentui/react-charting",
|
|
36
|
+
"commit": "8495bb4f55924c083e9ecd6f231856865d751049",
|
|
37
|
+
"comment": "Added unit tests for Area, Line and Vertical bar charts"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"author": "srmukher@microsoft.com",
|
|
41
|
+
"package": "@fluentui/react-charting",
|
|
42
|
+
"commit": "ddd372e4b5cfcb4c4a7f2e87a34251ac9273dc3c",
|
|
43
|
+
"comment": "Adding Unit Tests for 4 charts"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"date": "Mon, 25 Dec 2023 07:28:36 GMT",
|
|
50
|
+
"tag": "@fluentui/react-charting_v5.19.8",
|
|
51
|
+
"version": "5.19.8",
|
|
52
|
+
"comments": {
|
|
53
|
+
"patch": [
|
|
54
|
+
{
|
|
55
|
+
"author": "shubhabrata08@gmail.com",
|
|
56
|
+
"package": "@fluentui/react-charting",
|
|
57
|
+
"commit": "e959d219195a11c77cb78f4faf26effea63d3db7",
|
|
58
|
+
"comment": "presentation role attribute removed from svg element due to ARIA violations"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"author": "shubhabrata08@gmail.com",
|
|
62
|
+
"package": "@fluentui/react-charting",
|
|
63
|
+
"commit": "109463c2a40ca4e796de8ff16c82702c5678cb87",
|
|
64
|
+
"comment": "Added img aria role to <path/> in SparklineChart"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"author": "beachball",
|
|
68
|
+
"package": "@fluentui/react-charting",
|
|
69
|
+
"comment": "Bump @fluentui/theme-samples to v8.7.126",
|
|
70
|
+
"commit": "e959d219195a11c77cb78f4faf26effea63d3db7"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"author": "beachball",
|
|
74
|
+
"package": "@fluentui/react-charting",
|
|
75
|
+
"comment": "Bump @fluentui/react to v8.114.0",
|
|
76
|
+
"commit": "e959d219195a11c77cb78f4faf26effea63d3db7"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"none": [
|
|
80
|
+
{
|
|
81
|
+
"author": "srmukher@microsoft.com",
|
|
82
|
+
"package": "@fluentui/react-charting",
|
|
83
|
+
"commit": "3483d23b958752f39ed6258d9ec8cbfddcb8ec3c",
|
|
84
|
+
"comment": "test: fix act errors in terminal"
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"date": "Wed, 20 Dec 2023 07:26:54 GMT",
|
|
6
91
|
"tag": "@fluentui/react-charting_v5.19.7",
|
|
7
92
|
"version": "5.19.7",
|
|
8
93
|
"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
|
|
3
|
+
This log was last generated on Thu, 04 Jan 2024 07:26:14 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [5.19.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.19.9)
|
|
8
|
+
|
|
9
|
+
Thu, 04 Jan 2024 07:26:14 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.19.8..@fluentui/react-charting_v5.19.9)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- Importing functions which are used instead of importing complete library ([PR #30185](https://github.com/microsoft/fluentui/pull/30185) by ankityadav@microsoft.com)
|
|
15
|
+
|
|
16
|
+
## [5.19.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.19.8)
|
|
17
|
+
|
|
18
|
+
Mon, 25 Dec 2023 07:28:36 GMT
|
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.19.7..@fluentui/react-charting_v5.19.8)
|
|
20
|
+
|
|
21
|
+
### Patches
|
|
22
|
+
|
|
23
|
+
- presentation role attribute removed from svg element due to ARIA violations ([PR #30158](https://github.com/microsoft/fluentui/pull/30158) by shubhabrata08@gmail.com)
|
|
24
|
+
- Added img aria role to <path/> in SparklineChart ([PR #30155](https://github.com/microsoft/fluentui/pull/30155) by shubhabrata08@gmail.com)
|
|
25
|
+
- Bump @fluentui/theme-samples to v8.7.126 ([PR #30158](https://github.com/microsoft/fluentui/pull/30158) by beachball)
|
|
26
|
+
- Bump @fluentui/react to v8.114.0 ([PR #30158](https://github.com/microsoft/fluentui/pull/30158) by beachball)
|
|
27
|
+
|
|
7
28
|
## [5.19.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.19.7)
|
|
8
29
|
|
|
9
|
-
Wed, 20 Dec 2023 07:26:
|
|
30
|
+
Wed, 20 Dec 2023 07:26:54 GMT
|
|
10
31
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.19.6..@fluentui/react-charting_v5.19.7)
|
|
11
32
|
|
|
12
33
|
### Patches
|
package/config/tests.js
CHANGED
package/dist/react-charting.d.ts
CHANGED
|
@@ -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?:
|
|
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 =
|
|
3825
|
+
export declare type SLink = SankeyLink<ISNodeExtra, ISLinkExtra>;
|
|
3825
3826
|
|
|
3826
|
-
export declare type SNode =
|
|
3827
|
+
export declare type SNode = SankeyNode<ISNodeExtra, ISLinkExtra>;
|
|
3827
3828
|
|
|
3828
3829
|
/**
|
|
3829
3830
|
* Sparkline component
|