@evergis/charts 3.1.1 → 3.1.2
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
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const tooltipWidth = 414;
|
|
2
|
+
export declare const tooltipHeight = 244;
|
|
3
|
+
export declare const Tooltip: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const TailBottom: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const TailRight: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const TailLeft: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export declare const Title: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const Table: import("styled-components").StyledComponent<"table", any, {}, never>;
|
|
9
|
+
export declare const Row: import("styled-components").StyledComponent<"tr", any, {}, never>;
|
|
10
|
+
export declare const ColorBox: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
|
+
export declare const LineBoxContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
|
+
export declare const LineBox: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
|
+
export declare const LineThrough: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Value: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useRenderTooltip: () => (bars: any) => any;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const Item: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const Name: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const Flex: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const Value: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const ColorBox: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const HorizontalBarChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").HorizontalBarChartProps>, any, {}, never>;
|
|
2
|
+
export declare const Title: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const ChartFooter: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const Label: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
5
|
+
export declare const Prefix: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { HorizontalBarChartProps } from '../../../../src';
|
|
3
|
+
export declare type GroupHorizontalBarChartProps = HorizontalBarChartProps & {
|
|
4
|
+
title?: ReactNode;
|
|
5
|
+
sumColors?: string[];
|
|
6
|
+
totalItem?: {
|
|
7
|
+
value: number;
|
|
8
|
+
prefix?: ReactNode;
|
|
9
|
+
color?: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const seasonality: number[];
|
|
2
|
+
export declare const dynamic: {
|
|
3
|
+
[key: string]: number;
|
|
4
|
+
};
|
|
5
|
+
export declare const production: {
|
|
6
|
+
values: number[];
|
|
7
|
+
name: string;
|
|
8
|
+
fill: string;
|
|
9
|
+
}[];
|
|
10
|
+
export declare const price: {
|
|
11
|
+
values: number[];
|
|
12
|
+
name: string;
|
|
13
|
+
stroke: string;
|
|
14
|
+
}[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const mspDashboardData: any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const veb1: {
|
|
2
|
+
groupName: number;
|
|
3
|
+
0: {
|
|
4
|
+
value: number;
|
|
5
|
+
};
|
|
6
|
+
}[];
|
|
7
|
+
export declare const veb2: {
|
|
8
|
+
groupName: number;
|
|
9
|
+
0: {
|
|
10
|
+
value1: number;
|
|
11
|
+
};
|
|
12
|
+
1: {
|
|
13
|
+
value2: number;
|
|
14
|
+
};
|
|
15
|
+
2: {
|
|
16
|
+
value3: number;
|
|
17
|
+
};
|
|
18
|
+
}[];
|
|
19
|
+
export declare const veb3: {
|
|
20
|
+
groupName: number;
|
|
21
|
+
0: {
|
|
22
|
+
value1: number;
|
|
23
|
+
value2: number;
|
|
24
|
+
};
|
|
25
|
+
}[];
|
|
26
|
+
export declare const veb4: {
|
|
27
|
+
groupName: number;
|
|
28
|
+
0: {
|
|
29
|
+
value1: number;
|
|
30
|
+
};
|
|
31
|
+
}[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Vector } from './Vector';
|
|
2
|
+
export declare class Path {
|
|
3
|
+
commands: string[];
|
|
4
|
+
constructor(commands: string[]);
|
|
5
|
+
toString(): string;
|
|
6
|
+
static M(point: Vector): string;
|
|
7
|
+
static Q(control: Vector, to: Vector): string;
|
|
8
|
+
static L(point: Vector): string;
|
|
9
|
+
static Z(): string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const easings: {
|
|
2
|
+
linear: (t: number) => number;
|
|
3
|
+
easeInQuad: (t: number) => number;
|
|
4
|
+
easeOutQuad: (t: number) => number;
|
|
5
|
+
easeInOutQuad: (t: number) => number;
|
|
6
|
+
easeInCubic: (t: number) => number;
|
|
7
|
+
easeOutCubic: (t: number) => number;
|
|
8
|
+
easeInOutCubic: (t: number) => number;
|
|
9
|
+
easeInQuart: (t: number) => number;
|
|
10
|
+
easeOutQuart: (t: number) => number;
|
|
11
|
+
easeInOutQuart: (t: number) => number;
|
|
12
|
+
easeInQuint: (t: number) => number;
|
|
13
|
+
easeOutQuint: (t: number) => number;
|
|
14
|
+
easeInOutQuint: (t: number) => number;
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function hexToRGB(hex: string, alpha: number): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function random(lower?: number, upper?: number, floating?: boolean): number;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare type RandomDataProps = {
|
|
2
|
+
length: number;
|
|
3
|
+
range: [number, number];
|
|
4
|
+
labels?: string[];
|
|
5
|
+
colorScheme?: string | readonly string[];
|
|
6
|
+
textLength?: number;
|
|
7
|
+
};
|
|
8
|
+
declare type RandomData = {
|
|
9
|
+
name: string;
|
|
10
|
+
value: number;
|
|
11
|
+
color: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const randomData: ({ length, range, colorScheme, textLength, }: RandomDataProps) => RandomData[];
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare type RandomDataProps = {
|
|
2
|
+
startDate: Date;
|
|
3
|
+
endDate: Date;
|
|
4
|
+
range: [number, number];
|
|
5
|
+
};
|
|
6
|
+
declare type RandomData = {
|
|
7
|
+
value: number;
|
|
8
|
+
date: Date;
|
|
9
|
+
};
|
|
10
|
+
export declare const randomIntervalData: ({ startDate, endDate, range, }: RandomDataProps) => RandomData[];
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const randomText: () => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function shuffleArray(arr: any[]): any[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useLegend: () => [string[], (name: string) => void];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as d3 from 'd3';
|
|
2
|
+
export declare const interpolateColorSchemes: {
|
|
3
|
+
name: string;
|
|
4
|
+
colors: typeof d3.interpolateBlues;
|
|
5
|
+
}[];
|
|
6
|
+
export declare const interpolateColorScheme: {
|
|
7
|
+
interpolateScheme: {
|
|
8
|
+
type: {
|
|
9
|
+
name: string;
|
|
10
|
+
required: boolean;
|
|
11
|
+
};
|
|
12
|
+
description: string;
|
|
13
|
+
table: {
|
|
14
|
+
type: {
|
|
15
|
+
summary: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
control: {
|
|
19
|
+
type: string;
|
|
20
|
+
options: string[];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export = webpackContext;
|
|
2
|
+
export = webpackContext;
|
|
3
|
+
declare function webpackContext(req: any): any;
|
|
4
|
+
declare namespace webpackContext {
|
|
5
|
+
export function keys(): string[];
|
|
6
|
+
export { webpackContextResolve as resolve };
|
|
7
|
+
export const id: string;
|
|
8
|
+
}
|
|
9
|
+
declare function webpackContextResolve(req: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export var __esModule: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export var __esModule: boolean;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "3.1.
|
|
2
|
+
"version": "3.1.2",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
9
9
|
"engines": {
|
|
10
|
-
"node": ">=
|
|
10
|
+
"node": ">=20"
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
13
|
"start": "tsdx watch",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"build-storybook": "build-storybook"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"react": ">=
|
|
22
|
+
"react": ">=18"
|
|
23
23
|
},
|
|
24
24
|
"husky": {
|
|
25
25
|
"hooks": {
|
|
@@ -44,23 +44,24 @@
|
|
|
44
44
|
"@storybook/addons": "^6.5.0-alpha.39",
|
|
45
45
|
"@storybook/react": "^6.5.0-alpha.39",
|
|
46
46
|
"@types/d3": "^7.1.0",
|
|
47
|
-
"@types/react": "^
|
|
48
|
-
"@types/react-dom": "^
|
|
49
|
-
"@types/styled-components": "
|
|
47
|
+
"@types/react": "^18.3.18",
|
|
48
|
+
"@types/react-dom": "^18.3.5",
|
|
49
|
+
"@types/styled-components": "5.1.25",
|
|
50
50
|
"babel-loader": "^8.2.3",
|
|
51
|
-
"react": "^
|
|
51
|
+
"react": "^18.3.1",
|
|
52
52
|
"react-docgen-typescript-loader": "^3.7.2",
|
|
53
|
-
"react-dom": "^
|
|
53
|
+
"react-dom": "^18.3.1",
|
|
54
|
+
"ts-jest": "^25.3.1",
|
|
54
55
|
"ts-loader": "^8.0.5",
|
|
55
56
|
"tsdx": "^0.14.1"
|
|
56
57
|
},
|
|
57
58
|
"resolutions": {
|
|
58
|
-
"styled-components": "
|
|
59
|
+
"styled-components": "5.3.5",
|
|
59
60
|
"d3": "^7"
|
|
60
61
|
},
|
|
61
62
|
"dependencies": {
|
|
62
63
|
"d3": "^7.3.0",
|
|
63
|
-
"styled-components": "
|
|
64
|
+
"styled-components": "5.3.5"
|
|
64
65
|
},
|
|
65
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "43e91a1806ad5db263cccf74daac5fa2065c3815"
|
|
66
67
|
}
|