@statisticsfinland/pxvisualizer 1.0.8-d.4 → 1.0.8-d.6
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 +3 -3
- 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/chartOptions/Utility/formatters.d.ts +1 -0
- package/dist/types/core/chartOptions/Utility/seriesDataBuilder.d.ts +1 -0
- package/dist/types/core/conversion/translations/index.d.ts +0 -1
- package/dist/types/core/tables/tableUtils.d.ts +1 -2
- package/dist/types/react/components/ErrorBoundary/ErrorBoundary.d.ts +2 -2
- package/dist/types/react/components/ErrorBoundary/index.d.ts +1 -0
- package/dist/types/react/components/burgerMenu/burgerMenu.d.ts +1 -1
- package/dist/types/react/components/burgerMenu/index.d.ts +2 -0
- package/dist/types/react/components/burgerMenu/menuItem/index.d.ts +1 -0
- package/dist/types/react/components/burgerMenu/menuItem/menuItem.d.ts +0 -1
- package/dist/types/react/components/chart/chart.d.ts +1 -2
- package/dist/types/react/components/chart/index.d.ts +1 -1
- package/dist/types/react/components/globalStyle/globalStyle.d.ts +1 -2
- package/dist/types/react/components/globalStyle/index.d.ts +1 -1
- package/dist/types/react/components/icon/icon.d.ts +2 -2
- package/dist/types/react/components/icon/index.d.ts +1 -0
- package/dist/types/react/components/index.d.ts +5 -1
- package/package.json +3 -2
|
@@ -6,6 +6,7 @@ export declare function getAxisLabelFormatterFunction(locale: string): AxisLabel
|
|
|
6
6
|
export declare const formatLocale: (locale: string) => string;
|
|
7
7
|
export declare function getAxisLabelShorteningFunction(valueAmount?: number | null): AxisLabelsFormatterCallbackFunction;
|
|
8
8
|
export declare function getDataLabelShorteningFunction(showData: boolean): DataLabelsFormatterCallbackFunction;
|
|
9
|
+
export declare function getDataLabelFormatterFunction(locale: string): DataLabelsFormatterCallbackFunction;
|
|
9
10
|
export declare function getLegendLabelShorteningFunction(): FormatterCallbackFunction<Series | Point>;
|
|
10
11
|
export declare const shortenStringValue: (value: string | number, limit?: number) => string;
|
|
11
12
|
export declare function getScatterPlotScreenReaderFormatterCallbackFunction(view: View, locale: string): ScreenReaderFormatterCallbackFunction<Point>;
|
|
@@ -4,4 +4,3 @@ export declare const Translations: TTranslations;
|
|
|
4
4
|
export declare const ArrayTranslations: TArrayTranslations;
|
|
5
5
|
export declare const GetAllLanguages: () => string[];
|
|
6
6
|
export declare function AddTranslations(newTranslations: TTranslationPackage): void;
|
|
7
|
-
export default Translations;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function formatNumericValue(dataCell: IDataCell, locale: string, addThousandSeparator?: boolean): string;
|
|
1
|
+
export declare function formatNumericValue(value: number | null, precision: number, locale: string, addThousandSeparator?: boolean): string;
|
|
3
2
|
export declare function formatMissingData(missingCode: number | undefined, locale: string, htmlTable?: boolean): string;
|
|
@@ -6,7 +6,7 @@ interface IErrorBoundaryProps {
|
|
|
6
6
|
fallback: ReactNode;
|
|
7
7
|
children: ReactNode;
|
|
8
8
|
}
|
|
9
|
-
declare class ErrorBoundary extends Component<IErrorBoundaryProps, IErrorBoundaryState> {
|
|
9
|
+
export declare class ErrorBoundary extends Component<IErrorBoundaryProps, IErrorBoundaryState> {
|
|
10
10
|
constructor(props: IErrorBoundaryProps);
|
|
11
11
|
static getDerivedStateFromError(): {
|
|
12
12
|
hasError: boolean;
|
|
@@ -14,4 +14,4 @@ declare class ErrorBoundary extends Component<IErrorBoundaryProps, IErrorBoundar
|
|
|
14
14
|
componentDidCatch(error: Error, info: ErrorInfo): void;
|
|
15
15
|
render(): ReactNode;
|
|
16
16
|
}
|
|
17
|
-
export
|
|
17
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ErrorBoundary';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './menuItem';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './chart';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
|
|
2
|
-
export default GlobalStyle;
|
|
1
|
+
export declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './globalStyle';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './icon';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@statisticsfinland/pxvisualizer",
|
|
3
|
-
"version": "1.0.8-d.
|
|
3
|
+
"version": "1.0.8-d.6",
|
|
4
4
|
"description": "Component library for visualizing PxGraf data",
|
|
5
5
|
"main": "./dist/pxv.cjs",
|
|
6
6
|
"jestSonar": {
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"source": "src/index.ts",
|
|
16
16
|
"exports": {
|
|
17
17
|
"require": "./dist/pxv.cjs",
|
|
18
|
-
"default": "./dist/pxv.modern.js"
|
|
18
|
+
"default": "./dist/pxv.modern.js",
|
|
19
|
+
"types": "./dist/types/index.d.ts"
|
|
19
20
|
},
|
|
20
21
|
"files": [
|
|
21
22
|
"dist"
|