@fluentui/react-charting 5.13.10 → 5.14.0

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.
@@ -101,14 +101,14 @@ export interface IYAxisParams {
101
101
  * @export
102
102
  * @param {IXAxisParams} xAxisParams
103
103
  */
104
- export declare function createNumericXAxis(xAxisParams: IXAxisParams, culture?: string): import("d3-scale").ScaleLinear<number, number>;
104
+ export declare function createNumericXAxis(xAxisParams: IXAxisParams, culture?: string): import("d3-scale").ScaleLinear<number, number, never>;
105
105
  /**
106
106
  * Creating Date x axis of the Chart
107
107
  * @export
108
108
  * @param {IXAxisParams} xAxisParams
109
109
  * @param {ITickParams} tickParams
110
110
  */
111
- export declare function createDateXAxis(xAxisParams: IXAxisParams, tickParams: ITickParams, culture?: string, options?: Intl.DateTimeFormatOptions, timeFormatLocale?: d3TimeFormat.TimeLocaleDefinition, customDateTimeFormatter?: (dateTime: Date) => string): import("d3-scale").ScaleTime<number, number>;
111
+ export declare function createDateXAxis(xAxisParams: IXAxisParams, tickParams: ITickParams, culture?: string, options?: Intl.DateTimeFormatOptions, timeFormatLocale?: d3TimeFormat.TimeLocaleDefinition, customDateTimeFormatter?: (dateTime: Date) => string): import("d3-scale").ScaleTime<number, number, never>;
112
112
  /**
113
113
  * Create String X axis
114
114
  * Currently using for only Vetical stacked bar chart and grouped vertical bar chart
@@ -134,7 +134,7 @@ export declare function prepareDatapoints(maxVal: number, minVal: number, splitI
134
134
  * @param {IYAxisParams} yAxisParams
135
135
  * @param {boolean} isRtl
136
136
  */
137
- export declare function createYAxis(yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData): import("d3-scale").ScaleLinear<number, number>;
137
+ export declare function createYAxis(yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData): import("d3-scale").ScaleLinear<number, number, never>;
138
138
  /**
139
139
  * Creating String Y axis of the chart
140
140
  * @param yAxisParams
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.13.10');
4
+ setVersion('@fluentui/react-charting', '5.14.0');
5
5
  //# 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,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.13.10');"]}
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,QAAQ,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.14.0');"]}
@@ -101,14 +101,14 @@ export interface IYAxisParams {
101
101
  * @export
102
102
  * @param {IXAxisParams} xAxisParams
103
103
  */
104
- export declare function createNumericXAxis(xAxisParams: IXAxisParams, culture?: string): import("d3-scale").ScaleLinear<number, number>;
104
+ export declare function createNumericXAxis(xAxisParams: IXAxisParams, culture?: string): import("d3-scale").ScaleLinear<number, number, never>;
105
105
  /**
106
106
  * Creating Date x axis of the Chart
107
107
  * @export
108
108
  * @param {IXAxisParams} xAxisParams
109
109
  * @param {ITickParams} tickParams
110
110
  */
111
- export declare function createDateXAxis(xAxisParams: IXAxisParams, tickParams: ITickParams, culture?: string, options?: Intl.DateTimeFormatOptions, timeFormatLocale?: d3TimeFormat.TimeLocaleDefinition, customDateTimeFormatter?: (dateTime: Date) => string): import("d3-scale").ScaleTime<number, number>;
111
+ export declare function createDateXAxis(xAxisParams: IXAxisParams, tickParams: ITickParams, culture?: string, options?: Intl.DateTimeFormatOptions, timeFormatLocale?: d3TimeFormat.TimeLocaleDefinition, customDateTimeFormatter?: (dateTime: Date) => string): import("d3-scale").ScaleTime<number, number, never>;
112
112
  /**
113
113
  * Create String X axis
114
114
  * Currently using for only Vetical stacked bar chart and grouped vertical bar chart
@@ -134,7 +134,7 @@ export declare function prepareDatapoints(maxVal: number, minVal: number, splitI
134
134
  * @param {IYAxisParams} yAxisParams
135
135
  * @param {boolean} isRtl
136
136
  */
137
- export declare function createYAxis(yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData): import("d3-scale").ScaleLinear<number, number>;
137
+ export declare function createYAxis(yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData): import("d3-scale").ScaleLinear<number, number, never>;
138
138
  /**
139
139
  * Creating String Y axis of the chart
140
140
  * @param yAxisParams
@@ -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
- set_version_1.setVersion('@fluentui/react-charting', '5.13.10');
4
+ set_version_1.setVersion('@fluentui/react-charting', '5.14.0');
5
5
  });
6
6
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"../src/","sources":["version.ts"],"names":[],"mappings":";;;IAGA,wBAAU,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.13.10');"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"../src/","sources":["version.ts"],"names":[],"mappings":";;;IAGA,wBAAU,CAAC,0BAA0B,EAAE,QAAQ,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.14.0');"]}
@@ -101,14 +101,14 @@ export interface IYAxisParams {
101
101
  * @export
102
102
  * @param {IXAxisParams} xAxisParams
103
103
  */
104
- export declare function createNumericXAxis(xAxisParams: IXAxisParams, culture?: string): import("d3-scale").ScaleLinear<number, number>;
104
+ export declare function createNumericXAxis(xAxisParams: IXAxisParams, culture?: string): import("d3-scale").ScaleLinear<number, number, never>;
105
105
  /**
106
106
  * Creating Date x axis of the Chart
107
107
  * @export
108
108
  * @param {IXAxisParams} xAxisParams
109
109
  * @param {ITickParams} tickParams
110
110
  */
111
- export declare function createDateXAxis(xAxisParams: IXAxisParams, tickParams: ITickParams, culture?: string, options?: Intl.DateTimeFormatOptions, timeFormatLocale?: d3TimeFormat.TimeLocaleDefinition, customDateTimeFormatter?: (dateTime: Date) => string): import("d3-scale").ScaleTime<number, number>;
111
+ export declare function createDateXAxis(xAxisParams: IXAxisParams, tickParams: ITickParams, culture?: string, options?: Intl.DateTimeFormatOptions, timeFormatLocale?: d3TimeFormat.TimeLocaleDefinition, customDateTimeFormatter?: (dateTime: Date) => string): import("d3-scale").ScaleTime<number, number, never>;
112
112
  /**
113
113
  * Create String X axis
114
114
  * Currently using for only Vetical stacked bar chart and grouped vertical bar chart
@@ -134,7 +134,7 @@ export declare function prepareDatapoints(maxVal: number, minVal: number, splitI
134
134
  * @param {IYAxisParams} yAxisParams
135
135
  * @param {boolean} isRtl
136
136
  */
137
- export declare function createYAxis(yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData): import("d3-scale").ScaleLinear<number, number>;
137
+ export declare function createYAxis(yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData): import("d3-scale").ScaleLinear<number, number, never>;
138
138
  /**
139
139
  * Creating String Y axis of the chart
140
140
  * @param yAxisParams
@@ -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
- set_version_1.setVersion('@fluentui/react-charting', '5.13.10');
6
+ set_version_1.setVersion('@fluentui/react-charting', '5.14.0');
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,wBAAU,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.13.10');"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"../src/","sources":["version.ts"],"names":[],"mappings":";;AAAA,+DAA+D;AAC/D,wEAAwE;AACxE,qDAAmD;AACnD,wBAAU,CAAC,0BAA0B,EAAE,QAAQ,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.14.0');"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-charting",
3
- "version": "5.13.10",
3
+ "version": "5.14.0",
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.98.0",
31
+ "@fluentui/react": "^8.98.2",
32
32
  "@types/react-addons-test-utils": "0.14.18",
33
33
  "@fluentui/scripts": "^1.0.0",
34
34
  "@fluentui/jest-serializer-merge-styles": "^8.0.20"
@@ -41,7 +41,7 @@
41
41
  "@types/d3-format": "^1.3.1",
42
42
  "@types/d3-hierarchy": "2.0.0",
43
43
  "@types/d3-sankey": "^0.11.0",
44
- "@types/d3-scale": "2.0.0",
44
+ "@types/d3-scale": "^4.0.0",
45
45
  "@types/d3-selection": "1.4.1",
46
46
  "@types/d3-shape": "^1.2.3",
47
47
  "@types/d3-time-format": "^2.1.0",
@@ -52,7 +52,7 @@
52
52
  "d3-format": "^1.4.4",
53
53
  "d3-hierarchy": "2.0.0",
54
54
  "d3-sankey": "^0.12.3",
55
- "d3-scale": "2.0.0",
55
+ "d3-scale": "^4.0.0",
56
56
  "d3-selection": "1.3.0",
57
57
  "d3-shape": "^1.2.0",
58
58
  "d3-time-format": "^2.1.3",
@@ -60,11 +60,11 @@
60
60
  "tslib": "^2.1.0"
61
61
  },
62
62
  "peerDependencies": {
63
- "@fluentui/react": "^8.98.0",
64
- "@types/react": ">=16.8.0 <18.0.0",
65
- "@types/react-dom": ">=16.8.0 <18.0.0",
66
- "react": ">=16.8.0 <18.0.0",
67
- "react-dom": ">=16.8.0 <18.0.0"
63
+ "@fluentui/react": "^8.98.2",
64
+ "@types/react": ">=16.8.0 <19.0.0",
65
+ "@types/react-dom": ">=16.8.0 <19.0.0",
66
+ "react": ">=16.8.0 <19.0.0",
67
+ "react-dom": ">=16.8.0 <19.0.0"
68
68
  },
69
69
  "exports": {
70
70
  ".": {