@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.
Files changed (185) hide show
  1. package/dist/charts/BarChart/drawLines/index.d.ts +3 -4
  2. package/dist/charts/BarChart/getBars/index.d.ts +1 -1
  3. package/dist/charts/BarChart/index.d.ts +2 -2
  4. package/dist/charts/BarChart/styled.d.ts +3 -2
  5. package/dist/charts/BarChart/types.d.ts +8 -8
  6. package/dist/charts/BubbleChart/index.d.ts +3 -3
  7. package/dist/charts/BubbleChart/styled.d.ts +2 -1
  8. package/dist/charts/BubbleChart/types.d.ts +5 -5
  9. package/dist/charts/BubbleChart/unmount.d.ts +1 -1
  10. package/dist/charts/CalendarChart/index.d.ts +3 -3
  11. package/dist/charts/CalendarChart/types.d.ts +5 -5
  12. package/dist/charts/HorizontalBarChart/hooks/useStackWrapper.d.ts +4 -4
  13. package/dist/charts/HorizontalBarChart/index.d.ts +3 -3
  14. package/dist/charts/HorizontalBarChart/types.d.ts +3 -3
  15. package/dist/charts/LineChart/index.d.ts +3 -3
  16. package/dist/charts/LineChart/styled.d.ts +2 -1
  17. package/dist/charts/LineChart/types.d.ts +3 -3
  18. package/dist/charts/PieChart/index.d.ts +3 -3
  19. package/dist/charts/PieChart/types.d.ts +4 -4
  20. package/dist/charts.cjs.development.js +241 -451
  21. package/dist/charts.cjs.development.js.map +1 -1
  22. package/dist/charts.cjs.production.min.js +1 -1
  23. package/dist/charts.cjs.production.min.js.map +1 -1
  24. package/dist/charts.esm.js +241 -451
  25. package/dist/charts.esm.js.map +1 -1
  26. package/dist/common/components/SwipeScroll/index.d.ts +2 -2
  27. package/dist/common/components/SwipeScroll/types.d.ts +4 -3
  28. package/dist/common/components/labels/index.d.ts +1 -1
  29. package/dist/common/components/labels/types.d.ts +2 -2
  30. package/dist/hooks/useNode.d.ts +1 -1
  31. package/dist/hooks/useResize.d.ts +1 -1
  32. package/dist/index.d.ts +26 -26
  33. package/dist/jest.config.d.ts +14 -0
  34. package/dist/stories/Bar/Examples.stories.d.ts +23 -0
  35. package/dist/stories/Bar/HorizontalBar.stories.d.ts +25 -0
  36. package/dist/stories/Bar/Statistics.stories.d.ts +7 -0
  37. package/dist/stories/Bar/VerticalBar.stories.d.ts +41 -0
  38. package/dist/stories/Bubble/Bubble.stories.d.ts +23 -0
  39. package/dist/stories/Bubble/Examples.stories.d.ts +4 -0
  40. package/dist/stories/Bubble/examples/VEB/InvestBubble.d.ts +5 -0
  41. package/dist/stories/Bubble/examples/VEB/hooks/useCustomize.d.ts +3 -0
  42. package/dist/stories/Bubble/examples/VEB/hooks/useRenderTooltip/index.d.ts +4 -0
  43. package/dist/stories/Bubble/examples/VEB/hooks/useRenderTooltip/styled.d.ts +8 -0
  44. package/dist/stories/Bubble/examples/VEB/styled.d.ts +1 -0
  45. package/dist/stories/Calendar/Calendar.stories.d.ts +23 -0
  46. package/dist/stories/Calendar/ColorScheme.stories.d.ts +7 -0
  47. package/dist/stories/Calendar/Examples.stories.d.ts +11 -0
  48. package/dist/stories/Calendar/Legend.stories.d.ts +30 -0
  49. package/dist/stories/Common/SwipeScroll/SwipeScroll.stories.d.ts +13 -0
  50. package/dist/stories/Common/SwipeScroll/hooks/useSwipe.d.ts +1 -0
  51. package/dist/stories/Line/Examples.stories.d.ts +7 -0
  52. package/dist/stories/Line/Line.stories.d.ts +48 -0
  53. package/dist/stories/Line/examples/Beeline.d.ts +5 -0
  54. package/dist/stories/Line/examples/GeoVeb.d.ts +5 -0
  55. package/dist/stories/Line/examples/GeoVebInterval/data.d.ts +9 -0
  56. package/dist/stories/Line/examples/GeoVebInterval/index.d.ts +5 -0
  57. package/dist/stories/Line/examples/GeoVebInterval/styled.d.ts +4 -0
  58. package/dist/stories/Line/examples/Msp.d.ts +5 -0
  59. package/dist/stories/Pie/ColorScheme.stories.d.ts +7 -0
  60. package/dist/stories/Pie/Examples.stories.d.ts +7 -0
  61. package/dist/stories/Pie/Pie.stories.d.ts +47 -0
  62. package/dist/stories/Radar/Chart.stories.d.ts +38 -0
  63. package/dist/stories/Radar/Github.stories.d.ts +7 -0
  64. package/dist/stories/Radar/Gradient.stories.d.ts +7 -0
  65. package/dist/stories/Radar/Veb.stories.d.ts +7 -0
  66. package/dist/stories/Sankey/Examples.stories.d.ts +4 -0
  67. package/dist/stories/Sankey/examples/RelatedIndustries/data.d.ts +2 -0
  68. package/dist/stories/Sankey/examples/RelatedIndustries/index.d.ts +5 -0
  69. package/dist/stories/__internal__/colors.d.ts +40 -0
  70. package/dist/stories/__internal__/components/BeelineLineChart/hooks/useCustomize.d.ts +11 -0
  71. package/dist/stories/__internal__/components/BeelineLineChart/hooks/useLineRenderTooltip/index.d.ts +5 -0
  72. package/dist/stories/__internal__/components/BeelineLineChart/hooks/useLineRenderTooltip/styled.d.ts +5 -0
  73. package/dist/stories/__internal__/components/BeelineLineChart/index.d.ts +3 -0
  74. package/dist/stories/__internal__/components/BeelineLineChart/styled.d.ts +3 -0
  75. package/dist/stories/__internal__/components/BeelineRangeLineChart/Range/index.d.ts +7 -0
  76. package/dist/stories/__internal__/components/BeelineRangeLineChart/Range/styled.d.ts +3 -0
  77. package/dist/stories/__internal__/components/BeelineRangeLineChart/hooks/useChange.d.ts +8 -0
  78. package/dist/stories/__internal__/components/BeelineRangeLineChart/index.d.ts +2 -0
  79. package/dist/stories/__internal__/components/BeelineRangeLineChart/styled.d.ts +4 -0
  80. package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/data.d.ts +5 -0
  81. package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/hooks/useRenderDataTable.d.ts +2 -0
  82. package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/index.d.ts +2 -0
  83. package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/styled.d.ts +3 -0
  84. package/dist/stories/__internal__/components/Divider.d.ts +6 -0
  85. package/dist/stories/__internal__/components/GeoVebBarCharts.d.ts +2 -0
  86. package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/data.d.ts +47 -0
  87. package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/hooks/useRenderTooltip.d.ts +3 -0
  88. package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/hooks/useSimpleRenderTooltip.d.ts +3 -0
  89. package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/index.d.ts +4 -0
  90. package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/styled.d.ts +4 -0
  91. package/dist/stories/__internal__/components/GeoYearsBarChart/index.d.ts +2 -0
  92. package/dist/stories/__internal__/components/GeoYearsBarChart/styled.d.ts +4 -0
  93. package/dist/stories/__internal__/components/MixedTableChart/Chart/index.d.ts +3 -0
  94. package/dist/stories/__internal__/components/MixedTableChart/Chart/styled.d.ts +2 -0
  95. package/dist/stories/__internal__/components/MixedTableChart/index.d.ts +3 -0
  96. package/dist/stories/__internal__/components/MixedTableChart/styled.d.ts +5 -0
  97. package/dist/stories/__internal__/components/MixedTableChart/types.d.ts +21 -0
  98. package/dist/stories/__internal__/components/MspDashboardChart/hooks/useAnimation.d.ts +5 -0
  99. package/dist/stories/__internal__/components/MspDashboardChart/index.d.ts +3 -0
  100. package/dist/stories/__internal__/components/MspDashboardChart/styled.d.ts +5 -0
  101. package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useAnimationAreas.d.ts +6 -0
  102. package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useAnimationBars.d.ts +5 -0
  103. package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useCustomize.d.ts +4 -0
  104. package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useData.d.ts +8 -0
  105. package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useMarshalledMap.d.ts +1 -0
  106. package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useRenderTooltip.d.ts +2 -0
  107. package/dist/stories/__internal__/components/MspPromSupplyBarChart/index.d.ts +9 -0
  108. package/dist/stories/__internal__/components/MspPromSupplyBarChart/styled.d.ts +22 -0
  109. package/dist/stories/__internal__/components/SankeyTriChart/Groups/getCSSProperties.d.ts +4 -0
  110. package/dist/stories/__internal__/components/SankeyTriChart/Groups/helpers.d.ts +1 -0
  111. package/dist/stories/__internal__/components/SankeyTriChart/Groups/index.d.ts +5 -0
  112. package/dist/stories/__internal__/components/SankeyTriChart/Groups/styled.d.ts +1 -0
  113. package/dist/stories/__internal__/components/SankeyTriChart/ItemContent/getCSSProperties.d.ts +3 -0
  114. package/dist/stories/__internal__/components/SankeyTriChart/ItemContent/index.d.ts +5 -0
  115. package/dist/stories/__internal__/components/SankeyTriChart/ItemContent/styled.d.ts +8 -0
  116. package/dist/stories/__internal__/components/SankeyTriChart/draw.d.ts +2 -0
  117. package/dist/stories/__internal__/components/SankeyTriChart/helpers.d.ts +9 -0
  118. package/dist/stories/__internal__/components/SankeyTriChart/index.d.ts +10 -0
  119. package/dist/stories/__internal__/components/SankeyTriChart/marshaling.d.ts +6 -0
  120. package/dist/stories/__internal__/components/SankeyTriChart/styled.d.ts +1 -0
  121. package/dist/stories/__internal__/components/SankeyTriChart/types.d.ts +40 -0
  122. package/dist/stories/__internal__/components/SberBarMixChart/colors.d.ts +3 -0
  123. package/dist/stories/__internal__/components/SberBarMixChart/data.d.ts +8 -0
  124. package/dist/stories/__internal__/components/SberBarMixChart/hooks/styled.d.ts +3 -0
  125. package/dist/stories/__internal__/components/SberBarMixChart/hooks/useRenderTooltip.d.ts +2 -0
  126. package/dist/stories/__internal__/components/SberBarMixChart/index.d.ts +2 -0
  127. package/dist/stories/__internal__/components/SberBarMixChart/styled.d.ts +1 -0
  128. package/dist/stories/__internal__/components/StatisticsBarCharts/NumbersStatistics.d.ts +2 -0
  129. package/dist/stories/__internal__/components/StatisticsBarCharts/StringsStatistics.d.ts +2 -0
  130. package/dist/stories/__internal__/components/StatisticsBarCharts/index.d.ts +2 -0
  131. package/dist/stories/__internal__/components/StatisticsBarCharts/styled.d.ts +1 -0
  132. package/dist/stories/__internal__/components/VebEstimationBarChart/data.d.ts +38 -0
  133. package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useCustomize.d.ts +5 -0
  134. package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useDrawBars.d.ts +4 -0
  135. package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderLabel/index.d.ts +9 -0
  136. package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderLabel/styled.d.ts +1 -0
  137. package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderTooltip/index.d.ts +8 -0
  138. package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderTooltip/styled.d.ts +13 -0
  139. package/dist/stories/__internal__/components/VebEstimationBarChart/index.d.ts +3 -0
  140. package/dist/stories/__internal__/components/VebEstimationBarChart/styled.d.ts +2 -0
  141. package/dist/stories/__internal__/components/VebFilterBarChart/index.d.ts +2 -0
  142. package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderSum/index.d.ts +3 -0
  143. package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderSum/styled.d.ts +1 -0
  144. package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderTooltip/index.d.ts +1 -0
  145. package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderTooltip/styled.d.ts +5 -0
  146. package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/index.d.ts +3 -0
  147. package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/styled.d.ts +5 -0
  148. package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/types.d.ts +11 -0
  149. package/dist/stories/__internal__/curves.d.ts +8 -0
  150. package/dist/stories/__internal__/data/msp.d.ts +14 -0
  151. package/dist/stories/__internal__/data/mspDashboard.d.ts +1 -0
  152. package/dist/stories/__internal__/data/mspPromSupply.d.ts +11 -0
  153. package/dist/stories/__internal__/data/population.d.ts +4 -0
  154. package/dist/stories/__internal__/data/veb.d.ts +31 -0
  155. package/dist/stories/__internal__/helpers/Path.d.ts +10 -0
  156. package/dist/stories/__internal__/helpers/Vector.d.ts +9 -0
  157. package/dist/stories/__internal__/helpers/animation.d.ts +15 -0
  158. package/dist/stories/__internal__/helpers/hexToRGB.d.ts +1 -0
  159. package/dist/stories/__internal__/helpers/random.d.ts +1 -0
  160. package/dist/stories/__internal__/helpers/randomData.d.ts +14 -0
  161. package/dist/stories/__internal__/helpers/randomHorizontalBarData.d.ts +5 -0
  162. package/dist/stories/__internal__/helpers/randomIntervalData.d.ts +11 -0
  163. package/dist/stories/__internal__/helpers/randomLineData.d.ts +8 -0
  164. package/dist/stories/__internal__/helpers/randomText.d.ts +1 -0
  165. package/dist/stories/__internal__/helpers/roundedRect.d.ts +10 -0
  166. package/dist/stories/__internal__/helpers/shuffleArray.d.ts +1 -0
  167. package/dist/stories/__internal__/hooks/useBarData.d.ts +10 -0
  168. package/dist/stories/__internal__/hooks/useLegend.d.ts +1 -0
  169. package/dist/stories/__internal__/hooks/useMinMaxValue.d.ts +4 -0
  170. package/dist/stories/__internal__/interpolates.d.ts +23 -0
  171. package/dist/storybook-static/1.05dfd83c.iframe.bundle.d.ts +0 -0
  172. package/dist/storybook-static/189.8c077122866758d3cf20.manager.bundle.d.ts +0 -0
  173. package/dist/storybook-static/190.58050c9beb344d4cefd9.manager.bundle.d.ts +2 -0
  174. package/dist/storybook-static/191.b202c06c72968435b80b.manager.bundle.d.ts +0 -0
  175. package/dist/storybook-static/192.83987c5b15f8a80893c5.manager.bundle.d.ts +0 -0
  176. package/dist/storybook-static/193.8a12aa992b466e778018.manager.bundle.d.ts +2 -0
  177. package/dist/storybook-static/2.0231c7b6.iframe.bundle.d.ts +0 -0
  178. package/dist/storybook-static/6.6185fd0d.iframe.bundle.d.ts +0 -0
  179. package/dist/storybook-static/7.0ede09e9.iframe.bundle.d.ts +0 -0
  180. package/dist/storybook-static/8.6f0230ef.iframe.bundle.d.ts +2 -0
  181. package/dist/storybook-static/main.6b7543c14993fcfcab71.manager.bundle.d.ts +2 -0
  182. package/dist/storybook-static/main.724b5942.iframe.bundle.d.ts +9 -0
  183. package/dist/storybook-static/runtime~main.92273705.iframe.bundle.d.ts +1 -0
  184. package/dist/storybook-static/runtime~main.c89e55a461c11ef29193.manager.bundle.d.ts +1 -0
  185. package/package.json +12 -11
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ import { FC } from "react";
2
2
  import { SwipeScrollProps } from './types';
3
- export declare const SwipeScroll: React.FC<SwipeScrollProps>;
3
+ export declare const SwipeScroll: FC<SwipeScrollProps>;
@@ -1,7 +1,8 @@
1
- import * as d3 from 'd3';
2
- export declare type SwipeScrollProps = {
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 './types';
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>;
@@ -1,6 +1,6 @@
1
- export declare type LabelContainerProps = {
1
+ export interface LabelContainerProps {
2
2
  anchor: 'start' | 'middle' | 'end';
3
3
  translateX: number;
4
4
  translateY: number;
5
5
  index: number;
6
- };
6
+ }
@@ -1,2 +1,2 @@
1
- import { PropsWithRef } from 'react';
1
+ import { PropsWithRef } from "react";
2
2
  export declare function useNode(): [PropsWithRef<any>, HTMLElement | null];
@@ -1 +1 @@
1
- export declare const useResize: (width?: number | undefined, callback?: ((...args: any) => any) | undefined, delay?: number | undefined) => void;
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 './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';
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,4 @@
1
+ import { InvestBubbleStory } from './examples/VEB/InvestBubble';
2
+ export { InvestBubbleStory };
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const InvestBubbleStory: {
3
+ (): React.JSX.Element;
4
+ storyName: string;
5
+ };
@@ -0,0 +1,3 @@
1
+ export declare const useCustomize: () => ({ bubbles }: {
2
+ bubbles: any;
3
+ }) => void;
@@ -0,0 +1,4 @@
1
+ export declare const useRenderTooltip: () => ({ tooltip, data }: {
2
+ tooltip: any;
3
+ data: any;
4
+ }) => void;
@@ -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,5 @@
1
+ import React from 'react';
2
+ export declare const LineCharBeelineExampletStory: {
3
+ (): React.JSX.Element;
4
+ storyName: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const LineChartGeoVebStory: {
3
+ (): React.JSX.Element;
4
+ storyName: string;
5
+ };
@@ -0,0 +1,9 @@
1
+ export declare const data: {
2
+ year: number;
3
+ value: number;
4
+ invest: number;
5
+ errorMargin: {
6
+ max: number;
7
+ min: number;
8
+ };
9
+ }[];
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const LineChartGeoVebIntervalStory: {
3
+ (): React.JSX.Element;
4
+ storyName: string;
5
+ };
@@ -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,5 @@
1
+ import React from 'react';
2
+ export declare const LineCharMspExampletStory: {
3
+ (): React.JSX.Element;
4
+ storyName: string;
5
+ };
@@ -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;
@@ -0,0 +1,4 @@
1
+ import { RelatedIndustries } from './examples/RelatedIndustries';
2
+ export { RelatedIndustries };
3
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { RelatedIndustryItemDc } from '../../../__internal__/components/SankeyTriChart/types';
2
+ export declare const data: RelatedIndustryItemDc[];
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const RelatedIndustries: {
3
+ (): React.ReactElement;
4
+ storyName: string;
5
+ };