@evergis/charts 3.1.5 → 3.1.7
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/LICENSE +2 -2
- package/README.md +10 -0
- package/dist/charts/BarChart/draw.d.ts +2 -2
- package/dist/charts/BarChart/drawGrid/index.d.ts +2 -2
- package/dist/charts/BarChart/drawGrid/types.d.ts +8 -8
- package/dist/charts/BarChart/drawLines/index.d.ts +13 -13
- package/dist/charts/BarChart/drawLines/types.d.ts +9 -9
- package/dist/charts/BarChart/drawTooltip/getLabel.d.ts +2 -2
- package/dist/charts/BarChart/drawTooltip/getLabelY.d.ts +2 -2
- package/dist/charts/BarChart/drawTooltip/index.d.ts +2 -2
- package/dist/charts/BarChart/drawTooltip/types.d.ts +12 -13
- package/dist/charts/BarChart/getBars/index.d.ts +3 -3
- package/dist/charts/BarChart/getBars/types.d.ts +6 -6
- package/dist/charts/BarChart/getDomain.d.ts +5 -5
- package/dist/charts/BarChart/hooks/useSelection.d.ts +2 -2
- package/dist/charts/BarChart/index.d.ts +3 -3
- package/dist/charts/BarChart/marshaling.d.ts +2 -2
- package/dist/charts/BarChart/resizeBarWidth/index.d.ts +2 -2
- package/dist/charts/BarChart/resizeBarWidth/types.d.ts +5 -5
- package/dist/charts/BarChart/styled.d.ts +37 -37
- package/dist/charts/BarChart/types.d.ts +148 -148
- package/dist/charts/BubbleChart/bubbleChartDefaultProps.d.ts +14 -14
- package/dist/charts/BubbleChart/draw.d.ts +2 -2
- package/dist/charts/BubbleChart/drawGrid/index.d.ts +2 -2
- package/dist/charts/BubbleChart/drawGrid/types.d.ts +8 -8
- package/dist/charts/BubbleChart/drawTooltip/index.d.ts +2 -2
- package/dist/charts/BubbleChart/drawTooltip/styled.d.ts +1 -1
- package/dist/charts/BubbleChart/drawTooltip/types.d.ts +4 -4
- package/dist/charts/BubbleChart/index.d.ts +3 -3
- package/dist/charts/BubbleChart/styled.d.ts +17 -17
- package/dist/charts/BubbleChart/types.d.ts +55 -55
- package/dist/charts/BubbleChart/unmount.d.ts +1 -1
- package/dist/charts/CalendarChart/draw.d.ts +2 -2
- package/dist/charts/CalendarChart/index.d.ts +3 -3
- package/dist/charts/CalendarChart/styled.d.ts +18 -18
- package/dist/charts/CalendarChart/types.d.ts +22 -22
- package/dist/charts/HorizontalBarChart/Bar/index.d.ts +3 -3
- package/dist/charts/HorizontalBarChart/Bar/styled.d.ts +1 -1
- package/dist/charts/HorizontalBarChart/Bar/types.d.ts +11 -11
- package/dist/charts/HorizontalBarChart/Tooltip/index.d.ts +3 -3
- package/dist/charts/HorizontalBarChart/Tooltip/types.d.ts +5 -5
- package/dist/charts/HorizontalBarChart/XScale/hooks/useScale.d.ts +2 -2
- package/dist/charts/HorizontalBarChart/XScale/index.d.ts +3 -3
- package/dist/charts/HorizontalBarChart/XScale/styled.d.ts +3 -3
- package/dist/charts/HorizontalBarChart/hooks/useMarshaling.d.ts +5 -5
- package/dist/charts/HorizontalBarChart/hooks/useStackWrapper.d.ts +12 -12
- package/dist/charts/HorizontalBarChart/hooks/useTooltip/index.d.ts +3 -3
- package/dist/charts/HorizontalBarChart/hooks/useTooltip/types.d.ts +6 -3
- package/dist/charts/HorizontalBarChart/index.d.ts +3 -3
- package/dist/charts/HorizontalBarChart/styled.d.ts +30 -30
- package/dist/charts/HorizontalBarChart/types.d.ts +41 -41
- package/dist/charts/LineChart/draw.d.ts +2 -2
- package/dist/charts/LineChart/drawGrid/index.d.ts +2 -2
- package/dist/charts/LineChart/drawGrid/types.d.ts +9 -9
- package/dist/charts/LineChart/drawLabel/index.d.ts +3 -3
- package/dist/charts/LineChart/drawLabel/styled.d.ts +2 -2
- package/dist/charts/LineChart/drawLabel/types.d.ts +7 -7
- package/dist/charts/LineChart/drawTooltip/index.d.ts +2 -2
- package/dist/charts/LineChart/drawTooltip/types.d.ts +9 -9
- package/dist/charts/LineChart/index.d.ts +3 -3
- package/dist/charts/LineChart/styled.d.ts +27 -27
- package/dist/charts/LineChart/types.d.ts +78 -78
- package/dist/charts/PieChart/draw.d.ts +2 -2
- package/dist/charts/PieChart/drawRadialLabels/helpers.d.ts +3 -3
- package/dist/charts/PieChart/drawRadialLabels/index.d.ts +2 -2
- package/dist/charts/PieChart/drawRadialLabels/types.d.ts +11 -11
- package/dist/charts/PieChart/drawTooltips/index.d.ts +2 -2
- package/dist/charts/PieChart/drawTooltips/types.d.ts +8 -8
- package/dist/charts/PieChart/index.d.ts +3 -3
- package/dist/charts/PieChart/styled.d.ts +18 -18
- package/dist/charts/PieChart/types.d.ts +54 -54
- package/dist/charts/RadarChart/draw.d.ts +2 -2
- package/dist/charts/RadarChart/drawRadialLabels/index.d.ts +2 -2
- package/dist/charts/RadarChart/drawRadialLabels/styled.d.ts +2 -2
- package/dist/charts/RadarChart/drawRadialLabels/types.d.ts +25 -25
- package/dist/charts/RadarChart/helpers.d.ts +2 -2
- package/dist/charts/RadarChart/index.d.ts +3 -3
- package/dist/charts/RadarChart/styled.d.ts +13 -13
- package/dist/charts/RadarChart/types.d.ts +42 -42
- package/dist/charts.esm.js +10174 -3323
- package/dist/charts.esm.js.map +1 -1
- package/dist/common/components/SwipeScroll/animate.d.ts +6 -6
- package/dist/common/components/SwipeScroll/hooks/useSwipe.d.ts +2 -2
- package/dist/common/components/SwipeScroll/index.d.ts +3 -3
- package/dist/common/components/SwipeScroll/styled.d.ts +1 -1
- package/dist/common/components/SwipeScroll/types.d.ts +8 -8
- package/dist/common/components/Wrapper.d.ts +1 -1
- package/dist/common/components/labels/index.d.ts +7 -7
- package/dist/common/components/labels/types.d.ts +6 -6
- package/dist/common/components/tooltips/index.d.ts +14 -14
- package/dist/common/types/interpolator.d.ts +1 -1
- package/dist/common/types/margin.d.ts +6 -6
- package/dist/helpers/appendSvg.d.ts +2 -2
- package/dist/helpers/common.d.ts +2 -2
- package/dist/helpers/computeDimensions.d.ts +2 -2
- package/dist/helpers/getLegend/index.d.ts +19 -19
- package/dist/helpers/getLegend/types.d.ts +15 -15
- package/dist/helpers/getTextWidth.d.ts +1 -1
- package/dist/helpers/index.d.ts +1 -1
- package/dist/helpers/math.d.ts +2 -2
- package/dist/helpers/stackedData.d.ts +2 -2
- package/dist/helpers/textAlignCenter.d.ts +2 -2
- package/dist/helpers/throttle.d.ts +1 -1
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/useNode.d.ts +2 -2
- package/dist/hooks/useResize.d.ts +1 -1
- package/dist/index.d.ts +26 -26
- package/dist/index.js +10355 -5
- package/dist/index.js.map +1 -0
- package/dist/src/charts/BarChart/draw.d.ts +2 -0
- package/dist/src/charts/BarChart/drawGrid/index.d.ts +2 -0
- package/dist/src/charts/BarChart/drawGrid/types.d.ts +8 -0
- package/dist/src/charts/BarChart/drawLines/index.d.ts +13 -0
- package/dist/src/charts/BarChart/drawLines/types.d.ts +9 -0
- package/dist/src/charts/BarChart/drawTooltip/getLabel.d.ts +2 -0
- package/dist/src/charts/BarChart/drawTooltip/getLabelY.d.ts +2 -0
- package/dist/src/charts/BarChart/drawTooltip/index.d.ts +2 -0
- package/dist/src/charts/BarChart/drawTooltip/types.d.ts +12 -0
- package/dist/src/charts/BarChart/getBars/index.d.ts +3 -0
- package/dist/src/charts/BarChart/getBars/types.d.ts +6 -0
- package/dist/src/charts/BarChart/getDomain.d.ts +5 -0
- package/dist/src/charts/BarChart/hooks/useSelection.d.ts +2 -0
- package/dist/src/charts/BarChart/index.d.ts +3 -0
- package/dist/src/charts/BarChart/marshaling.d.ts +2 -0
- package/dist/src/charts/BarChart/resizeBarWidth/index.d.ts +2 -0
- package/dist/src/charts/BarChart/resizeBarWidth/types.d.ts +5 -0
- package/dist/src/charts/BarChart/styled.d.ts +37 -0
- package/dist/src/charts/BarChart/types.d.ts +148 -0
- package/dist/src/charts/BubbleChart/bubbleChartDefaultProps.d.ts +14 -0
- package/dist/src/charts/BubbleChart/draw.d.ts +2 -0
- package/dist/src/charts/BubbleChart/drawGrid/index.d.ts +2 -0
- package/dist/src/charts/BubbleChart/drawGrid/types.d.ts +8 -0
- package/dist/src/charts/BubbleChart/drawTooltip/index.d.ts +2 -0
- package/dist/src/charts/BubbleChart/drawTooltip/styled.d.ts +1 -0
- package/dist/src/charts/BubbleChart/drawTooltip/types.d.ts +4 -0
- package/dist/src/charts/BubbleChart/index.d.ts +3 -0
- package/dist/src/charts/BubbleChart/styled.d.ts +17 -0
- package/dist/src/charts/BubbleChart/types.d.ts +55 -0
- package/dist/src/charts/BubbleChart/unmount.d.ts +1 -0
- package/dist/src/charts/CalendarChart/draw.d.ts +2 -0
- package/dist/src/charts/CalendarChart/index.d.ts +3 -0
- package/dist/src/charts/CalendarChart/styled.d.ts +18 -0
- package/dist/src/charts/CalendarChart/types.d.ts +22 -0
- package/dist/src/charts/HorizontalBarChart/Bar/index.d.ts +3 -0
- package/dist/src/charts/HorizontalBarChart/Bar/styled.d.ts +1 -0
- package/dist/src/charts/HorizontalBarChart/Bar/types.d.ts +11 -0
- package/dist/src/charts/HorizontalBarChart/Tooltip/index.d.ts +3 -0
- package/dist/src/charts/HorizontalBarChart/Tooltip/types.d.ts +5 -0
- package/dist/src/charts/HorizontalBarChart/XScale/hooks/useScale.d.ts +2 -0
- package/dist/src/charts/HorizontalBarChart/XScale/index.d.ts +3 -0
- package/dist/src/charts/HorizontalBarChart/XScale/styled.d.ts +3 -0
- package/dist/src/charts/HorizontalBarChart/hooks/useMarshaling.d.ts +5 -0
- package/dist/src/charts/HorizontalBarChart/hooks/useStackWrapper.d.ts +12 -0
- package/dist/src/charts/HorizontalBarChart/hooks/useTooltip/index.d.ts +3 -0
- package/dist/src/charts/HorizontalBarChart/hooks/useTooltip/types.d.ts +6 -0
- package/dist/src/charts/HorizontalBarChart/index.d.ts +3 -0
- package/dist/src/charts/HorizontalBarChart/styled.d.ts +30 -0
- package/dist/src/charts/HorizontalBarChart/types.d.ts +41 -0
- package/dist/src/charts/LineChart/draw.d.ts +2 -0
- package/dist/src/charts/LineChart/drawGrid/index.d.ts +2 -0
- package/dist/src/charts/LineChart/drawGrid/types.d.ts +9 -0
- package/dist/src/charts/LineChart/drawLabel/index.d.ts +3 -0
- package/dist/src/charts/LineChart/drawLabel/styled.d.ts +2 -0
- package/dist/src/charts/LineChart/drawLabel/types.d.ts +7 -0
- package/dist/src/charts/LineChart/drawTooltip/index.d.ts +2 -0
- package/dist/src/charts/LineChart/drawTooltip/types.d.ts +9 -0
- package/dist/src/charts/LineChart/index.d.ts +3 -0
- package/dist/src/charts/LineChart/styled.d.ts +27 -0
- package/dist/src/charts/LineChart/types.d.ts +78 -0
- package/dist/src/charts/PieChart/draw.d.ts +2 -0
- package/dist/src/charts/PieChart/drawRadialLabels/helpers.d.ts +3 -0
- package/dist/src/charts/PieChart/drawRadialLabels/index.d.ts +2 -0
- package/dist/src/charts/PieChart/drawRadialLabels/types.d.ts +11 -0
- package/dist/src/charts/PieChart/drawTooltips/index.d.ts +2 -0
- package/dist/src/charts/PieChart/drawTooltips/types.d.ts +8 -0
- package/dist/src/charts/PieChart/index.d.ts +3 -0
- package/dist/src/charts/PieChart/styled.d.ts +18 -0
- package/dist/src/charts/PieChart/types.d.ts +54 -0
- package/dist/src/charts/RadarChart/draw.d.ts +2 -0
- package/dist/src/charts/RadarChart/drawRadialLabels/index.d.ts +2 -0
- package/dist/src/charts/RadarChart/drawRadialLabels/styled.d.ts +2 -0
- package/dist/src/charts/RadarChart/drawRadialLabels/types.d.ts +25 -0
- package/dist/src/charts/RadarChart/helpers.d.ts +2 -0
- package/dist/src/charts/RadarChart/index.d.ts +3 -0
- package/dist/src/charts/RadarChart/styled.d.ts +13 -0
- package/dist/src/charts/RadarChart/types.d.ts +42 -0
- package/dist/src/common/components/SwipeScroll/animate.d.ts +6 -0
- package/dist/src/common/components/SwipeScroll/hooks/useSwipe.d.ts +2 -0
- package/dist/src/common/components/SwipeScroll/index.d.ts +3 -0
- package/dist/src/common/components/SwipeScroll/styled.d.ts +1 -0
- package/dist/src/common/components/SwipeScroll/types.d.ts +8 -0
- package/dist/src/common/components/Wrapper.d.ts +1 -0
- package/dist/src/common/components/labels/index.d.ts +7 -0
- package/dist/src/common/components/labels/types.d.ts +6 -0
- package/dist/src/common/components/tooltips/index.d.ts +14 -0
- package/dist/src/common/types/interpolator.d.ts +1 -0
- package/dist/src/common/types/margin.d.ts +6 -0
- package/dist/src/helpers/appendSvg.d.ts +2 -0
- package/dist/src/helpers/common.d.ts +2 -0
- package/dist/src/helpers/computeDimensions.d.ts +2 -0
- package/dist/src/helpers/getLegend/index.d.ts +19 -0
- package/dist/src/helpers/getLegend/types.d.ts +15 -0
- package/dist/src/helpers/getTextWidth.d.ts +1 -0
- package/dist/src/helpers/index.d.ts +1 -0
- package/dist/src/helpers/math.d.ts +2 -0
- package/dist/src/helpers/stackedData.d.ts +2 -0
- package/dist/src/helpers/textAlignCenter.d.ts +2 -0
- package/dist/src/helpers/throttle.d.ts +1 -0
- package/dist/src/hooks/index.d.ts +2 -0
- package/dist/src/hooks/useNode.d.ts +2 -0
- package/dist/src/hooks/useResize.d.ts +1 -0
- package/dist/src/index.d.ts +26 -0
- package/package.json +17 -34
- package/dist/charts.cjs.development.js +0 -3513
- package/dist/charts.cjs.development.js.map +0 -1
- package/dist/charts.cjs.production.min.js +0 -2
- package/dist/charts.cjs.production.min.js.map +0 -1
- package/dist/jest.config.d.ts +0 -14
- package/dist/stories/Bar/Examples.stories.d.ts +0 -23
- package/dist/stories/Bar/HorizontalBar.stories.d.ts +0 -25
- package/dist/stories/Bar/Statistics.stories.d.ts +0 -7
- package/dist/stories/Bar/VerticalBar.stories.d.ts +0 -41
- package/dist/stories/Bubble/Bubble.stories.d.ts +0 -23
- package/dist/stories/Bubble/Examples.stories.d.ts +0 -4
- package/dist/stories/Bubble/examples/VEB/InvestBubble.d.ts +0 -5
- package/dist/stories/Bubble/examples/VEB/hooks/useCustomize.d.ts +0 -3
- package/dist/stories/Bubble/examples/VEB/hooks/useRenderTooltip/index.d.ts +0 -4
- package/dist/stories/Bubble/examples/VEB/hooks/useRenderTooltip/styled.d.ts +0 -8
- package/dist/stories/Bubble/examples/VEB/styled.d.ts +0 -1
- package/dist/stories/Calendar/Calendar.stories.d.ts +0 -23
- package/dist/stories/Calendar/ColorScheme.stories.d.ts +0 -7
- package/dist/stories/Calendar/Examples.stories.d.ts +0 -11
- package/dist/stories/Calendar/Legend.stories.d.ts +0 -30
- package/dist/stories/Common/SwipeScroll/SwipeScroll.stories.d.ts +0 -13
- package/dist/stories/Common/SwipeScroll/hooks/useSwipe.d.ts +0 -1
- package/dist/stories/Line/Examples.stories.d.ts +0 -7
- package/dist/stories/Line/Line.stories.d.ts +0 -48
- package/dist/stories/Line/examples/Beeline.d.ts +0 -5
- package/dist/stories/Line/examples/GeoVeb.d.ts +0 -5
- package/dist/stories/Line/examples/GeoVebInterval/data.d.ts +0 -9
- package/dist/stories/Line/examples/GeoVebInterval/index.d.ts +0 -5
- package/dist/stories/Line/examples/GeoVebInterval/styled.d.ts +0 -4
- package/dist/stories/Line/examples/Msp.d.ts +0 -5
- package/dist/stories/Pie/ColorScheme.stories.d.ts +0 -7
- package/dist/stories/Pie/Examples.stories.d.ts +0 -7
- package/dist/stories/Pie/Pie.stories.d.ts +0 -47
- package/dist/stories/Radar/Chart.stories.d.ts +0 -38
- package/dist/stories/Radar/Github.stories.d.ts +0 -7
- package/dist/stories/Radar/Gradient.stories.d.ts +0 -7
- package/dist/stories/Radar/Veb.stories.d.ts +0 -7
- package/dist/stories/Sankey/Examples.stories.d.ts +0 -4
- package/dist/stories/Sankey/examples/RelatedIndustries/data.d.ts +0 -2
- package/dist/stories/Sankey/examples/RelatedIndustries/index.d.ts +0 -5
- package/dist/stories/__internal__/colors.d.ts +0 -40
- package/dist/stories/__internal__/components/BeelineLineChart/hooks/useCustomize.d.ts +0 -11
- package/dist/stories/__internal__/components/BeelineLineChart/hooks/useLineRenderTooltip/index.d.ts +0 -5
- package/dist/stories/__internal__/components/BeelineLineChart/hooks/useLineRenderTooltip/styled.d.ts +0 -5
- package/dist/stories/__internal__/components/BeelineLineChart/index.d.ts +0 -3
- package/dist/stories/__internal__/components/BeelineLineChart/styled.d.ts +0 -3
- package/dist/stories/__internal__/components/BeelineRangeLineChart/Range/index.d.ts +0 -7
- package/dist/stories/__internal__/components/BeelineRangeLineChart/Range/styled.d.ts +0 -3
- package/dist/stories/__internal__/components/BeelineRangeLineChart/hooks/useChange.d.ts +0 -8
- package/dist/stories/__internal__/components/BeelineRangeLineChart/index.d.ts +0 -2
- package/dist/stories/__internal__/components/BeelineRangeLineChart/styled.d.ts +0 -4
- package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/data.d.ts +0 -5
- package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/hooks/useRenderDataTable.d.ts +0 -2
- package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/index.d.ts +0 -2
- package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/styled.d.ts +0 -3
- package/dist/stories/__internal__/components/Divider.d.ts +0 -6
- package/dist/stories/__internal__/components/GeoVebBarCharts.d.ts +0 -2
- package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/data.d.ts +0 -47
- package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/hooks/useRenderTooltip.d.ts +0 -3
- package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/hooks/useSimpleRenderTooltip.d.ts +0 -3
- package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/index.d.ts +0 -4
- package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/styled.d.ts +0 -4
- package/dist/stories/__internal__/components/GeoYearsBarChart/index.d.ts +0 -2
- package/dist/stories/__internal__/components/GeoYearsBarChart/styled.d.ts +0 -4
- package/dist/stories/__internal__/components/MixedTableChart/Chart/index.d.ts +0 -3
- package/dist/stories/__internal__/components/MixedTableChart/Chart/styled.d.ts +0 -2
- package/dist/stories/__internal__/components/MixedTableChart/index.d.ts +0 -3
- package/dist/stories/__internal__/components/MixedTableChart/styled.d.ts +0 -5
- package/dist/stories/__internal__/components/MixedTableChart/types.d.ts +0 -21
- package/dist/stories/__internal__/components/MspDashboardChart/hooks/useAnimation.d.ts +0 -5
- package/dist/stories/__internal__/components/MspDashboardChart/index.d.ts +0 -3
- package/dist/stories/__internal__/components/MspDashboardChart/styled.d.ts +0 -5
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useAnimationAreas.d.ts +0 -6
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useAnimationBars.d.ts +0 -5
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useCustomize.d.ts +0 -4
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useData.d.ts +0 -8
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useMarshalledMap.d.ts +0 -1
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useRenderTooltip.d.ts +0 -2
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/index.d.ts +0 -9
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/styled.d.ts +0 -22
- package/dist/stories/__internal__/components/SankeyTriChart/Groups/getCSSProperties.d.ts +0 -4
- package/dist/stories/__internal__/components/SankeyTriChart/Groups/helpers.d.ts +0 -1
- package/dist/stories/__internal__/components/SankeyTriChart/Groups/index.d.ts +0 -5
- package/dist/stories/__internal__/components/SankeyTriChart/Groups/styled.d.ts +0 -1
- package/dist/stories/__internal__/components/SankeyTriChart/ItemContent/getCSSProperties.d.ts +0 -3
- package/dist/stories/__internal__/components/SankeyTriChart/ItemContent/index.d.ts +0 -5
- package/dist/stories/__internal__/components/SankeyTriChart/ItemContent/styled.d.ts +0 -8
- package/dist/stories/__internal__/components/SankeyTriChart/draw.d.ts +0 -2
- package/dist/stories/__internal__/components/SankeyTriChart/helpers.d.ts +0 -9
- package/dist/stories/__internal__/components/SankeyTriChart/index.d.ts +0 -10
- package/dist/stories/__internal__/components/SankeyTriChart/marshaling.d.ts +0 -6
- package/dist/stories/__internal__/components/SankeyTriChart/styled.d.ts +0 -1
- package/dist/stories/__internal__/components/SankeyTriChart/types.d.ts +0 -40
- package/dist/stories/__internal__/components/SberBarMixChart/colors.d.ts +0 -3
- package/dist/stories/__internal__/components/SberBarMixChart/data.d.ts +0 -8
- package/dist/stories/__internal__/components/SberBarMixChart/hooks/styled.d.ts +0 -3
- package/dist/stories/__internal__/components/SberBarMixChart/hooks/useRenderTooltip.d.ts +0 -2
- package/dist/stories/__internal__/components/SberBarMixChart/index.d.ts +0 -2
- package/dist/stories/__internal__/components/SberBarMixChart/styled.d.ts +0 -1
- package/dist/stories/__internal__/components/StatisticsBarCharts/NumbersStatistics.d.ts +0 -2
- package/dist/stories/__internal__/components/StatisticsBarCharts/StringsStatistics.d.ts +0 -2
- package/dist/stories/__internal__/components/StatisticsBarCharts/index.d.ts +0 -2
- package/dist/stories/__internal__/components/StatisticsBarCharts/styled.d.ts +0 -1
- package/dist/stories/__internal__/components/VebEstimationBarChart/data.d.ts +0 -38
- package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useCustomize.d.ts +0 -5
- package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useDrawBars.d.ts +0 -4
- package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderLabel/index.d.ts +0 -9
- package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderLabel/styled.d.ts +0 -1
- package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderTooltip/index.d.ts +0 -8
- package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderTooltip/styled.d.ts +0 -13
- package/dist/stories/__internal__/components/VebEstimationBarChart/index.d.ts +0 -3
- package/dist/stories/__internal__/components/VebEstimationBarChart/styled.d.ts +0 -2
- package/dist/stories/__internal__/components/VebFilterBarChart/index.d.ts +0 -2
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderSum/index.d.ts +0 -3
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderSum/styled.d.ts +0 -1
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderTooltip/index.d.ts +0 -1
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderTooltip/styled.d.ts +0 -5
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/index.d.ts +0 -3
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/styled.d.ts +0 -5
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/types.d.ts +0 -11
- package/dist/stories/__internal__/curves.d.ts +0 -8
- package/dist/stories/__internal__/data/msp.d.ts +0 -14
- package/dist/stories/__internal__/data/mspDashboard.d.ts +0 -1
- package/dist/stories/__internal__/data/mspPromSupply.d.ts +0 -11
- package/dist/stories/__internal__/data/population.d.ts +0 -4
- package/dist/stories/__internal__/data/veb.d.ts +0 -31
- package/dist/stories/__internal__/helpers/Path.d.ts +0 -10
- package/dist/stories/__internal__/helpers/Vector.d.ts +0 -9
- package/dist/stories/__internal__/helpers/animation.d.ts +0 -15
- package/dist/stories/__internal__/helpers/hexToRGB.d.ts +0 -1
- package/dist/stories/__internal__/helpers/random.d.ts +0 -1
- package/dist/stories/__internal__/helpers/randomData.d.ts +0 -14
- package/dist/stories/__internal__/helpers/randomHorizontalBarData.d.ts +0 -5
- package/dist/stories/__internal__/helpers/randomIntervalData.d.ts +0 -11
- package/dist/stories/__internal__/helpers/randomLineData.d.ts +0 -8
- package/dist/stories/__internal__/helpers/randomText.d.ts +0 -1
- package/dist/stories/__internal__/helpers/roundedRect.d.ts +0 -10
- package/dist/stories/__internal__/helpers/shuffleArray.d.ts +0 -1
- package/dist/stories/__internal__/hooks/useBarData.d.ts +0 -10
- package/dist/stories/__internal__/hooks/useLegend.d.ts +0 -1
- package/dist/stories/__internal__/hooks/useMinMaxValue.d.ts +0 -4
- package/dist/stories/__internal__/interpolates.d.ts +0 -23
- 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 +0 -2
- 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 +0 -2
- 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 +0 -2
- package/dist/storybook-static/main.6b7543c14993fcfcab71.manager.bundle.d.ts +0 -2
- package/dist/storybook-static/main.724b5942.iframe.bundle.d.ts +0 -9
- package/dist/storybook-static/runtime~main.92273705.iframe.bundle.d.ts +0 -1
- package/dist/storybook-static/runtime~main.c89e55a461c11ef29193.manager.bundle.d.ts +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BubbleChartProps } from './types';
|
|
2
|
-
export declare const draw: (node: HTMLElement | null, props: BubbleChartProps) => void;
|
|
1
|
+
import { BubbleChartProps } from './types';
|
|
2
|
+
export declare const draw: (node: HTMLElement | null, props: BubbleChartProps) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DrawGridProps } from './types';
|
|
2
|
-
export declare const drawGrid: ({ svg, yScale, xScale, yTicksCount, drawGridX, drawGridY, }: DrawGridProps) => void;
|
|
1
|
+
import { DrawGridProps } from './types';
|
|
2
|
+
export declare const drawGrid: ({ svg, yScale, xScale, yTicksCount, drawGridX, drawGridY, }: DrawGridProps) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
export
|
|
4
|
-
svg: d3.Selection<SVGSVGElement, unknown, null, undefined>;
|
|
5
|
-
yScale: d3.ScaleLinear<number, number>;
|
|
6
|
-
xScale: d3.ScaleLinear<number, number>;
|
|
7
|
-
yTicksCount: number;
|
|
8
|
-
} & Pick<BubbleChartProps, 'drawGridX' | 'drawGridY'>;
|
|
1
|
+
import { BubbleChartProps } from '../types';
|
|
2
|
+
import * as d3 from 'd3';
|
|
3
|
+
export type DrawGridProps = {
|
|
4
|
+
svg: d3.Selection<SVGSVGElement, unknown, null, undefined>;
|
|
5
|
+
yScale: d3.ScaleLinear<number, number>;
|
|
6
|
+
xScale: d3.ScaleLinear<number, number>;
|
|
7
|
+
yTicksCount: number;
|
|
8
|
+
} & Pick<BubbleChartProps, 'drawGridX' | 'drawGridY'>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DrawTooltipProps } from './types';
|
|
2
|
-
export declare const drawTooltip: ({ bubbles, tooltipRoot, tooltipClassName, renderTooltip, }: DrawTooltipProps) => void;
|
|
1
|
+
import { DrawTooltipProps } from './types';
|
|
2
|
+
export declare const drawTooltip: ({ bubbles, tooltipRoot, tooltipClassName, renderTooltip, }: DrawTooltipProps) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Tooltip: import(
|
|
1
|
+
export declare const Tooltip: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BubbleChartCustomizeProps, BubbleChartProps } from '../types';
|
|
2
|
-
export
|
|
3
|
-
bubbles: BubbleChartCustomizeProps['bubbles'];
|
|
4
|
-
} & Pick<BubbleChartProps, 'tooltipRoot' | 'tooltipClassName' | 'renderTooltip'>;
|
|
1
|
+
import { BubbleChartCustomizeProps, BubbleChartProps } from '../types';
|
|
2
|
+
export type DrawTooltipProps = {
|
|
3
|
+
bubbles: BubbleChartCustomizeProps['bubbles'];
|
|
4
|
+
} & Pick<BubbleChartProps, 'tooltipRoot' | 'tooltipClassName' | 'renderTooltip'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from
|
|
2
|
-
import { BubbleChartProps } from
|
|
3
|
-
export declare const BubbleChart: FC<BubbleChartProps>;
|
|
1
|
+
import { FC } from '../../../node_modules/@types/react';
|
|
2
|
+
import { BubbleChartProps } from './types';
|
|
3
|
+
export declare const BubbleChart: FC<BubbleChartProps>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { JSXElementConstructor } from
|
|
2
|
-
export declare const bubbleChartClassNames: {
|
|
3
|
-
bubbleChartYAxis: string;
|
|
4
|
-
bubbleChartYAxisZeroTick: string;
|
|
5
|
-
bubbleChartXAxis: string;
|
|
6
|
-
bubbleChartGridGlobal: string;
|
|
7
|
-
bubbleChartGridLineX: string;
|
|
8
|
-
bubbleChartGridLineY: string;
|
|
9
|
-
bubbleChartCircle: string;
|
|
10
|
-
bubbleChartYScaleLabel: string;
|
|
11
|
-
bubbleChartTooltip: string;
|
|
12
|
-
bubbleChartTooltipContainer: string;
|
|
13
|
-
bubbleChartTooltipFlex: string;
|
|
14
|
-
bubbleChartTip: string;
|
|
15
|
-
};
|
|
16
|
-
export declare const SvgWrapper: import(
|
|
17
|
-
export declare const TooltipStyles: JSXElementConstructor<any>;
|
|
1
|
+
import { JSXElementConstructor } from '../../../node_modules/@types/react';
|
|
2
|
+
export declare const bubbleChartClassNames: {
|
|
3
|
+
bubbleChartYAxis: string;
|
|
4
|
+
bubbleChartYAxisZeroTick: string;
|
|
5
|
+
bubbleChartXAxis: string;
|
|
6
|
+
bubbleChartGridGlobal: string;
|
|
7
|
+
bubbleChartGridLineX: string;
|
|
8
|
+
bubbleChartGridLineY: string;
|
|
9
|
+
bubbleChartCircle: string;
|
|
10
|
+
bubbleChartYScaleLabel: string;
|
|
11
|
+
bubbleChartTooltip: string;
|
|
12
|
+
bubbleChartTooltipContainer: string;
|
|
13
|
+
bubbleChartTooltipFlex: string;
|
|
14
|
+
bubbleChartTip: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const SvgWrapper: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
17
|
+
export declare const TooltipStyles: JSXElementConstructor<any>;
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { CSSProperties, PropsWithChildren } from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
export
|
|
5
|
-
xValue: number;
|
|
6
|
-
yValue: number;
|
|
7
|
-
sizeValue: number;
|
|
8
|
-
color?: string;
|
|
9
|
-
stroke?: string;
|
|
10
|
-
style?: string;
|
|
11
|
-
name?: string;
|
|
12
|
-
};
|
|
13
|
-
export
|
|
14
|
-
data: BubbleChartData;
|
|
15
|
-
circle: SVGCircleElement;
|
|
16
|
-
tooltip: d3.Selection<HTMLDivElement, unknown, d3.BaseType, any>;
|
|
17
|
-
};
|
|
18
|
-
export
|
|
19
|
-
svg: d3.Selection<SVGSVGElement, unknown, null, undefined>;
|
|
20
|
-
yScale: d3.ScaleLinear<number, number>;
|
|
21
|
-
xScale: d3.ScaleLinear<number, number>;
|
|
22
|
-
sizeScale: d3.ScaleLinear<number, number>;
|
|
23
|
-
bubbles: d3.Selection<SVGCircleElement, BubbleChartData, SVGGElement, unknown>;
|
|
24
|
-
};
|
|
25
|
-
export interface BubbleChartProps extends PropsWithChildren {
|
|
26
|
-
className?: string;
|
|
27
|
-
style?: CSSProperties;
|
|
28
|
-
width?: number;
|
|
29
|
-
height?: number;
|
|
30
|
-
margin?: Margin;
|
|
31
|
-
data: BubbleChartData[];
|
|
32
|
-
xAxisPadding?: number;
|
|
33
|
-
yAxisPadding?: number;
|
|
34
|
-
customYScale?: (yScale: (value: number) => number) => void;
|
|
35
|
-
customYAxisLeft?: (yAxisLeft: d3.Axis<d3.NumberValue>) => void;
|
|
36
|
-
customYAxis?: (yAxis: d3.Selection<SVGGElement, unknown, null, undefined>) => void;
|
|
37
|
-
customXScale?: (xScale: d3.ScaleLinear<number, number, number>) => void;
|
|
38
|
-
customXAxis?: (xAxis: d3.Selection<SVGGElement, unknown, null, undefined>) => void;
|
|
39
|
-
minSize?: number;
|
|
40
|
-
maxSize?: number;
|
|
41
|
-
minYValue?: number;
|
|
42
|
-
maxYValue?: number;
|
|
43
|
-
drawGridY?: boolean;
|
|
44
|
-
drawGridX?: boolean;
|
|
45
|
-
scaleLog?: boolean;
|
|
46
|
-
xScaleItemWidth?: number;
|
|
47
|
-
bubbleStyle?: string;
|
|
48
|
-
customize?: (props: BubbleChartCustomizeProps) => void;
|
|
49
|
-
yScaleLabel?: string;
|
|
50
|
-
yScaleLabelPadding?: number;
|
|
51
|
-
enableTooltip?: boolean;
|
|
52
|
-
tooltipRoot?: Element;
|
|
53
|
-
tooltipClassName?: string;
|
|
54
|
-
renderTooltip?: (props: RenderTooltipProps) => void;
|
|
55
|
-
}
|
|
1
|
+
import { CSSProperties, PropsWithChildren } from '../../../node_modules/@types/react';
|
|
2
|
+
import { Margin } from '../../common/types/margin';
|
|
3
|
+
import * as d3 from "d3";
|
|
4
|
+
export type BubbleChartData = {
|
|
5
|
+
xValue: number;
|
|
6
|
+
yValue: number;
|
|
7
|
+
sizeValue: number;
|
|
8
|
+
color?: string;
|
|
9
|
+
stroke?: string;
|
|
10
|
+
style?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
};
|
|
13
|
+
export type RenderTooltipProps = {
|
|
14
|
+
data: BubbleChartData;
|
|
15
|
+
circle: SVGCircleElement;
|
|
16
|
+
tooltip: d3.Selection<HTMLDivElement, unknown, d3.BaseType, any>;
|
|
17
|
+
};
|
|
18
|
+
export type BubbleChartCustomizeProps = {
|
|
19
|
+
svg: d3.Selection<SVGSVGElement, unknown, null, undefined>;
|
|
20
|
+
yScale: d3.ScaleLinear<number, number>;
|
|
21
|
+
xScale: d3.ScaleLinear<number, number>;
|
|
22
|
+
sizeScale: d3.ScaleLinear<number, number>;
|
|
23
|
+
bubbles: d3.Selection<SVGCircleElement, BubbleChartData, SVGGElement, unknown>;
|
|
24
|
+
};
|
|
25
|
+
export interface BubbleChartProps extends PropsWithChildren {
|
|
26
|
+
className?: string;
|
|
27
|
+
style?: CSSProperties;
|
|
28
|
+
width?: number;
|
|
29
|
+
height?: number;
|
|
30
|
+
margin?: Margin;
|
|
31
|
+
data: BubbleChartData[];
|
|
32
|
+
xAxisPadding?: number;
|
|
33
|
+
yAxisPadding?: number;
|
|
34
|
+
customYScale?: (yScale: (value: number) => number) => void;
|
|
35
|
+
customYAxisLeft?: (yAxisLeft: d3.Axis<d3.NumberValue>) => void;
|
|
36
|
+
customYAxis?: (yAxis: d3.Selection<SVGGElement, unknown, null, undefined>) => void;
|
|
37
|
+
customXScale?: (xScale: d3.ScaleLinear<number, number, number>) => void;
|
|
38
|
+
customXAxis?: (xAxis: d3.Selection<SVGGElement, unknown, null, undefined>) => void;
|
|
39
|
+
minSize?: number;
|
|
40
|
+
maxSize?: number;
|
|
41
|
+
minYValue?: number;
|
|
42
|
+
maxYValue?: number;
|
|
43
|
+
drawGridY?: boolean;
|
|
44
|
+
drawGridX?: boolean;
|
|
45
|
+
scaleLog?: boolean;
|
|
46
|
+
xScaleItemWidth?: number;
|
|
47
|
+
bubbleStyle?: string;
|
|
48
|
+
customize?: (props: BubbleChartCustomizeProps) => void;
|
|
49
|
+
yScaleLabel?: string;
|
|
50
|
+
yScaleLabelPadding?: number;
|
|
51
|
+
enableTooltip?: boolean;
|
|
52
|
+
tooltipRoot?: Element;
|
|
53
|
+
tooltipClassName?: string;
|
|
54
|
+
renderTooltip?: (props: RenderTooltipProps) => void;
|
|
55
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const unmount: (tooltipRoot?: Element) => void;
|
|
1
|
+
export declare const unmount: (tooltipRoot?: Element) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CalendarChartProps } from './types';
|
|
2
|
-
export declare const draw: (node: HTMLElement | null, props: CalendarChartProps) => void;
|
|
1
|
+
import { CalendarChartProps } from './types';
|
|
2
|
+
export declare const draw: (node: HTMLElement | null, props: CalendarChartProps) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from
|
|
2
|
-
import { CalendarChartProps } from
|
|
3
|
-
export declare const CalendarChart: FC<CalendarChartProps>;
|
|
1
|
+
import { FC } from '../../../node_modules/@types/react';
|
|
2
|
+
import { CalendarChartProps } from './types';
|
|
3
|
+
export declare const CalendarChart: FC<CalendarChartProps>;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export declare const calendarChartClassNames: {
|
|
2
|
-
legendContainer: string;
|
|
3
|
-
legendTitle: string;
|
|
4
|
-
legendTick: string;
|
|
5
|
-
legendTickLine: string;
|
|
6
|
-
legendTickText: string;
|
|
7
|
-
calendarChart: string;
|
|
8
|
-
calendarYear: string;
|
|
9
|
-
calendarAxis: string;
|
|
10
|
-
calendarBody: string;
|
|
11
|
-
calendarHeader: string;
|
|
12
|
-
calendarYearTitle: string;
|
|
13
|
-
calendarWeekDay: string;
|
|
14
|
-
calendarMonth: string;
|
|
15
|
-
calendarDays: string;
|
|
16
|
-
calendarDay: string;
|
|
17
|
-
};
|
|
18
|
-
export declare const SvgWrapper: import(
|
|
1
|
+
export declare const calendarChartClassNames: {
|
|
2
|
+
legendContainer: string;
|
|
3
|
+
legendTitle: string;
|
|
4
|
+
legendTick: string;
|
|
5
|
+
legendTickLine: string;
|
|
6
|
+
legendTickText: string;
|
|
7
|
+
calendarChart: string;
|
|
8
|
+
calendarYear: string;
|
|
9
|
+
calendarAxis: string;
|
|
10
|
+
calendarBody: string;
|
|
11
|
+
calendarHeader: string;
|
|
12
|
+
calendarYearTitle: string;
|
|
13
|
+
calendarWeekDay: string;
|
|
14
|
+
calendarMonth: string;
|
|
15
|
+
calendarDays: string;
|
|
16
|
+
calendarDay: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const SvgWrapper: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { CSSProperties, PropsWithChildren } from
|
|
2
|
-
import { Interpolator } from
|
|
3
|
-
import { GetLegendProps } from
|
|
4
|
-
export
|
|
5
|
-
export interface CalendarChartProps extends PropsWithChildren {
|
|
6
|
-
className?: string;
|
|
7
|
-
style?: CSSProperties;
|
|
8
|
-
data: CalendarChartData[];
|
|
9
|
-
startSunday?: boolean;
|
|
10
|
-
weekdays?: string | string[];
|
|
11
|
-
cellOffset?: number;
|
|
12
|
-
cellSize?: number;
|
|
13
|
-
interpolator?: Interpolator;
|
|
14
|
-
monthSpacing?: number;
|
|
15
|
-
onEachDay?: OnEachDay;
|
|
16
|
-
colorRange?: [string, string];
|
|
17
|
-
legendProps?: GetLegendProps;
|
|
18
|
-
}
|
|
19
|
-
export
|
|
20
|
-
date: Date;
|
|
21
|
-
value: number;
|
|
22
|
-
};
|
|
1
|
+
import { CSSProperties, PropsWithChildren } from '../../../node_modules/@types/react';
|
|
2
|
+
import { Interpolator } from '../../common/types/interpolator';
|
|
3
|
+
import { GetLegendProps } from '../../helpers/getLegend/types';
|
|
4
|
+
export type OnEachDay = (data: CalendarChartData, element: HTMLDivElement, color: string) => void;
|
|
5
|
+
export interface CalendarChartProps extends PropsWithChildren {
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
data: CalendarChartData[];
|
|
9
|
+
startSunday?: boolean;
|
|
10
|
+
weekdays?: string | string[];
|
|
11
|
+
cellOffset?: number;
|
|
12
|
+
cellSize?: number;
|
|
13
|
+
interpolator?: Interpolator;
|
|
14
|
+
monthSpacing?: number;
|
|
15
|
+
onEachDay?: OnEachDay;
|
|
16
|
+
colorRange?: [string, string];
|
|
17
|
+
legendProps?: GetLegendProps;
|
|
18
|
+
}
|
|
19
|
+
export type CalendarChartData = {
|
|
20
|
+
date: Date;
|
|
21
|
+
value: number;
|
|
22
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { BarProps } from './types';
|
|
3
|
-
export declare const Bar:
|
|
1
|
+
import { FC } from '../../../../node_modules/@types/react';
|
|
2
|
+
import { BarProps } from './types';
|
|
3
|
+
export declare const Bar: FC<BarProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const BarStyled: import(
|
|
1
|
+
export declare const BarStyled: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { HorizontalBarChartProps, HorizontalBarChartMarshalingData } from '../types';
|
|
2
|
-
import { UseTooltip } from '../hooks/useTooltip/types';
|
|
3
|
-
export
|
|
4
|
-
bar: HorizontalBarChartMarshalingData;
|
|
5
|
-
mouseMove: UseTooltip[0];
|
|
6
|
-
mouseLeave: UseTooltip[1];
|
|
7
|
-
isFirstChild: boolean;
|
|
8
|
-
isLastChild: boolean;
|
|
9
|
-
isOnlyChild: boolean;
|
|
10
|
-
pointerEventsNone?: boolean;
|
|
11
|
-
};
|
|
1
|
+
import { HorizontalBarChartProps, HorizontalBarChartMarshalingData } from '../types';
|
|
2
|
+
import { UseTooltip } from '../hooks/useTooltip/types';
|
|
3
|
+
export type BarProps = Pick<HorizontalBarChartProps, 'withTooltip' | 'formatNativeTitle' | 'tooltipBind'> & {
|
|
4
|
+
bar: HorizontalBarChartMarshalingData;
|
|
5
|
+
mouseMove: UseTooltip[0];
|
|
6
|
+
mouseLeave: UseTooltip[1];
|
|
7
|
+
isFirstChild: boolean;
|
|
8
|
+
isLastChild: boolean;
|
|
9
|
+
isOnlyChild: boolean;
|
|
10
|
+
pointerEventsNone?: boolean;
|
|
11
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { TooltipProps } from './types';
|
|
3
|
-
export declare const Tooltip:
|
|
1
|
+
import { FC } from '../../../../node_modules/@types/react';
|
|
2
|
+
import { TooltipProps } from './types';
|
|
3
|
+
export declare const Tooltip: FC<TooltipProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HorizontalBarChartMarshalingData, HorizontalBarChartProps } from '../types';
|
|
2
|
-
export
|
|
3
|
-
bars: HorizontalBarChartMarshalingData[];
|
|
4
|
-
className?: string;
|
|
5
|
-
} & Pick<HorizontalBarChartProps, 'renderTooltip' | 'style'>;
|
|
1
|
+
import { HorizontalBarChartMarshalingData, HorizontalBarChartProps } from '../types';
|
|
2
|
+
export type TooltipProps = {
|
|
3
|
+
bars: HorizontalBarChartMarshalingData[];
|
|
4
|
+
className?: string;
|
|
5
|
+
} & Pick<HorizontalBarChartProps, 'renderTooltip' | 'style'>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { HorizontalBarChartProps, HorizontalBarChartScaleItem } from '../../types';
|
|
2
|
-
export declare const useScale: ({ maxValue, scaleTicks, scaleDomain, }: Pick<HorizontalBarChartProps,
|
|
1
|
+
import { HorizontalBarChartProps, HorizontalBarChartScaleItem } from '../../types';
|
|
2
|
+
export declare const useScale: ({ maxValue, scaleTicks, scaleDomain, }: Pick<HorizontalBarChartProps, "maxValue" | "scaleTicks" | "scaleDomain">) => HorizontalBarChartScaleItem[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { HorizontalBarChartProps } from '../types';
|
|
3
|
-
export declare const XScale:
|
|
1
|
+
import { FC } from '../../../../node_modules/@types/react';
|
|
2
|
+
import { HorizontalBarChartProps } from '../types';
|
|
3
|
+
export declare const XScale: FC<Pick<HorizontalBarChartProps, "maxValue" | "scaleTicks" | "renderTicks" | "scaleDomain">>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const TickTd: import(
|
|
2
|
-
export declare const Ticks: import(
|
|
3
|
-
export declare const Tick: import(
|
|
1
|
+
export declare const TickTd: import('styled-components').StyledComponent<"td", any, {}, never>;
|
|
2
|
+
export declare const Ticks: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const Tick: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HorizontalBarChartProps, HorizontalBarChartMarshalingData } from '../types';
|
|
2
|
-
export declare const useMarshaling: ({ data, fullExtent, maxValue, labels, }: Pick<HorizontalBarChartProps,
|
|
3
|
-
fullMax: number;
|
|
4
|
-
data: HorizontalBarChartMarshalingData[][];
|
|
5
|
-
};
|
|
1
|
+
import { HorizontalBarChartProps, HorizontalBarChartMarshalingData } from '../types';
|
|
2
|
+
export declare const useMarshaling: ({ data, fullExtent, maxValue, labels, }: Pick<HorizontalBarChartProps, "data" | "fullExtent" | "maxValue" | "labels">) => {
|
|
3
|
+
fullMax: number;
|
|
4
|
+
data: HorizontalBarChartMarshalingData[][];
|
|
5
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { UseTooltip } from './useTooltip/types';
|
|
3
|
-
import { HorizontalBarChartMarshalingData, HorizontalBarChartProps } from '../types';
|
|
4
|
-
export declare const useStackWrapper: (stackedTooltip?: boolean) => (({ item, mouseMove, mouseLeave, tooltipBind, ...props }: {
|
|
5
|
-
style?: CSSProperties;
|
|
6
|
-
item: HorizontalBarChartMarshalingData[];
|
|
7
|
-
tooltipBind: HorizontalBarChartProps[
|
|
8
|
-
mouseMove: UseTooltip[0];
|
|
9
|
-
mouseLeave: UseTooltip[1];
|
|
10
|
-
}) =>
|
|
11
|
-
children?: ReactNode;
|
|
12
|
-
}) =>
|
|
1
|
+
import { CSSProperties, ReactNode } from '../../../../node_modules/@types/react';
|
|
2
|
+
import { UseTooltip } from './useTooltip/types';
|
|
3
|
+
import { HorizontalBarChartMarshalingData, HorizontalBarChartProps } from '../types';
|
|
4
|
+
export declare const useStackWrapper: (stackedTooltip?: boolean) => (({ item, mouseMove, mouseLeave, tooltipBind, ...props }: {
|
|
5
|
+
style?: CSSProperties;
|
|
6
|
+
item: HorizontalBarChartMarshalingData[];
|
|
7
|
+
tooltipBind: HorizontalBarChartProps["tooltipBind"];
|
|
8
|
+
mouseMove: UseTooltip[0];
|
|
9
|
+
mouseLeave: UseTooltip[1];
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element) | (({ children }: {
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
}) => import("react/jsx-runtime").JSX.Element);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { HorizontalBarChartProps } from '../../types';
|
|
2
|
-
import { UseTooltip } from './types';
|
|
3
|
-
export declare const useTooltip: ({ renderTooltip, tooltipBind, tooltipStyle, tooltipRoot, tooltipClassName, hideTooltip, }: Pick<HorizontalBarChartProps,
|
|
1
|
+
import { HorizontalBarChartProps } from '../../types';
|
|
2
|
+
import { UseTooltip } from './types';
|
|
3
|
+
export declare const useTooltip: ({ renderTooltip, tooltipBind, tooltipStyle, tooltipRoot, tooltipClassName, hideTooltip, }: Pick<HorizontalBarChartProps, "renderTooltip" | "tooltipBind" | "tooltipStyle" | "tooltipRoot" | "tooltipClassName" | "hideTooltip">) => UseTooltip;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { HorizontalBarChartMarshalingData } from '../../types';
|
|
3
|
-
export
|
|
1
|
+
import { MouseEvent } from '../../../../../node_modules/@types/react';
|
|
2
|
+
import { HorizontalBarChartMarshalingData } from '../../types';
|
|
3
|
+
export type UseTooltip = [
|
|
4
|
+
(event: MouseEvent, bars: HorizontalBarChartMarshalingData[]) => void,
|
|
5
|
+
() => void
|
|
6
|
+
];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from
|
|
2
|
-
import { HorizontalBarChartProps } from
|
|
3
|
-
export declare const HorizontalBarChart: FC<HorizontalBarChartProps>;
|
|
1
|
+
import { FC } from '../../../node_modules/@types/react';
|
|
2
|
+
import { HorizontalBarChartProps } from './types';
|
|
3
|
+
export declare const HorizontalBarChart: FC<HorizontalBarChartProps>;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export declare const horizontalBarChartClassNames: {
|
|
2
|
-
horizontalBarChartButtonTd: string;
|
|
3
|
-
horizontalBarChartLabelTd: string;
|
|
4
|
-
horizontalBarChartLabelCell: string;
|
|
5
|
-
horizontalBarChartBarTd: string;
|
|
6
|
-
horizontalBarChartBarFlex: string;
|
|
7
|
-
horizontalBarChartBar: string;
|
|
8
|
-
horizontalBarChartBarFirst: string;
|
|
9
|
-
horizontalBarChartBarLast: string;
|
|
10
|
-
horizontalBarChartBarOnly: string;
|
|
11
|
-
horizontalBarChartTooltipFlex: string;
|
|
12
|
-
horizontalBarChartStackWrapper: string;
|
|
13
|
-
horizontalBarChartTooltipContainer: string;
|
|
14
|
-
horizontalBarChartStackSumContainer: string;
|
|
15
|
-
horizontalBarChartStackSum: string;
|
|
16
|
-
horizontalBarChartXScaleTd: string;
|
|
17
|
-
horizontalBarChartXScaleTicks: string;
|
|
18
|
-
horizontalBarChartXScaleTick: string;
|
|
19
|
-
horizontalBarChartTooltipItem: string;
|
|
20
|
-
horizontalBarChartTooltipName: string;
|
|
21
|
-
horizontalBarChartTooltipValue: string;
|
|
22
|
-
};
|
|
23
|
-
export declare const Table: import(
|
|
24
|
-
export declare const LabelCell: import(
|
|
25
|
-
export declare const BarFlex: import(
|
|
26
|
-
export declare const BarsTd: import(
|
|
27
|
-
export declare const TooltipFlex: import(
|
|
28
|
-
export declare const StackSumContainer: import(
|
|
29
|
-
export declare const StackSum: import(
|
|
30
|
-
export declare const StackWrapper: import(
|
|
1
|
+
export declare const horizontalBarChartClassNames: {
|
|
2
|
+
horizontalBarChartButtonTd: string;
|
|
3
|
+
horizontalBarChartLabelTd: string;
|
|
4
|
+
horizontalBarChartLabelCell: string;
|
|
5
|
+
horizontalBarChartBarTd: string;
|
|
6
|
+
horizontalBarChartBarFlex: string;
|
|
7
|
+
horizontalBarChartBar: string;
|
|
8
|
+
horizontalBarChartBarFirst: string;
|
|
9
|
+
horizontalBarChartBarLast: string;
|
|
10
|
+
horizontalBarChartBarOnly: string;
|
|
11
|
+
horizontalBarChartTooltipFlex: string;
|
|
12
|
+
horizontalBarChartStackWrapper: string;
|
|
13
|
+
horizontalBarChartTooltipContainer: string;
|
|
14
|
+
horizontalBarChartStackSumContainer: string;
|
|
15
|
+
horizontalBarChartStackSum: string;
|
|
16
|
+
horizontalBarChartXScaleTd: string;
|
|
17
|
+
horizontalBarChartXScaleTicks: string;
|
|
18
|
+
horizontalBarChartXScaleTick: string;
|
|
19
|
+
horizontalBarChartTooltipItem: string;
|
|
20
|
+
horizontalBarChartTooltipName: string;
|
|
21
|
+
horizontalBarChartTooltipValue: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const Table: import('styled-components').StyledComponent<"table", any, {}, never>;
|
|
24
|
+
export declare const LabelCell: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
25
|
+
export declare const BarFlex: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
26
|
+
export declare const BarsTd: import('styled-components').StyledComponent<"td", any, {}, never>;
|
|
27
|
+
export declare const TooltipFlex: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
28
|
+
export declare const StackSumContainer: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
29
|
+
export declare const StackSum: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
30
|
+
export declare const StackWrapper: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { CSSProperties, PropsWithChildren, ReactNode } from
|
|
2
|
-
export
|
|
3
|
-
name?: ReactNode;
|
|
4
|
-
value: number;
|
|
5
|
-
color: string;
|
|
6
|
-
};
|
|
7
|
-
export interface HorizontalBarChartProps extends PropsWithChildren {
|
|
8
|
-
style?: CSSProperties;
|
|
9
|
-
className?: string;
|
|
10
|
-
data: HorizontalBarChartData[][];
|
|
11
|
-
labels?: ReactNode[];
|
|
12
|
-
fullExtent?: boolean;
|
|
13
|
-
maxValue?: number | undefined;
|
|
14
|
-
formatNativeTitle?: (bar: HorizontalBarChartMarshalingData) => string;
|
|
15
|
-
renderTooltip?: (bar: HorizontalBarChartMarshalingData[]) => ReactNode;
|
|
16
|
-
hideTooltip?: () => void;
|
|
17
|
-
withTooltip?: boolean;
|
|
18
|
-
fullooltip?: boolean;
|
|
19
|
-
stackedTooltip?: boolean;
|
|
20
|
-
fullChartTooltip?: boolean;
|
|
21
|
-
withStackSum?: boolean;
|
|
22
|
-
tooltipBind?: boolean;
|
|
23
|
-
scaleTicks?: number;
|
|
24
|
-
renderTicks?: (tick: HorizontalBarChartScaleItem) => ReactNode;
|
|
25
|
-
renderButton?: (item: HorizontalBarChartMarshalingData[], index: number) => ReactNode;
|
|
26
|
-
tooltipStyle?: CSSProperties;
|
|
27
|
-
tooltipRoot?: Element;
|
|
28
|
-
tooltipClassName?: string;
|
|
29
|
-
scaleDomain?: number[];
|
|
30
|
-
renderDataTable?: (stack: HorizontalBarChartMarshalingData[], stackSum: number, rowIndex: number) => ReactNode;
|
|
31
|
-
thead?: ReactNode;
|
|
32
|
-
withoutXScale?: boolean;
|
|
33
|
-
}
|
|
34
|
-
export
|
|
35
|
-
width: number;
|
|
36
|
-
groupName: ReactNode;
|
|
37
|
-
};
|
|
38
|
-
export
|
|
39
|
-
value: number;
|
|
40
|
-
x: number;
|
|
41
|
-
};
|
|
1
|
+
import { CSSProperties, PropsWithChildren, ReactNode } from '../../../node_modules/@types/react';
|
|
2
|
+
export type HorizontalBarChartData = {
|
|
3
|
+
name?: ReactNode;
|
|
4
|
+
value: number;
|
|
5
|
+
color: string;
|
|
6
|
+
};
|
|
7
|
+
export interface HorizontalBarChartProps extends PropsWithChildren {
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
className?: string;
|
|
10
|
+
data: HorizontalBarChartData[][];
|
|
11
|
+
labels?: ReactNode[];
|
|
12
|
+
fullExtent?: boolean;
|
|
13
|
+
maxValue?: number | undefined;
|
|
14
|
+
formatNativeTitle?: (bar: HorizontalBarChartMarshalingData) => string;
|
|
15
|
+
renderTooltip?: (bar: HorizontalBarChartMarshalingData[]) => ReactNode;
|
|
16
|
+
hideTooltip?: () => void;
|
|
17
|
+
withTooltip?: boolean;
|
|
18
|
+
fullooltip?: boolean;
|
|
19
|
+
stackedTooltip?: boolean;
|
|
20
|
+
fullChartTooltip?: boolean;
|
|
21
|
+
withStackSum?: boolean;
|
|
22
|
+
tooltipBind?: boolean;
|
|
23
|
+
scaleTicks?: number;
|
|
24
|
+
renderTicks?: (tick: HorizontalBarChartScaleItem) => ReactNode;
|
|
25
|
+
renderButton?: (item: HorizontalBarChartMarshalingData[], index: number) => ReactNode;
|
|
26
|
+
tooltipStyle?: CSSProperties;
|
|
27
|
+
tooltipRoot?: Element;
|
|
28
|
+
tooltipClassName?: string;
|
|
29
|
+
scaleDomain?: number[];
|
|
30
|
+
renderDataTable?: (stack: HorizontalBarChartMarshalingData[], stackSum: number, rowIndex: number) => ReactNode;
|
|
31
|
+
thead?: ReactNode;
|
|
32
|
+
withoutXScale?: boolean;
|
|
33
|
+
}
|
|
34
|
+
export type HorizontalBarChartMarshalingData = HorizontalBarChartData & {
|
|
35
|
+
width: number;
|
|
36
|
+
groupName: ReactNode;
|
|
37
|
+
};
|
|
38
|
+
export type HorizontalBarChartScaleItem = {
|
|
39
|
+
value: number;
|
|
40
|
+
x: number;
|
|
41
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { LineChartProps } from './types';
|
|
2
|
-
export declare const draw: (node: HTMLElement | null, props: LineChartProps) => void;
|
|
1
|
+
import { LineChartProps } from './types';
|
|
2
|
+
export declare const draw: (node: HTMLElement | null, props: LineChartProps) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DrawGridProps } from './types';
|
|
2
|
-
export declare const drawGrid: ({ svg, yScale, xScale, yTicksCount, lastIndex, drawGridX, drawGridY, }: DrawGridProps) => void;
|
|
1
|
+
import { DrawGridProps } from './types';
|
|
2
|
+
export declare const drawGrid: ({ svg, yScale, xScale, yTicksCount, lastIndex, drawGridX, drawGridY, }: DrawGridProps) => void;
|