@statisticsfinland/pxvisualizer 1.0.5-d.2 → 1.0.5-t.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.
- package/dist/pxv.cjs +1 -1
- package/dist/pxv.cjs.map +1 -1
- package/dist/pxv.modern.js +1 -1
- package/dist/pxv.modern.js.map +1 -1
- package/dist/pxv.module.js +1 -1
- package/dist/pxv.module.js.map +1 -1
- package/dist/pxv.umd.js +1 -1
- package/dist/pxv.umd.js.map +1 -1
- package/dist/types/react/components/burgerMenu/burgerMenu.d.ts +2 -4
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import HighchartsReact from "highcharts-react-official";
|
|
2
|
+
import HighchartsReact, { HighchartsReactRefObject } from "highcharts-react-official";
|
|
3
3
|
import { View } from "../../../core/types/view";
|
|
4
4
|
import { TIcon } from "../../../core/types/icon";
|
|
5
5
|
export interface IBurgerMenuProps {
|
|
@@ -12,8 +12,6 @@ export interface IBurgerMenuProps {
|
|
|
12
12
|
};
|
|
13
13
|
menuItemDefinitions?: (IFunctionalMenuItem | ILinkMenuItem)[];
|
|
14
14
|
menuIconInheritColor?: boolean;
|
|
15
|
-
exportWidth?: number;
|
|
16
|
-
exportHeight?: number;
|
|
17
15
|
}
|
|
18
16
|
interface IBaseMenuItem {
|
|
19
17
|
text: string;
|
|
@@ -28,7 +26,7 @@ export interface ILinkMenuItem extends IBaseMenuItem {
|
|
|
28
26
|
isExternal?: boolean;
|
|
29
27
|
openNewTab?: boolean;
|
|
30
28
|
}
|
|
31
|
-
export declare function calculateExportDimensions(
|
|
29
|
+
export declare function calculateExportDimensions(chartRef: HighchartsReactRefObject): {
|
|
32
30
|
finalWidth: number;
|
|
33
31
|
finalHeight: number;
|
|
34
32
|
};
|