@statisticsfinland/pxvisualizer 1.4.3-d.1 → 1.4.5-d.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 +19 -19
- 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/core/conversion/index.d.ts +2 -1
- package/dist/types/core/conversion/translations/index.d.ts +1 -1
- package/dist/types/core/highcharts/drawChart.d.ts +1 -1
- package/dist/types/core/types/index.d.ts +3 -2
- package/package.json +13 -14
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { convertPxGraphDataToChartOptions } from './pxGrafDataConverter';
|
|
2
2
|
export { extractSelectableVariableValues } from './helpers';
|
|
3
3
|
export { convertPxGrafResponseToView } from './viewUtils';
|
|
4
|
-
export { TTranslationPackage
|
|
4
|
+
export type { TTranslationPackage } from './translations';
|
|
5
|
+
export { AddTranslations } from './translations';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TTranslations, TArrayTranslations, TTranslationPackage } from './translationTypes';
|
|
2
|
-
export { TTranslationPackage } from './translationTypes';
|
|
2
|
+
export type { TTranslationPackage } from './translationTypes';
|
|
3
3
|
export declare const Translations: TTranslations;
|
|
4
4
|
export declare const ArrayTranslations: TArrayTranslations;
|
|
5
5
|
export declare const GetAllLanguages: () => string[];
|
|
@@ -2,4 +2,4 @@ import * as Highcharts from "highcharts";
|
|
|
2
2
|
import { IQueryVisualizationResponse } from "../types";
|
|
3
3
|
import { TVariableSelections } from "../types/variableSelections";
|
|
4
4
|
import { IChartOptions } from "../types/chartOptions";
|
|
5
|
-
export declare const drawChart: (container: string, pxGraphData: IQueryVisualizationResponse, locale: string, selectedVariableCodes
|
|
5
|
+
export declare const drawChart: (container: string, pxGraphData: IQueryVisualizationResponse, locale: string, selectedVariableCodes?: TVariableSelections | null, options?: IChartOptions | undefined) => Highcharts.Chart;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { IQueryVisualizationResponse,
|
|
2
|
-
export {
|
|
1
|
+
export type { IQueryVisualizationResponse, TVisualizationType, TTimeVariableInterval, TVariableType } from './queryVisualizationResponse';
|
|
2
|
+
export { EVisualizationType, ETimeVariableInterval, EVariableType } from './queryVisualizationResponse';
|
|
3
|
+
export type { IChartOptions } from './chartOptions';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@statisticsfinland/pxvisualizer",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.5-d.0",
|
|
4
4
|
"description": "Component library for visualizing PxGraf data",
|
|
5
5
|
"main": "./dist/pxv.cjs",
|
|
6
6
|
"jestSonar": {
|
|
@@ -47,16 +47,12 @@
|
|
|
47
47
|
"license": "Apache-2.0",
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@babel/core": "^7.28.4",
|
|
50
|
-
"@storybook/addon-a11y": "^
|
|
51
|
-
"@storybook/addon-
|
|
52
|
-
"@storybook/addon-
|
|
53
|
-
"@storybook/addon-
|
|
54
|
-
"@storybook/
|
|
55
|
-
"@storybook/
|
|
56
|
-
"@storybook/blocks": "^8.6.14",
|
|
57
|
-
"@storybook/react": "^8.6.14",
|
|
58
|
-
"@storybook/react-webpack5": "^8.6.14",
|
|
59
|
-
"@storybook/test": "^8.6.14",
|
|
50
|
+
"@storybook/addon-a11y": "^10.2.17",
|
|
51
|
+
"@storybook/addon-docs": "^10.2.17",
|
|
52
|
+
"@storybook/addon-links": "^10.2.17",
|
|
53
|
+
"@storybook/addon-webpack5-compiler-swc": "^4.0.2",
|
|
54
|
+
"@storybook/react": "^10.2.17",
|
|
55
|
+
"@storybook/react-webpack5": "^10.2.17",
|
|
60
56
|
"@testing-library/dom": "^10.4.0",
|
|
61
57
|
"@testing-library/react": "^16.3.0",
|
|
62
58
|
"@types/file-saver": "^2.0.7",
|
|
@@ -66,7 +62,7 @@
|
|
|
66
62
|
"@types/styled-components": "^5.1.34",
|
|
67
63
|
"@types/uuid": "^10.0.0",
|
|
68
64
|
"babel-loader": "^10.0.0",
|
|
69
|
-
"clean-publish": "^
|
|
65
|
+
"clean-publish": "^6.0.3",
|
|
70
66
|
"decimal.js": "^10.5.0",
|
|
71
67
|
"jest": "^30.2.0",
|
|
72
68
|
"jest-environment-jsdom": "^30.2.0",
|
|
@@ -78,7 +74,7 @@
|
|
|
78
74
|
"react": "^19.1.0",
|
|
79
75
|
"react-dom": "^19.1.0",
|
|
80
76
|
"semver": "^7.7.0",
|
|
81
|
-
"storybook": "^
|
|
77
|
+
"storybook": "^10.2.17",
|
|
82
78
|
"styled-components": "^6.1.17",
|
|
83
79
|
"ts-jest": "^29.2.5",
|
|
84
80
|
"ts-node": "^10.9.2",
|
|
@@ -99,5 +95,8 @@
|
|
|
99
95
|
"px-file",
|
|
100
96
|
"px",
|
|
101
97
|
"visualization"
|
|
102
|
-
]
|
|
98
|
+
],
|
|
99
|
+
"overrides": {
|
|
100
|
+
"serialize-javascript": "^7.0.4"
|
|
101
|
+
}
|
|
103
102
|
}
|