@fluentui/react-charting 5.21.16 → 5.21.17

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 (41) hide show
  1. package/CHANGELOG.json +40 -1
  2. package/CHANGELOG.md +15 -2
  3. package/dist/react-charting.js +1 -1
  4. package/dist/react-charting.min.js +1 -1
  5. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +1 -1
  6. package/lib/components/Legends/Legends.types.d.ts +1 -1
  7. package/lib/components/LineChart/LineChart.base.d.ts +1 -1
  8. package/lib/components/PieChart/PieChart.types.d.ts +1 -1
  9. package/lib/components/SankeyChart/SankeyChart.base.d.ts +2 -2
  10. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +4 -2
  11. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  12. package/lib/types/IDataPoint.d.ts +2 -2
  13. package/lib/utilities/locale-util.d.ts +1 -1
  14. package/lib/utilities/utilities.d.ts +4 -4
  15. package/lib/version.js +1 -1
  16. package/lib/version.js.map +1 -1
  17. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +1 -1
  18. package/lib-amd/components/Legends/Legends.types.d.ts +1 -1
  19. package/lib-amd/components/LineChart/LineChart.base.d.ts +1 -1
  20. package/lib-amd/components/PieChart/PieChart.types.d.ts +1 -1
  21. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +2 -2
  22. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +4 -2
  23. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  24. package/lib-amd/types/IDataPoint.d.ts +2 -2
  25. package/lib-amd/utilities/locale-util.d.ts +1 -1
  26. package/lib-amd/utilities/utilities.d.ts +4 -4
  27. package/lib-amd/version.js +1 -1
  28. package/lib-amd/version.js.map +1 -1
  29. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +1 -1
  30. package/lib-commonjs/components/Legends/Legends.types.d.ts +1 -1
  31. package/lib-commonjs/components/LineChart/LineChart.base.d.ts +1 -1
  32. package/lib-commonjs/components/PieChart/PieChart.types.d.ts +1 -1
  33. package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +2 -2
  34. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +4 -2
  35. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  36. package/lib-commonjs/types/IDataPoint.d.ts +2 -2
  37. package/lib-commonjs/utilities/locale-util.d.ts +1 -1
  38. package/lib-commonjs/utilities/utilities.d.ts +4 -4
  39. package/lib-commonjs/version.js +1 -1
  40. package/lib-commonjs/version.js.map +1 -1
  41. package/package.json +5 -5
@@ -1,10 +1,10 @@
1
1
  import { Axis as D3Axis } from 'd3-axis';
2
2
  import { TimeLocaleDefinition as d3TimeLocaleDefinition } from 'd3-time-format';
3
3
  import { IAccessibilityProps, IEventsAnnotationProps, ILineChartPoints, IDataPoint, IVerticalStackedBarDataPoint, IVerticalBarChartDataPoint, IHorizontalBarChartWithAxisDataPoint } from '../index';
4
- export declare type NumericAxis = D3Axis<number | {
4
+ export type NumericAxis = D3Axis<number | {
5
5
  valueOf(): number;
6
6
  }>;
7
- export declare type StringAxis = D3Axis<string>;
7
+ export type StringAxis = D3Axis<string>;
8
8
  export declare enum ChartTypes {
9
9
  AreaChart = 0,
10
10
  LineChart = 1,
@@ -368,7 +368,7 @@ export declare enum Points {
368
368
  export declare enum CustomPoints {
369
369
  dottedLine = 0
370
370
  }
371
- export declare type PointTypes = {
371
+ export type PointTypes = {
372
372
  [key in number]: {
373
373
  /**
374
374
  * For certian shapes like pentagon, hexagon and octagon.
@@ -399,7 +399,7 @@ export declare const getAccessibleDataObject: (accessibleData?: IAccessibilityPr
399
399
  'aria-labelledby': string | undefined;
400
400
  'aria-describedby': string | undefined;
401
401
  };
402
- declare type LocaleStringDataProps = number | string | Date | undefined;
402
+ type LocaleStringDataProps = number | string | Date | undefined;
403
403
  export declare const convertToLocaleString: (data: LocaleStringDataProps, culture?: string) => LocaleStringDataProps;
404
404
  export declare function rotateXAxisLabels(rotateLabelProps: IRotateLabelProps): number | undefined;
405
405
  export declare function wrapTextInsideDonut(selectorClass: string, maxWidth: number): void;
@@ -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.21.16');
6
+ (0, set_version_1.setVersion)('@fluentui/react-charting', '5.21.17');
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.21.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.21.17');"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-charting",
3
- "version": "5.21.16",
3
+ "version": "5.21.17",
4
4
  "description": "React web charting controls for Microsoft fluentui system.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -40,8 +40,8 @@
40
40
  "jest-canvas-mock": "2.4.0"
41
41
  },
42
42
  "dependencies": {
43
- "@fluentui/react-focus": "^8.9.5",
44
- "@fluentui/theme-samples": "^8.7.155",
43
+ "@fluentui/react-focus": "^8.9.6",
44
+ "@fluentui/theme-samples": "^8.7.156",
45
45
  "@microsoft/load-themed-styles": "^1.10.26",
46
46
  "@types/d3-array": "^2.0.0",
47
47
  "@types/d3-axis": "^2.0.0",
@@ -53,7 +53,7 @@
53
53
  "@types/d3-shape": "^3.0.0",
54
54
  "@types/d3-time-format": "^3.0.0",
55
55
  "@types/d3-time": "^2.0.0",
56
- "@fluentui/set-version": "^8.2.21",
56
+ "@fluentui/set-version": "^8.2.22",
57
57
  "d3-array": "^2.0.0",
58
58
  "d3-axis": "^2.0.0",
59
59
  "d3-format": "^2.0.0",
@@ -67,7 +67,7 @@
67
67
  "tslib": "^2.1.0"
68
68
  },
69
69
  "peerDependencies": {
70
- "@fluentui/react": "^8.118.6",
70
+ "@fluentui/react": "^8.118.7",
71
71
  "@types/react": ">=16.8.0 <19.0.0",
72
72
  "@types/react-dom": ">=16.8.0 <19.0.0",
73
73
  "react": ">=16.8.0 <19.0.0",