@kubit-ui-web/react-charts 0.1.0
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 +201 -0
- package/README.md +368 -0
- package/dist/cjs/charts/barChart/barChart.d.ts +9 -0
- package/dist/cjs/charts/barChart/barChart.d.ts.map +1 -0
- package/dist/cjs/charts/barChart/barChart.js +30 -0
- package/dist/cjs/charts/barChart/barChart.type.d.ts +116 -0
- package/dist/cjs/charts/barChart/barChart.type.d.ts.map +1 -0
- package/dist/cjs/charts/barChart/barChart.type.js +2 -0
- package/dist/cjs/charts/barChart/barChartStructure.d.ts +3 -0
- package/dist/cjs/charts/barChart/barChartStructure.d.ts.map +1 -0
- package/dist/cjs/charts/barChart/barChartStructure.js +68 -0
- package/dist/cjs/charts/barChart/context/barChartContext.d.ts +3 -0
- package/dist/cjs/charts/barChart/context/barChartContext.d.ts.map +1 -0
- package/dist/cjs/charts/barChart/context/barChartContext.js +5 -0
- package/dist/cjs/charts/barChart/context/buildBarContextValues.d.ts +24 -0
- package/dist/cjs/charts/barChart/context/buildBarContextValues.d.ts.map +1 -0
- package/dist/cjs/charts/barChart/context/buildBarContextValues.js +105 -0
- package/dist/cjs/charts/barChart/fragments/barChartPath.d.ts +3 -0
- package/dist/cjs/charts/barChart/fragments/barChartPath.d.ts.map +1 -0
- package/dist/cjs/charts/barChart/fragments/barChartPath.js +36 -0
- package/dist/cjs/charts/barChart/fragments/barChartSeparator.d.ts +4 -0
- package/dist/cjs/charts/barChart/fragments/barChartSeparator.d.ts.map +1 -0
- package/dist/cjs/charts/barChart/fragments/barChartSeparator.js +26 -0
- package/dist/cjs/charts/barChart/fragments/barChartXAxis.d.ts +4 -0
- package/dist/cjs/charts/barChart/fragments/barChartXAxis.d.ts.map +1 -0
- package/dist/cjs/charts/barChart/fragments/barChartXAxis.js +31 -0
- package/dist/cjs/charts/barChart/fragments/barChartYAxis.d.ts +4 -0
- package/dist/cjs/charts/barChart/fragments/barChartYAxis.d.ts.map +1 -0
- package/dist/cjs/charts/barChart/fragments/barChartYAxis.js +24 -0
- package/dist/cjs/charts/barChart/fragments/fixture/barContextData.d.ts +3 -0
- package/dist/cjs/charts/barChart/fragments/fixture/barContextData.d.ts.map +1 -0
- package/dist/cjs/charts/barChart/fragments/fixture/barContextData.js +44 -0
- package/dist/cjs/charts/barChart/fragments/fixture/index.d.ts +2 -0
- package/dist/cjs/charts/barChart/fragments/fixture/index.d.ts.map +1 -0
- package/dist/cjs/charts/barChart/fragments/fixture/index.js +5 -0
- package/dist/cjs/charts/barChart/index.d.ts +2 -0
- package/dist/cjs/charts/barChart/index.d.ts.map +1 -0
- package/dist/cjs/charts/barChart/index.js +17 -0
- package/dist/cjs/charts/barChart/utils/countBarChildren.d.ts +3 -0
- package/dist/cjs/charts/barChart/utils/countBarChildren.d.ts.map +1 -0
- package/dist/cjs/charts/barChart/utils/countBarChildren.js +15 -0
- package/dist/cjs/charts/barChart/utils/getAxisExtraSpacing.d.ts +17 -0
- package/dist/cjs/charts/barChart/utils/getAxisExtraSpacing.d.ts.map +1 -0
- package/dist/cjs/charts/barChart/utils/getAxisExtraSpacing.js +120 -0
- package/dist/cjs/charts/barChart/utils/getBarDataValue.d.ts +8 -0
- package/dist/cjs/charts/barChart/utils/getBarDataValue.d.ts.map +1 -0
- package/dist/cjs/charts/barChart/utils/getBarDataValue.js +23 -0
- package/dist/cjs/charts/barChart/utils/getRoundedBarMaxValue.d.ts +9 -0
- package/dist/cjs/charts/barChart/utils/getRoundedBarMaxValue.d.ts.map +1 -0
- package/dist/cjs/charts/barChart/utils/getRoundedBarMaxValue.js +15 -0
- package/dist/cjs/charts/index.d.ts +4 -0
- package/dist/cjs/charts/index.d.ts.map +1 -0
- package/dist/cjs/charts/index.js +19 -0
- package/dist/cjs/charts/lineChart/context/buildLineContextValue.d.ts +21 -0
- package/dist/cjs/charts/lineChart/context/buildLineContextValue.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/context/buildLineContextValue.js +138 -0
- package/dist/cjs/charts/lineChart/context/index.d.ts +3 -0
- package/dist/cjs/charts/lineChart/context/index.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/context/index.js +7 -0
- package/dist/cjs/charts/lineChart/context/lineChartContext.d.ts +3 -0
- package/dist/cjs/charts/lineChart/context/lineChartContext.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/context/lineChartContext.js +5 -0
- package/dist/cjs/charts/lineChart/fragments/fixture/contextData.d.ts +43 -0
- package/dist/cjs/charts/lineChart/fragments/fixture/contextData.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/fragments/fixture/contextData.js +43 -0
- package/dist/cjs/charts/lineChart/fragments/fixture/index.d.ts +2 -0
- package/dist/cjs/charts/lineChart/fragments/fixture/index.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/fragments/fixture/index.js +5 -0
- package/dist/cjs/charts/lineChart/fragments/index.d.ts +5 -0
- package/dist/cjs/charts/lineChart/fragments/index.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/fragments/index.js +11 -0
- package/dist/cjs/charts/lineChart/fragments/lineChartPath.css +3 -0
- package/dist/cjs/charts/lineChart/fragments/lineChartPath.d.ts +5 -0
- package/dist/cjs/charts/lineChart/fragments/lineChartPath.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/fragments/lineChartPath.js +109 -0
- package/dist/cjs/charts/lineChart/fragments/lineChartProjection.d.ts +5 -0
- package/dist/cjs/charts/lineChart/fragments/lineChartProjection.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/fragments/lineChartProjection.js +22 -0
- package/dist/cjs/charts/lineChart/fragments/lineChartSeparator.d.ts +4 -0
- package/dist/cjs/charts/lineChart/fragments/lineChartSeparator.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/fragments/lineChartSeparator.js +26 -0
- package/dist/cjs/charts/lineChart/fragments/lineChartXAxis.d.ts +4 -0
- package/dist/cjs/charts/lineChart/fragments/lineChartXAxis.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/fragments/lineChartXAxis.js +41 -0
- package/dist/cjs/charts/lineChart/fragments/lineChartYAxis.d.ts +3 -0
- package/dist/cjs/charts/lineChart/fragments/lineChartYAxis.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/fragments/lineChartYAxis.js +45 -0
- package/dist/cjs/charts/lineChart/hook/index.d.ts +4 -0
- package/dist/cjs/charts/lineChart/hook/index.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/hook/index.js +9 -0
- package/dist/cjs/charts/lineChart/hook/useAutoClick.d.ts +4 -0
- package/dist/cjs/charts/lineChart/hook/useAutoClick.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/hook/useAutoClick.js +23 -0
- package/dist/cjs/charts/lineChart/hook/useHover.d.ts +12 -0
- package/dist/cjs/charts/lineChart/hook/useHover.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/hook/useHover.js +34 -0
- package/dist/cjs/charts/lineChart/hook/useIndicator.d.ts +7 -0
- package/dist/cjs/charts/lineChart/hook/useIndicator.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/hook/useIndicator.js +35 -0
- package/dist/cjs/charts/lineChart/index.d.ts +2 -0
- package/dist/cjs/charts/lineChart/index.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/index.js +17 -0
- package/dist/cjs/charts/lineChart/lineChart.d.ts +9 -0
- package/dist/cjs/charts/lineChart/lineChart.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/lineChart.js +30 -0
- package/dist/cjs/charts/lineChart/lineChart.type.d.ts +164 -0
- package/dist/cjs/charts/lineChart/lineChart.type.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/lineChart.type.js +2 -0
- package/dist/cjs/charts/lineChart/lineChartStructure.d.ts +33 -0
- package/dist/cjs/charts/lineChart/lineChartStructure.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/lineChartStructure.js +137 -0
- package/dist/cjs/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts +14 -0
- package/dist/cjs/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/utils/accessibilityTemplateProcessor.js +60 -0
- package/dist/cjs/charts/lineChart/utils/findSurroundingNumber.d.ts +8 -0
- package/dist/cjs/charts/lineChart/utils/findSurroundingNumber.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/utils/findSurroundingNumber.js +30 -0
- package/dist/cjs/charts/lineChart/utils/getDataValues.d.ts +8 -0
- package/dist/cjs/charts/lineChart/utils/getDataValues.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/utils/getDataValues.js +28 -0
- package/dist/cjs/charts/lineChart/utils/getExtraSpacing.d.ts +19 -0
- package/dist/cjs/charts/lineChart/utils/getExtraSpacing.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/utils/getExtraSpacing.js +128 -0
- package/dist/cjs/charts/lineChart/utils/getPathData.d.ts +18 -0
- package/dist/cjs/charts/lineChart/utils/getPathData.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/utils/getPathData.js +37 -0
- package/dist/cjs/charts/lineChart/utils/getProjection.d.ts +33 -0
- package/dist/cjs/charts/lineChart/utils/getProjection.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/utils/getProjection.js +109 -0
- package/dist/cjs/charts/lineChart/utils/getRoundedMaxValue.d.ts +17 -0
- package/dist/cjs/charts/lineChart/utils/getRoundedMaxValue.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/utils/getRoundedMaxValue.js +30 -0
- package/dist/cjs/charts/lineChart/utils/handleNodesFocus.d.ts +17 -0
- package/dist/cjs/charts/lineChart/utils/handleNodesFocus.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/utils/handleNodesFocus.js +49 -0
- package/dist/cjs/charts/lineChart/utils/index.d.ts +7 -0
- package/dist/cjs/charts/lineChart/utils/index.d.ts.map +1 -0
- package/dist/cjs/charts/lineChart/utils/index.js +17 -0
- package/dist/cjs/charts/pieChart/context/buildPieContextValue.d.ts +16 -0
- package/dist/cjs/charts/pieChart/context/buildPieContextValue.d.ts.map +1 -0
- package/dist/cjs/charts/pieChart/context/buildPieContextValue.js +49 -0
- package/dist/cjs/charts/pieChart/context/index.d.ts +3 -0
- package/dist/cjs/charts/pieChart/context/index.d.ts.map +1 -0
- package/dist/cjs/charts/pieChart/context/index.js +7 -0
- package/dist/cjs/charts/pieChart/context/pieChartContext.d.ts +3 -0
- package/dist/cjs/charts/pieChart/context/pieChartContext.d.ts.map +1 -0
- package/dist/cjs/charts/pieChart/context/pieChartContext.js +5 -0
- package/dist/cjs/charts/pieChart/fragments/index.d.ts +3 -0
- package/dist/cjs/charts/pieChart/fragments/index.d.ts.map +1 -0
- package/dist/cjs/charts/pieChart/fragments/index.js +7 -0
- package/dist/cjs/charts/pieChart/fragments/pieChartForeign.d.ts +4 -0
- package/dist/cjs/charts/pieChart/fragments/pieChartForeign.d.ts.map +1 -0
- package/dist/cjs/charts/pieChart/fragments/pieChartForeign.js +17 -0
- package/dist/cjs/charts/pieChart/fragments/pieChartPath.d.ts +15 -0
- package/dist/cjs/charts/pieChart/fragments/pieChartPath.d.ts.map +1 -0
- package/dist/cjs/charts/pieChart/fragments/pieChartPath.js +32 -0
- package/dist/cjs/charts/pieChart/fragments/pieChartSegment.d.ts +18 -0
- package/dist/cjs/charts/pieChart/fragments/pieChartSegment.d.ts.map +1 -0
- package/dist/cjs/charts/pieChart/fragments/pieChartSegment.js +37 -0
- package/dist/cjs/charts/pieChart/index.d.ts +2 -0
- package/dist/cjs/charts/pieChart/index.d.ts.map +1 -0
- package/dist/cjs/charts/pieChart/index.js +17 -0
- package/dist/cjs/charts/pieChart/pieChart.d.ts +7 -0
- package/dist/cjs/charts/pieChart/pieChart.d.ts.map +1 -0
- package/dist/cjs/charts/pieChart/pieChart.js +26 -0
- package/dist/cjs/charts/pieChart/pieChart.type.d.ts +65 -0
- package/dist/cjs/charts/pieChart/pieChart.type.d.ts.map +1 -0
- package/dist/cjs/charts/pieChart/pieChart.type.js +2 -0
- package/dist/cjs/charts/pieChart/pieChartStructure.d.ts +34 -0
- package/dist/cjs/charts/pieChart/pieChartStructure.d.ts.map +1 -0
- package/dist/cjs/charts/pieChart/pieChartStructure.js +69 -0
- package/dist/cjs/charts/pieChart/utils/buildL.d.ts +13 -0
- package/dist/cjs/charts/pieChart/utils/buildL.d.ts.map +1 -0
- package/dist/cjs/charts/pieChart/utils/buildL.js +13 -0
- package/dist/cjs/charts/pieChart/utils/calculatePoint.d.ts +15 -0
- package/dist/cjs/charts/pieChart/utils/calculatePoint.d.ts.map +1 -0
- package/dist/cjs/charts/pieChart/utils/calculatePoint.js +17 -0
- package/dist/cjs/charts/pieChart/utils/calculateSegmentPath.d.ts +34 -0
- package/dist/cjs/charts/pieChart/utils/calculateSegmentPath.d.ts.map +1 -0
- package/dist/cjs/charts/pieChart/utils/calculateSegmentPath.js +61 -0
- package/dist/cjs/charts/pieChart/utils/drawSegmentPath.d.ts +20 -0
- package/dist/cjs/charts/pieChart/utils/drawSegmentPath.d.ts.map +1 -0
- package/dist/cjs/charts/pieChart/utils/drawSegmentPath.js +45 -0
- package/dist/cjs/charts/pieChart/utils/index.d.ts +3 -0
- package/dist/cjs/charts/pieChart/utils/index.d.ts.map +1 -0
- package/dist/cjs/charts/pieChart/utils/index.js +7 -0
- package/dist/cjs/charts/pieChart/utils/rotationDirection.d.ts +18 -0
- package/dist/cjs/charts/pieChart/utils/rotationDirection.d.ts.map +1 -0
- package/dist/cjs/charts/pieChart/utils/rotationDirection.js +17 -0
- package/dist/cjs/components/axisChart/index.d.ts +3 -0
- package/dist/cjs/components/axisChart/index.d.ts.map +1 -0
- package/dist/cjs/components/axisChart/index.js +18 -0
- package/dist/cjs/components/axisChart/utils/filterLineProps/filterLineProps.d.ts +18 -0
- package/dist/cjs/components/axisChart/utils/filterLineProps/filterLineProps.d.ts.map +1 -0
- package/dist/cjs/components/axisChart/utils/filterLineProps/filterLineProps.js +42 -0
- package/dist/cjs/components/axisChart/utils/index.d.ts +2 -0
- package/dist/cjs/components/axisChart/utils/index.d.ts.map +1 -0
- package/dist/cjs/components/axisChart/utils/index.js +17 -0
- package/dist/cjs/components/axisChart/xAxis/index.d.ts +3 -0
- package/dist/cjs/components/axisChart/xAxis/index.d.ts.map +1 -0
- package/dist/cjs/components/axisChart/xAxis/index.js +18 -0
- package/dist/cjs/components/axisChart/xAxis/xAxis.d.ts +11 -0
- package/dist/cjs/components/axisChart/xAxis/xAxis.d.ts.map +1 -0
- package/dist/cjs/components/axisChart/xAxis/xAxis.js +46 -0
- package/dist/cjs/components/axisChart/xAxis/xAxis.types.d.ts +40 -0
- package/dist/cjs/components/axisChart/xAxis/xAxis.types.d.ts.map +1 -0
- package/dist/cjs/components/axisChart/xAxis/xAxis.types.js +2 -0
- package/dist/cjs/components/axisChart/yAxis/index.d.ts +3 -0
- package/dist/cjs/components/axisChart/yAxis/index.d.ts.map +1 -0
- package/dist/cjs/components/axisChart/yAxis/index.js +18 -0
- package/dist/cjs/components/axisChart/yAxis/yAxis.d.ts +8 -0
- package/dist/cjs/components/axisChart/yAxis/yAxis.d.ts.map +1 -0
- package/dist/cjs/components/axisChart/yAxis/yAxis.js +38 -0
- package/dist/cjs/components/axisChart/yAxis/yAxis.types.d.ts +37 -0
- package/dist/cjs/components/axisChart/yAxis/yAxis.types.d.ts.map +1 -0
- package/dist/cjs/components/axisChart/yAxis/yAxis.types.js +2 -0
- package/dist/cjs/components/bar/bar.d.ts +4 -0
- package/dist/cjs/components/bar/bar.d.ts.map +1 -0
- package/dist/cjs/components/bar/bar.js +33 -0
- package/dist/cjs/components/bar/bar.type.d.ts +32 -0
- package/dist/cjs/components/bar/bar.type.d.ts.map +1 -0
- package/dist/cjs/components/bar/bar.type.js +7 -0
- package/dist/cjs/components/bar/fragments/barChartSegment.d.ts +3 -0
- package/dist/cjs/components/bar/fragments/barChartSegment.d.ts.map +1 -0
- package/dist/cjs/components/bar/fragments/barChartSegment.js +8 -0
- package/dist/cjs/components/bar/index.d.ts +3 -0
- package/dist/cjs/components/bar/index.d.ts.map +1 -0
- package/dist/cjs/components/bar/index.js +18 -0
- package/dist/cjs/components/bar/utils/buildD.d.ts +9 -0
- package/dist/cjs/components/bar/utils/buildD.d.ts.map +1 -0
- package/dist/cjs/components/bar/utils/buildD.js +119 -0
- package/dist/cjs/components/bar/utils/getSegments.d.ts +6 -0
- package/dist/cjs/components/bar/utils/getSegments.d.ts.map +1 -0
- package/dist/cjs/components/bar/utils/getSegments.js +35 -0
- package/dist/cjs/components/chartText/chartText.d.ts +18 -0
- package/dist/cjs/components/chartText/chartText.d.ts.map +1 -0
- package/dist/cjs/components/chartText/chartText.js +22 -0
- package/dist/cjs/components/chartText/chartText.types.d.ts +57 -0
- package/dist/cjs/components/chartText/chartText.types.d.ts.map +1 -0
- package/dist/cjs/components/chartText/chartText.types.js +11 -0
- package/dist/cjs/components/chartText/index.d.ts +3 -0
- package/dist/cjs/components/chartText/index.d.ts.map +1 -0
- package/dist/cjs/components/chartText/index.js +18 -0
- package/dist/cjs/components/foreignObject/foreignObject.d.ts +4 -0
- package/dist/cjs/components/foreignObject/foreignObject.d.ts.map +1 -0
- package/dist/cjs/components/foreignObject/foreignObject.js +8 -0
- package/dist/cjs/components/foreignObject/foreignObject.types.d.ts +10 -0
- package/dist/cjs/components/foreignObject/foreignObject.types.d.ts.map +1 -0
- package/dist/cjs/components/foreignObject/foreignObject.types.js +2 -0
- package/dist/cjs/components/foreignObject/index.d.ts +3 -0
- package/dist/cjs/components/foreignObject/index.d.ts.map +1 -0
- package/dist/cjs/components/foreignObject/index.js +18 -0
- package/dist/cjs/components/index.d.ts +11 -0
- package/dist/cjs/components/index.d.ts.map +1 -0
- package/dist/cjs/components/index.js +26 -0
- package/dist/cjs/components/line/index.d.ts +3 -0
- package/dist/cjs/components/line/index.d.ts.map +1 -0
- package/dist/cjs/components/line/index.js +18 -0
- package/dist/cjs/components/line/line.d.ts +9 -0
- package/dist/cjs/components/line/line.d.ts.map +1 -0
- package/dist/cjs/components/line/line.js +13 -0
- package/dist/cjs/components/line/line.types.d.ts +43 -0
- package/dist/cjs/components/line/line.types.d.ts.map +1 -0
- package/dist/cjs/components/line/line.types.js +2 -0
- package/dist/cjs/components/node/components/circle/circle.d.ts +6 -0
- package/dist/cjs/components/node/components/circle/circle.d.ts.map +1 -0
- package/dist/cjs/components/node/components/circle/circle.js +9 -0
- package/dist/cjs/components/node/components/hexagon/hexagon.d.ts +6 -0
- package/dist/cjs/components/node/components/hexagon/hexagon.d.ts.map +1 -0
- package/dist/cjs/components/node/components/hexagon/hexagon.js +11 -0
- package/dist/cjs/components/node/components/index.d.ts +1 -0
- package/dist/cjs/components/node/components/index.d.ts.map +1 -0
- package/dist/cjs/components/node/components/index.js +1 -0
- package/dist/cjs/components/node/components/pentagon/pentagon.d.ts +6 -0
- package/dist/cjs/components/node/components/pentagon/pentagon.d.ts.map +1 -0
- package/dist/cjs/components/node/components/pentagon/pentagon.js +11 -0
- package/dist/cjs/components/node/components/square/square.d.ts +6 -0
- package/dist/cjs/components/node/components/square/square.d.ts.map +1 -0
- package/dist/cjs/components/node/components/square/square.js +9 -0
- package/dist/cjs/components/node/components/star/star.d.ts +6 -0
- package/dist/cjs/components/node/components/star/star.d.ts.map +1 -0
- package/dist/cjs/components/node/components/star/star.js +13 -0
- package/dist/cjs/components/node/components/straight/straight.d.ts +6 -0
- package/dist/cjs/components/node/components/straight/straight.d.ts.map +1 -0
- package/dist/cjs/components/node/components/straight/straight.js +10 -0
- package/dist/cjs/components/node/components/triangle/triangle.d.ts +6 -0
- package/dist/cjs/components/node/components/triangle/triangle.d.ts.map +1 -0
- package/dist/cjs/components/node/components/triangle/triangle.js +14 -0
- package/dist/cjs/components/node/index.d.ts +3 -0
- package/dist/cjs/components/node/index.d.ts.map +1 -0
- package/dist/cjs/components/node/index.js +18 -0
- package/dist/cjs/components/node/node.d.ts +6 -0
- package/dist/cjs/components/node/node.d.ts.map +1 -0
- package/dist/cjs/components/node/node.js +101 -0
- package/dist/cjs/components/node/node.types.d.ts +101 -0
- package/dist/cjs/components/node/node.types.d.ts.map +1 -0
- package/dist/cjs/components/node/node.types.js +21 -0
- package/dist/cjs/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts +2 -0
- package/dist/cjs/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts.map +1 -0
- package/dist/cjs/components/node/utils/calculateShapePoints/calculateShapePoints.js +22 -0
- package/dist/cjs/components/path/components/nodePath/nodePath.d.ts +14 -0
- package/dist/cjs/components/path/components/nodePath/nodePath.d.ts.map +1 -0
- package/dist/cjs/components/path/components/nodePath/nodePath.js +41 -0
- package/dist/cjs/components/path/index.d.ts +3 -0
- package/dist/cjs/components/path/index.d.ts.map +1 -0
- package/dist/cjs/components/path/index.js +18 -0
- package/dist/cjs/components/path/path.css +29 -0
- package/dist/cjs/components/path/path.d.ts +4 -0
- package/dist/cjs/components/path/path.d.ts.map +1 -0
- package/dist/cjs/components/path/path.js +118 -0
- package/dist/cjs/components/path/path.types.d.ts +74 -0
- package/dist/cjs/components/path/path.types.d.ts.map +1 -0
- package/dist/cjs/components/path/path.types.js +2 -0
- package/dist/cjs/components/plot/components/circle/circle.d.ts +6 -0
- package/dist/cjs/components/plot/components/circle/circle.d.ts.map +1 -0
- package/dist/cjs/components/plot/components/circle/circle.js +9 -0
- package/dist/cjs/components/plot/components/index.d.ts +4 -0
- package/dist/cjs/components/plot/components/index.d.ts.map +1 -0
- package/dist/cjs/components/plot/components/index.js +19 -0
- package/dist/cjs/components/plot/components/square/square.d.ts +6 -0
- package/dist/cjs/components/plot/components/square/square.d.ts.map +1 -0
- package/dist/cjs/components/plot/components/square/square.js +9 -0
- package/dist/cjs/components/plot/components/triangle/triangle.d.ts +6 -0
- package/dist/cjs/components/plot/components/triangle/triangle.d.ts.map +1 -0
- package/dist/cjs/components/plot/components/triangle/triangle.js +17 -0
- package/dist/cjs/components/plot/index.d.ts +3 -0
- package/dist/cjs/components/plot/index.d.ts.map +1 -0
- package/dist/cjs/components/plot/index.js +18 -0
- package/dist/cjs/components/plot/plot.css +12 -0
- package/dist/cjs/components/plot/plot.d.ts +39 -0
- package/dist/cjs/components/plot/plot.d.ts.map +1 -0
- package/dist/cjs/components/plot/plot.js +98 -0
- package/dist/cjs/components/plot/plot.types.d.ts +177 -0
- package/dist/cjs/components/plot/plot.types.d.ts.map +1 -0
- package/dist/cjs/components/plot/plot.types.js +54 -0
- package/dist/cjs/components/svgContainer/index.d.ts +2 -0
- package/dist/cjs/components/svgContainer/index.d.ts.map +1 -0
- package/dist/cjs/components/svgContainer/index.js +17 -0
- package/dist/cjs/components/svgContainer/svgContainer.d.ts +6 -0
- package/dist/cjs/components/svgContainer/svgContainer.d.ts.map +1 -0
- package/dist/cjs/components/svgContainer/svgContainer.js +37 -0
- package/dist/cjs/components/svgContainer/svgContainer.types.d.ts +38 -0
- package/dist/cjs/components/svgContainer/svgContainer.types.d.ts.map +1 -0
- package/dist/cjs/components/svgContainer/svgContainer.types.js +2 -0
- package/dist/cjs/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts +15 -0
- package/dist/cjs/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts.map +1 -0
- package/dist/cjs/components/svgContainer/utils/buildViewBox/buildViewBox.js +24 -0
- package/dist/cjs/components/svgContainer/utils/index.d.ts +2 -0
- package/dist/cjs/components/svgContainer/utils/index.d.ts.map +1 -0
- package/dist/cjs/components/svgContainer/utils/index.js +17 -0
- package/dist/cjs/components/tick/index.d.ts +3 -0
- package/dist/cjs/components/tick/index.d.ts.map +1 -0
- package/dist/cjs/components/tick/index.js +18 -0
- package/dist/cjs/components/tick/tick.d.ts +19 -0
- package/dist/cjs/components/tick/tick.d.ts.map +1 -0
- package/dist/cjs/components/tick/tick.js +23 -0
- package/dist/cjs/components/tick/tick.types.d.ts +51 -0
- package/dist/cjs/components/tick/tick.types.d.ts.map +1 -0
- package/dist/cjs/components/tick/tick.types.js +27 -0
- package/dist/cjs/components/zoomArea/components/HandlerIcon.d.ts +25 -0
- package/dist/cjs/components/zoomArea/components/HandlerIcon.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/components/HandlerIcon.js +26 -0
- package/dist/cjs/components/zoomArea/components/LineRenderer.d.ts +29 -0
- package/dist/cjs/components/zoomArea/components/LineRenderer.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/components/LineRenderer.js +15 -0
- package/dist/cjs/components/zoomArea/components/SelectionArea.d.ts +57 -0
- package/dist/cjs/components/zoomArea/components/SelectionArea.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/components/SelectionArea.js +53 -0
- package/dist/cjs/components/zoomArea/components/ZoomHandler.d.ts +42 -0
- package/dist/cjs/components/zoomArea/components/ZoomHandler.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/components/ZoomHandler.js +63 -0
- package/dist/cjs/components/zoomArea/components/index.d.ts +5 -0
- package/dist/cjs/components/zoomArea/components/index.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/components/index.js +12 -0
- package/dist/cjs/components/zoomArea/hooks/index.d.ts +6 -0
- package/dist/cjs/components/zoomArea/hooks/index.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/hooks/index.js +13 -0
- package/dist/cjs/components/zoomArea/hooks/useDragInteraction.d.ts +42 -0
- package/dist/cjs/components/zoomArea/hooks/useDragInteraction.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/hooks/useDragInteraction.js +114 -0
- package/dist/cjs/components/zoomArea/hooks/useKeyboardNavigation.d.ts +30 -0
- package/dist/cjs/components/zoomArea/hooks/useKeyboardNavigation.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/hooks/useKeyboardNavigation.js +126 -0
- package/dist/cjs/components/zoomArea/hooks/useResponsiveCanvas.d.ts +62 -0
- package/dist/cjs/components/zoomArea/hooks/useResponsiveCanvas.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/hooks/useResponsiveCanvas.js +74 -0
- package/dist/cjs/components/zoomArea/hooks/useZoomAreaFocus.d.ts +24 -0
- package/dist/cjs/components/zoomArea/hooks/useZoomAreaFocus.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/hooks/useZoomAreaFocus.js +32 -0
- package/dist/cjs/components/zoomArea/hooks/useZoomData.d.ts +33 -0
- package/dist/cjs/components/zoomArea/hooks/useZoomData.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/hooks/useZoomData.js +35 -0
- package/dist/cjs/components/zoomArea/index.d.ts +6 -0
- package/dist/cjs/components/zoomArea/index.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/index.js +21 -0
- package/dist/cjs/components/zoomArea/utils/accessibilityLabels.d.ts +28 -0
- package/dist/cjs/components/zoomArea/utils/accessibilityLabels.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/utils/accessibilityLabels.js +65 -0
- package/dist/cjs/components/zoomArea/utils/index.d.ts +4 -0
- package/dist/cjs/components/zoomArea/utils/index.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/utils/index.js +14 -0
- package/dist/cjs/components/zoomArea/utils/indexRounding.d.ts +63 -0
- package/dist/cjs/components/zoomArea/utils/indexRounding.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/utils/indexRounding.js +74 -0
- package/dist/cjs/components/zoomArea/utils/interactionConfig.d.ts +10 -0
- package/dist/cjs/components/zoomArea/utils/interactionConfig.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/utils/interactionConfig.js +27 -0
- package/dist/cjs/components/zoomArea/utils/pathGeneration.d.ts +57 -0
- package/dist/cjs/components/zoomArea/utils/pathGeneration.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/utils/pathGeneration.js +117 -0
- package/dist/cjs/components/zoomArea/utils/rangeAndPositions.d.ts +60 -0
- package/dist/cjs/components/zoomArea/utils/rangeAndPositions.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/utils/rangeAndPositions.js +83 -0
- package/dist/cjs/components/zoomArea/utils/selectionConfig.d.ts +10 -0
- package/dist/cjs/components/zoomArea/utils/selectionConfig.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/utils/selectionConfig.js +33 -0
- package/dist/cjs/components/zoomArea/zoomArea.d.ts +12 -0
- package/dist/cjs/components/zoomArea/zoomArea.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/zoomArea.js +84 -0
- package/dist/cjs/components/zoomArea/zoomArea.type.d.ts +153 -0
- package/dist/cjs/components/zoomArea/zoomArea.type.d.ts.map +1 -0
- package/dist/cjs/components/zoomArea/zoomArea.type.js +11 -0
- package/dist/cjs/hooks/index.d.ts +3 -0
- package/dist/cjs/hooks/index.d.ts.map +1 -0
- package/dist/cjs/hooks/index.js +18 -0
- package/dist/cjs/hooks/useFocus/useFocus.d.ts +15 -0
- package/dist/cjs/hooks/useFocus/useFocus.d.ts.map +1 -0
- package/dist/cjs/hooks/useFocus/useFocus.js +29 -0
- package/dist/cjs/hooks/useFocus/useFocus.types.d.ts +30 -0
- package/dist/cjs/hooks/useFocus/useFocus.types.d.ts.map +1 -0
- package/dist/cjs/hooks/useFocus/useFocus.types.js +2 -0
- package/dist/cjs/hooks/useHover/useHover.d.ts +13 -0
- package/dist/cjs/hooks/useHover/useHover.d.ts.map +1 -0
- package/dist/cjs/hooks/useHover/useHover.js +31 -0
- package/dist/cjs/hooks/useHover/useHover.types.d.ts +30 -0
- package/dist/cjs/hooks/useHover/useHover.types.d.ts.map +1 -0
- package/dist/cjs/hooks/useHover/useHover.types.js +2 -0
- package/dist/cjs/index.d.ts +4 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +19 -0
- package/dist/cjs/types/canvas.type.d.ts +20 -0
- package/dist/cjs/types/canvas.type.d.ts.map +1 -0
- package/dist/cjs/types/canvas.type.js +14 -0
- package/dist/cjs/types/errors.type.d.ts +10 -0
- package/dist/cjs/types/errors.type.d.ts.map +1 -0
- package/dist/cjs/types/errors.type.js +6 -0
- package/dist/cjs/types/focusConfig.type.d.ts +29 -0
- package/dist/cjs/types/focusConfig.type.d.ts.map +1 -0
- package/dist/cjs/types/focusConfig.type.js +15 -0
- package/dist/cjs/types/index.d.ts +5 -0
- package/dist/cjs/types/index.d.ts.map +1 -0
- package/dist/cjs/types/index.js +20 -0
- package/dist/cjs/types/position.enum.d.ts +18 -0
- package/dist/cjs/types/position.enum.d.ts.map +1 -0
- package/dist/cjs/types/position.enum.js +20 -0
- package/dist/cjs/types/unit.enum.d.ts +12 -0
- package/dist/cjs/types/unit.enum.d.ts.map +1 -0
- package/dist/cjs/types/unit.enum.js +14 -0
- package/dist/cjs/types/valueFormatter.type.d.ts +7 -0
- package/dist/cjs/types/valueFormatter.type.d.ts.map +1 -0
- package/dist/cjs/types/valueFormatter.type.js +2 -0
- package/dist/cjs/utils/ajustedTextSpace/ajustedTextSpace.d.ts +2 -0
- package/dist/cjs/utils/ajustedTextSpace/ajustedTextSpace.d.ts.map +1 -0
- package/dist/cjs/utils/ajustedTextSpace/ajustedTextSpace.js +19 -0
- package/dist/cjs/utils/buildErrors/buildErrors.d.ts +6 -0
- package/dist/cjs/utils/buildErrors/buildErrors.d.ts.map +1 -0
- package/dist/cjs/utils/buildErrors/buildErrors.js +12 -0
- package/dist/cjs/utils/buildTickValues/buildTickValues.d.ts +28 -0
- package/dist/cjs/utils/buildTickValues/buildTickValues.d.ts.map +1 -0
- package/dist/cjs/utils/buildTickValues/buildTickValues.js +52 -0
- package/dist/cjs/utils/calculateFocusOutline/calculateFocusOutline.d.ts +73 -0
- package/dist/cjs/utils/calculateFocusOutline/calculateFocusOutline.d.ts.map +1 -0
- package/dist/cjs/utils/calculateFocusOutline/calculateFocusOutline.js +85 -0
- package/dist/cjs/utils/classNames/classNames.d.ts +14 -0
- package/dist/cjs/utils/classNames/classNames.d.ts.map +1 -0
- package/dist/cjs/utils/classNames/classNames.js +29 -0
- package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.d.ts +21 -0
- package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.d.ts.map +1 -0
- package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.js +50 -0
- package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts +12 -0
- package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts.map +1 -0
- package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.types.js +2 -0
- package/dist/cjs/utils/cursorNear/isNear.d.ts +2 -0
- package/dist/cjs/utils/cursorNear/isNear.d.ts.map +1 -0
- package/dist/cjs/utils/cursorNear/isNear.js +7 -0
- package/dist/cjs/utils/getAxisData/getAxisData.d.ts +2 -0
- package/dist/cjs/utils/getAxisData/getAxisData.d.ts.map +1 -0
- package/dist/cjs/utils/getAxisData/getAxisData.js +7 -0
- package/dist/cjs/utils/getCanvasDimensions/getCanvasDimensions.d.ts +22 -0
- package/dist/cjs/utils/getCanvasDimensions/getCanvasDimensions.d.ts.map +1 -0
- package/dist/cjs/utils/getCanvasDimensions/getCanvasDimensions.js +101 -0
- package/dist/cjs/utils/getChildrenAttr/getChildrenAttr.d.ts +10 -0
- package/dist/cjs/utils/getChildrenAttr/getChildrenAttr.d.ts.map +1 -0
- package/dist/cjs/utils/getChildrenAttr/getChildrenAttr.js +19 -0
- package/dist/cjs/utils/getCoordinates/getCoordinates.d.ts +47 -0
- package/dist/cjs/utils/getCoordinates/getCoordinates.d.ts.map +1 -0
- package/dist/cjs/utils/getCoordinates/getCoordinates.js +95 -0
- package/dist/cjs/utils/getDataFingerprint/getDataFingerprint.d.ts +12 -0
- package/dist/cjs/utils/getDataFingerprint/getDataFingerprint.d.ts.map +1 -0
- package/dist/cjs/utils/getDataFingerprint/getDataFingerprint.js +14 -0
- package/dist/cjs/utils/getPoints/getPoints.d.ts +10 -0
- package/dist/cjs/utils/getPoints/getPoints.d.ts.map +1 -0
- package/dist/cjs/utils/getPoints/getPoints.js +53 -0
- package/dist/cjs/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts +21 -0
- package/dist/cjs/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts.map +1 -0
- package/dist/cjs/utils/getTickTextCoordinate/getTickTextCoordinates.js +35 -0
- package/dist/cjs/utils/getTicks/getTicks.d.ts +35 -0
- package/dist/cjs/utils/getTicks/getTicks.d.ts.map +1 -0
- package/dist/cjs/utils/getTicks/getTicks.js +54 -0
- package/dist/cjs/utils/index.d.ts +9 -0
- package/dist/cjs/utils/index.d.ts.map +1 -0
- package/dist/cjs/utils/index.js +24 -0
- package/dist/cjs/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts +11 -0
- package/dist/cjs/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts.map +1 -0
- package/dist/cjs/utils/parseStringToNumberPx.ts/parseStringToNumberPx.js +33 -0
- package/dist/cjs/utils/pickCustomAttributes/pickCustomAttributes.d.ts +33 -0
- package/dist/cjs/utils/pickCustomAttributes/pickCustomAttributes.d.ts.map +1 -0
- package/dist/cjs/utils/pickCustomAttributes/pickCustomAttributes.js +50 -0
- package/dist/cjs/utils/shadowSvg/shadowSvg.d.ts +3 -0
- package/dist/cjs/utils/shadowSvg/shadowSvg.d.ts.map +1 -0
- package/dist/cjs/utils/shadowSvg/shadowSvg.js +8 -0
- package/dist/cjs/utils/shadowSvg/shadowSvg.types.d.ts +35 -0
- package/dist/cjs/utils/shadowSvg/shadowSvg.types.d.ts.map +1 -0
- package/dist/cjs/utils/shadowSvg/shadowSvg.types.js +2 -0
- package/dist/cjs/utils/textBound/textBound.d.ts +11 -0
- package/dist/cjs/utils/textBound/textBound.d.ts.map +1 -0
- package/dist/cjs/utils/textBound/textBound.js +26 -0
- package/dist/esm/charts/barChart/barChart.d.ts +9 -0
- package/dist/esm/charts/barChart/barChart.d.ts.map +1 -0
- package/dist/esm/charts/barChart/barChart.js +13 -0
- package/dist/esm/charts/barChart/barChart.type.d.ts +116 -0
- package/dist/esm/charts/barChart/barChart.type.d.ts.map +1 -0
- package/dist/esm/charts/barChart/barChart.type.js +1 -0
- package/dist/esm/charts/barChart/barChartStructure.d.ts +3 -0
- package/dist/esm/charts/barChart/barChartStructure.d.ts.map +1 -0
- package/dist/esm/charts/barChart/barChartStructure.js +64 -0
- package/dist/esm/charts/barChart/context/barChartContext.d.ts +3 -0
- package/dist/esm/charts/barChart/context/barChartContext.d.ts.map +1 -0
- package/dist/esm/charts/barChart/context/barChartContext.js +2 -0
- package/dist/esm/charts/barChart/context/buildBarContextValues.d.ts +24 -0
- package/dist/esm/charts/barChart/context/buildBarContextValues.d.ts.map +1 -0
- package/dist/esm/charts/barChart/context/buildBarContextValues.js +101 -0
- package/dist/esm/charts/barChart/fragments/barChartPath.d.ts +3 -0
- package/dist/esm/charts/barChart/fragments/barChartPath.d.ts.map +1 -0
- package/dist/esm/charts/barChart/fragments/barChartPath.js +32 -0
- package/dist/esm/charts/barChart/fragments/barChartSeparator.d.ts +4 -0
- package/dist/esm/charts/barChart/fragments/barChartSeparator.d.ts.map +1 -0
- package/dist/esm/charts/barChart/fragments/barChartSeparator.js +22 -0
- package/dist/esm/charts/barChart/fragments/barChartXAxis.d.ts +4 -0
- package/dist/esm/charts/barChart/fragments/barChartXAxis.d.ts.map +1 -0
- package/dist/esm/charts/barChart/fragments/barChartXAxis.js +27 -0
- package/dist/esm/charts/barChart/fragments/barChartYAxis.d.ts +4 -0
- package/dist/esm/charts/barChart/fragments/barChartYAxis.d.ts.map +1 -0
- package/dist/esm/charts/barChart/fragments/barChartYAxis.js +20 -0
- package/dist/esm/charts/barChart/fragments/fixture/barContextData.d.ts +3 -0
- package/dist/esm/charts/barChart/fragments/fixture/barContextData.d.ts.map +1 -0
- package/dist/esm/charts/barChart/fragments/fixture/barContextData.js +41 -0
- package/dist/esm/charts/barChart/fragments/fixture/index.d.ts +2 -0
- package/dist/esm/charts/barChart/fragments/fixture/index.d.ts.map +1 -0
- package/dist/esm/charts/barChart/fragments/fixture/index.js +1 -0
- package/dist/esm/charts/barChart/index.d.ts +2 -0
- package/dist/esm/charts/barChart/index.d.ts.map +1 -0
- package/dist/esm/charts/barChart/index.js +1 -0
- package/dist/esm/charts/barChart/utils/countBarChildren.d.ts +3 -0
- package/dist/esm/charts/barChart/utils/countBarChildren.d.ts.map +1 -0
- package/dist/esm/charts/barChart/utils/countBarChildren.js +11 -0
- package/dist/esm/charts/barChart/utils/getAxisExtraSpacing.d.ts +17 -0
- package/dist/esm/charts/barChart/utils/getAxisExtraSpacing.d.ts.map +1 -0
- package/dist/esm/charts/barChart/utils/getAxisExtraSpacing.js +116 -0
- package/dist/esm/charts/barChart/utils/getBarDataValue.d.ts +8 -0
- package/dist/esm/charts/barChart/utils/getBarDataValue.d.ts.map +1 -0
- package/dist/esm/charts/barChart/utils/getBarDataValue.js +19 -0
- package/dist/esm/charts/barChart/utils/getRoundedBarMaxValue.d.ts +9 -0
- package/dist/esm/charts/barChart/utils/getRoundedBarMaxValue.d.ts.map +1 -0
- package/dist/esm/charts/barChart/utils/getRoundedBarMaxValue.js +11 -0
- package/dist/esm/charts/index.d.ts +4 -0
- package/dist/esm/charts/index.d.ts.map +1 -0
- package/dist/esm/charts/index.js +3 -0
- package/dist/esm/charts/lineChart/context/buildLineContextValue.d.ts +21 -0
- package/dist/esm/charts/lineChart/context/buildLineContextValue.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/context/buildLineContextValue.js +134 -0
- package/dist/esm/charts/lineChart/context/index.d.ts +3 -0
- package/dist/esm/charts/lineChart/context/index.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/context/index.js +2 -0
- package/dist/esm/charts/lineChart/context/lineChartContext.d.ts +3 -0
- package/dist/esm/charts/lineChart/context/lineChartContext.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/context/lineChartContext.js +2 -0
- package/dist/esm/charts/lineChart/fragments/fixture/contextData.d.ts +43 -0
- package/dist/esm/charts/lineChart/fragments/fixture/contextData.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/fragments/fixture/contextData.js +40 -0
- package/dist/esm/charts/lineChart/fragments/fixture/index.d.ts +2 -0
- package/dist/esm/charts/lineChart/fragments/fixture/index.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/fragments/fixture/index.js +1 -0
- package/dist/esm/charts/lineChart/fragments/index.d.ts +5 -0
- package/dist/esm/charts/lineChart/fragments/index.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/fragments/index.js +4 -0
- package/dist/esm/charts/lineChart/fragments/lineChartPath.css +3 -0
- package/dist/esm/charts/lineChart/fragments/lineChartPath.d.ts +5 -0
- package/dist/esm/charts/lineChart/fragments/lineChartPath.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/fragments/lineChartPath.js +105 -0
- package/dist/esm/charts/lineChart/fragments/lineChartProjection.d.ts +5 -0
- package/dist/esm/charts/lineChart/fragments/lineChartProjection.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/fragments/lineChartProjection.js +18 -0
- package/dist/esm/charts/lineChart/fragments/lineChartSeparator.d.ts +4 -0
- package/dist/esm/charts/lineChart/fragments/lineChartSeparator.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/fragments/lineChartSeparator.js +22 -0
- package/dist/esm/charts/lineChart/fragments/lineChartXAxis.d.ts +4 -0
- package/dist/esm/charts/lineChart/fragments/lineChartXAxis.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/fragments/lineChartXAxis.js +37 -0
- package/dist/esm/charts/lineChart/fragments/lineChartYAxis.d.ts +3 -0
- package/dist/esm/charts/lineChart/fragments/lineChartYAxis.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/fragments/lineChartYAxis.js +41 -0
- package/dist/esm/charts/lineChart/hook/index.d.ts +4 -0
- package/dist/esm/charts/lineChart/hook/index.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/hook/index.js +3 -0
- package/dist/esm/charts/lineChart/hook/useAutoClick.d.ts +4 -0
- package/dist/esm/charts/lineChart/hook/useAutoClick.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/hook/useAutoClick.js +19 -0
- package/dist/esm/charts/lineChart/hook/useHover.d.ts +12 -0
- package/dist/esm/charts/lineChart/hook/useHover.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/hook/useHover.js +30 -0
- package/dist/esm/charts/lineChart/hook/useIndicator.d.ts +7 -0
- package/dist/esm/charts/lineChart/hook/useIndicator.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/hook/useIndicator.js +31 -0
- package/dist/esm/charts/lineChart/index.d.ts +2 -0
- package/dist/esm/charts/lineChart/index.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/index.js +1 -0
- package/dist/esm/charts/lineChart/lineChart.d.ts +9 -0
- package/dist/esm/charts/lineChart/lineChart.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/lineChart.js +13 -0
- package/dist/esm/charts/lineChart/lineChart.type.d.ts +164 -0
- package/dist/esm/charts/lineChart/lineChart.type.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/lineChart.type.js +1 -0
- package/dist/esm/charts/lineChart/lineChartStructure.d.ts +33 -0
- package/dist/esm/charts/lineChart/lineChartStructure.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/lineChartStructure.js +133 -0
- package/dist/esm/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts +14 -0
- package/dist/esm/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/utils/accessibilityTemplateProcessor.js +56 -0
- package/dist/esm/charts/lineChart/utils/findSurroundingNumber.d.ts +8 -0
- package/dist/esm/charts/lineChart/utils/findSurroundingNumber.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/utils/findSurroundingNumber.js +25 -0
- package/dist/esm/charts/lineChart/utils/getDataValues.d.ts +8 -0
- package/dist/esm/charts/lineChart/utils/getDataValues.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/utils/getDataValues.js +24 -0
- package/dist/esm/charts/lineChart/utils/getExtraSpacing.d.ts +19 -0
- package/dist/esm/charts/lineChart/utils/getExtraSpacing.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/utils/getExtraSpacing.js +124 -0
- package/dist/esm/charts/lineChart/utils/getPathData.d.ts +18 -0
- package/dist/esm/charts/lineChart/utils/getPathData.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/utils/getPathData.js +33 -0
- package/dist/esm/charts/lineChart/utils/getProjection.d.ts +33 -0
- package/dist/esm/charts/lineChart/utils/getProjection.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/utils/getProjection.js +105 -0
- package/dist/esm/charts/lineChart/utils/getRoundedMaxValue.d.ts +17 -0
- package/dist/esm/charts/lineChart/utils/getRoundedMaxValue.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/utils/getRoundedMaxValue.js +25 -0
- package/dist/esm/charts/lineChart/utils/handleNodesFocus.d.ts +17 -0
- package/dist/esm/charts/lineChart/utils/handleNodesFocus.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/utils/handleNodesFocus.js +45 -0
- package/dist/esm/charts/lineChart/utils/index.d.ts +7 -0
- package/dist/esm/charts/lineChart/utils/index.d.ts.map +1 -0
- package/dist/esm/charts/lineChart/utils/index.js +6 -0
- package/dist/esm/charts/pieChart/context/buildPieContextValue.d.ts +16 -0
- package/dist/esm/charts/pieChart/context/buildPieContextValue.d.ts.map +1 -0
- package/dist/esm/charts/pieChart/context/buildPieContextValue.js +45 -0
- package/dist/esm/charts/pieChart/context/index.d.ts +3 -0
- package/dist/esm/charts/pieChart/context/index.d.ts.map +1 -0
- package/dist/esm/charts/pieChart/context/index.js +2 -0
- package/dist/esm/charts/pieChart/context/pieChartContext.d.ts +3 -0
- package/dist/esm/charts/pieChart/context/pieChartContext.d.ts.map +1 -0
- package/dist/esm/charts/pieChart/context/pieChartContext.js +2 -0
- package/dist/esm/charts/pieChart/fragments/index.d.ts +3 -0
- package/dist/esm/charts/pieChart/fragments/index.d.ts.map +1 -0
- package/dist/esm/charts/pieChart/fragments/index.js +2 -0
- package/dist/esm/charts/pieChart/fragments/pieChartForeign.d.ts +4 -0
- package/dist/esm/charts/pieChart/fragments/pieChartForeign.d.ts.map +1 -0
- package/dist/esm/charts/pieChart/fragments/pieChartForeign.js +13 -0
- package/dist/esm/charts/pieChart/fragments/pieChartPath.d.ts +15 -0
- package/dist/esm/charts/pieChart/fragments/pieChartPath.d.ts.map +1 -0
- package/dist/esm/charts/pieChart/fragments/pieChartPath.js +28 -0
- package/dist/esm/charts/pieChart/fragments/pieChartSegment.d.ts +18 -0
- package/dist/esm/charts/pieChart/fragments/pieChartSegment.d.ts.map +1 -0
- package/dist/esm/charts/pieChart/fragments/pieChartSegment.js +33 -0
- package/dist/esm/charts/pieChart/index.d.ts +2 -0
- package/dist/esm/charts/pieChart/index.d.ts.map +1 -0
- package/dist/esm/charts/pieChart/index.js +1 -0
- package/dist/esm/charts/pieChart/pieChart.d.ts +7 -0
- package/dist/esm/charts/pieChart/pieChart.d.ts.map +1 -0
- package/dist/esm/charts/pieChart/pieChart.js +9 -0
- package/dist/esm/charts/pieChart/pieChart.type.d.ts +65 -0
- package/dist/esm/charts/pieChart/pieChart.type.d.ts.map +1 -0
- package/dist/esm/charts/pieChart/pieChart.type.js +1 -0
- package/dist/esm/charts/pieChart/pieChartStructure.d.ts +34 -0
- package/dist/esm/charts/pieChart/pieChartStructure.d.ts.map +1 -0
- package/dist/esm/charts/pieChart/pieChartStructure.js +65 -0
- package/dist/esm/charts/pieChart/utils/buildL.d.ts +13 -0
- package/dist/esm/charts/pieChart/utils/buildL.d.ts.map +1 -0
- package/dist/esm/charts/pieChart/utils/buildL.js +9 -0
- package/dist/esm/charts/pieChart/utils/calculatePoint.d.ts +15 -0
- package/dist/esm/charts/pieChart/utils/calculatePoint.d.ts.map +1 -0
- package/dist/esm/charts/pieChart/utils/calculatePoint.js +13 -0
- package/dist/esm/charts/pieChart/utils/calculateSegmentPath.d.ts +34 -0
- package/dist/esm/charts/pieChart/utils/calculateSegmentPath.d.ts.map +1 -0
- package/dist/esm/charts/pieChart/utils/calculateSegmentPath.js +57 -0
- package/dist/esm/charts/pieChart/utils/drawSegmentPath.d.ts +20 -0
- package/dist/esm/charts/pieChart/utils/drawSegmentPath.d.ts.map +1 -0
- package/dist/esm/charts/pieChart/utils/drawSegmentPath.js +41 -0
- package/dist/esm/charts/pieChart/utils/index.d.ts +3 -0
- package/dist/esm/charts/pieChart/utils/index.d.ts.map +1 -0
- package/dist/esm/charts/pieChart/utils/index.js +2 -0
- package/dist/esm/charts/pieChart/utils/rotationDirection.d.ts +18 -0
- package/dist/esm/charts/pieChart/utils/rotationDirection.d.ts.map +1 -0
- package/dist/esm/charts/pieChart/utils/rotationDirection.js +13 -0
- package/dist/esm/components/axisChart/index.d.ts +3 -0
- package/dist/esm/components/axisChart/index.d.ts.map +1 -0
- package/dist/esm/components/axisChart/index.js +2 -0
- package/dist/esm/components/axisChart/utils/filterLineProps/filterLineProps.d.ts +18 -0
- package/dist/esm/components/axisChart/utils/filterLineProps/filterLineProps.d.ts.map +1 -0
- package/dist/esm/components/axisChart/utils/filterLineProps/filterLineProps.js +38 -0
- package/dist/esm/components/axisChart/utils/index.d.ts +2 -0
- package/dist/esm/components/axisChart/utils/index.d.ts.map +1 -0
- package/dist/esm/components/axisChart/utils/index.js +1 -0
- package/dist/esm/components/axisChart/xAxis/index.d.ts +3 -0
- package/dist/esm/components/axisChart/xAxis/index.d.ts.map +1 -0
- package/dist/esm/components/axisChart/xAxis/index.js +2 -0
- package/dist/esm/components/axisChart/xAxis/xAxis.d.ts +11 -0
- package/dist/esm/components/axisChart/xAxis/xAxis.d.ts.map +1 -0
- package/dist/esm/components/axisChart/xAxis/xAxis.js +42 -0
- package/dist/esm/components/axisChart/xAxis/xAxis.types.d.ts +40 -0
- package/dist/esm/components/axisChart/xAxis/xAxis.types.d.ts.map +1 -0
- package/dist/esm/components/axisChart/xAxis/xAxis.types.js +1 -0
- package/dist/esm/components/axisChart/yAxis/index.d.ts +3 -0
- package/dist/esm/components/axisChart/yAxis/index.d.ts.map +1 -0
- package/dist/esm/components/axisChart/yAxis/index.js +2 -0
- package/dist/esm/components/axisChart/yAxis/yAxis.d.ts +8 -0
- package/dist/esm/components/axisChart/yAxis/yAxis.d.ts.map +1 -0
- package/dist/esm/components/axisChart/yAxis/yAxis.js +34 -0
- package/dist/esm/components/axisChart/yAxis/yAxis.types.d.ts +37 -0
- package/dist/esm/components/axisChart/yAxis/yAxis.types.d.ts.map +1 -0
- package/dist/esm/components/axisChart/yAxis/yAxis.types.js +1 -0
- package/dist/esm/components/bar/bar.d.ts +4 -0
- package/dist/esm/components/bar/bar.d.ts.map +1 -0
- package/dist/esm/components/bar/bar.js +29 -0
- package/dist/esm/components/bar/bar.type.d.ts +32 -0
- package/dist/esm/components/bar/bar.type.d.ts.map +1 -0
- package/dist/esm/components/bar/bar.type.js +4 -0
- package/dist/esm/components/bar/fragments/barChartSegment.d.ts +3 -0
- package/dist/esm/components/bar/fragments/barChartSegment.d.ts.map +1 -0
- package/dist/esm/components/bar/fragments/barChartSegment.js +4 -0
- package/dist/esm/components/bar/index.d.ts +3 -0
- package/dist/esm/components/bar/index.d.ts.map +1 -0
- package/dist/esm/components/bar/index.js +2 -0
- package/dist/esm/components/bar/utils/buildD.d.ts +9 -0
- package/dist/esm/components/bar/utils/buildD.d.ts.map +1 -0
- package/dist/esm/components/bar/utils/buildD.js +115 -0
- package/dist/esm/components/bar/utils/getSegments.d.ts +6 -0
- package/dist/esm/components/bar/utils/getSegments.d.ts.map +1 -0
- package/dist/esm/components/bar/utils/getSegments.js +31 -0
- package/dist/esm/components/chartText/chartText.d.ts +18 -0
- package/dist/esm/components/chartText/chartText.d.ts.map +1 -0
- package/dist/esm/components/chartText/chartText.js +18 -0
- package/dist/esm/components/chartText/chartText.types.d.ts +57 -0
- package/dist/esm/components/chartText/chartText.types.d.ts.map +1 -0
- package/dist/esm/components/chartText/chartText.types.js +10 -0
- package/dist/esm/components/chartText/index.d.ts +3 -0
- package/dist/esm/components/chartText/index.d.ts.map +1 -0
- package/dist/esm/components/chartText/index.js +2 -0
- package/dist/esm/components/foreignObject/foreignObject.d.ts +4 -0
- package/dist/esm/components/foreignObject/foreignObject.d.ts.map +1 -0
- package/dist/esm/components/foreignObject/foreignObject.js +4 -0
- package/dist/esm/components/foreignObject/foreignObject.types.d.ts +10 -0
- package/dist/esm/components/foreignObject/foreignObject.types.d.ts.map +1 -0
- package/dist/esm/components/foreignObject/foreignObject.types.js +1 -0
- package/dist/esm/components/foreignObject/index.d.ts +3 -0
- package/dist/esm/components/foreignObject/index.d.ts.map +1 -0
- package/dist/esm/components/foreignObject/index.js +2 -0
- package/dist/esm/components/index.d.ts +11 -0
- package/dist/esm/components/index.d.ts.map +1 -0
- package/dist/esm/components/index.js +10 -0
- package/dist/esm/components/line/index.d.ts +3 -0
- package/dist/esm/components/line/index.d.ts.map +1 -0
- package/dist/esm/components/line/index.js +2 -0
- package/dist/esm/components/line/line.d.ts +9 -0
- package/dist/esm/components/line/line.d.ts.map +1 -0
- package/dist/esm/components/line/line.js +9 -0
- package/dist/esm/components/line/line.types.d.ts +43 -0
- package/dist/esm/components/line/line.types.d.ts.map +1 -0
- package/dist/esm/components/line/line.types.js +1 -0
- package/dist/esm/components/node/components/circle/circle.d.ts +6 -0
- package/dist/esm/components/node/components/circle/circle.d.ts.map +1 -0
- package/dist/esm/components/node/components/circle/circle.js +6 -0
- package/dist/esm/components/node/components/hexagon/hexagon.d.ts +6 -0
- package/dist/esm/components/node/components/hexagon/hexagon.d.ts.map +1 -0
- package/dist/esm/components/node/components/hexagon/hexagon.js +8 -0
- package/dist/esm/components/node/components/index.d.ts +1 -0
- package/dist/esm/components/node/components/index.d.ts.map +1 -0
- package/dist/esm/components/node/components/index.js +1 -0
- package/dist/esm/components/node/components/pentagon/pentagon.d.ts +6 -0
- package/dist/esm/components/node/components/pentagon/pentagon.d.ts.map +1 -0
- package/dist/esm/components/node/components/pentagon/pentagon.js +8 -0
- package/dist/esm/components/node/components/square/square.d.ts +6 -0
- package/dist/esm/components/node/components/square/square.d.ts.map +1 -0
- package/dist/esm/components/node/components/square/square.js +6 -0
- package/dist/esm/components/node/components/star/star.d.ts +6 -0
- package/dist/esm/components/node/components/star/star.d.ts.map +1 -0
- package/dist/esm/components/node/components/star/star.js +10 -0
- package/dist/esm/components/node/components/straight/straight.d.ts +6 -0
- package/dist/esm/components/node/components/straight/straight.d.ts.map +1 -0
- package/dist/esm/components/node/components/straight/straight.js +7 -0
- package/dist/esm/components/node/components/triangle/triangle.d.ts +6 -0
- package/dist/esm/components/node/components/triangle/triangle.d.ts.map +1 -0
- package/dist/esm/components/node/components/triangle/triangle.js +11 -0
- package/dist/esm/components/node/index.d.ts +3 -0
- package/dist/esm/components/node/index.d.ts.map +1 -0
- package/dist/esm/components/node/index.js +2 -0
- package/dist/esm/components/node/node.d.ts +6 -0
- package/dist/esm/components/node/node.d.ts.map +1 -0
- package/dist/esm/components/node/node.js +98 -0
- package/dist/esm/components/node/node.types.d.ts +101 -0
- package/dist/esm/components/node/node.types.d.ts.map +1 -0
- package/dist/esm/components/node/node.types.js +18 -0
- package/dist/esm/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts +2 -0
- package/dist/esm/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts.map +1 -0
- package/dist/esm/components/node/utils/calculateShapePoints/calculateShapePoints.js +18 -0
- package/dist/esm/components/path/components/nodePath/nodePath.d.ts +14 -0
- package/dist/esm/components/path/components/nodePath/nodePath.d.ts.map +1 -0
- package/dist/esm/components/path/components/nodePath/nodePath.js +38 -0
- package/dist/esm/components/path/index.d.ts +3 -0
- package/dist/esm/components/path/index.d.ts.map +1 -0
- package/dist/esm/components/path/index.js +2 -0
- package/dist/esm/components/path/path.css +29 -0
- package/dist/esm/components/path/path.d.ts +4 -0
- package/dist/esm/components/path/path.d.ts.map +1 -0
- package/dist/esm/components/path/path.js +115 -0
- package/dist/esm/components/path/path.types.d.ts +74 -0
- package/dist/esm/components/path/path.types.d.ts.map +1 -0
- package/dist/esm/components/path/path.types.js +1 -0
- package/dist/esm/components/plot/components/circle/circle.d.ts +6 -0
- package/dist/esm/components/plot/components/circle/circle.d.ts.map +1 -0
- package/dist/esm/components/plot/components/circle/circle.js +6 -0
- package/dist/esm/components/plot/components/index.d.ts +4 -0
- package/dist/esm/components/plot/components/index.d.ts.map +1 -0
- package/dist/esm/components/plot/components/index.js +3 -0
- package/dist/esm/components/plot/components/square/square.d.ts +6 -0
- package/dist/esm/components/plot/components/square/square.d.ts.map +1 -0
- package/dist/esm/components/plot/components/square/square.js +6 -0
- package/dist/esm/components/plot/components/triangle/triangle.d.ts +6 -0
- package/dist/esm/components/plot/components/triangle/triangle.d.ts.map +1 -0
- package/dist/esm/components/plot/components/triangle/triangle.js +14 -0
- package/dist/esm/components/plot/index.d.ts +3 -0
- package/dist/esm/components/plot/index.d.ts.map +1 -0
- package/dist/esm/components/plot/index.js +2 -0
- package/dist/esm/components/plot/plot.css +12 -0
- package/dist/esm/components/plot/plot.d.ts +39 -0
- package/dist/esm/components/plot/plot.d.ts.map +1 -0
- package/dist/esm/components/plot/plot.js +95 -0
- package/dist/esm/components/plot/plot.types.d.ts +177 -0
- package/dist/esm/components/plot/plot.types.d.ts.map +1 -0
- package/dist/esm/components/plot/plot.types.js +51 -0
- package/dist/esm/components/svgContainer/index.d.ts +2 -0
- package/dist/esm/components/svgContainer/index.d.ts.map +1 -0
- package/dist/esm/components/svgContainer/index.js +1 -0
- package/dist/esm/components/svgContainer/svgContainer.d.ts +6 -0
- package/dist/esm/components/svgContainer/svgContainer.d.ts.map +1 -0
- package/dist/esm/components/svgContainer/svgContainer.js +34 -0
- package/dist/esm/components/svgContainer/svgContainer.types.d.ts +38 -0
- package/dist/esm/components/svgContainer/svgContainer.types.d.ts.map +1 -0
- package/dist/esm/components/svgContainer/svgContainer.types.js +1 -0
- package/dist/esm/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts +15 -0
- package/dist/esm/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts.map +1 -0
- package/dist/esm/components/svgContainer/utils/buildViewBox/buildViewBox.js +20 -0
- package/dist/esm/components/svgContainer/utils/index.d.ts +2 -0
- package/dist/esm/components/svgContainer/utils/index.d.ts.map +1 -0
- package/dist/esm/components/svgContainer/utils/index.js +1 -0
- package/dist/esm/components/tick/index.d.ts +3 -0
- package/dist/esm/components/tick/index.d.ts.map +1 -0
- package/dist/esm/components/tick/index.js +2 -0
- package/dist/esm/components/tick/tick.d.ts +19 -0
- package/dist/esm/components/tick/tick.d.ts.map +1 -0
- package/dist/esm/components/tick/tick.js +19 -0
- package/dist/esm/components/tick/tick.types.d.ts +51 -0
- package/dist/esm/components/tick/tick.types.d.ts.map +1 -0
- package/dist/esm/components/tick/tick.types.js +24 -0
- package/dist/esm/components/zoomArea/components/HandlerIcon.d.ts +25 -0
- package/dist/esm/components/zoomArea/components/HandlerIcon.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/components/HandlerIcon.js +22 -0
- package/dist/esm/components/zoomArea/components/LineRenderer.d.ts +29 -0
- package/dist/esm/components/zoomArea/components/LineRenderer.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/components/LineRenderer.js +11 -0
- package/dist/esm/components/zoomArea/components/SelectionArea.d.ts +57 -0
- package/dist/esm/components/zoomArea/components/SelectionArea.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/components/SelectionArea.js +48 -0
- package/dist/esm/components/zoomArea/components/ZoomHandler.d.ts +42 -0
- package/dist/esm/components/zoomArea/components/ZoomHandler.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/components/ZoomHandler.js +59 -0
- package/dist/esm/components/zoomArea/components/index.d.ts +5 -0
- package/dist/esm/components/zoomArea/components/index.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/components/index.js +4 -0
- package/dist/esm/components/zoomArea/hooks/index.d.ts +6 -0
- package/dist/esm/components/zoomArea/hooks/index.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/hooks/index.js +5 -0
- package/dist/esm/components/zoomArea/hooks/useDragInteraction.d.ts +42 -0
- package/dist/esm/components/zoomArea/hooks/useDragInteraction.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/hooks/useDragInteraction.js +110 -0
- package/dist/esm/components/zoomArea/hooks/useKeyboardNavigation.d.ts +30 -0
- package/dist/esm/components/zoomArea/hooks/useKeyboardNavigation.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/hooks/useKeyboardNavigation.js +122 -0
- package/dist/esm/components/zoomArea/hooks/useResponsiveCanvas.d.ts +62 -0
- package/dist/esm/components/zoomArea/hooks/useResponsiveCanvas.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/hooks/useResponsiveCanvas.js +70 -0
- package/dist/esm/components/zoomArea/hooks/useZoomAreaFocus.d.ts +24 -0
- package/dist/esm/components/zoomArea/hooks/useZoomAreaFocus.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/hooks/useZoomAreaFocus.js +28 -0
- package/dist/esm/components/zoomArea/hooks/useZoomData.d.ts +33 -0
- package/dist/esm/components/zoomArea/hooks/useZoomData.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/hooks/useZoomData.js +31 -0
- package/dist/esm/components/zoomArea/index.d.ts +6 -0
- package/dist/esm/components/zoomArea/index.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/index.js +5 -0
- package/dist/esm/components/zoomArea/utils/accessibilityLabels.d.ts +28 -0
- package/dist/esm/components/zoomArea/utils/accessibilityLabels.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/utils/accessibilityLabels.js +60 -0
- package/dist/esm/components/zoomArea/utils/index.d.ts +4 -0
- package/dist/esm/components/zoomArea/utils/index.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/utils/index.js +3 -0
- package/dist/esm/components/zoomArea/utils/indexRounding.d.ts +63 -0
- package/dist/esm/components/zoomArea/utils/indexRounding.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/utils/indexRounding.js +68 -0
- package/dist/esm/components/zoomArea/utils/interactionConfig.d.ts +10 -0
- package/dist/esm/components/zoomArea/utils/interactionConfig.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/utils/interactionConfig.js +23 -0
- package/dist/esm/components/zoomArea/utils/pathGeneration.d.ts +57 -0
- package/dist/esm/components/zoomArea/utils/pathGeneration.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/utils/pathGeneration.js +112 -0
- package/dist/esm/components/zoomArea/utils/rangeAndPositions.d.ts +60 -0
- package/dist/esm/components/zoomArea/utils/rangeAndPositions.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/utils/rangeAndPositions.js +75 -0
- package/dist/esm/components/zoomArea/utils/selectionConfig.d.ts +10 -0
- package/dist/esm/components/zoomArea/utils/selectionConfig.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/utils/selectionConfig.js +29 -0
- package/dist/esm/components/zoomArea/zoomArea.d.ts +12 -0
- package/dist/esm/components/zoomArea/zoomArea.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/zoomArea.js +80 -0
- package/dist/esm/components/zoomArea/zoomArea.type.d.ts +153 -0
- package/dist/esm/components/zoomArea/zoomArea.type.d.ts.map +1 -0
- package/dist/esm/components/zoomArea/zoomArea.type.js +8 -0
- package/dist/esm/hooks/index.d.ts +3 -0
- package/dist/esm/hooks/index.d.ts.map +1 -0
- package/dist/esm/hooks/index.js +2 -0
- package/dist/esm/hooks/useFocus/useFocus.d.ts +15 -0
- package/dist/esm/hooks/useFocus/useFocus.d.ts.map +1 -0
- package/dist/esm/hooks/useFocus/useFocus.js +25 -0
- package/dist/esm/hooks/useFocus/useFocus.types.d.ts +30 -0
- package/dist/esm/hooks/useFocus/useFocus.types.d.ts.map +1 -0
- package/dist/esm/hooks/useFocus/useFocus.types.js +1 -0
- package/dist/esm/hooks/useHover/useHover.d.ts +13 -0
- package/dist/esm/hooks/useHover/useHover.d.ts.map +1 -0
- package/dist/esm/hooks/useHover/useHover.js +27 -0
- package/dist/esm/hooks/useHover/useHover.types.d.ts +30 -0
- package/dist/esm/hooks/useHover/useHover.types.d.ts.map +1 -0
- package/dist/esm/hooks/useHover/useHover.types.js +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/types/canvas.type.d.ts +20 -0
- package/dist/esm/types/canvas.type.d.ts.map +1 -0
- package/dist/esm/types/canvas.type.js +11 -0
- package/dist/esm/types/errors.type.d.ts +10 -0
- package/dist/esm/types/errors.type.d.ts.map +1 -0
- package/dist/esm/types/errors.type.js +3 -0
- package/dist/esm/types/focusConfig.type.d.ts +29 -0
- package/dist/esm/types/focusConfig.type.d.ts.map +1 -0
- package/dist/esm/types/focusConfig.type.js +12 -0
- package/dist/esm/types/index.d.ts +5 -0
- package/dist/esm/types/index.d.ts.map +1 -0
- package/dist/esm/types/index.js +4 -0
- package/dist/esm/types/position.enum.d.ts +18 -0
- package/dist/esm/types/position.enum.d.ts.map +1 -0
- package/dist/esm/types/position.enum.js +17 -0
- package/dist/esm/types/unit.enum.d.ts +12 -0
- package/dist/esm/types/unit.enum.d.ts.map +1 -0
- package/dist/esm/types/unit.enum.js +11 -0
- package/dist/esm/types/valueFormatter.type.d.ts +7 -0
- package/dist/esm/types/valueFormatter.type.d.ts.map +1 -0
- package/dist/esm/types/valueFormatter.type.js +1 -0
- package/dist/esm/utils/ajustedTextSpace/ajustedTextSpace.d.ts +2 -0
- package/dist/esm/utils/ajustedTextSpace/ajustedTextSpace.d.ts.map +1 -0
- package/dist/esm/utils/ajustedTextSpace/ajustedTextSpace.js +15 -0
- package/dist/esm/utils/buildErrors/buildErrors.d.ts +6 -0
- package/dist/esm/utils/buildErrors/buildErrors.d.ts.map +1 -0
- package/dist/esm/utils/buildErrors/buildErrors.js +8 -0
- package/dist/esm/utils/buildTickValues/buildTickValues.d.ts +28 -0
- package/dist/esm/utils/buildTickValues/buildTickValues.d.ts.map +1 -0
- package/dist/esm/utils/buildTickValues/buildTickValues.js +47 -0
- package/dist/esm/utils/calculateFocusOutline/calculateFocusOutline.d.ts +73 -0
- package/dist/esm/utils/calculateFocusOutline/calculateFocusOutline.d.ts.map +1 -0
- package/dist/esm/utils/calculateFocusOutline/calculateFocusOutline.js +80 -0
- package/dist/esm/utils/classNames/classNames.d.ts +14 -0
- package/dist/esm/utils/classNames/classNames.d.ts.map +1 -0
- package/dist/esm/utils/classNames/classNames.js +25 -0
- package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.d.ts +21 -0
- package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.d.ts.map +1 -0
- package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.js +46 -0
- package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts +12 -0
- package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts.map +1 -0
- package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.types.js +1 -0
- package/dist/esm/utils/cursorNear/isNear.d.ts +2 -0
- package/dist/esm/utils/cursorNear/isNear.d.ts.map +1 -0
- package/dist/esm/utils/cursorNear/isNear.js +3 -0
- package/dist/esm/utils/getAxisData/getAxisData.d.ts +2 -0
- package/dist/esm/utils/getAxisData/getAxisData.d.ts.map +1 -0
- package/dist/esm/utils/getAxisData/getAxisData.js +3 -0
- package/dist/esm/utils/getCanvasDimensions/getCanvasDimensions.d.ts +22 -0
- package/dist/esm/utils/getCanvasDimensions/getCanvasDimensions.d.ts.map +1 -0
- package/dist/esm/utils/getCanvasDimensions/getCanvasDimensions.js +97 -0
- package/dist/esm/utils/getChildrenAttr/getChildrenAttr.d.ts +10 -0
- package/dist/esm/utils/getChildrenAttr/getChildrenAttr.d.ts.map +1 -0
- package/dist/esm/utils/getChildrenAttr/getChildrenAttr.js +15 -0
- package/dist/esm/utils/getCoordinates/getCoordinates.d.ts +47 -0
- package/dist/esm/utils/getCoordinates/getCoordinates.d.ts.map +1 -0
- package/dist/esm/utils/getCoordinates/getCoordinates.js +90 -0
- package/dist/esm/utils/getDataFingerprint/getDataFingerprint.d.ts +12 -0
- package/dist/esm/utils/getDataFingerprint/getDataFingerprint.d.ts.map +1 -0
- package/dist/esm/utils/getDataFingerprint/getDataFingerprint.js +10 -0
- package/dist/esm/utils/getPoints/getPoints.d.ts +10 -0
- package/dist/esm/utils/getPoints/getPoints.d.ts.map +1 -0
- package/dist/esm/utils/getPoints/getPoints.js +49 -0
- package/dist/esm/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts +21 -0
- package/dist/esm/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts.map +1 -0
- package/dist/esm/utils/getTickTextCoordinate/getTickTextCoordinates.js +30 -0
- package/dist/esm/utils/getTicks/getTicks.d.ts +35 -0
- package/dist/esm/utils/getTicks/getTicks.d.ts.map +1 -0
- package/dist/esm/utils/getTicks/getTicks.js +49 -0
- package/dist/esm/utils/index.d.ts +9 -0
- package/dist/esm/utils/index.d.ts.map +1 -0
- package/dist/esm/utils/index.js +8 -0
- package/dist/esm/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts +11 -0
- package/dist/esm/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts.map +1 -0
- package/dist/esm/utils/parseStringToNumberPx.ts/parseStringToNumberPx.js +29 -0
- package/dist/esm/utils/pickCustomAttributes/pickCustomAttributes.d.ts +33 -0
- package/dist/esm/utils/pickCustomAttributes/pickCustomAttributes.d.ts.map +1 -0
- package/dist/esm/utils/pickCustomAttributes/pickCustomAttributes.js +46 -0
- package/dist/esm/utils/shadowSvg/shadowSvg.d.ts +3 -0
- package/dist/esm/utils/shadowSvg/shadowSvg.d.ts.map +1 -0
- package/dist/esm/utils/shadowSvg/shadowSvg.js +4 -0
- package/dist/esm/utils/shadowSvg/shadowSvg.types.d.ts +35 -0
- package/dist/esm/utils/shadowSvg/shadowSvg.types.d.ts.map +1 -0
- package/dist/esm/utils/shadowSvg/shadowSvg.types.js +1 -0
- package/dist/esm/utils/textBound/textBound.d.ts +11 -0
- package/dist/esm/utils/textBound/textBound.d.ts.map +1 -0
- package/dist/esm/utils/textBound/textBound.js +22 -0
- package/dist/kubit-ui-web-react-charts.cjs.js +10 -0
- package/dist/kubit-ui-web-react-charts.es.js +10 -0
- package/dist/kubit-ui-web-react-charts.umd.js +10 -0
- package/dist/react-charts.css +1 -0
- package/dist/types/assets/index.d.ts +2 -0
- package/dist/types/assets/index.d.ts.map +1 -0
- package/dist/types/charts/barChart/barChart.d.ts +9 -0
- package/dist/types/charts/barChart/barChart.d.ts.map +1 -0
- package/dist/types/charts/barChart/barChart.type.d.ts +116 -0
- package/dist/types/charts/barChart/barChart.type.d.ts.map +1 -0
- package/dist/types/charts/barChart/barChartStructure.d.ts +3 -0
- package/dist/types/charts/barChart/barChartStructure.d.ts.map +1 -0
- package/dist/types/charts/barChart/context/barChartContext.d.ts +3 -0
- package/dist/types/charts/barChart/context/barChartContext.d.ts.map +1 -0
- package/dist/types/charts/barChart/context/buildBarContextValues.d.ts +24 -0
- package/dist/types/charts/barChart/context/buildBarContextValues.d.ts.map +1 -0
- package/dist/types/charts/barChart/fragments/barChartPath.d.ts +3 -0
- package/dist/types/charts/barChart/fragments/barChartPath.d.ts.map +1 -0
- package/dist/types/charts/barChart/fragments/barChartSeparator.d.ts +4 -0
- package/dist/types/charts/barChart/fragments/barChartSeparator.d.ts.map +1 -0
- package/dist/types/charts/barChart/fragments/barChartXAxis.d.ts +4 -0
- package/dist/types/charts/barChart/fragments/barChartXAxis.d.ts.map +1 -0
- package/dist/types/charts/barChart/fragments/barChartYAxis.d.ts +4 -0
- package/dist/types/charts/barChart/fragments/barChartYAxis.d.ts.map +1 -0
- package/dist/types/charts/barChart/fragments/fixture/barContextData.d.ts +3 -0
- package/dist/types/charts/barChart/fragments/fixture/barContextData.d.ts.map +1 -0
- package/dist/types/charts/barChart/fragments/fixture/index.d.ts +2 -0
- package/dist/types/charts/barChart/fragments/fixture/index.d.ts.map +1 -0
- package/dist/types/charts/barChart/index.d.ts +2 -0
- package/dist/types/charts/barChart/index.d.ts.map +1 -0
- package/dist/types/charts/barChart/utils/countBarChildren.d.ts +3 -0
- package/dist/types/charts/barChart/utils/countBarChildren.d.ts.map +1 -0
- package/dist/types/charts/barChart/utils/getAxisExtraSpacing.d.ts +17 -0
- package/dist/types/charts/barChart/utils/getAxisExtraSpacing.d.ts.map +1 -0
- package/dist/types/charts/barChart/utils/getBarDataValue.d.ts +8 -0
- package/dist/types/charts/barChart/utils/getBarDataValue.d.ts.map +1 -0
- package/dist/types/charts/barChart/utils/getRoundedBarMaxValue.d.ts +9 -0
- package/dist/types/charts/barChart/utils/getRoundedBarMaxValue.d.ts.map +1 -0
- package/dist/types/charts/index.d.ts +4 -0
- package/dist/types/charts/index.d.ts.map +1 -0
- package/dist/types/charts/lineChart/context/buildLineContextValue.d.ts +21 -0
- package/dist/types/charts/lineChart/context/buildLineContextValue.d.ts.map +1 -0
- package/dist/types/charts/lineChart/context/index.d.ts +3 -0
- package/dist/types/charts/lineChart/context/index.d.ts.map +1 -0
- package/dist/types/charts/lineChart/context/lineChartContext.d.ts +3 -0
- package/dist/types/charts/lineChart/context/lineChartContext.d.ts.map +1 -0
- package/dist/types/charts/lineChart/fragments/fixture/contextData.d.ts +43 -0
- package/dist/types/charts/lineChart/fragments/fixture/contextData.d.ts.map +1 -0
- package/dist/types/charts/lineChart/fragments/fixture/index.d.ts +2 -0
- package/dist/types/charts/lineChart/fragments/fixture/index.d.ts.map +1 -0
- package/dist/types/charts/lineChart/fragments/index.d.ts +5 -0
- package/dist/types/charts/lineChart/fragments/index.d.ts.map +1 -0
- package/dist/types/charts/lineChart/fragments/lineChartPath.d.ts +4 -0
- package/dist/types/charts/lineChart/fragments/lineChartPath.d.ts.map +1 -0
- package/dist/types/charts/lineChart/fragments/lineChartProjection.d.ts +4 -0
- package/dist/types/charts/lineChart/fragments/lineChartProjection.d.ts.map +1 -0
- package/dist/types/charts/lineChart/fragments/lineChartSeparator.d.ts +4 -0
- package/dist/types/charts/lineChart/fragments/lineChartSeparator.d.ts.map +1 -0
- package/dist/types/charts/lineChart/fragments/lineChartXAxis.d.ts +4 -0
- package/dist/types/charts/lineChart/fragments/lineChartXAxis.d.ts.map +1 -0
- package/dist/types/charts/lineChart/fragments/lineChartYAxis.d.ts +3 -0
- package/dist/types/charts/lineChart/fragments/lineChartYAxis.d.ts.map +1 -0
- package/dist/types/charts/lineChart/hook/index.d.ts +4 -0
- package/dist/types/charts/lineChart/hook/index.d.ts.map +1 -0
- package/dist/types/charts/lineChart/hook/useAutoClick.d.ts +4 -0
- package/dist/types/charts/lineChart/hook/useAutoClick.d.ts.map +1 -0
- package/dist/types/charts/lineChart/hook/useHover.d.ts +12 -0
- package/dist/types/charts/lineChart/hook/useHover.d.ts.map +1 -0
- package/dist/types/charts/lineChart/hook/useIndicator.d.ts +7 -0
- package/dist/types/charts/lineChart/hook/useIndicator.d.ts.map +1 -0
- package/dist/types/charts/lineChart/index.d.ts +2 -0
- package/dist/types/charts/lineChart/index.d.ts.map +1 -0
- package/dist/types/charts/lineChart/lineChart.d.ts +9 -0
- package/dist/types/charts/lineChart/lineChart.d.ts.map +1 -0
- package/dist/types/charts/lineChart/lineChart.type.d.ts +164 -0
- package/dist/types/charts/lineChart/lineChart.type.d.ts.map +1 -0
- package/dist/types/charts/lineChart/lineChartStructure.d.ts +33 -0
- package/dist/types/charts/lineChart/lineChartStructure.d.ts.map +1 -0
- package/dist/types/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts +14 -0
- package/dist/types/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts.map +1 -0
- package/dist/types/charts/lineChart/utils/findSurroundingNumber.d.ts +8 -0
- package/dist/types/charts/lineChart/utils/findSurroundingNumber.d.ts.map +1 -0
- package/dist/types/charts/lineChart/utils/getDataValues.d.ts +8 -0
- package/dist/types/charts/lineChart/utils/getDataValues.d.ts.map +1 -0
- package/dist/types/charts/lineChart/utils/getExtraSpacing.d.ts +19 -0
- package/dist/types/charts/lineChart/utils/getExtraSpacing.d.ts.map +1 -0
- package/dist/types/charts/lineChart/utils/getPathData.d.ts +18 -0
- package/dist/types/charts/lineChart/utils/getPathData.d.ts.map +1 -0
- package/dist/types/charts/lineChart/utils/getProjection.d.ts +33 -0
- package/dist/types/charts/lineChart/utils/getProjection.d.ts.map +1 -0
- package/dist/types/charts/lineChart/utils/getRoundedMaxValue.d.ts +17 -0
- package/dist/types/charts/lineChart/utils/getRoundedMaxValue.d.ts.map +1 -0
- package/dist/types/charts/lineChart/utils/handleNodesFocus.d.ts +17 -0
- package/dist/types/charts/lineChart/utils/handleNodesFocus.d.ts.map +1 -0
- package/dist/types/charts/lineChart/utils/index.d.ts +7 -0
- package/dist/types/charts/lineChart/utils/index.d.ts.map +1 -0
- package/dist/types/charts/pieChart/context/buildPieContextValue.d.ts +16 -0
- package/dist/types/charts/pieChart/context/buildPieContextValue.d.ts.map +1 -0
- package/dist/types/charts/pieChart/context/index.d.ts +3 -0
- package/dist/types/charts/pieChart/context/index.d.ts.map +1 -0
- package/dist/types/charts/pieChart/context/pieChartContext.d.ts +3 -0
- package/dist/types/charts/pieChart/context/pieChartContext.d.ts.map +1 -0
- package/dist/types/charts/pieChart/fragments/index.d.ts +3 -0
- package/dist/types/charts/pieChart/fragments/index.d.ts.map +1 -0
- package/dist/types/charts/pieChart/fragments/pieChartForeign.d.ts +4 -0
- package/dist/types/charts/pieChart/fragments/pieChartForeign.d.ts.map +1 -0
- package/dist/types/charts/pieChart/fragments/pieChartPath.d.ts +15 -0
- package/dist/types/charts/pieChart/fragments/pieChartPath.d.ts.map +1 -0
- package/dist/types/charts/pieChart/fragments/pieChartSegment.d.ts +18 -0
- package/dist/types/charts/pieChart/fragments/pieChartSegment.d.ts.map +1 -0
- package/dist/types/charts/pieChart/index.d.ts +2 -0
- package/dist/types/charts/pieChart/index.d.ts.map +1 -0
- package/dist/types/charts/pieChart/pieChart.d.ts +7 -0
- package/dist/types/charts/pieChart/pieChart.d.ts.map +1 -0
- package/dist/types/charts/pieChart/pieChart.type.d.ts +65 -0
- package/dist/types/charts/pieChart/pieChart.type.d.ts.map +1 -0
- package/dist/types/charts/pieChart/pieChartStructure.d.ts +34 -0
- package/dist/types/charts/pieChart/pieChartStructure.d.ts.map +1 -0
- package/dist/types/charts/pieChart/utils/buildL.d.ts +13 -0
- package/dist/types/charts/pieChart/utils/buildL.d.ts.map +1 -0
- package/dist/types/charts/pieChart/utils/calculatePoint.d.ts +15 -0
- package/dist/types/charts/pieChart/utils/calculatePoint.d.ts.map +1 -0
- package/dist/types/charts/pieChart/utils/calculateSegmentPath.d.ts +34 -0
- package/dist/types/charts/pieChart/utils/calculateSegmentPath.d.ts.map +1 -0
- package/dist/types/charts/pieChart/utils/drawSegmentPath.d.ts +20 -0
- package/dist/types/charts/pieChart/utils/drawSegmentPath.d.ts.map +1 -0
- package/dist/types/charts/pieChart/utils/index.d.ts +3 -0
- package/dist/types/charts/pieChart/utils/index.d.ts.map +1 -0
- package/dist/types/charts/pieChart/utils/rotationDirection.d.ts +18 -0
- package/dist/types/charts/pieChart/utils/rotationDirection.d.ts.map +1 -0
- package/dist/types/components/axisChart/index.d.ts +3 -0
- package/dist/types/components/axisChart/index.d.ts.map +1 -0
- package/dist/types/components/axisChart/utils/filterLineProps/filterLineProps.d.ts +18 -0
- package/dist/types/components/axisChart/utils/filterLineProps/filterLineProps.d.ts.map +1 -0
- package/dist/types/components/axisChart/utils/index.d.ts +2 -0
- package/dist/types/components/axisChart/utils/index.d.ts.map +1 -0
- package/dist/types/components/axisChart/xAxis/index.d.ts +3 -0
- package/dist/types/components/axisChart/xAxis/index.d.ts.map +1 -0
- package/dist/types/components/axisChart/xAxis/xAxis.d.ts +11 -0
- package/dist/types/components/axisChart/xAxis/xAxis.d.ts.map +1 -0
- package/dist/types/components/axisChart/xAxis/xAxis.types.d.ts +40 -0
- package/dist/types/components/axisChart/xAxis/xAxis.types.d.ts.map +1 -0
- package/dist/types/components/axisChart/yAxis/index.d.ts +3 -0
- package/dist/types/components/axisChart/yAxis/index.d.ts.map +1 -0
- package/dist/types/components/axisChart/yAxis/yAxis.d.ts +8 -0
- package/dist/types/components/axisChart/yAxis/yAxis.d.ts.map +1 -0
- package/dist/types/components/axisChart/yAxis/yAxis.types.d.ts +37 -0
- package/dist/types/components/axisChart/yAxis/yAxis.types.d.ts.map +1 -0
- package/dist/types/components/bar/bar.d.ts +4 -0
- package/dist/types/components/bar/bar.d.ts.map +1 -0
- package/dist/types/components/bar/bar.type.d.ts +32 -0
- package/dist/types/components/bar/bar.type.d.ts.map +1 -0
- package/dist/types/components/bar/fragments/barChartSegment.d.ts +3 -0
- package/dist/types/components/bar/fragments/barChartSegment.d.ts.map +1 -0
- package/dist/types/components/bar/index.d.ts +3 -0
- package/dist/types/components/bar/index.d.ts.map +1 -0
- package/dist/types/components/bar/utils/buildD.d.ts +9 -0
- package/dist/types/components/bar/utils/buildD.d.ts.map +1 -0
- package/dist/types/components/bar/utils/getSegments.d.ts +6 -0
- package/dist/types/components/bar/utils/getSegments.d.ts.map +1 -0
- package/dist/types/components/chartText/chartText.d.ts +18 -0
- package/dist/types/components/chartText/chartText.d.ts.map +1 -0
- package/dist/types/components/chartText/chartText.types.d.ts +57 -0
- package/dist/types/components/chartText/chartText.types.d.ts.map +1 -0
- package/dist/types/components/chartText/index.d.ts +3 -0
- package/dist/types/components/chartText/index.d.ts.map +1 -0
- package/dist/types/components/foreignObject/foreignObject.d.ts +4 -0
- package/dist/types/components/foreignObject/foreignObject.d.ts.map +1 -0
- package/dist/types/components/foreignObject/foreignObject.types.d.ts +10 -0
- package/dist/types/components/foreignObject/foreignObject.types.d.ts.map +1 -0
- package/dist/types/components/foreignObject/index.d.ts +3 -0
- package/dist/types/components/foreignObject/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +11 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/components/line/index.d.ts +3 -0
- package/dist/types/components/line/index.d.ts.map +1 -0
- package/dist/types/components/line/line.d.ts +9 -0
- package/dist/types/components/line/line.d.ts.map +1 -0
- package/dist/types/components/line/line.types.d.ts +43 -0
- package/dist/types/components/line/line.types.d.ts.map +1 -0
- package/dist/types/components/node/components/circle/circle.d.ts +6 -0
- package/dist/types/components/node/components/circle/circle.d.ts.map +1 -0
- package/dist/types/components/node/components/hexagon/hexagon.d.ts +6 -0
- package/dist/types/components/node/components/hexagon/hexagon.d.ts.map +1 -0
- package/dist/types/components/node/components/index.d.ts +1 -0
- package/dist/types/components/node/components/index.d.ts.map +1 -0
- package/dist/types/components/node/components/pentagon/pentagon.d.ts +6 -0
- package/dist/types/components/node/components/pentagon/pentagon.d.ts.map +1 -0
- package/dist/types/components/node/components/square/square.d.ts +6 -0
- package/dist/types/components/node/components/square/square.d.ts.map +1 -0
- package/dist/types/components/node/components/star/star.d.ts +6 -0
- package/dist/types/components/node/components/star/star.d.ts.map +1 -0
- package/dist/types/components/node/components/straight/straight.d.ts +6 -0
- package/dist/types/components/node/components/straight/straight.d.ts.map +1 -0
- package/dist/types/components/node/components/triangle/triangle.d.ts +6 -0
- package/dist/types/components/node/components/triangle/triangle.d.ts.map +1 -0
- package/dist/types/components/node/index.d.ts +3 -0
- package/dist/types/components/node/index.d.ts.map +1 -0
- package/dist/types/components/node/node.d.ts +6 -0
- package/dist/types/components/node/node.d.ts.map +1 -0
- package/dist/types/components/node/node.types.d.ts +101 -0
- package/dist/types/components/node/node.types.d.ts.map +1 -0
- package/dist/types/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts +2 -0
- package/dist/types/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts.map +1 -0
- package/dist/types/components/path/components/nodePath/nodePath.d.ts +14 -0
- package/dist/types/components/path/components/nodePath/nodePath.d.ts.map +1 -0
- package/dist/types/components/path/index.d.ts +3 -0
- package/dist/types/components/path/index.d.ts.map +1 -0
- package/dist/types/components/path/path.d.ts +3 -0
- package/dist/types/components/path/path.d.ts.map +1 -0
- package/dist/types/components/path/path.types.d.ts +74 -0
- package/dist/types/components/path/path.types.d.ts.map +1 -0
- package/dist/types/components/plot/components/circle/circle.d.ts +6 -0
- package/dist/types/components/plot/components/circle/circle.d.ts.map +1 -0
- package/dist/types/components/plot/components/index.d.ts +4 -0
- package/dist/types/components/plot/components/index.d.ts.map +1 -0
- package/dist/types/components/plot/components/square/square.d.ts +6 -0
- package/dist/types/components/plot/components/square/square.d.ts.map +1 -0
- package/dist/types/components/plot/components/triangle/triangle.d.ts +6 -0
- package/dist/types/components/plot/components/triangle/triangle.d.ts.map +1 -0
- package/dist/types/components/plot/index.d.ts +3 -0
- package/dist/types/components/plot/index.d.ts.map +1 -0
- package/dist/types/components/plot/plot.d.ts +38 -0
- package/dist/types/components/plot/plot.d.ts.map +1 -0
- package/dist/types/components/plot/plot.types.d.ts +177 -0
- package/dist/types/components/plot/plot.types.d.ts.map +1 -0
- package/dist/types/components/svgContainer/index.d.ts +2 -0
- package/dist/types/components/svgContainer/index.d.ts.map +1 -0
- package/dist/types/components/svgContainer/svgContainer.d.ts +6 -0
- package/dist/types/components/svgContainer/svgContainer.d.ts.map +1 -0
- package/dist/types/components/svgContainer/svgContainer.types.d.ts +38 -0
- package/dist/types/components/svgContainer/svgContainer.types.d.ts.map +1 -0
- package/dist/types/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts +15 -0
- package/dist/types/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts.map +1 -0
- package/dist/types/components/svgContainer/utils/index.d.ts +2 -0
- package/dist/types/components/svgContainer/utils/index.d.ts.map +1 -0
- package/dist/types/components/tick/index.d.ts +3 -0
- package/dist/types/components/tick/index.d.ts.map +1 -0
- package/dist/types/components/tick/tick.d.ts +19 -0
- package/dist/types/components/tick/tick.d.ts.map +1 -0
- package/dist/types/components/tick/tick.types.d.ts +51 -0
- package/dist/types/components/tick/tick.types.d.ts.map +1 -0
- package/dist/types/components/zoomArea/components/HandlerIcon.d.ts +25 -0
- package/dist/types/components/zoomArea/components/HandlerIcon.d.ts.map +1 -0
- package/dist/types/components/zoomArea/components/LineRenderer.d.ts +29 -0
- package/dist/types/components/zoomArea/components/LineRenderer.d.ts.map +1 -0
- package/dist/types/components/zoomArea/components/SelectionArea.d.ts +57 -0
- package/dist/types/components/zoomArea/components/SelectionArea.d.ts.map +1 -0
- package/dist/types/components/zoomArea/components/ZoomHandler.d.ts +42 -0
- package/dist/types/components/zoomArea/components/ZoomHandler.d.ts.map +1 -0
- package/dist/types/components/zoomArea/components/index.d.ts +5 -0
- package/dist/types/components/zoomArea/components/index.d.ts.map +1 -0
- package/dist/types/components/zoomArea/hooks/index.d.ts +6 -0
- package/dist/types/components/zoomArea/hooks/index.d.ts.map +1 -0
- package/dist/types/components/zoomArea/hooks/useDragInteraction.d.ts +42 -0
- package/dist/types/components/zoomArea/hooks/useDragInteraction.d.ts.map +1 -0
- package/dist/types/components/zoomArea/hooks/useKeyboardNavigation.d.ts +30 -0
- package/dist/types/components/zoomArea/hooks/useKeyboardNavigation.d.ts.map +1 -0
- package/dist/types/components/zoomArea/hooks/useResponsiveCanvas.d.ts +62 -0
- package/dist/types/components/zoomArea/hooks/useResponsiveCanvas.d.ts.map +1 -0
- package/dist/types/components/zoomArea/hooks/useZoomAreaFocus.d.ts +24 -0
- package/dist/types/components/zoomArea/hooks/useZoomAreaFocus.d.ts.map +1 -0
- package/dist/types/components/zoomArea/hooks/useZoomData.d.ts +33 -0
- package/dist/types/components/zoomArea/hooks/useZoomData.d.ts.map +1 -0
- package/dist/types/components/zoomArea/index.d.ts +6 -0
- package/dist/types/components/zoomArea/index.d.ts.map +1 -0
- package/dist/types/components/zoomArea/utils/accessibilityLabels.d.ts +28 -0
- package/dist/types/components/zoomArea/utils/accessibilityLabels.d.ts.map +1 -0
- package/dist/types/components/zoomArea/utils/index.d.ts +4 -0
- package/dist/types/components/zoomArea/utils/index.d.ts.map +1 -0
- package/dist/types/components/zoomArea/utils/indexRounding.d.ts +63 -0
- package/dist/types/components/zoomArea/utils/indexRounding.d.ts.map +1 -0
- package/dist/types/components/zoomArea/utils/interactionConfig.d.ts +10 -0
- package/dist/types/components/zoomArea/utils/interactionConfig.d.ts.map +1 -0
- package/dist/types/components/zoomArea/utils/pathGeneration.d.ts +57 -0
- package/dist/types/components/zoomArea/utils/pathGeneration.d.ts.map +1 -0
- package/dist/types/components/zoomArea/utils/rangeAndPositions.d.ts +60 -0
- package/dist/types/components/zoomArea/utils/rangeAndPositions.d.ts.map +1 -0
- package/dist/types/components/zoomArea/utils/selectionConfig.d.ts +10 -0
- package/dist/types/components/zoomArea/utils/selectionConfig.d.ts.map +1 -0
- package/dist/types/components/zoomArea/zoomArea.d.ts +12 -0
- package/dist/types/components/zoomArea/zoomArea.d.ts.map +1 -0
- package/dist/types/components/zoomArea/zoomArea.type.d.ts +153 -0
- package/dist/types/components/zoomArea/zoomArea.type.d.ts.map +1 -0
- package/dist/types/hooks/index.d.ts +3 -0
- package/dist/types/hooks/index.d.ts.map +1 -0
- package/dist/types/hooks/useFocus/useFocus.d.ts +15 -0
- package/dist/types/hooks/useFocus/useFocus.d.ts.map +1 -0
- package/dist/types/hooks/useFocus/useFocus.types.d.ts +30 -0
- package/dist/types/hooks/useFocus/useFocus.types.d.ts.map +1 -0
- package/dist/types/hooks/useHover/useHover.d.ts +13 -0
- package/dist/types/hooks/useHover/useHover.d.ts.map +1 -0
- package/dist/types/hooks/useHover/useHover.types.d.ts +30 -0
- package/dist/types/hooks/useHover/useHover.types.d.ts.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/types/canvas.type.d.ts +20 -0
- package/dist/types/types/canvas.type.d.ts.map +1 -0
- package/dist/types/types/errors.type.d.ts +10 -0
- package/dist/types/types/errors.type.d.ts.map +1 -0
- package/dist/types/types/focusConfig.type.d.ts +29 -0
- package/dist/types/types/focusConfig.type.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +5 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/dist/types/types/position.enum.d.ts +18 -0
- package/dist/types/types/position.enum.d.ts.map +1 -0
- package/dist/types/types/unit.enum.d.ts +12 -0
- package/dist/types/types/unit.enum.d.ts.map +1 -0
- package/dist/types/types/valueFormatter.type.d.ts +7 -0
- package/dist/types/types/valueFormatter.type.d.ts.map +1 -0
- package/dist/types/utils/ajustedTextSpace/ajustedTextSpace.d.ts +2 -0
- package/dist/types/utils/ajustedTextSpace/ajustedTextSpace.d.ts.map +1 -0
- package/dist/types/utils/buildErrors/buildErrors.d.ts +6 -0
- package/dist/types/utils/buildErrors/buildErrors.d.ts.map +1 -0
- package/dist/types/utils/buildTickValues/buildTickValues.d.ts +28 -0
- package/dist/types/utils/buildTickValues/buildTickValues.d.ts.map +1 -0
- package/dist/types/utils/calculateFocusOutline/calculateFocusOutline.d.ts +73 -0
- package/dist/types/utils/calculateFocusOutline/calculateFocusOutline.d.ts.map +1 -0
- package/dist/types/utils/classNames/classNames.d.ts +14 -0
- package/dist/types/utils/classNames/classNames.d.ts.map +1 -0
- package/dist/types/utils/cssGradientToSvg/cssGradientToSvg.d.ts +21 -0
- package/dist/types/utils/cssGradientToSvg/cssGradientToSvg.d.ts.map +1 -0
- package/dist/types/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts +12 -0
- package/dist/types/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts.map +1 -0
- package/dist/types/utils/cursorNear/isNear.d.ts +2 -0
- package/dist/types/utils/cursorNear/isNear.d.ts.map +1 -0
- package/dist/types/utils/getAxisData/getAxisData.d.ts +2 -0
- package/dist/types/utils/getAxisData/getAxisData.d.ts.map +1 -0
- package/dist/types/utils/getCanvasDimensions/getCanvasDimensions.d.ts +22 -0
- package/dist/types/utils/getCanvasDimensions/getCanvasDimensions.d.ts.map +1 -0
- package/dist/types/utils/getChildrenAttr/getChildrenAttr.d.ts +10 -0
- package/dist/types/utils/getChildrenAttr/getChildrenAttr.d.ts.map +1 -0
- package/dist/types/utils/getCoordinates/getCoordinates.d.ts +47 -0
- package/dist/types/utils/getCoordinates/getCoordinates.d.ts.map +1 -0
- package/dist/types/utils/getDataFingerprint/getDataFingerprint.d.ts +12 -0
- package/dist/types/utils/getDataFingerprint/getDataFingerprint.d.ts.map +1 -0
- package/dist/types/utils/getPoints/getPoints.d.ts +10 -0
- package/dist/types/utils/getPoints/getPoints.d.ts.map +1 -0
- package/dist/types/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts +21 -0
- package/dist/types/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts.map +1 -0
- package/dist/types/utils/getTicks/getTicks.d.ts +35 -0
- package/dist/types/utils/getTicks/getTicks.d.ts.map +1 -0
- package/dist/types/utils/index.d.ts +9 -0
- package/dist/types/utils/index.d.ts.map +1 -0
- package/dist/types/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts +11 -0
- package/dist/types/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts.map +1 -0
- package/dist/types/utils/pickCustomAttributes/pickCustomAttributes.d.ts +33 -0
- package/dist/types/utils/pickCustomAttributes/pickCustomAttributes.d.ts.map +1 -0
- package/dist/types/utils/shadowSvg/shadowSvg.d.ts +3 -0
- package/dist/types/utils/shadowSvg/shadowSvg.d.ts.map +1 -0
- package/dist/types/utils/shadowSvg/shadowSvg.types.d.ts +35 -0
- package/dist/types/utils/shadowSvg/shadowSvg.types.d.ts.map +1 -0
- package/dist/types/utils/textBound/textBound.d.ts +11 -0
- package/dist/types/utils/textBound/textBound.d.ts.map +1 -0
- package/package.json +225 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enum for plot types.
|
|
3
|
+
*
|
|
4
|
+
* This enumeration defines the possible types of plot points that can be represented in a chart.
|
|
5
|
+
* It includes basic geometric shapes such as circles, squares, and triangles.
|
|
6
|
+
*
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
export const PlotType = {
|
|
10
|
+
/** Represents a circle plot point */
|
|
11
|
+
CIRCLE: 'CIRCLE',
|
|
12
|
+
/** Represents a square plot point */
|
|
13
|
+
SQUARE: 'SQUARE',
|
|
14
|
+
/** Represents a triangle plot point */
|
|
15
|
+
TRIANGLE: 'TRIANGLE',
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Enum for plot sizes.
|
|
19
|
+
*
|
|
20
|
+
* This enumeration defines the different size options available for plot points.
|
|
21
|
+
* Sizes range from extra small to extra large, with specific pixel dimensions.
|
|
22
|
+
*
|
|
23
|
+
* @enum {string}
|
|
24
|
+
*/
|
|
25
|
+
export const PlotSize = {
|
|
26
|
+
/** Extra large plot point (40x40 pixels) */
|
|
27
|
+
EXTRA_LARGE: 'EXTRA_LARGE',
|
|
28
|
+
/** Extra small plot point (8x8 pixels) */
|
|
29
|
+
EXTRA_SMALL: 'EXTRA_SMALL',
|
|
30
|
+
/** Large plot point (32x32 pixels) */
|
|
31
|
+
LARGE: 'LARGE',
|
|
32
|
+
/** Medium plot point (24x24 pixels) */
|
|
33
|
+
MEDIUM: 'MEDIUM',
|
|
34
|
+
/** Small plot point (16x16 pixels) */
|
|
35
|
+
SMALL: 'SMALL',
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Mapping of PlotSize enum values to their actual pixel dimensions.
|
|
39
|
+
*
|
|
40
|
+
* This constant provides a direct mapping between the enum values and
|
|
41
|
+
* their corresponding numeric size values in pixels.
|
|
42
|
+
*
|
|
43
|
+
* @type {Record<PlotSize, number>}
|
|
44
|
+
*/
|
|
45
|
+
export const PLOT_SIZE_MAP = {
|
|
46
|
+
[PlotSize.EXTRA_LARGE]: 40,
|
|
47
|
+
[PlotSize.EXTRA_SMALL]: 8,
|
|
48
|
+
[PlotSize.LARGE]: 32,
|
|
49
|
+
[PlotSize.MEDIUM]: 24,
|
|
50
|
+
[PlotSize.SMALL]: 16,
|
|
51
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/svgContainer/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './svgContainer';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type ForwardedRef } from 'react';
|
|
2
|
+
import type { SvgContainerProps } from './svgContainer.types';
|
|
3
|
+
export declare const SvgContainer: (props: SvgContainerProps & {
|
|
4
|
+
ref?: ForwardedRef<SVGSVGElement>;
|
|
5
|
+
}) => JSX.Element;
|
|
6
|
+
//# sourceMappingURL=svgContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"svgContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/svgContainer/svgContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,YAAY,EAAc,MAAM,OAAO,CAAC;AAErF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AA0E9D,eAAO,MAAM,YAAY,EAAwC,CAC/D,KAAK,EAAE,iBAAiB,GAAG;IACzB,GAAG,CAAC,EAAE,YAAY,CAAC,aAAa,CAAC,CAAC;CACnC,KACE,GAAG,CAAC,OAAO,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Renders an SVG container with customizable properties.
|
|
5
|
+
*
|
|
6
|
+
* This component is designed to encapsulate an SVG element, providing a flexible interface for defining its dimensions,
|
|
7
|
+
* accessibility features, and other attributes. It supports dynamic content through its children, allowing for complex
|
|
8
|
+
* SVG graphics to be composed within. The component also adheres to accessibility standards by allowing ARIA attributes
|
|
9
|
+
* and roles to be specified.
|
|
10
|
+
*
|
|
11
|
+
* @param {SvgContainerProps} props - The properties for configuring the SVG container.
|
|
12
|
+
* @param {string | number} props.width - The width of the SVG container. Can be specified as a number (pixels) or a string (percentage, em, etc.).
|
|
13
|
+
* @param {string | number} props.height - The height of the SVG container. Similar to width, it accepts both numbers and strings.
|
|
14
|
+
* @param {ReactNode} props.children - The SVG content to be rendered inside the container. This can include shapes, paths, text, and other SVG elements.
|
|
15
|
+
* @param {string} [props.className='svg-container'] - An optional CSS class name for styling the SVG container.
|
|
16
|
+
* @param {string} [props.role='img'] - An optional ARIA role to define the semantic meaning of the SVG container. Defaults to 'img'.
|
|
17
|
+
* @param {string} [props.ariaLabel='Chart Container'] - An optional ARIA label to provide an accessible name for the SVG container.
|
|
18
|
+
* @param {number} [props.tabIndex=0] - An optional tab index to control the SVG container's focusability and order in the tab navigation sequence.
|
|
19
|
+
* @param {string} [props.caption='Chart Container'] - An optional caption for the SVG content. This is rendered as a <title> element within the SVG for accessibility purposes.
|
|
20
|
+
* @param {string} [props.viewBox] - An optional attribute to specify the position and dimension, in user space, of an SVG viewport.
|
|
21
|
+
* @param {string} [props.dataTestId] - An optional attribute used for identifying the element in tests.
|
|
22
|
+
* @param {string} [props.overflow] - Controls SVG overflow behavior. Can be set via the overflow prop or CSS className. Common values: 'visible', 'hidden', 'scroll', 'auto'. Use className for styling control.
|
|
23
|
+
* @param {backgroundColor} [props.backgroundColor] - Sets a background color for the svg.
|
|
24
|
+
*
|
|
25
|
+
* @returns {ReactElement} A React element representing the SVG container.
|
|
26
|
+
*/
|
|
27
|
+
const SvgContainerComponent = ({ ariaHidden, ariaLabel, backgroundColor, caption, children, className, dataTestId, height, imageSrc, overflow, radius = '0px', role, tabIndex, viewBox, width, ...callbacks }, ref) => {
|
|
28
|
+
return (_jsxs("svg", { ref: ref, "aria-hidden": ariaHidden, "aria-label": ariaLabel, className: className, "data-testid": dataTestId, height: height, role: role, style: {
|
|
29
|
+
backgroundColor: backgroundColor,
|
|
30
|
+
borderRadius: radius,
|
|
31
|
+
overflow: overflow,
|
|
32
|
+
}, tabIndex: tabIndex, viewBox: viewBox, width: width, onMouseDown: e => e.preventDefault(), ...callbacks, children: [caption && _jsx("title", { children: caption }), imageSrc && _jsx("image", { height: height, href: imageSrc, width: width, x: "0", y: "0" }), children] }));
|
|
33
|
+
};
|
|
34
|
+
export const SvgContainer = forwardRef(SvgContainerComponent);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type definition for the `height` property of the `SvgContainerProps`.
|
|
3
|
+
* It restricts the value to either a `string` or `number`, but never 'auto' as a string value.
|
|
4
|
+
*/
|
|
5
|
+
type Height = string extends 'auto' ? never : string | number;
|
|
6
|
+
/**
|
|
7
|
+
* Defines the properties accepted by the `SvgContainer` component.
|
|
8
|
+
*
|
|
9
|
+
* This interface specifies the types and optional properties for rendering an SVG container,
|
|
10
|
+
* including dimensions, accessibility attributes, and child elements.
|
|
11
|
+
*/
|
|
12
|
+
export interface SvgContainerProps {
|
|
13
|
+
width: string | number;
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
className?: string;
|
|
16
|
+
role?: string;
|
|
17
|
+
ariaLabel?: string;
|
|
18
|
+
ariaHidden?: boolean;
|
|
19
|
+
height: Height;
|
|
20
|
+
tabIndex?: number;
|
|
21
|
+
caption?: string;
|
|
22
|
+
viewBox?: string;
|
|
23
|
+
dataTestId?: string;
|
|
24
|
+
radius?: string;
|
|
25
|
+
overflow?: string;
|
|
26
|
+
imageSrc?: string;
|
|
27
|
+
backgroundColor?: string;
|
|
28
|
+
onClick?: (event: React.MouseEvent<SVGElement, MouseEvent>) => void;
|
|
29
|
+
onDoubleClick?: (event: React.MouseEvent<SVGElement, MouseEvent>) => void;
|
|
30
|
+
onMouseEnter?: (event: React.MouseEvent<SVGElement, MouseEvent>) => void;
|
|
31
|
+
onMouseLeave?: (event: React.MouseEvent<SVGElement, MouseEvent>) => void;
|
|
32
|
+
onFocus?: (event: React.FocusEvent<SVGElement>) => void;
|
|
33
|
+
onBlur?: (event: React.FocusEvent<SVGElement>) => void;
|
|
34
|
+
onKeyDown?: (event: React.KeyboardEvent<SVGSVGElement>) => void;
|
|
35
|
+
onKeyUp?: (event: React.KeyboardEvent<SVGSVGElement>) => void;
|
|
36
|
+
}
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=svgContainer.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"svgContainer.types.d.ts","sourceRoot":"","sources":["../../../../src/components/svgContainer/svgContainer.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,KAAK,MAAM,GAAG,MAAM,SAAS,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC;AAE9D;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IACpE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IAC1E,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IACzE,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IACzE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;IACxD,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;IACvD,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;IAChE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;CAC/D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Constructs a viewBox attribute value for an SVG element.
|
|
3
|
+
*
|
|
4
|
+
* This function generates a string suitable for the `viewBox` attribute of an SVG element, allowing for control over
|
|
5
|
+
* the visible area of the SVG. It can optionally include extra space around the edges, which is useful for ensuring
|
|
6
|
+
* that content near the boundaries is not clipped.
|
|
7
|
+
*
|
|
8
|
+
* @param {number | string} width - The width of the viewBox. Can be a number (representing pixels) or a string (any valid CSS length value).
|
|
9
|
+
* @param {number | string} height - The height of the viewBox. Similar to width, it can be a number or a string.
|
|
10
|
+
* @param {number} [extraSpace=0] - Optional additional space to include on all sides of the viewBox. This expands the area beyond the specified width and height.
|
|
11
|
+
*
|
|
12
|
+
* @returns {string} The `viewBox` attribute value, formatted as "minX minY width height".
|
|
13
|
+
*/
|
|
14
|
+
export declare const buildViewBox: (width: number | string, height: number | string, extraSpace?: number | string) => string;
|
|
15
|
+
//# sourceMappingURL=buildViewBox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildViewBox.d.ts","sourceRoot":"","sources":["../../../../../../src/components/svgContainer/utils/buildViewBox/buildViewBox.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,YAAY,GACvB,OAAO,MAAM,GAAG,MAAM,EACtB,QAAQ,MAAM,GAAG,MAAM,EACvB,aAAY,MAAM,GAAG,MAAU,KAC9B,MAOF,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Constructs a viewBox attribute value for an SVG element.
|
|
3
|
+
*
|
|
4
|
+
* This function generates a string suitable for the `viewBox` attribute of an SVG element, allowing for control over
|
|
5
|
+
* the visible area of the SVG. It can optionally include extra space around the edges, which is useful for ensuring
|
|
6
|
+
* that content near the boundaries is not clipped.
|
|
7
|
+
*
|
|
8
|
+
* @param {number | string} width - The width of the viewBox. Can be a number (representing pixels) or a string (any valid CSS length value).
|
|
9
|
+
* @param {number | string} height - The height of the viewBox. Similar to width, it can be a number or a string.
|
|
10
|
+
* @param {number} [extraSpace=0] - Optional additional space to include on all sides of the viewBox. This expands the area beyond the specified width and height.
|
|
11
|
+
*
|
|
12
|
+
* @returns {string} The `viewBox` attribute value, formatted as "minX minY width height".
|
|
13
|
+
*/
|
|
14
|
+
export const buildViewBox = (width, height, extraSpace = 0) => {
|
|
15
|
+
const minX = -extraSpace;
|
|
16
|
+
const minY = -extraSpace;
|
|
17
|
+
const viewBoxWidth = width;
|
|
18
|
+
const viewBoxHeight = height;
|
|
19
|
+
return `${minX} ${minY} ${viewBoxWidth} ${viewBoxHeight}`;
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/svgContainer/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './buildViewBox/buildViewBox';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/tick/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
import type { TickProps } from './tick.types';
|
|
3
|
+
/**
|
|
4
|
+
* Functional component for rendering a tick mark in a chart or graph.
|
|
5
|
+
*
|
|
6
|
+
* This component renders a tick mark based on the provided properties. It can optionally render a line and/or text
|
|
7
|
+
* label associated with the tick mark. The position of the tick mark can be customized using the `x` and `y` properties.
|
|
8
|
+
*
|
|
9
|
+
* @param {TickProps} props - The properties for the tick mark, including data, visibility flags, and optional styling props.
|
|
10
|
+
* @param {TickData} props.tick - The data for the tick mark, including its value and position.
|
|
11
|
+
* @param {boolean} props.showTickLines - Flag indicating whether the line part of the tick mark should be displayed.
|
|
12
|
+
* @param {LineProps} [props.tickLine] - Optional properties for the line part of the tick mark.
|
|
13
|
+
* @param {ChartTextProps} [props.tickText] - Optional properties for the text label part of the tick mark.
|
|
14
|
+
* @param {number} [props.x] - Optional x-coordinate for the position of the tick mark. Used for horizontal placement.
|
|
15
|
+
* @param {number} [props.y] - Optional y-coordinate for the position of the tick mark. Used for vertical placement.
|
|
16
|
+
* @returns A React functional component that renders the tick mark and its associated elements.
|
|
17
|
+
*/
|
|
18
|
+
export declare const Tick: FC<TickProps>;
|
|
19
|
+
//# sourceMappingURL=tick.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tick.d.ts","sourceRoot":"","sources":["../../../../src/components/tick/tick.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAK9B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { ChartText } from '../../components/chartText/chartText';
|
|
3
|
+
import { Line } from '../../components/line/line';
|
|
4
|
+
/**
|
|
5
|
+
* Functional component for rendering a tick mark in a chart or graph.
|
|
6
|
+
*
|
|
7
|
+
* This component renders a tick mark based on the provided properties. It can optionally render a line and/or text
|
|
8
|
+
* label associated with the tick mark. The position of the tick mark can be customized using the `x` and `y` properties.
|
|
9
|
+
*
|
|
10
|
+
* @param {TickProps} props - The properties for the tick mark, including data, visibility flags, and optional styling props.
|
|
11
|
+
* @param {TickData} props.tick - The data for the tick mark, including its value and position.
|
|
12
|
+
* @param {boolean} props.showTickLines - Flag indicating whether the line part of the tick mark should be displayed.
|
|
13
|
+
* @param {LineProps} [props.tickLine] - Optional properties for the line part of the tick mark.
|
|
14
|
+
* @param {ChartTextProps} [props.tickText] - Optional properties for the text label part of the tick mark.
|
|
15
|
+
* @param {number} [props.x] - Optional x-coordinate for the position of the tick mark. Used for horizontal placement.
|
|
16
|
+
* @param {number} [props.y] - Optional y-coordinate for the position of the tick mark. Used for vertical placement.
|
|
17
|
+
* @returns A React functional component that renders the tick mark and its associated elements.
|
|
18
|
+
*/
|
|
19
|
+
export const Tick = ({ showTickLines, tick, tickLine, tickText }) => (_jsxs("g", { children: [showTickLines && _jsx(Line, { ...tickLine }), tickText && _jsx(ChartText, { ...tickText, children: tick.value })] }));
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { ValueFormatter } from '../../types/valueFormatter.type';
|
|
2
|
+
import type { ChartTextProps } from '../chartText/chartText.types';
|
|
3
|
+
import type { LineProps } from '../line/line.types';
|
|
4
|
+
/**
|
|
5
|
+
* Represents the data structure for a single tick mark in a chart or graph.
|
|
6
|
+
*
|
|
7
|
+
* @property {string} value - The label or value associated with the tick mark.
|
|
8
|
+
* @property {number} position - The numerical position of the tick mark along its axis.
|
|
9
|
+
*/
|
|
10
|
+
export interface TickData {
|
|
11
|
+
value: string;
|
|
12
|
+
position: number;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Utility functions for working with TickData.
|
|
16
|
+
*/
|
|
17
|
+
export declare const TickDataUtils: {
|
|
18
|
+
/**
|
|
19
|
+
* Formats the values of an array of TickData using the provided formatter function.
|
|
20
|
+
*
|
|
21
|
+
* @param {TickData[]} ticks - Array of tick objects to format.
|
|
22
|
+
* @param {ValueFormatter} formatter - Function to format each tick's value.
|
|
23
|
+
* @returns {TickData[]} New array of TickData with formatted values.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* const ticks = [{ value: '100', position: 1 }, { value: '200', position: 2 }];
|
|
27
|
+
* const formatter = (v) => `${v} €`;
|
|
28
|
+
* const formatted = TickDataUtils.formatTicksValues(ticks, formatter);
|
|
29
|
+
* // formatted: [{ value: '100 €', position: 1 }, { value: '200 €', position: 2 }]
|
|
30
|
+
*/
|
|
31
|
+
formatTicksValues: (ticks: TickData[], formatter: ValueFormatter) => TickData[];
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Defines the properties for rendering a tick mark and its associated elements in a chart or graph.
|
|
35
|
+
*
|
|
36
|
+
* @property {TickData} tick - The data for the tick mark, including its value and position.
|
|
37
|
+
* @property {boolean} showTickLines - Flag indicating whether the line part of the tick mark should be displayed.
|
|
38
|
+
* @property {LineProps} [tickLine] - Optional properties for the line part of the tick mark. Depends on `showTickLines`.
|
|
39
|
+
* @property {ChartTextProps} [tickText] - Optional properties for the text label part of the tick mark.
|
|
40
|
+
* @property {number} [x] - Optional x-coordinate for the position of the tick mark. Used for horizontal placement.
|
|
41
|
+
* @property {number} [y] - Optional y-coordinate for the position of the tick mark. Used for vertical placement.
|
|
42
|
+
*/
|
|
43
|
+
export interface TickProps {
|
|
44
|
+
tick: TickData;
|
|
45
|
+
showTickLines: boolean;
|
|
46
|
+
tickLine?: LineProps;
|
|
47
|
+
tickText?: ChartTextProps;
|
|
48
|
+
x?: number;
|
|
49
|
+
y?: number;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=tick.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tick.types.d.ts","sourceRoot":"","sources":["../../../../src/components/tick/tick.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAElE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD;;;;;GAKG;AACH,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,eAAO,MAAM,aAAa;IACxB;;;;;;;;;;;;OAYG;+BACwB,QAAQ,EAAE,aAAa,cAAc,KAAG,QAAQ,EAAE;CAM9E,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,QAAQ,CAAC;IACf,aAAa,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utility functions for working with TickData.
|
|
3
|
+
*/
|
|
4
|
+
export const TickDataUtils = {
|
|
5
|
+
/**
|
|
6
|
+
* Formats the values of an array of TickData using the provided formatter function.
|
|
7
|
+
*
|
|
8
|
+
* @param {TickData[]} ticks - Array of tick objects to format.
|
|
9
|
+
* @param {ValueFormatter} formatter - Function to format each tick's value.
|
|
10
|
+
* @returns {TickData[]} New array of TickData with formatted values.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* const ticks = [{ value: '100', position: 1 }, { value: '200', position: 2 }];
|
|
14
|
+
* const formatter = (v) => `${v} €`;
|
|
15
|
+
* const formatted = TickDataUtils.formatTicksValues(ticks, formatter);
|
|
16
|
+
* // formatted: [{ value: '100 €', position: 1 }, { value: '200 €', position: 2 }]
|
|
17
|
+
*/
|
|
18
|
+
formatTicksValues: (ticks, formatter) => {
|
|
19
|
+
return ticks.map(tick => ({
|
|
20
|
+
...tick,
|
|
21
|
+
value: formatter(tick.value),
|
|
22
|
+
}));
|
|
23
|
+
},
|
|
24
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the HandlerIcon component
|
|
4
|
+
*/
|
|
5
|
+
interface HandlerIconProps {
|
|
6
|
+
/** X position of the handler */
|
|
7
|
+
x: number;
|
|
8
|
+
/** Y position of the handler center */
|
|
9
|
+
y: number;
|
|
10
|
+
/** Fill color for the dots */
|
|
11
|
+
fill?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Renders a handler icon with 3 vertical bars (grip pattern).
|
|
15
|
+
*
|
|
16
|
+
* Icon specifications:
|
|
17
|
+
* - Size: 10x10 pixels (ICON_SIZE)
|
|
18
|
+
* - Centering: offset by 5 pixels (ICON_OFFSET = ICON_SIZE / 2)
|
|
19
|
+
*
|
|
20
|
+
* The icon is centered on the handler by applying a translation of:
|
|
21
|
+
* x - ICON_OFFSET, y - ICON_OFFSET
|
|
22
|
+
*/
|
|
23
|
+
export declare const HandlerIcon: FC<HandlerIconProps>;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=HandlerIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HandlerIcon.d.ts","sourceRoot":"","sources":["../../../../../src/components/zoomArea/components/HandlerIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAYhC;;GAEG;AACH,UAAU,gBAAgB;IACxB,gCAAgC;IAChC,CAAC,EAAE,MAAM,CAAC;IACV,uCAAuC;IACvC,CAAC,EAAE,MAAM,CAAC;IACV,8BAA8B;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAqB5C,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Default color for handler icons
|
|
4
|
+
*/
|
|
5
|
+
const DEFAULT_ICON_COLOR = '#8f8f8f';
|
|
6
|
+
/**
|
|
7
|
+
* Icon offset for perfect centering (5px = ICON_SIZE / 2)
|
|
8
|
+
*/
|
|
9
|
+
const ICON_OFFSET = 5;
|
|
10
|
+
/**
|
|
11
|
+
* Renders a handler icon with 3 vertical bars (grip pattern).
|
|
12
|
+
*
|
|
13
|
+
* Icon specifications:
|
|
14
|
+
* - Size: 10x10 pixels (ICON_SIZE)
|
|
15
|
+
* - Centering: offset by 5 pixels (ICON_OFFSET = ICON_SIZE / 2)
|
|
16
|
+
*
|
|
17
|
+
* The icon is centered on the handler by applying a translation of:
|
|
18
|
+
* x - ICON_OFFSET, y - ICON_OFFSET
|
|
19
|
+
*/
|
|
20
|
+
export const HandlerIcon = ({ fill = DEFAULT_ICON_COLOR, x, y }) => {
|
|
21
|
+
return (_jsxs("g", { fill: fill, pointerEvents: "none", transform: `translate(${x - ICON_OFFSET}, ${y - ICON_OFFSET})`, children: [_jsx("path", { d: "M4.99948 9.99802C4.47168 9.99802 4.04419 9.64335 4.04419 9.20547V0.79255C4.04419 0.354666 4.47168 0 4.99948 0C5.52728 0 5.95477 0.354666 5.95477 0.79255V9.20745C5.95477 9.64533 5.52728 10 4.99948 10V9.99802Z" }), _jsx("path", { d: "M0.955289 8.78839C0.427492 8.78839 0 8.43372 0 7.99584V2.00416C0 1.56628 0.427492 1.21161 0.955289 1.21161C1.48309 1.21161 1.91058 1.56628 1.91058 2.00416V7.99584C1.91058 8.43372 1.48309 8.78839 0.955289 8.78839Z" }), _jsx("path", { d: "M8.08936 7.99584C8.08936 8.43372 8.51685 8.78839 9.04464 8.78839C9.57244 8.78839 9.99993 8.43372 9.99993 7.99584V2.00416C9.99993 1.56628 9.57244 1.21161 9.04464 1.21161C8.51685 1.21161 8.08936 1.56628 8.08936 2.00416V7.99584Z" })] }));
|
|
22
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Line data for rendering
|
|
4
|
+
*/
|
|
5
|
+
interface LineData {
|
|
6
|
+
linePath: string;
|
|
7
|
+
fillPath: string;
|
|
8
|
+
config: {
|
|
9
|
+
yKey: string;
|
|
10
|
+
dataKey?: string;
|
|
11
|
+
stroke?: string;
|
|
12
|
+
strokeWidth?: string | number;
|
|
13
|
+
fill?: string;
|
|
14
|
+
fillOpacity?: number;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Props for the LineRenderer component
|
|
19
|
+
*/
|
|
20
|
+
interface LineRendererProps {
|
|
21
|
+
/** Array of line data to render */
|
|
22
|
+
linesData: LineData[];
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Renders all lines and fill areas for the zoom area chart
|
|
26
|
+
*/
|
|
27
|
+
export declare const LineRenderer: FC<LineRendererProps>;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=LineRenderer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LineRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/zoomArea/components/LineRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAOhC;;GAEG;AACH,UAAU,QAAQ;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;CACH;AAED;;GAEG;AACH,UAAU,iBAAiB;IACzB,mCAAmC;IACnC,SAAS,EAAE,QAAQ,EAAE,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAyB9C,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Default color for lines when no stroke is provided
|
|
4
|
+
*/
|
|
5
|
+
const DEFAULT_LINE_COLOR = '#0078D4';
|
|
6
|
+
/**
|
|
7
|
+
* Renders all lines and fill areas for the zoom area chart
|
|
8
|
+
*/
|
|
9
|
+
export const LineRenderer = ({ linesData }) => {
|
|
10
|
+
return (_jsx(_Fragment, { children: linesData.map((lineData, index) => (_jsxs("g", { children: [lineData.config.fill && lineData.fillPath && (_jsx("path", { d: lineData.fillPath, fill: lineData.config.fill, fillOpacity: lineData.config.fillOpacity || 0.2, stroke: "none" })), _jsx("path", { d: lineData.linePath, fill: "none", stroke: lineData.config.stroke || DEFAULT_LINE_COLOR, strokeWidth: lineData.config.strokeWidth || 1 })] }, lineData.config.dataKey || lineData.config.yKey || index))) }));
|
|
11
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { FC, KeyboardEvent, MouseEvent, TouchEvent } from 'react';
|
|
2
|
+
import type { FocusConfig } from '../../../types/focusConfig.type';
|
|
3
|
+
import type { ZoomAreaSelectionConfig, ZoomRange } from '../zoomArea.type';
|
|
4
|
+
/**
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Props for the SelectionArea component
|
|
8
|
+
*/
|
|
9
|
+
interface SelectionAreaProps {
|
|
10
|
+
/** Start X position */
|
|
11
|
+
startX: number;
|
|
12
|
+
/** End X position */
|
|
13
|
+
endX: number;
|
|
14
|
+
/** Chart height */
|
|
15
|
+
height: number;
|
|
16
|
+
/** Current zoom range */
|
|
17
|
+
currentRange: ZoomRange;
|
|
18
|
+
/** Data length for ARIA values */
|
|
19
|
+
dataLength: number;
|
|
20
|
+
/** Data test ID */
|
|
21
|
+
dataTestId: string;
|
|
22
|
+
/** Custom selection area configuration */
|
|
23
|
+
selectionConfig: Required<ZoomAreaSelectionConfig>;
|
|
24
|
+
/** Text announced by screen readers */
|
|
25
|
+
screenReaderText?: string;
|
|
26
|
+
/** Event handlers */
|
|
27
|
+
onMouseDown: (event: MouseEvent) => void;
|
|
28
|
+
onTouchStart: (event: TouchEvent) => void;
|
|
29
|
+
onKeyDown: (event: KeyboardEvent) => void;
|
|
30
|
+
onFocus: () => void;
|
|
31
|
+
onBlur: () => void;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Props for the SelectionAreaFocusRing component
|
|
35
|
+
*/
|
|
36
|
+
interface SelectionAreaFocusRingProps {
|
|
37
|
+
/** Start X position */
|
|
38
|
+
startX: number;
|
|
39
|
+
/** End X position */
|
|
40
|
+
endX: number;
|
|
41
|
+
/** Chart height */
|
|
42
|
+
height: number;
|
|
43
|
+
/** Whether the selection area is focused */
|
|
44
|
+
isFocused: boolean;
|
|
45
|
+
/** Custom focus configuration (already resolved) */
|
|
46
|
+
focusConfig: Required<FocusConfig>;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Focus ring for the selection area - rendered separately to control z-order
|
|
50
|
+
*/
|
|
51
|
+
export declare const SelectionAreaFocusRing: FC<SelectionAreaFocusRingProps>;
|
|
52
|
+
/**
|
|
53
|
+
* Selection area overlay
|
|
54
|
+
*/
|
|
55
|
+
export declare const SelectionArea: FC<SelectionAreaProps>;
|
|
56
|
+
export {};
|
|
57
|
+
//# sourceMappingURL=SelectionArea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectionArea.d.ts","sourceRoot":"","sources":["../../../../../src/components/zoomArea/components/SelectionArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAI5D,OAAO,KAAK,EAAE,uBAAuB,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE3E;;;;GAIG;AACH,UAAU,kBAAkB;IAC1B,uBAAuB;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,yBAAyB;IACzB,YAAY,EAAE,SAAS,CAAC;IACxB,kCAAkC;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,0CAA0C;IAC1C,eAAe,EAAE,QAAQ,CAAC,uBAAuB,CAAC,CAAC;IACnD,uCAAuC;IACvC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qBAAqB;IACrB,WAAW,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACzC,YAAY,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IAC1C,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED;;GAEG;AACH,UAAU,2BAA2B;IACnC,uBAAuB;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,SAAS,EAAE,OAAO,CAAC;IACnB,oDAAoD;IACpD,WAAW,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CA+DlE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAqDhD,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { calculateFocusOutline } from '../../../utils/calculateFocusOutline/calculateFocusOutline';
|
|
3
|
+
import { isFullRange } from '../utils/rangeAndPositions';
|
|
4
|
+
/**
|
|
5
|
+
* Focus ring for the selection area - rendered separately to control z-order
|
|
6
|
+
*/
|
|
7
|
+
export const SelectionAreaFocusRing = ({ endX, focusConfig, height, isFocused, startX, }) => {
|
|
8
|
+
if (!isFocused) {
|
|
9
|
+
return null;
|
|
10
|
+
}
|
|
11
|
+
// Calculate selection area dimensions
|
|
12
|
+
const selectionWidth = endX - startX;
|
|
13
|
+
const selectionHeight = height;
|
|
14
|
+
const centerX = startX + selectionWidth / 2;
|
|
15
|
+
const centerY = height / 2;
|
|
16
|
+
// Calculate focus ring dimensions using the new util
|
|
17
|
+
const focusOutline = calculateFocusOutline({
|
|
18
|
+
elementHeight: selectionHeight,
|
|
19
|
+
elementPosition: { x: centerX, y: centerY },
|
|
20
|
+
elementStrokeWidth: 0, // Selection area typically has no border
|
|
21
|
+
elementType: 'rectangle',
|
|
22
|
+
elementWidth: selectionWidth,
|
|
23
|
+
gap: focusConfig.gap,
|
|
24
|
+
innerStrokeWidth: focusConfig.innerStrokeWidth,
|
|
25
|
+
outlineStrokeWidth: focusConfig.outlineStrokeWidth,
|
|
26
|
+
});
|
|
27
|
+
// Use resolved configuration values directly
|
|
28
|
+
const outlineColor = focusConfig.outlineColor;
|
|
29
|
+
const innerColor = focusConfig.innerColor;
|
|
30
|
+
const outlineStrokeWidth = focusConfig.outlineStrokeWidth;
|
|
31
|
+
const innerStrokeWidth = focusConfig.innerStrokeWidth;
|
|
32
|
+
if (focusOutline.type !== 'rectangle') {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return (_jsxs("g", { pointerEvents: "none", children: [_jsx("rect", { fill: "none", height: focusOutline.outer.height, stroke: outlineColor, strokeWidth: outlineStrokeWidth, width: focusOutline.outer.width, x: focusOutline.outer.x, y: focusOutline.outer.y }), _jsx("rect", { fill: "none", height: focusOutline.inner.height, stroke: innerColor, strokeWidth: innerStrokeWidth, width: focusOutline.inner.width, x: focusOutline.inner.x, y: focusOutline.inner.y })] }));
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Selection area overlay
|
|
39
|
+
*/
|
|
40
|
+
export const SelectionArea = ({ currentRange, dataLength, dataTestId, endX, height, onBlur, onFocus, onKeyDown, onMouseDown, onTouchStart, screenReaderText, selectionConfig, startX, }) => {
|
|
41
|
+
// Check if overlay should be hidden based on design specs:
|
|
42
|
+
// "Only visible when a range is defined"
|
|
43
|
+
const shouldHideOverlay = selectionConfig.hideOverlayOnFullRange && isFullRange(currentRange, dataLength);
|
|
44
|
+
return (_jsx(_Fragment, { children: _jsx("rect", { "aria-label": screenReaderText, "aria-valuemax": dataLength - 1, "aria-valuemin": 0, "aria-valuetext": screenReaderText, cursor: "grab", "data-testid": dataTestId, fill: selectionConfig.fill, fillOpacity: selectionConfig.fillOpacity, height: height, role: "slider", stroke: selectionConfig.stroke, strokeWidth: selectionConfig.strokeWidth, style: {
|
|
45
|
+
outline: 'none',
|
|
46
|
+
visibility: shouldHideOverlay ? 'hidden' : 'visible',
|
|
47
|
+
}, tabIndex: 0, width: endX - startX, x: startX, y: 0, onBlur: onBlur, onFocus: onFocus, onKeyDown: onKeyDown, onMouseDown: onMouseDown, onTouchStart: onTouchStart }) }));
|
|
48
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { KeyboardEvent, MouseEvent, TouchEvent } from 'react';
|
|
2
|
+
import type { FocusConfig } from '../../../types/focusConfig.type';
|
|
3
|
+
import type { ZoomAreaElements, ZoomAreaHandlerConfig } from '../zoomArea.type';
|
|
4
|
+
/**
|
|
5
|
+
* Props for a single zoom handler
|
|
6
|
+
*/
|
|
7
|
+
interface ZoomHandlerProps {
|
|
8
|
+
/** Handler type using ZoomAreaElements enum */
|
|
9
|
+
type: keyof typeof ZoomAreaElements;
|
|
10
|
+
/** X position */
|
|
11
|
+
x: number;
|
|
12
|
+
/** Chart height */
|
|
13
|
+
height: number;
|
|
14
|
+
/** Current value */
|
|
15
|
+
value: number;
|
|
16
|
+
/** Minimum allowed value */
|
|
17
|
+
min: number;
|
|
18
|
+
/** Maximum allowed value */
|
|
19
|
+
max: number;
|
|
20
|
+
/** Whether this handler is focused */
|
|
21
|
+
isFocused: boolean;
|
|
22
|
+
/** Custom handler configuration */
|
|
23
|
+
handlerConfig?: ZoomAreaHandlerConfig;
|
|
24
|
+
/** Custom focus configuration (already resolved) */
|
|
25
|
+
focusConfig: Required<FocusConfig>;
|
|
26
|
+
/** Text announced by screen readers */
|
|
27
|
+
screenReaderText?: string;
|
|
28
|
+
/** Data test ID */
|
|
29
|
+
dataTestId: string;
|
|
30
|
+
/** Event handlers */
|
|
31
|
+
onMouseDown: (event: MouseEvent) => void;
|
|
32
|
+
onTouchStart: (event: TouchEvent) => void;
|
|
33
|
+
onKeyDown: (event: KeyboardEvent) => void;
|
|
34
|
+
onFocus: () => void;
|
|
35
|
+
onBlur: () => void;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Individual zoom handler with line, circle, and icon
|
|
39
|
+
*/
|
|
40
|
+
export declare const ZoomHandler: React.FC<ZoomHandlerProps>;
|
|
41
|
+
export {};
|
|
42
|
+
//# sourceMappingURL=ZoomHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoomHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/zoomArea/components/ZoomHandler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAG5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAyBhF;;GAEG;AACH,UAAU,gBAAgB;IACxB,+CAA+C;IAC/C,IAAI,EAAE,MAAM,OAAO,gBAAgB,CAAC;IACpC,iBAAiB;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,4BAA4B;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,4BAA4B;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,sCAAsC;IACtC,SAAS,EAAE,OAAO,CAAC;IACnB,mCAAmC;IACnC,aAAa,CAAC,EAAE,qBAAqB,CAAC;IACtC,oDAAoD;IACpD,WAAW,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IACnC,uCAAuC;IACvC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,mBAAmB;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,qBAAqB;IACrB,WAAW,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACzC,YAAY,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IAC1C,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAmBD;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAoGlD,CAAC"}
|