@evergis/charts 3.1.1 → 3.1.3
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/charts/BarChart/drawLines/index.d.ts +3 -4
- package/dist/charts/BarChart/getBars/index.d.ts +1 -1
- package/dist/charts/BarChart/index.d.ts +2 -2
- package/dist/charts/BarChart/styled.d.ts +3 -2
- package/dist/charts/BarChart/types.d.ts +8 -8
- package/dist/charts/BubbleChart/index.d.ts +3 -3
- package/dist/charts/BubbleChart/styled.d.ts +2 -1
- package/dist/charts/BubbleChart/types.d.ts +5 -5
- package/dist/charts/BubbleChart/unmount.d.ts +1 -1
- package/dist/charts/CalendarChart/index.d.ts +3 -3
- package/dist/charts/CalendarChart/types.d.ts +5 -5
- package/dist/charts/HorizontalBarChart/hooks/useStackWrapper.d.ts +4 -4
- package/dist/charts/HorizontalBarChart/index.d.ts +3 -3
- package/dist/charts/HorizontalBarChart/types.d.ts +3 -3
- package/dist/charts/LineChart/index.d.ts +3 -3
- package/dist/charts/LineChart/styled.d.ts +2 -1
- package/dist/charts/LineChart/types.d.ts +3 -3
- package/dist/charts/PieChart/index.d.ts +3 -3
- package/dist/charts/PieChart/types.d.ts +4 -4
- package/dist/charts.cjs.development.js +241 -451
- package/dist/charts.cjs.development.js.map +1 -1
- package/dist/charts.cjs.production.min.js +1 -1
- package/dist/charts.cjs.production.min.js.map +1 -1
- package/dist/charts.esm.js +241 -451
- package/dist/charts.esm.js.map +1 -1
- package/dist/common/components/SwipeScroll/index.d.ts +2 -2
- package/dist/common/components/SwipeScroll/types.d.ts +4 -3
- package/dist/common/components/labels/index.d.ts +1 -1
- package/dist/common/components/labels/types.d.ts +2 -2
- package/dist/hooks/useNode.d.ts +1 -1
- package/dist/hooks/useResize.d.ts +1 -1
- package/dist/index.d.ts +26 -26
- package/dist/jest.config.d.ts +14 -0
- package/dist/stories/Bar/Examples.stories.d.ts +23 -0
- package/dist/stories/Bar/HorizontalBar.stories.d.ts +25 -0
- package/dist/stories/Bar/Statistics.stories.d.ts +7 -0
- package/dist/stories/Bar/VerticalBar.stories.d.ts +41 -0
- package/dist/stories/Bubble/Bubble.stories.d.ts +23 -0
- package/dist/stories/Bubble/Examples.stories.d.ts +4 -0
- package/dist/stories/Bubble/examples/VEB/InvestBubble.d.ts +5 -0
- package/dist/stories/Bubble/examples/VEB/hooks/useCustomize.d.ts +3 -0
- package/dist/stories/Bubble/examples/VEB/hooks/useRenderTooltip/index.d.ts +4 -0
- package/dist/stories/Bubble/examples/VEB/hooks/useRenderTooltip/styled.d.ts +8 -0
- package/dist/stories/Bubble/examples/VEB/styled.d.ts +1 -0
- package/dist/stories/Calendar/Calendar.stories.d.ts +23 -0
- package/dist/stories/Calendar/ColorScheme.stories.d.ts +7 -0
- package/dist/stories/Calendar/Examples.stories.d.ts +11 -0
- package/dist/stories/Calendar/Legend.stories.d.ts +30 -0
- package/dist/stories/Common/SwipeScroll/SwipeScroll.stories.d.ts +13 -0
- package/dist/stories/Common/SwipeScroll/hooks/useSwipe.d.ts +1 -0
- package/dist/stories/Line/Examples.stories.d.ts +7 -0
- package/dist/stories/Line/Line.stories.d.ts +48 -0
- package/dist/stories/Line/examples/Beeline.d.ts +5 -0
- package/dist/stories/Line/examples/GeoVeb.d.ts +5 -0
- package/dist/stories/Line/examples/GeoVebInterval/data.d.ts +9 -0
- package/dist/stories/Line/examples/GeoVebInterval/index.d.ts +5 -0
- package/dist/stories/Line/examples/GeoVebInterval/styled.d.ts +4 -0
- package/dist/stories/Line/examples/Msp.d.ts +5 -0
- package/dist/stories/Pie/ColorScheme.stories.d.ts +7 -0
- package/dist/stories/Pie/Examples.stories.d.ts +7 -0
- package/dist/stories/Pie/Pie.stories.d.ts +47 -0
- package/dist/stories/Radar/Chart.stories.d.ts +38 -0
- package/dist/stories/Radar/Github.stories.d.ts +7 -0
- package/dist/stories/Radar/Gradient.stories.d.ts +7 -0
- package/dist/stories/Radar/Veb.stories.d.ts +7 -0
- package/dist/stories/Sankey/Examples.stories.d.ts +4 -0
- package/dist/stories/Sankey/examples/RelatedIndustries/data.d.ts +2 -0
- package/dist/stories/Sankey/examples/RelatedIndustries/index.d.ts +5 -0
- package/dist/stories/__internal__/colors.d.ts +40 -0
- package/dist/stories/__internal__/components/BeelineLineChart/hooks/useCustomize.d.ts +11 -0
- package/dist/stories/__internal__/components/BeelineLineChart/hooks/useLineRenderTooltip/index.d.ts +5 -0
- package/dist/stories/__internal__/components/BeelineLineChart/hooks/useLineRenderTooltip/styled.d.ts +5 -0
- package/dist/stories/__internal__/components/BeelineLineChart/index.d.ts +3 -0
- package/dist/stories/__internal__/components/BeelineLineChart/styled.d.ts +3 -0
- package/dist/stories/__internal__/components/BeelineRangeLineChart/Range/index.d.ts +7 -0
- package/dist/stories/__internal__/components/BeelineRangeLineChart/Range/styled.d.ts +3 -0
- package/dist/stories/__internal__/components/BeelineRangeLineChart/hooks/useChange.d.ts +8 -0
- package/dist/stories/__internal__/components/BeelineRangeLineChart/index.d.ts +2 -0
- package/dist/stories/__internal__/components/BeelineRangeLineChart/styled.d.ts +4 -0
- package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/data.d.ts +5 -0
- package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/hooks/useRenderDataTable.d.ts +2 -0
- package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/index.d.ts +2 -0
- package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/styled.d.ts +3 -0
- package/dist/stories/__internal__/components/Divider.d.ts +6 -0
- package/dist/stories/__internal__/components/GeoVebBarCharts.d.ts +2 -0
- package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/data.d.ts +47 -0
- package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/hooks/useRenderTooltip.d.ts +3 -0
- package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/hooks/useSimpleRenderTooltip.d.ts +3 -0
- package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/index.d.ts +4 -0
- package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/styled.d.ts +4 -0
- package/dist/stories/__internal__/components/GeoYearsBarChart/index.d.ts +2 -0
- package/dist/stories/__internal__/components/GeoYearsBarChart/styled.d.ts +4 -0
- package/dist/stories/__internal__/components/MixedTableChart/Chart/index.d.ts +3 -0
- package/dist/stories/__internal__/components/MixedTableChart/Chart/styled.d.ts +2 -0
- package/dist/stories/__internal__/components/MixedTableChart/index.d.ts +3 -0
- package/dist/stories/__internal__/components/MixedTableChart/styled.d.ts +5 -0
- package/dist/stories/__internal__/components/MixedTableChart/types.d.ts +21 -0
- package/dist/stories/__internal__/components/MspDashboardChart/hooks/useAnimation.d.ts +5 -0
- package/dist/stories/__internal__/components/MspDashboardChart/index.d.ts +3 -0
- package/dist/stories/__internal__/components/MspDashboardChart/styled.d.ts +5 -0
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useAnimationAreas.d.ts +6 -0
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useAnimationBars.d.ts +5 -0
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useCustomize.d.ts +4 -0
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useData.d.ts +8 -0
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useMarshalledMap.d.ts +1 -0
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useRenderTooltip.d.ts +2 -0
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/index.d.ts +9 -0
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/styled.d.ts +22 -0
- package/dist/stories/__internal__/components/SankeyTriChart/Groups/getCSSProperties.d.ts +4 -0
- package/dist/stories/__internal__/components/SankeyTriChart/Groups/helpers.d.ts +1 -0
- package/dist/stories/__internal__/components/SankeyTriChart/Groups/index.d.ts +5 -0
- package/dist/stories/__internal__/components/SankeyTriChart/Groups/styled.d.ts +1 -0
- package/dist/stories/__internal__/components/SankeyTriChart/ItemContent/getCSSProperties.d.ts +3 -0
- package/dist/stories/__internal__/components/SankeyTriChart/ItemContent/index.d.ts +5 -0
- package/dist/stories/__internal__/components/SankeyTriChart/ItemContent/styled.d.ts +8 -0
- package/dist/stories/__internal__/components/SankeyTriChart/draw.d.ts +2 -0
- package/dist/stories/__internal__/components/SankeyTriChart/helpers.d.ts +9 -0
- package/dist/stories/__internal__/components/SankeyTriChart/index.d.ts +10 -0
- package/dist/stories/__internal__/components/SankeyTriChart/marshaling.d.ts +6 -0
- package/dist/stories/__internal__/components/SankeyTriChart/styled.d.ts +1 -0
- package/dist/stories/__internal__/components/SankeyTriChart/types.d.ts +40 -0
- package/dist/stories/__internal__/components/SberBarMixChart/colors.d.ts +3 -0
- package/dist/stories/__internal__/components/SberBarMixChart/data.d.ts +8 -0
- package/dist/stories/__internal__/components/SberBarMixChart/hooks/styled.d.ts +3 -0
- package/dist/stories/__internal__/components/SberBarMixChart/hooks/useRenderTooltip.d.ts +2 -0
- package/dist/stories/__internal__/components/SberBarMixChart/index.d.ts +2 -0
- package/dist/stories/__internal__/components/SberBarMixChart/styled.d.ts +1 -0
- package/dist/stories/__internal__/components/StatisticsBarCharts/NumbersStatistics.d.ts +2 -0
- package/dist/stories/__internal__/components/StatisticsBarCharts/StringsStatistics.d.ts +2 -0
- package/dist/stories/__internal__/components/StatisticsBarCharts/index.d.ts +2 -0
- package/dist/stories/__internal__/components/StatisticsBarCharts/styled.d.ts +1 -0
- package/dist/stories/__internal__/components/VebEstimationBarChart/data.d.ts +38 -0
- package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useCustomize.d.ts +5 -0
- package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useDrawBars.d.ts +4 -0
- package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderLabel/index.d.ts +9 -0
- package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderLabel/styled.d.ts +1 -0
- package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderTooltip/index.d.ts +8 -0
- package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderTooltip/styled.d.ts +13 -0
- package/dist/stories/__internal__/components/VebEstimationBarChart/index.d.ts +3 -0
- package/dist/stories/__internal__/components/VebEstimationBarChart/styled.d.ts +2 -0
- package/dist/stories/__internal__/components/VebFilterBarChart/index.d.ts +2 -0
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderSum/index.d.ts +3 -0
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderSum/styled.d.ts +1 -0
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderTooltip/index.d.ts +1 -0
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderTooltip/styled.d.ts +5 -0
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/index.d.ts +3 -0
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/styled.d.ts +5 -0
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/types.d.ts +11 -0
- package/dist/stories/__internal__/curves.d.ts +8 -0
- package/dist/stories/__internal__/data/msp.d.ts +14 -0
- package/dist/stories/__internal__/data/mspDashboard.d.ts +1 -0
- package/dist/stories/__internal__/data/mspPromSupply.d.ts +11 -0
- package/dist/stories/__internal__/data/population.d.ts +4 -0
- package/dist/stories/__internal__/data/veb.d.ts +31 -0
- package/dist/stories/__internal__/helpers/Path.d.ts +10 -0
- package/dist/stories/__internal__/helpers/Vector.d.ts +9 -0
- package/dist/stories/__internal__/helpers/animation.d.ts +15 -0
- package/dist/stories/__internal__/helpers/hexToRGB.d.ts +1 -0
- package/dist/stories/__internal__/helpers/random.d.ts +1 -0
- package/dist/stories/__internal__/helpers/randomData.d.ts +14 -0
- package/dist/stories/__internal__/helpers/randomHorizontalBarData.d.ts +5 -0
- package/dist/stories/__internal__/helpers/randomIntervalData.d.ts +11 -0
- package/dist/stories/__internal__/helpers/randomLineData.d.ts +8 -0
- package/dist/stories/__internal__/helpers/randomText.d.ts +1 -0
- package/dist/stories/__internal__/helpers/roundedRect.d.ts +10 -0
- package/dist/stories/__internal__/helpers/shuffleArray.d.ts +1 -0
- package/dist/stories/__internal__/hooks/useBarData.d.ts +10 -0
- package/dist/stories/__internal__/hooks/useLegend.d.ts +1 -0
- package/dist/stories/__internal__/hooks/useMinMaxValue.d.ts +4 -0
- package/dist/stories/__internal__/interpolates.d.ts +23 -0
- package/dist/storybook-static/1.05dfd83c.iframe.bundle.d.ts +0 -0
- package/dist/storybook-static/189.8c077122866758d3cf20.manager.bundle.d.ts +0 -0
- package/dist/storybook-static/190.58050c9beb344d4cefd9.manager.bundle.d.ts +2 -0
- package/dist/storybook-static/191.b202c06c72968435b80b.manager.bundle.d.ts +0 -0
- package/dist/storybook-static/192.83987c5b15f8a80893c5.manager.bundle.d.ts +0 -0
- package/dist/storybook-static/193.8a12aa992b466e778018.manager.bundle.d.ts +2 -0
- package/dist/storybook-static/2.0231c7b6.iframe.bundle.d.ts +0 -0
- package/dist/storybook-static/6.6185fd0d.iframe.bundle.d.ts +0 -0
- package/dist/storybook-static/7.0ede09e9.iframe.bundle.d.ts +0 -0
- package/dist/storybook-static/8.6f0230ef.iframe.bundle.d.ts +2 -0
- package/dist/storybook-static/main.6b7543c14993fcfcab71.manager.bundle.d.ts +2 -0
- package/dist/storybook-static/main.724b5942.iframe.bundle.d.ts +9 -0
- package/dist/storybook-static/runtime~main.92273705.iframe.bundle.d.ts +1 -0
- package/dist/storybook-static/runtime~main.c89e55a461c11ef29193.manager.bundle.d.ts +1 -0
- package/package.json +12 -11
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
import { SwipeScrollProps } from './types';
|
|
3
|
-
export declare const SwipeScroll:
|
|
3
|
+
export declare const SwipeScroll: FC<SwipeScrollProps>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { PropsWithChildren } from "react";
|
|
2
|
+
import * as d3 from "d3";
|
|
3
|
+
export interface SwipeScrollProps extends PropsWithChildren {
|
|
3
4
|
width: number;
|
|
4
5
|
duration?: number;
|
|
5
6
|
animationFunc?: (timing: number) => number;
|
|
6
7
|
onSwipe?: (x: number, selection: d3.Selection<HTMLElement | null, unknown, null, undefined>) => void;
|
|
7
|
-
}
|
|
8
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LabelContainerProps } from
|
|
1
|
+
import { LabelContainerProps } from "./types";
|
|
2
2
|
export declare const getTranslate: ({ anchor, index, translateX, translateY, }: LabelContainerProps) => string;
|
|
3
3
|
export declare const Label: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
4
|
export declare const Name: import("styled-components").StyledComponent<"div", any, {}, never>;
|
package/dist/hooks/useNode.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PropsWithRef } from
|
|
1
|
+
import { PropsWithRef } from "react";
|
|
2
2
|
export declare function useNode(): [PropsWithRef<any>, HTMLElement | null];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useResize: (width?: number
|
|
1
|
+
export declare const useResize: (width?: number, callback?: (...args: any) => any, delay?: number) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export { Wrapper as ChartWrapper } from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export { SwipeScroll } from
|
|
5
|
-
export * from
|
|
6
|
-
export { RadarChart } from
|
|
7
|
-
export { radarChartclassNames } from
|
|
8
|
-
export * from
|
|
9
|
-
export { PieChart } from
|
|
10
|
-
export { pieChartclassNames } from
|
|
11
|
-
export * from
|
|
12
|
-
export { CalendarChart } from
|
|
13
|
-
export { calendarChartClassNames } from
|
|
14
|
-
export * from
|
|
15
|
-
export { LineChart } from
|
|
16
|
-
export { lineChartClassNames } from
|
|
17
|
-
export * from
|
|
18
|
-
export { BarChart } from
|
|
19
|
-
export { barChartClassNames } from
|
|
20
|
-
export * from
|
|
21
|
-
export { HorizontalBarChart } from
|
|
22
|
-
export { horizontalBarChartClassNames } from
|
|
23
|
-
export * from
|
|
24
|
-
export { BubbleChart } from
|
|
25
|
-
export { bubbleChartClassNames } from
|
|
26
|
-
export * from
|
|
1
|
+
export { Wrapper as ChartWrapper } from "./common/components/Wrapper";
|
|
2
|
+
export * from "./hooks";
|
|
3
|
+
export * from "./helpers";
|
|
4
|
+
export { SwipeScroll } from "./common/components/SwipeScroll";
|
|
5
|
+
export * from "./common/components/SwipeScroll/types";
|
|
6
|
+
export { RadarChart } from "./charts/RadarChart";
|
|
7
|
+
export { radarChartclassNames } from "./charts/RadarChart/styled";
|
|
8
|
+
export * from "./charts/RadarChart/types";
|
|
9
|
+
export { PieChart } from "./charts/PieChart";
|
|
10
|
+
export { pieChartclassNames } from "./charts/PieChart/styled";
|
|
11
|
+
export * from "./charts/PieChart/types";
|
|
12
|
+
export { CalendarChart } from "./charts/CalendarChart";
|
|
13
|
+
export { calendarChartClassNames } from "./charts/CalendarChart/styled";
|
|
14
|
+
export * from "./charts/CalendarChart/types";
|
|
15
|
+
export { LineChart } from "./charts/LineChart";
|
|
16
|
+
export { lineChartClassNames } from "./charts/LineChart/styled";
|
|
17
|
+
export * from "./charts/LineChart/types";
|
|
18
|
+
export { BarChart } from "./charts/BarChart";
|
|
19
|
+
export { barChartClassNames } from "./charts/BarChart/styled";
|
|
20
|
+
export * from "./charts/BarChart/types";
|
|
21
|
+
export { HorizontalBarChart } from "./charts/HorizontalBarChart";
|
|
22
|
+
export { horizontalBarChartClassNames } from "./charts/HorizontalBarChart/styled";
|
|
23
|
+
export * from "./charts/HorizontalBarChart/types";
|
|
24
|
+
export { BubbleChart } from "./charts/BubbleChart";
|
|
25
|
+
export { bubbleChartClassNames } from "./charts/BubbleChart/styled";
|
|
26
|
+
export * from "./charts/BubbleChart/types";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const transform: {
|
|
2
|
+
'.(ts|tsx)$': string;
|
|
3
|
+
'.(js|jsx)$': string;
|
|
4
|
+
};
|
|
5
|
+
export declare const transformIgnorePatterns: string[];
|
|
6
|
+
export declare const moduleFileExtensions: string[];
|
|
7
|
+
export declare const collectCoverageFrom: string[];
|
|
8
|
+
export declare const testMatch: string[];
|
|
9
|
+
export declare const testURL: string;
|
|
10
|
+
export declare const rootDir: string;
|
|
11
|
+
export declare const watchPlugins: string[];
|
|
12
|
+
export declare namespace moduleNameMapper {
|
|
13
|
+
export const d3: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const VebStory: {
|
|
3
|
+
(): React.JSX.Element;
|
|
4
|
+
storyName: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const MspStory: {
|
|
7
|
+
(): React.JSX.Element;
|
|
8
|
+
storyName: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const SberStory: {
|
|
11
|
+
(): React.JSX.Element;
|
|
12
|
+
storyName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const BeelineStory: {
|
|
15
|
+
(): React.JSX.Element;
|
|
16
|
+
storyName: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const VebEstimationBarChartExpress: {
|
|
19
|
+
(): React.JSX.Element;
|
|
20
|
+
storyName: string;
|
|
21
|
+
};
|
|
22
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HorizontalBarChartProps } from '../../src';
|
|
3
|
+
export declare const BarChartStory: {
|
|
4
|
+
({ bandCount, barsCount, maxRandomValue, ...props }: ControlProps): React.JSX.Element;
|
|
5
|
+
args: {
|
|
6
|
+
bandCount: number;
|
|
7
|
+
barsCount: number;
|
|
8
|
+
maxRandomValue: number;
|
|
9
|
+
fullExtent: boolean;
|
|
10
|
+
withTooltip: boolean;
|
|
11
|
+
withStackSum: boolean;
|
|
12
|
+
scaleTicks: number;
|
|
13
|
+
withoutXScale: boolean;
|
|
14
|
+
stackedTooltip: boolean;
|
|
15
|
+
fullChartTooltip: boolean;
|
|
16
|
+
};
|
|
17
|
+
storyName: string;
|
|
18
|
+
};
|
|
19
|
+
declare type ControlProps = {
|
|
20
|
+
bandCount: number;
|
|
21
|
+
barsCount: number;
|
|
22
|
+
maxRandomValue: number;
|
|
23
|
+
} & Omit<HorizontalBarChartProps, 'data' | 'className' | 'style' | 'labels'>;
|
|
24
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const StatisticsStory: {
|
|
3
|
+
(): React.JSX.Element;
|
|
4
|
+
storyName: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BarChartProps } from '../../src';
|
|
3
|
+
export declare const BarChartStory: {
|
|
4
|
+
(args: ControlProps): React.JSX.Element;
|
|
5
|
+
args: {
|
|
6
|
+
barPadding: number;
|
|
7
|
+
height: number;
|
|
8
|
+
barWidth: number;
|
|
9
|
+
yAxisPadding: number;
|
|
10
|
+
xAxisPadding: number;
|
|
11
|
+
drawGridX: boolean;
|
|
12
|
+
drawGridY: boolean;
|
|
13
|
+
paddingInner: number;
|
|
14
|
+
paddingOuter: number;
|
|
15
|
+
itemsCount: number;
|
|
16
|
+
barsCount: number;
|
|
17
|
+
stacksCount: number;
|
|
18
|
+
ticks: number;
|
|
19
|
+
dynamicTooltipEnable: boolean;
|
|
20
|
+
labelPosition: string;
|
|
21
|
+
cornerRadius: {
|
|
22
|
+
topLeft: number;
|
|
23
|
+
topRight: number;
|
|
24
|
+
bottomRight: number;
|
|
25
|
+
bottomLeft: number;
|
|
26
|
+
};
|
|
27
|
+
isBarTooltip: boolean;
|
|
28
|
+
tooltipBind: boolean;
|
|
29
|
+
};
|
|
30
|
+
storyName: string;
|
|
31
|
+
};
|
|
32
|
+
declare type ControlProps = {
|
|
33
|
+
paddingInner?: number;
|
|
34
|
+
paddingOuter?: number;
|
|
35
|
+
itemsCount: number;
|
|
36
|
+
barsCount: number;
|
|
37
|
+
stacksCount: number;
|
|
38
|
+
ticks: number;
|
|
39
|
+
} & Omit<BarChartProps, 'colors' | 'data' | 'customXScale' | 'customBars' | 'customYScale' | 'customYAxisLeft' | 'customXAxisBottom' | 'customYAxis' | 'customXAxis' | 'customize' | 'className' | 'lineData' | 'style'>;
|
|
40
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BubbleChartProps } from '../../src';
|
|
3
|
+
export declare const BubbleChartStory: {
|
|
4
|
+
(args: ControlProps): React.JSX.Element;
|
|
5
|
+
storyName: string;
|
|
6
|
+
args: {
|
|
7
|
+
yAxisPadding: number;
|
|
8
|
+
xAxisPadding: number;
|
|
9
|
+
height: number;
|
|
10
|
+
drawGridX: boolean;
|
|
11
|
+
drawGridY: boolean;
|
|
12
|
+
xScaleItemWidth: number;
|
|
13
|
+
margin: {
|
|
14
|
+
top: number;
|
|
15
|
+
right: number;
|
|
16
|
+
bottom: number;
|
|
17
|
+
left: number;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
declare type ControlProps = {} & BubbleChartProps;
|
|
22
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const TooltipContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const Header: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const Name: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const YearRange: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const Divider: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const Row: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export declare const Label: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const Value: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BubbleChartStyled: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").BubbleChartProps>, any, {}, never>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CalendarChartProps } from '../../src';
|
|
3
|
+
export declare const CalendarChartStory: {
|
|
4
|
+
(args: ControlProps): React.JSX.Element;
|
|
5
|
+
args: {
|
|
6
|
+
startDate: Date;
|
|
7
|
+
endDate: Date;
|
|
8
|
+
interpolateScheme: string;
|
|
9
|
+
cellOffset: number;
|
|
10
|
+
cellSize: number;
|
|
11
|
+
monthSpacing: number;
|
|
12
|
+
startSunday: boolean;
|
|
13
|
+
weekdays: string[];
|
|
14
|
+
};
|
|
15
|
+
storyName: string;
|
|
16
|
+
};
|
|
17
|
+
declare type ControlProps = {
|
|
18
|
+
startDate: Date;
|
|
19
|
+
endDate: Date;
|
|
20
|
+
interpolateScheme: string;
|
|
21
|
+
} & Omit<CalendarChartProps, 'className' | 'style' | 'data' | 'interpolator' | 'onEachDay'>;
|
|
22
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const CalendarChartExamplesStory: {
|
|
3
|
+
(): React.JSX.Element;
|
|
4
|
+
storyName: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const GithubStory: {
|
|
3
|
+
(): React.JSX.Element;
|
|
4
|
+
storyName: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const InteractiveStory: {
|
|
7
|
+
(): React.JSX.Element;
|
|
8
|
+
storyName: string;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GetLegendProps } from '../../src/helpers/getLegend/types';
|
|
3
|
+
declare type ColorRangeStoryProps = {
|
|
4
|
+
colorRangeStart: string;
|
|
5
|
+
colorRangeEnd: string;
|
|
6
|
+
rangeStart: number;
|
|
7
|
+
rangeEnd: number;
|
|
8
|
+
} & GetLegendProps;
|
|
9
|
+
export declare const LegendStory: {
|
|
10
|
+
({ colorRangeStart, colorRangeEnd, rangeStart, rangeEnd, ...rest }: ColorRangeStoryProps): React.JSX.Element;
|
|
11
|
+
args: {
|
|
12
|
+
rangeStart: number;
|
|
13
|
+
rangeEnd: number;
|
|
14
|
+
colorRangeStart: string;
|
|
15
|
+
colorRangeEnd: string;
|
|
16
|
+
title: string;
|
|
17
|
+
width: number;
|
|
18
|
+
height: number;
|
|
19
|
+
marginTop: number;
|
|
20
|
+
marginRight: number;
|
|
21
|
+
marginBottom: number;
|
|
22
|
+
tickSize: number;
|
|
23
|
+
marginLeft: number;
|
|
24
|
+
ticks: number;
|
|
25
|
+
titleMarginBottom: number;
|
|
26
|
+
};
|
|
27
|
+
storyName: string;
|
|
28
|
+
};
|
|
29
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SwipeScrollProps } from '../../../src';
|
|
3
|
+
export declare const SwipeScrollStory: {
|
|
4
|
+
({ animationFunc, ...args }: Pick<SwipeScrollProps, "duration"> & {
|
|
5
|
+
animationFunc?: string;
|
|
6
|
+
}): React.JSX.Element;
|
|
7
|
+
args: {
|
|
8
|
+
duration: number;
|
|
9
|
+
};
|
|
10
|
+
storyName: string;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useSwipe: () => (x: any, selection: any) => void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LineCharMspExampletStory } from './examples/Msp';
|
|
2
|
+
import { LineChartGeoVebStory } from './examples/GeoVeb';
|
|
3
|
+
import { LineCharBeelineExampletStory } from './examples/Beeline';
|
|
4
|
+
import { LineChartGeoVebIntervalStory } from './examples/GeoVebInterval';
|
|
5
|
+
export { LineCharMspExampletStory, LineChartGeoVebStory, LineCharBeelineExampletStory, LineChartGeoVebIntervalStory, };
|
|
6
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LineChartProps } from '../../src';
|
|
3
|
+
export declare const LineChartStory: {
|
|
4
|
+
({ yAxisTicks, yAxisTickSizeInner, yAxisTickSizeOuter, yAxisTickPadding, xAxisTicks, xAxisTickSizeInner, xAxisTickSizeOuter, xAxisTickPadding, dataLength, ...args }: ControlProps): React.JSX.Element;
|
|
5
|
+
args: {
|
|
6
|
+
curve: string;
|
|
7
|
+
stacked: boolean;
|
|
8
|
+
withArea: boolean;
|
|
9
|
+
withLabels: boolean;
|
|
10
|
+
drawGridX: boolean;
|
|
11
|
+
drawGridY: boolean;
|
|
12
|
+
yAxisPadding: number;
|
|
13
|
+
xAxisPadding: number;
|
|
14
|
+
margin: {
|
|
15
|
+
top: number;
|
|
16
|
+
right: number;
|
|
17
|
+
bottom: number;
|
|
18
|
+
left: number;
|
|
19
|
+
};
|
|
20
|
+
dataLength: number;
|
|
21
|
+
yAxisTicks: number;
|
|
22
|
+
yAxisTickSizeInner: number;
|
|
23
|
+
yAxisTickSizeOuter: number;
|
|
24
|
+
yAxisTickPadding: number;
|
|
25
|
+
xAxisTicks: number;
|
|
26
|
+
xAxisTickSizeInner: number;
|
|
27
|
+
xAxisTickSizeOuter: number;
|
|
28
|
+
xAxisTickPadding: number;
|
|
29
|
+
dynamicCircleRadius: number;
|
|
30
|
+
dynamicTooltipEnable: boolean;
|
|
31
|
+
stackedTooltip: boolean;
|
|
32
|
+
};
|
|
33
|
+
storyName: string;
|
|
34
|
+
};
|
|
35
|
+
declare type ControlProps = {
|
|
36
|
+
curve?: string;
|
|
37
|
+
yAxisTicks?: number;
|
|
38
|
+
yAxisTickSizeInner?: number;
|
|
39
|
+
yAxisTickSizeOuter?: number;
|
|
40
|
+
yAxisTickPadding?: number;
|
|
41
|
+
xAxisTicks?: number;
|
|
42
|
+
xAxisTickSizeInner?: number;
|
|
43
|
+
xAxisTickSizeOuter?: number;
|
|
44
|
+
xAxisTickPadding?: number;
|
|
45
|
+
dataLength: number;
|
|
46
|
+
} & Pick<LineChartProps, 'width' | 'margin' | 'yAxisPadding' | 'xAxisPadding' | 'drawGridY' | 'drawGridX' | 'withLabels' | 'dynamicTooltipEnable' | 'dynamicCircleRadius' | 'stackedTooltip' | 'tooltipLineTop' | 'stacked'>;
|
|
47
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
48
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { LineChartProps } from '../../../../src';
|
|
2
|
+
export declare const VebLineChart: import("styled-components").StyledComponent<import("react").FC<LineChartProps>, any, LineChartProps, never>;
|
|
3
|
+
export declare const RightTooltip: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const TopTooltip: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const PieChartColorSchemeStory: {
|
|
3
|
+
(): React.JSX.Element;
|
|
4
|
+
storyName: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const PieChartExamplesStory: {
|
|
3
|
+
(): React.JSX.Element;
|
|
4
|
+
storyName: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PieChartProps } from '../../src';
|
|
3
|
+
export declare const PieChartStory: {
|
|
4
|
+
(args: ControlProps): React.JSX.Element;
|
|
5
|
+
args: {
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
colorScheme: string;
|
|
8
|
+
borderColor: string;
|
|
9
|
+
length: number;
|
|
10
|
+
minValueRange: number;
|
|
11
|
+
maxValueRange: number;
|
|
12
|
+
height: number;
|
|
13
|
+
outerRadius: number;
|
|
14
|
+
padAngle: number;
|
|
15
|
+
startAngle: number;
|
|
16
|
+
endAngle: number;
|
|
17
|
+
borderWidth: number;
|
|
18
|
+
cornerRadius: number;
|
|
19
|
+
margin: {
|
|
20
|
+
top: number;
|
|
21
|
+
right: number;
|
|
22
|
+
bottom: number;
|
|
23
|
+
left: number;
|
|
24
|
+
};
|
|
25
|
+
enableSlicesLabels: boolean;
|
|
26
|
+
enableSlicesLabelsName: boolean;
|
|
27
|
+
slicesLabelsSkipAngle: number;
|
|
28
|
+
enableRadialLabels: boolean;
|
|
29
|
+
radialLabelsTextXOffset: number;
|
|
30
|
+
radialLabelsLinkHorizontalLength: number;
|
|
31
|
+
radialLabelYOffset: number;
|
|
32
|
+
radialAngleXOffset: number;
|
|
33
|
+
fullChartTooltip: boolean;
|
|
34
|
+
tooltipBind: boolean;
|
|
35
|
+
withTooltip: boolean;
|
|
36
|
+
};
|
|
37
|
+
storyName: string;
|
|
38
|
+
};
|
|
39
|
+
declare type ControlProps = {
|
|
40
|
+
length: number;
|
|
41
|
+
minValueRange: number;
|
|
42
|
+
maxValueRange: number;
|
|
43
|
+
colorScheme?: string;
|
|
44
|
+
backgroundColor: string;
|
|
45
|
+
} & PieChartProps;
|
|
46
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const RadarChartStory: {
|
|
3
|
+
(args: ControlProps): React.JSX.Element;
|
|
4
|
+
args: {
|
|
5
|
+
length: number;
|
|
6
|
+
multiDataLength: number;
|
|
7
|
+
color: string;
|
|
8
|
+
curve: string;
|
|
9
|
+
bleedLength: number;
|
|
10
|
+
circleRadius: number;
|
|
11
|
+
polar: boolean;
|
|
12
|
+
levels: number;
|
|
13
|
+
height: number;
|
|
14
|
+
badgePrefix: string;
|
|
15
|
+
labelOffset: number;
|
|
16
|
+
paddingX: number;
|
|
17
|
+
paddingY: number;
|
|
18
|
+
minValueRange: number;
|
|
19
|
+
maxValueRange: number;
|
|
20
|
+
};
|
|
21
|
+
storyName: string;
|
|
22
|
+
};
|
|
23
|
+
declare type ControlProps = {
|
|
24
|
+
length?: number;
|
|
25
|
+
color?: string;
|
|
26
|
+
multiDataLength?: number;
|
|
27
|
+
bleedLength?: number;
|
|
28
|
+
curve?: string;
|
|
29
|
+
polar?: boolean;
|
|
30
|
+
height?: number;
|
|
31
|
+
labelOffset?: number;
|
|
32
|
+
paddingX?: number;
|
|
33
|
+
paddingY?: number;
|
|
34
|
+
minValueRange: number;
|
|
35
|
+
maxValueRange: number;
|
|
36
|
+
};
|
|
37
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const GithubStory: {
|
|
3
|
+
(): React.JSX.Element;
|
|
4
|
+
storyName: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const GradientStory: {
|
|
3
|
+
(): React.JSX.Element;
|
|
4
|
+
storyName: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const RadarVebChartStory: {
|
|
3
|
+
(): React.JSX.Element;
|
|
4
|
+
storyName: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
7
|
+
export default _default;
|