@fluentui/react-charting 5.16.41 → 5.16.43
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 +49 -1
- package/CHANGELOG.md +23 -2
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/lib/components/DonutChart/Pie/Pie.d.ts +1 -1
- package/lib/utilities/utilities.d.ts +4 -4
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/lib-amd/components/DonutChart/Pie/Pie.d.ts +1 -1
- package/lib-amd/utilities/utilities.d.ts +4 -4
- package/lib-amd/version.js +1 -1
- package/lib-amd/version.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.d.ts +1 -1
- package/lib-commonjs/utilities/utilities.d.ts +4 -4
- package/lib-commonjs/version.js +1 -1
- package/lib-commonjs/version.js.map +1 -1
- package/package.json +5 -5
|
@@ -6,7 +6,7 @@ export declare class Pie extends React.Component<IPieProps, {}> {
|
|
|
6
6
|
private _pieForFocusRing;
|
|
7
7
|
private _totalValue;
|
|
8
8
|
constructor(props: IPieProps);
|
|
9
|
-
arcGenerator: (d: IArcData, i: number, focusData: IArcData, href?: string
|
|
9
|
+
arcGenerator: (d: IArcData, i: number, focusData: IArcData, href?: string) => JSX.Element;
|
|
10
10
|
render(): JSX.Element;
|
|
11
11
|
componentDidUpdate(): void;
|
|
12
12
|
private _focusCallback;
|
|
@@ -142,14 +142,14 @@ export declare function prepareDatapoints(maxVal: number, minVal: number, splitI
|
|
|
142
142
|
export declare function createYAxis(yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData, chartType: ChartTypes, barWidth: number, useSecondaryYScale?: boolean): import("d3-scale").ScaleLinear<number, number, never>;
|
|
143
143
|
export declare function createYAxisForHorizontalBarChartWithAxis(yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData, barWidth: number): import("d3-scale").ScaleLinear<number, number, never>;
|
|
144
144
|
export declare function createYAxisForOtherCharts(yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData, useSecondaryYScale?: boolean): import("d3-scale").ScaleLinear<number, number, never>;
|
|
145
|
-
export declare const createStringYAxis: (yAxisParams: IYAxisParams, dataPoints: string[], isRtl: boolean, chartType: ChartTypes, barWidth: number | undefined, culture?: string
|
|
145
|
+
export declare const createStringYAxis: (yAxisParams: IYAxisParams, dataPoints: string[], isRtl: boolean, chartType: ChartTypes, barWidth: number | undefined, culture?: string) => import("d3-scale").ScaleBand<string>;
|
|
146
146
|
/**
|
|
147
147
|
* Creating String Y axis of the chart for Horizontal Bar Chart With Axis
|
|
148
148
|
* @param yAxisParams
|
|
149
149
|
* @param dataPoints
|
|
150
150
|
* @param isRtl
|
|
151
151
|
*/
|
|
152
|
-
export declare const createStringYAxisForHorizontalBarChartWithAxis: (yAxisParams: IYAxisParams, dataPoints: string[], isRtl: boolean, barWidth: number, culture?: string
|
|
152
|
+
export declare const createStringYAxisForHorizontalBarChartWithAxis: (yAxisParams: IYAxisParams, dataPoints: string[], isRtl: boolean, barWidth: number, culture?: string) => import("d3-scale").ScaleBand<string>;
|
|
153
153
|
/**
|
|
154
154
|
* Creating String Y axis of the chart for other chart except Horizontal Bar Chart With Axis
|
|
155
155
|
* @param yAxisParams
|
|
@@ -408,7 +408,7 @@ export declare const pointTypes: PointTypes;
|
|
|
408
408
|
* @param isDataFocusable boolean
|
|
409
409
|
* function returns the accessibility data object
|
|
410
410
|
*/
|
|
411
|
-
export declare const getAccessibleDataObject: (accessibleData?: IAccessibilityProps
|
|
411
|
+
export declare const getAccessibleDataObject: (accessibleData?: IAccessibilityProps, role?: string, isDataFocusable?: boolean) => {
|
|
412
412
|
role: string;
|
|
413
413
|
'data-is-focusable': boolean;
|
|
414
414
|
'aria-label': string | undefined;
|
|
@@ -416,7 +416,7 @@ export declare const getAccessibleDataObject: (accessibleData?: IAccessibilityPr
|
|
|
416
416
|
'aria-describedby': string | undefined;
|
|
417
417
|
};
|
|
418
418
|
declare type LocaleStringDataProps = number | string | Date | undefined;
|
|
419
|
-
export declare const convertToLocaleString: (data: LocaleStringDataProps, culture?: string
|
|
419
|
+
export declare const convertToLocaleString: (data: LocaleStringDataProps, culture?: string) => LocaleStringDataProps;
|
|
420
420
|
export declare function rotateXAxisLabels(rotateLabelProps: IRotateLabelProps): number | undefined;
|
|
421
421
|
export declare function wrapTextInsideDonut(selectorClass: string, maxWidth: number): void;
|
|
422
422
|
export {};
|
package/lib/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Do not modify this file; it is generated as part of publish.
|
|
2
2
|
// The checked in version is a placeholder only and will not be updated.
|
|
3
3
|
import { setVersion } from '@fluentui/set-version';
|
|
4
|
-
setVersion('@fluentui/react-charting', '5.16.
|
|
4
|
+
setVersion('@fluentui/react-charting', '5.16.43');
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/lib/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"../src/","sources":["version.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,wEAAwE;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,UAAU,CAAC,0BAA0B,EAAE,SAAS,CAAC,CAAC","sourcesContent":["// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nimport { setVersion } from '@fluentui/set-version';\nsetVersion('@fluentui/react-charting', '5.16.
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"../src/","sources":["version.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,wEAAwE;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,UAAU,CAAC,0BAA0B,EAAE,SAAS,CAAC,CAAC","sourcesContent":["// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nimport { setVersion } from '@fluentui/set-version';\nsetVersion('@fluentui/react-charting', '5.16.43');"]}
|
|
@@ -6,7 +6,7 @@ export declare class Pie extends React.Component<IPieProps, {}> {
|
|
|
6
6
|
private _pieForFocusRing;
|
|
7
7
|
private _totalValue;
|
|
8
8
|
constructor(props: IPieProps);
|
|
9
|
-
arcGenerator: (d: IArcData, i: number, focusData: IArcData, href?: string
|
|
9
|
+
arcGenerator: (d: IArcData, i: number, focusData: IArcData, href?: string) => JSX.Element;
|
|
10
10
|
render(): JSX.Element;
|
|
11
11
|
componentDidUpdate(): void;
|
|
12
12
|
private _focusCallback;
|
|
@@ -142,14 +142,14 @@ export declare function prepareDatapoints(maxVal: number, minVal: number, splitI
|
|
|
142
142
|
export declare function createYAxis(yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData, chartType: ChartTypes, barWidth: number, useSecondaryYScale?: boolean): import("d3-scale").ScaleLinear<number, number, never>;
|
|
143
143
|
export declare function createYAxisForHorizontalBarChartWithAxis(yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData, barWidth: number): import("d3-scale").ScaleLinear<number, number, never>;
|
|
144
144
|
export declare function createYAxisForOtherCharts(yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData, useSecondaryYScale?: boolean): import("d3-scale").ScaleLinear<number, number, never>;
|
|
145
|
-
export declare const createStringYAxis: (yAxisParams: IYAxisParams, dataPoints: string[], isRtl: boolean, chartType: ChartTypes, barWidth: number | undefined, culture?: string
|
|
145
|
+
export declare const createStringYAxis: (yAxisParams: IYAxisParams, dataPoints: string[], isRtl: boolean, chartType: ChartTypes, barWidth: number | undefined, culture?: string) => import("d3-scale").ScaleBand<string>;
|
|
146
146
|
/**
|
|
147
147
|
* Creating String Y axis of the chart for Horizontal Bar Chart With Axis
|
|
148
148
|
* @param yAxisParams
|
|
149
149
|
* @param dataPoints
|
|
150
150
|
* @param isRtl
|
|
151
151
|
*/
|
|
152
|
-
export declare const createStringYAxisForHorizontalBarChartWithAxis: (yAxisParams: IYAxisParams, dataPoints: string[], isRtl: boolean, barWidth: number, culture?: string
|
|
152
|
+
export declare const createStringYAxisForHorizontalBarChartWithAxis: (yAxisParams: IYAxisParams, dataPoints: string[], isRtl: boolean, barWidth: number, culture?: string) => import("d3-scale").ScaleBand<string>;
|
|
153
153
|
/**
|
|
154
154
|
* Creating String Y axis of the chart for other chart except Horizontal Bar Chart With Axis
|
|
155
155
|
* @param yAxisParams
|
|
@@ -408,7 +408,7 @@ export declare const pointTypes: PointTypes;
|
|
|
408
408
|
* @param isDataFocusable boolean
|
|
409
409
|
* function returns the accessibility data object
|
|
410
410
|
*/
|
|
411
|
-
export declare const getAccessibleDataObject: (accessibleData?: IAccessibilityProps
|
|
411
|
+
export declare const getAccessibleDataObject: (accessibleData?: IAccessibilityProps, role?: string, isDataFocusable?: boolean) => {
|
|
412
412
|
role: string;
|
|
413
413
|
'data-is-focusable': boolean;
|
|
414
414
|
'aria-label': string | undefined;
|
|
@@ -416,7 +416,7 @@ export declare const getAccessibleDataObject: (accessibleData?: IAccessibilityPr
|
|
|
416
416
|
'aria-describedby': string | undefined;
|
|
417
417
|
};
|
|
418
418
|
declare type LocaleStringDataProps = number | string | Date | undefined;
|
|
419
|
-
export declare const convertToLocaleString: (data: LocaleStringDataProps, culture?: string
|
|
419
|
+
export declare const convertToLocaleString: (data: LocaleStringDataProps, culture?: string) => LocaleStringDataProps;
|
|
420
420
|
export declare function rotateXAxisLabels(rotateLabelProps: IRotateLabelProps): number | undefined;
|
|
421
421
|
export declare function wrapTextInsideDonut(selectorClass: string, maxWidth: number): void;
|
|
422
422
|
export {};
|
package/lib-amd/version.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
define(["require", "exports", "@fluentui/set-version"], function (require, exports, set_version_1) {
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
(0, set_version_1.setVersion)('@fluentui/react-charting', '5.16.
|
|
4
|
+
(0, set_version_1.setVersion)('@fluentui/react-charting', '5.16.43');
|
|
5
5
|
});
|
|
6
6
|
//# sourceMappingURL=version.js.map
|
package/lib-amd/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"../src/","sources":["version.ts"],"names":[],"mappings":";;;IAGA,IAAA,wBAAU,EAAC,0BAA0B,EAAE,SAAS,CAAC,CAAC","sourcesContent":["// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nimport { setVersion } from '@fluentui/set-version';\nsetVersion('@fluentui/react-charting', '5.16.
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"../src/","sources":["version.ts"],"names":[],"mappings":";;;IAGA,IAAA,wBAAU,EAAC,0BAA0B,EAAE,SAAS,CAAC,CAAC","sourcesContent":["// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nimport { setVersion } from '@fluentui/set-version';\nsetVersion('@fluentui/react-charting', '5.16.43');"]}
|
|
@@ -6,7 +6,7 @@ export declare class Pie extends React.Component<IPieProps, {}> {
|
|
|
6
6
|
private _pieForFocusRing;
|
|
7
7
|
private _totalValue;
|
|
8
8
|
constructor(props: IPieProps);
|
|
9
|
-
arcGenerator: (d: IArcData, i: number, focusData: IArcData, href?: string
|
|
9
|
+
arcGenerator: (d: IArcData, i: number, focusData: IArcData, href?: string) => JSX.Element;
|
|
10
10
|
render(): JSX.Element;
|
|
11
11
|
componentDidUpdate(): void;
|
|
12
12
|
private _focusCallback;
|
|
@@ -142,14 +142,14 @@ export declare function prepareDatapoints(maxVal: number, minVal: number, splitI
|
|
|
142
142
|
export declare function createYAxis(yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData, chartType: ChartTypes, barWidth: number, useSecondaryYScale?: boolean): import("d3-scale").ScaleLinear<number, number, never>;
|
|
143
143
|
export declare function createYAxisForHorizontalBarChartWithAxis(yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData, barWidth: number): import("d3-scale").ScaleLinear<number, number, never>;
|
|
144
144
|
export declare function createYAxisForOtherCharts(yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData, useSecondaryYScale?: boolean): import("d3-scale").ScaleLinear<number, number, never>;
|
|
145
|
-
export declare const createStringYAxis: (yAxisParams: IYAxisParams, dataPoints: string[], isRtl: boolean, chartType: ChartTypes, barWidth: number | undefined, culture?: string
|
|
145
|
+
export declare const createStringYAxis: (yAxisParams: IYAxisParams, dataPoints: string[], isRtl: boolean, chartType: ChartTypes, barWidth: number | undefined, culture?: string) => import("d3-scale").ScaleBand<string>;
|
|
146
146
|
/**
|
|
147
147
|
* Creating String Y axis of the chart for Horizontal Bar Chart With Axis
|
|
148
148
|
* @param yAxisParams
|
|
149
149
|
* @param dataPoints
|
|
150
150
|
* @param isRtl
|
|
151
151
|
*/
|
|
152
|
-
export declare const createStringYAxisForHorizontalBarChartWithAxis: (yAxisParams: IYAxisParams, dataPoints: string[], isRtl: boolean, barWidth: number, culture?: string
|
|
152
|
+
export declare const createStringYAxisForHorizontalBarChartWithAxis: (yAxisParams: IYAxisParams, dataPoints: string[], isRtl: boolean, barWidth: number, culture?: string) => import("d3-scale").ScaleBand<string>;
|
|
153
153
|
/**
|
|
154
154
|
* Creating String Y axis of the chart for other chart except Horizontal Bar Chart With Axis
|
|
155
155
|
* @param yAxisParams
|
|
@@ -408,7 +408,7 @@ export declare const pointTypes: PointTypes;
|
|
|
408
408
|
* @param isDataFocusable boolean
|
|
409
409
|
* function returns the accessibility data object
|
|
410
410
|
*/
|
|
411
|
-
export declare const getAccessibleDataObject: (accessibleData?: IAccessibilityProps
|
|
411
|
+
export declare const getAccessibleDataObject: (accessibleData?: IAccessibilityProps, role?: string, isDataFocusable?: boolean) => {
|
|
412
412
|
role: string;
|
|
413
413
|
'data-is-focusable': boolean;
|
|
414
414
|
'aria-label': string | undefined;
|
|
@@ -416,7 +416,7 @@ export declare const getAccessibleDataObject: (accessibleData?: IAccessibilityPr
|
|
|
416
416
|
'aria-describedby': string | undefined;
|
|
417
417
|
};
|
|
418
418
|
declare type LocaleStringDataProps = number | string | Date | undefined;
|
|
419
|
-
export declare const convertToLocaleString: (data: LocaleStringDataProps, culture?: string
|
|
419
|
+
export declare const convertToLocaleString: (data: LocaleStringDataProps, culture?: string) => LocaleStringDataProps;
|
|
420
420
|
export declare function rotateXAxisLabels(rotateLabelProps: IRotateLabelProps): number | undefined;
|
|
421
421
|
export declare function wrapTextInsideDonut(selectorClass: string, maxWidth: number): void;
|
|
422
422
|
export {};
|
package/lib-commonjs/version.js
CHANGED
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
// Do not modify this file; it is generated as part of publish.
|
|
4
4
|
// The checked in version is a placeholder only and will not be updated.
|
|
5
5
|
var set_version_1 = require("@fluentui/set-version");
|
|
6
|
-
(0, set_version_1.setVersion)('@fluentui/react-charting', '5.16.
|
|
6
|
+
(0, set_version_1.setVersion)('@fluentui/react-charting', '5.16.43');
|
|
7
7
|
//# sourceMappingURL=version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"../src/","sources":["version.ts"],"names":[],"mappings":";;AAAA,+DAA+D;AAC/D,wEAAwE;AACxE,qDAAmD;AACnD,IAAA,wBAAU,EAAC,0BAA0B,EAAE,SAAS,CAAC,CAAC","sourcesContent":["// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nimport { setVersion } from '@fluentui/set-version';\nsetVersion('@fluentui/react-charting', '5.16.
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"../src/","sources":["version.ts"],"names":[],"mappings":";;AAAA,+DAA+D;AAC/D,wEAAwE;AACxE,qDAAmD;AACnD,IAAA,wBAAU,EAAC,0BAA0B,EAAE,SAAS,CAAC,CAAC","sourcesContent":["// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nimport { setVersion } from '@fluentui/set-version';\nsetVersion('@fluentui/react-charting', '5.16.43');"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-charting",
|
|
3
|
-
"version": "5.16.
|
|
3
|
+
"version": "5.16.43",
|
|
4
4
|
"description": "Experimental React charting components for building experiences for Microsoft 365.",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@fluentui/eslint-plugin": "*",
|
|
31
|
-
"@fluentui/react": "^8.110.
|
|
31
|
+
"@fluentui/react": "^8.110.4",
|
|
32
32
|
"@types/react-addons-test-utils": "0.14.18",
|
|
33
33
|
"@fluentui/jest-serializer-merge-styles": "^8.0.29",
|
|
34
34
|
"@fluentui/scripts-jest": "*",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"jest-canvas-mock": "2.4.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@fluentui/react-focus": "^8.8.
|
|
41
|
-
"@fluentui/theme-samples": "^8.7.
|
|
40
|
+
"@fluentui/react-focus": "^8.8.29",
|
|
41
|
+
"@fluentui/theme-samples": "^8.7.97",
|
|
42
42
|
"@microsoft/load-themed-styles": "^1.10.26",
|
|
43
43
|
"@types/d3-array": "1.2.1",
|
|
44
44
|
"@types/d3-axis": "1.0.10",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"tslib": "^2.1.0"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"@fluentui/react": "^8.110.
|
|
67
|
+
"@fluentui/react": "^8.110.4",
|
|
68
68
|
"@types/react": ">=16.8.0 <19.0.0",
|
|
69
69
|
"@types/react-dom": ">=16.8.0 <19.0.0",
|
|
70
70
|
"react": ">=16.8.0 <19.0.0",
|