@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 @@
|
|
|
1
|
+
{"version":3,"file":"getAxisData.d.ts","sourceRoot":"","sources":["../../../../src/utils/getAxisData/getAxisData.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC3D,MAAM,CAAC,EAAE,EACT,KAAK,MAAM,KACV,OAAO,EAET,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
interface GetCanvasDimensionsProps {
|
|
2
|
+
canvasHeight: string | number;
|
|
3
|
+
canvasWidth: string | number;
|
|
4
|
+
svgElement: SVGSVGElement;
|
|
5
|
+
}
|
|
6
|
+
interface GetCanvasDimensionsReturn {
|
|
7
|
+
parsedCanvasWidth: number;
|
|
8
|
+
parsedCanvasHeight: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Calculates the dimensions of an SVG element based on the provided width and height values.
|
|
12
|
+
* The width and height can be specified in pixels, percentages, or rem units.
|
|
13
|
+
*
|
|
14
|
+
* @param {GetCanvasDimensionsProps} props - The properties for calculating dimensions.
|
|
15
|
+
* @param {string | number} props.canvasHeight - The height of the canvas (can be a string or number).
|
|
16
|
+
* @param {string | number} props.canvasWidth - The width of the canvas (can be a string or number).
|
|
17
|
+
* @param {SVGSVGElement} props.svgElement - The SVG element to calculate dimensions for.
|
|
18
|
+
* @returns {GetCanvasDimensionsReturn} An object containing the calculated canva's width and height.
|
|
19
|
+
*/
|
|
20
|
+
export declare const getCanvasDimensions: ({ canvasHeight, canvasWidth, svgElement, }: GetCanvasDimensionsProps) => GetCanvasDimensionsReturn;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=getCanvasDimensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCanvasDimensions.d.ts","sourceRoot":"","sources":["../../../../src/utils/getCanvasDimensions/getCanvasDimensions.ts"],"names":[],"mappings":"AAyFA,UAAU,wBAAwB;IAChC,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,UAAU,EAAE,aAAa,CAAC;CAC3B;AAED,UAAU,yBAAyB;IACjC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB,GAAI,4CAIjC,wBAAwB,KAAG,yBAkB7B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from '../../../node_modules/react';
|
|
2
|
+
interface GetChildrenAttrProps {
|
|
3
|
+
attrName: string;
|
|
4
|
+
originalValue: string;
|
|
5
|
+
children: ReactNode[];
|
|
6
|
+
updateValue: (v: string) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const getChildrenAttr: ({ attrName, children, originalValue, updateValue, }: GetChildrenAttrProps) => void;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=getChildrenAttr.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getChildrenAttr.d.ts","sourceRoot":"","sources":["../../../../src/utils/getChildrenAttr/getChildrenAttr.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAkB,MAAM,OAAO,CAAC;AAEjE,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,SAAS,EAAE,CAAC;IACtB,WAAW,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC;AAED,eAAO,MAAM,eAAe,GAAI,qDAK7B,oBAAoB,KAAG,IAazB,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Positions } from '../../types/position.enum';
|
|
2
|
+
interface GetCoordinatesProps {
|
|
3
|
+
position: (typeof Positions)[keyof typeof Positions];
|
|
4
|
+
canvasHeight: number;
|
|
5
|
+
canvasWidth: number;
|
|
6
|
+
extraSpaceLeftX: number;
|
|
7
|
+
extraSpaceRightX: number;
|
|
8
|
+
extraSpaceTopY: number;
|
|
9
|
+
extraSpaceBottomY: number;
|
|
10
|
+
securityYSpace: number;
|
|
11
|
+
customBreakAxis: number;
|
|
12
|
+
}
|
|
13
|
+
interface GetCoordinatesReturn {
|
|
14
|
+
x1: number;
|
|
15
|
+
x2: number;
|
|
16
|
+
y1: number;
|
|
17
|
+
y2: number;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Calculates the X coordinates for drawing lines in a chart.
|
|
21
|
+
* @param position - The position of the line.
|
|
22
|
+
* @param canvasHeight - The height of the canvas.
|
|
23
|
+
* @param canvasWidth - The width of the canvas.
|
|
24
|
+
* @param extraSpaceLeftX - The extra space on the left side of the chart.
|
|
25
|
+
* @param extraSpaceRightX - The extra space on the right side of the chart.
|
|
26
|
+
* @param extraSpaceTopY - The extra space on the top side of the chart.
|
|
27
|
+
* @param extraSpaceBottomY - The extra space on the bottom side of the chart.
|
|
28
|
+
* @param customBreakAxis - The custom break axis value.
|
|
29
|
+
* @returns The X coordinates for drawing lines.
|
|
30
|
+
*/
|
|
31
|
+
export declare const getXCoordinates: ({ canvasHeight, canvasWidth, customBreakAxis, extraSpaceBottomY, extraSpaceLeftX, extraSpaceRightX, extraSpaceTopY, position, }: GetCoordinatesProps) => GetCoordinatesReturn;
|
|
32
|
+
/**
|
|
33
|
+
* Calculates the y-coordinates for drawing lines in a chart.
|
|
34
|
+
*
|
|
35
|
+
* @param position - The position of the line (RIGHT, CENTER, CUSTOM).
|
|
36
|
+
* @param canvasHeight - The height of the canvas.
|
|
37
|
+
* @param canvasWidth - The width of the canvas.
|
|
38
|
+
* @param extraSpaceLeftX - The extra space on the left side of the chart.
|
|
39
|
+
* @param extraSpaceRightX - The extra space on the right side of the chart.
|
|
40
|
+
* @param extraSpaceTopY - The extra space on the top of the chart.
|
|
41
|
+
* @param extraSpaceBottomY - The extra space on the bottom of the chart.
|
|
42
|
+
* @param customBreakAxis - The custom break axis position (used when position is CUSTOM).
|
|
43
|
+
* @returns The y-coordinates for drawing lines in the chart.
|
|
44
|
+
*/
|
|
45
|
+
export declare const getYCoordinates: ({ canvasHeight, canvasWidth, customBreakAxis, extraSpaceBottomY, extraSpaceLeftX, extraSpaceRightX, extraSpaceTopY, position, }: GetCoordinatesProps) => GetCoordinatesReturn;
|
|
46
|
+
export {};
|
|
47
|
+
//# sourceMappingURL=getCoordinates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCoordinates.d.ts","sourceRoot":"","sources":["../../../../src/utils/getCoordinates/getCoordinates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;IACrD,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,oBAAoB;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,GAAI,iIAS7B,mBAAmB,KAAG,oBA+BxB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,GAAI,iIAS7B,mBAAmB,KAAG,oBAgCxB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BarChartIDataPoint } from '../../charts/barChart/barChart.type';
|
|
2
|
+
import { IDataPoint } from '../../charts/lineChart/lineChart.type';
|
|
3
|
+
import { DataItem } from '../../charts/pieChart/pieChart.type';
|
|
4
|
+
type ChartDataType = IDataPoint[] | BarChartIDataPoint[] | DataItem;
|
|
5
|
+
/**
|
|
6
|
+
* Generates a fingerprint of chart data for use in React.useMemo dependencies
|
|
7
|
+
* @param data - Chart data from LineChart, BarChart, or PieChart
|
|
8
|
+
* @returns JSON string representation of the data
|
|
9
|
+
*/
|
|
10
|
+
export declare const getDataFingerprint: (data: ChartDataType) => string;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=getDataFingerprint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDataFingerprint.d.ts","sourceRoot":"","sources":["../../../../src/utils/getDataFingerprint/getDataFingerprint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAEhE,KAAK,aAAa,GAAG,UAAU,EAAE,GAAG,kBAAkB,EAAE,GAAG,QAAQ,CAAC;AAEpE;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAAI,MAAM,aAAa,KAAG,MAIxD,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TickData } from '../../components/tick/tick.types';
|
|
2
|
+
/**
|
|
3
|
+
* Calculates the positions of data points on the chart based on tick values and data values.
|
|
4
|
+
* @param tickValues - An array of tick data objects.
|
|
5
|
+
* @param data - An array of data values.
|
|
6
|
+
* @param xAxis - Optional parameter indicating whether the points are for the x-axis. Defaults to false.
|
|
7
|
+
* @returns An array of numbers representing the positions of the data points.
|
|
8
|
+
*/
|
|
9
|
+
export declare const getPoints: (tickValues: TickData[], data: string[], xAxis?: boolean) => number[];
|
|
10
|
+
//# sourceMappingURL=getPoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPoints.d.ts","sourceRoot":"","sources":["../../../../src/utils/getPoints/getPoints.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAE7D;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,GAAI,YAAY,QAAQ,EAAE,EAAE,MAAM,MAAM,EAAE,EAAE,QAAQ,OAAO,KAAG,MAAM,EA+CzF,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Positions } from '../../types/position.enum';
|
|
2
|
+
/**
|
|
3
|
+
* Calculates the x-coordinate for the tick text based on the position, x-coordinate, and font size.
|
|
4
|
+
*
|
|
5
|
+
* @param position - The position of the tick text.
|
|
6
|
+
* @param x - The x-coordinate of the tick text.
|
|
7
|
+
* @param fontSize - The font size of the tick text.
|
|
8
|
+
* @returns The calculated x-coordinate for the tick text.
|
|
9
|
+
*/
|
|
10
|
+
export declare const getTickTextXCoordinate: (position: (typeof Positions)[keyof typeof Positions], x: number, fontSize: number) => number;
|
|
11
|
+
/**
|
|
12
|
+
* Calculates the y-coordinate for the tick text based on the position, y-coordinate, font size, and security space.
|
|
13
|
+
*
|
|
14
|
+
* @param position - The position of the tick text.
|
|
15
|
+
* @param y - The y-coordinate of the tick text.
|
|
16
|
+
* @param fontSize - The font size of the tick text.
|
|
17
|
+
* @param securitySpace - The security space between the tick text and the chart.
|
|
18
|
+
* @returns The calculated y-coordinate for the tick text.
|
|
19
|
+
*/
|
|
20
|
+
export declare const getTickTextYCoordinate: (position: (typeof Positions)[keyof typeof Positions], y: number, fontSize: number, securitySpace: number) => number;
|
|
21
|
+
//# sourceMappingURL=getTickTextCoordinates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTickTextCoordinates.d.ts","sourceRoot":"","sources":["../../../../src/utils/getTickTextCoordinate/getTickTextCoordinates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,GACjC,UAAU,CAAC,OAAO,SAAS,EAAE,MAAM,OAAO,SAAS,CAAC,EACpD,GAAG,MAAM,EACT,UAAU,MAAM,KACf,MAKF,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,GACjC,UAAU,CAAC,OAAO,SAAS,EAAE,MAAM,OAAO,SAAS,CAAC,EACpD,GAAG,MAAM,EACT,UAAU,MAAM,EAChB,eAAe,MAAM,KACpB,MAKF,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { TickData } from '../../components/tick/tick.types';
|
|
2
|
+
interface GetTickProps {
|
|
3
|
+
tickValues: string[];
|
|
4
|
+
maxSpaceAvailable: number;
|
|
5
|
+
securitySpace: number;
|
|
6
|
+
otherAxisSpace: number;
|
|
7
|
+
initPos: number;
|
|
8
|
+
needAjusted?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Calculates the tick positions and values for the x-axis of a line chart.
|
|
12
|
+
*
|
|
13
|
+
* @param tickValues - The values to be displayed as ticks on the x-axis.
|
|
14
|
+
* @param maxSpaceAvailable - The maximum space available for the x-axis.
|
|
15
|
+
* @param securitySpace - The space reserved for security purposes.
|
|
16
|
+
* @param crossAxis - The cross axis of the chart.
|
|
17
|
+
* @param otherAxisSpace - The space occupied by the other axis.
|
|
18
|
+
* @param initPos - The initial position of the x-axis.
|
|
19
|
+
* @returns An array of objects containing the tick values and their corresponding positions.
|
|
20
|
+
*/
|
|
21
|
+
export declare const getXTicks: ({ initPos, maxSpaceAvailable, otherAxisSpace, securitySpace, tickValues, }: GetTickProps) => TickData[] | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Calculates the tick positions and values for the y-axis of a line chart.
|
|
24
|
+
*
|
|
25
|
+
* @param tickValues - The values to be displayed as ticks on the y-axis.
|
|
26
|
+
* @param maxSpaceAvailable - The maximum space available for the y-axis.
|
|
27
|
+
* @param securitySpace - The space reserved for security purposes.
|
|
28
|
+
* @param crossAxis - The cross axis of the chart.
|
|
29
|
+
* @param otherAxisSpace - The space occupied by the other axis.
|
|
30
|
+
* @param initPos - The initial position of the y-axis.
|
|
31
|
+
* @returns An array of objects containing the tick values and their corresponding positions.
|
|
32
|
+
*/
|
|
33
|
+
export declare const getYTicks: ({ initPos, maxSpaceAvailable, needAjusted, otherAxisSpace, securitySpace, tickValues, }: GetTickProps) => TickData[] | undefined;
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=getTicks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTicks.d.ts","sourceRoot":"","sources":["../../../../src/utils/getTicks/getTicks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAE7D,UAAU,YAAY;IACpB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,GAAI,4EAMvB,YAAY,KAAG,QAAQ,EAAE,GAAG,SAa9B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,GAAI,yFAOvB,YAAY,KAAG,QAAQ,EAAE,GAAG,SAc9B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './ajustedTextSpace/ajustedTextSpace';
|
|
2
|
+
export * from './buildTickValues/buildTickValues';
|
|
3
|
+
export * from './classNames/classNames';
|
|
4
|
+
export * from './cssGradientToSvg/cssGradientToSvg';
|
|
5
|
+
export * from './cursorNear/isNear';
|
|
6
|
+
export * from './shadowSvg/shadowSvg';
|
|
7
|
+
export * from './shadowSvg/shadowSvg.types';
|
|
8
|
+
export * from './textBound/textBound';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AACpD,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Parses a string or number to a pixel value.
|
|
3
|
+
* If the input is a string, it can be in the format '2px', '2rem', or '2'.
|
|
4
|
+
* If the input is a number, it returns the number as is.
|
|
5
|
+
*
|
|
6
|
+
* @param value - The value to parse (string or number).
|
|
7
|
+
* @returns The parsed pixel value as a number.
|
|
8
|
+
* @throws Will throw an error if the string format is invalid.
|
|
9
|
+
*/
|
|
10
|
+
export declare const parseStringToNumberPx: (value: string | number) => number;
|
|
11
|
+
//# sourceMappingURL=parseStringToNumberPx.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parseStringToNumberPx.d.ts","sourceRoot":"","sources":["../../../../src/utils/parseStringToNumberPx.ts/parseStringToNumberPx.ts"],"names":[],"mappings":"AAMA;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,GAAI,OAAO,MAAM,GAAG,MAAM,KAAG,MAkB9D,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Filters and extracts only aria-* and data-* attributes from a given object,
|
|
3
|
+
* converting all values to strings for HTML compatibility.
|
|
4
|
+
*
|
|
5
|
+
* This function is useful for extracting accessibility and data attributes
|
|
6
|
+
* from props or configuration objects and ensuring they are properly formatted
|
|
7
|
+
* for HTML rendering.
|
|
8
|
+
*
|
|
9
|
+
* @param attributes - An optional object containing key-value pairs of attributes.
|
|
10
|
+
* - Keys can be strings representing attribute names.
|
|
11
|
+
* - Values can be strings, booleans, numbers, or any other type.
|
|
12
|
+
*
|
|
13
|
+
* @returns A new object containing only aria-* and data-* attributes:
|
|
14
|
+
* - Only includes attributes that start with `aria-` or `data-`.
|
|
15
|
+
* - All values are converted to strings for HTML compatibility.
|
|
16
|
+
* - Null and undefined values are excluded.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```typescript
|
|
20
|
+
* const props = {
|
|
21
|
+
* 'aria-label': 'Button',
|
|
22
|
+
* 'data-testid': 'my-button',
|
|
23
|
+
* 'onClick': () => {},
|
|
24
|
+
* 'className': 'btn',
|
|
25
|
+
* 'aria-hidden': true
|
|
26
|
+
* };
|
|
27
|
+
*
|
|
28
|
+
* const result = pickCustomAttributes(props);
|
|
29
|
+
* // Result: { 'aria-label': 'Button', 'data-testid': 'my-button', 'aria-hidden': 'true' }
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare const pickCustomAttributes: (attributes?: Record<string, any>) => Record<string, string>;
|
|
33
|
+
//# sourceMappingURL=pickCustomAttributes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pickCustomAttributes.d.ts","sourceRoot":"","sources":["../../../../src/utils/pickCustomAttributes/pickCustomAttributes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,oBAAoB,GAE/B,aAAa,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAC/B,MAAM,CAAC,MAAM,EAAE,MAAM,CAkBvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadowSvg.d.ts","sourceRoot":"","sources":["../../../../src/utils/shadowSvg/shadowSvg.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,eAAO,MAAM,SAAS,GAAI,mCAMvB,cAAc,KAAG,GAAG,CAAC,OAQvB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the structure for a feDropShadow.
|
|
3
|
+
*
|
|
4
|
+
* @property {number} dx - Controls the offset of the shadow in the horizontal direction.
|
|
5
|
+
* @property {number} dy - Controls the offset of the shadow in the vertical direction.
|
|
6
|
+
* @property {number} stdDeviation - Controls the amount of blur applied to the shadow.
|
|
7
|
+
* @property {string} floodColor - Controls the color of the shadow.
|
|
8
|
+
* @property {number} floodOpacity - Controls the opacity of the shadow.
|
|
9
|
+
*/
|
|
10
|
+
export interface ShadowSvgConfig {
|
|
11
|
+
dx?: number;
|
|
12
|
+
dy?: number;
|
|
13
|
+
stdDeviation?: number;
|
|
14
|
+
floodColor?: string;
|
|
15
|
+
floodOpacity?: number;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Defines the structure for apply shadow to svg.
|
|
19
|
+
*
|
|
20
|
+
* @property {string} id - The id of the shadow.
|
|
21
|
+
* @property {string | number} x - Define the x position of the filter effect region relative to the element to wich the filter is applied
|
|
22
|
+
* @property {string | number} y - Define the y position of the filter effect region relative to the element to wich the filter is applied
|
|
23
|
+
* @property {string | number} width - Define the width of the filter effect region.
|
|
24
|
+
* @property {string | number} height - Define the height of the filter effect region
|
|
25
|
+
* @property {ShadowSvgConfig} shadowSvgConfig - Properties for feDropShadow.
|
|
26
|
+
*/
|
|
27
|
+
export interface ShadowSvgProps {
|
|
28
|
+
id: string;
|
|
29
|
+
x?: string | number;
|
|
30
|
+
y?: string | number;
|
|
31
|
+
width?: string | number;
|
|
32
|
+
height?: string | number;
|
|
33
|
+
shadowSvgConfig: ShadowSvgConfig;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=shadowSvg.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadowSvg.types.d.ts","sourceRoot":"","sources":["../../../../src/utils/shadowSvg/shadowSvg.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,eAAe,EAAE,eAAe,CAAC;CAClC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface TextBoundProps {
|
|
2
|
+
data: string[];
|
|
3
|
+
bound: 'width' | 'height';
|
|
4
|
+
viewBox: string;
|
|
5
|
+
fontSize: string;
|
|
6
|
+
svgWidth: string;
|
|
7
|
+
svgHeight: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const textBound: ({ bound, data, fontSize, svgHeight, svgWidth, viewBox, }: TextBoundProps) => number;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=textBound.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textBound.d.ts","sourceRoot":"","sources":["../../../../src/utils/textBound/textBound.ts"],"names":[],"mappings":"AAAA,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,SAAS,GAAI,0DAOvB,cAAc,KAAG,MA0BnB,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@kubit-ui-web/react-charts",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"main": "dist/kubit-ui-web-react-charts.cjs.js",
|
|
6
|
+
"module": "dist/kubit-ui-web-react-charts.es.js",
|
|
7
|
+
"unpkg": "dist/kubit-ui-web-react-charts.umd.js",
|
|
8
|
+
"jsdelivr": "dist/kubit-ui-web-react-charts.umd.js",
|
|
9
|
+
"types": "dist/types/index.d.ts",
|
|
10
|
+
"description": "A comprehensive React chart library built by Kubit - Modern, customizable, and accessible data visualization components for web applications",
|
|
11
|
+
"keywords": [
|
|
12
|
+
"react",
|
|
13
|
+
"charts",
|
|
14
|
+
"graphs",
|
|
15
|
+
"data-visualization",
|
|
16
|
+
"typescript",
|
|
17
|
+
"kubit",
|
|
18
|
+
"ui-components",
|
|
19
|
+
"web-charts",
|
|
20
|
+
"accessible",
|
|
21
|
+
"customizable",
|
|
22
|
+
"responsive",
|
|
23
|
+
"storybook"
|
|
24
|
+
],
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./dist/esm/index.d.ts",
|
|
28
|
+
"import": "./dist/kubit-ui-web-react-charts.es.js",
|
|
29
|
+
"require": "./dist/kubit-ui-web-react-charts.cjs.js"
|
|
30
|
+
},
|
|
31
|
+
"./*": {
|
|
32
|
+
"types": "./dist/esm/charts/*/index.d.ts",
|
|
33
|
+
"import": "./dist/esm/charts/*/index.js",
|
|
34
|
+
"require": "./dist/cjs/charts/*/index.js"
|
|
35
|
+
},
|
|
36
|
+
"./components": {
|
|
37
|
+
"types": "./dist/esm/components/index.d.ts",
|
|
38
|
+
"import": "./dist/esm/components/index.js",
|
|
39
|
+
"require": "./dist/cjs/components/index.js"
|
|
40
|
+
},
|
|
41
|
+
"./components/*": {
|
|
42
|
+
"types": "./dist/esm/components/*/index.d.ts",
|
|
43
|
+
"import": "./dist/esm/components/*/index.js",
|
|
44
|
+
"require": "./dist/cjs/components/*/index.js"
|
|
45
|
+
},
|
|
46
|
+
"./charts": {
|
|
47
|
+
"types": "./dist/esm/charts/index.d.ts",
|
|
48
|
+
"import": "./dist/esm/charts/index.js",
|
|
49
|
+
"require": "./dist/cjs/charts/index.js"
|
|
50
|
+
},
|
|
51
|
+
"./charts/*": {
|
|
52
|
+
"types": "./dist/esm/charts/*/index.d.ts",
|
|
53
|
+
"import": "./dist/esm/charts/*/index.js",
|
|
54
|
+
"require": "./dist/cjs/charts/*/index.js"
|
|
55
|
+
},
|
|
56
|
+
"./types": {
|
|
57
|
+
"types": "./dist/esm/types/index.d.ts",
|
|
58
|
+
"import": "./dist/esm/types/index.js",
|
|
59
|
+
"require": "./dist/cjs/types/index.js"
|
|
60
|
+
},
|
|
61
|
+
"./types/*": {
|
|
62
|
+
"types": "./dist/esm/types/*/index.d.ts",
|
|
63
|
+
"import": "./dist/esm/types/*/index.js",
|
|
64
|
+
"require": "./dist/cjs/types/*/index.js"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"typesVersions": {
|
|
68
|
+
"*": {
|
|
69
|
+
"*": [
|
|
70
|
+
"dist/esm/index.d.ts"
|
|
71
|
+
],
|
|
72
|
+
"dist/*": [
|
|
73
|
+
"dist/esm/index.d.ts"
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"files": [
|
|
78
|
+
"dist",
|
|
79
|
+
"package.json",
|
|
80
|
+
"README.md",
|
|
81
|
+
"LICENSE.md",
|
|
82
|
+
"!dist/cjs/assets",
|
|
83
|
+
"!dist/esm/assets",
|
|
84
|
+
"!dist/**/tests",
|
|
85
|
+
"!dist/**/**/*.test.*",
|
|
86
|
+
"!dist/**/**/*.stories.*",
|
|
87
|
+
"!dist/**/storybook",
|
|
88
|
+
"!dist/**/**/stories"
|
|
89
|
+
],
|
|
90
|
+
"scripts": {
|
|
91
|
+
"jest": "jest",
|
|
92
|
+
"test:ci": "yarn test",
|
|
93
|
+
"eslint": "eslint src",
|
|
94
|
+
"custom-start": "echo -e '\n▐█µ ╓▓█▀ ▐█ j█▌ ╓▄ \n▐█▌,▄██─ ▓▌ ▓▌ ▐█▄▄▓▓█▓▄ ▓▌ @▓██▓▓▓\n▐██▀└╙██ █▌ █▌ ▐█─ └█▌ █▌ ██ \n▐█▌ ▀█▌ ██▄▄▄▄▀█▌ ▐██▄╓,▄██` █▌ ╙█▄▄▄'",
|
|
95
|
+
"postinstall": "echo postinstall",
|
|
96
|
+
"stylelint": "echo 'no css files'",
|
|
97
|
+
"start": "yarn run custom-start && storybook dev -p 6006",
|
|
98
|
+
"build-storybook": "storybook build",
|
|
99
|
+
"storybook": "storybook dev -p 6006",
|
|
100
|
+
"predist": "echo predist",
|
|
101
|
+
"postdist": "cpy 'src/**/*.(svg|ttf|eot|css|png|jpg|otf)' dist/esm --no-overwrite --parents && cpy 'src/**/*.(svg|ttf|eot|css|png|jpg|otf)' dist/cjs --no-overwrite --parents",
|
|
102
|
+
"dist": "rm -rf dist && yarn run dist:all && yarn dist:cjs && yarn dist:esm",
|
|
103
|
+
"dist:watch": "rm -rf dist && yarn dist:cjs:watch & yarn dist:esm:watch",
|
|
104
|
+
"dist:cjs": "tsc -p tsconfig.build.cjs.json && tsc-alias -p tsconfig.build.cjs.json",
|
|
105
|
+
"dist:esm": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
|
|
106
|
+
"dev:yalc:push": "nodemon --watch dist --exec 'find dist \\( -name '*.svg' -o -name '*.ttf' -o -name '*.otf' -o -name '*.eot' -o -name '*.png' -o -name '*.jpg' \\) -exec rm \"{}\" \\; && yarn postdist && yalc push'",
|
|
107
|
+
"build": "storybook build -o bundle --disable-telemetry",
|
|
108
|
+
"storybook:axe": "yarn build && axe-storybook --build-dir bundle",
|
|
109
|
+
"createAssetsFiles": "node ./scripts/createAssetsFiles.js",
|
|
110
|
+
"prettier": "prettier 'src/**/*.ts' --write",
|
|
111
|
+
"test": "yarn run eslint --fix && yarn tsc && yarn vitest-report",
|
|
112
|
+
"test-storybook": "test-storybook",
|
|
113
|
+
"vitest": "vitest",
|
|
114
|
+
"vitest-report": "vitest --ui --coverage.enabled=true",
|
|
115
|
+
"vitest:watch": "vitest - watch",
|
|
116
|
+
"dist:all": "yarn run vite build"
|
|
117
|
+
},
|
|
118
|
+
"repository": {
|
|
119
|
+
"type": "git",
|
|
120
|
+
"url": "https://github.com/kubit-ui/kubit-react-charts",
|
|
121
|
+
"directory": "kubit-react-charts"
|
|
122
|
+
},
|
|
123
|
+
"homepage": "https://github.com/kubit-ui/kubit-react-charts",
|
|
124
|
+
"bugs": {
|
|
125
|
+
"url": "https://github.com/kubit-ui/kubit-react-charts/issues"
|
|
126
|
+
},
|
|
127
|
+
"sideEffects": false,
|
|
128
|
+
"author": {
|
|
129
|
+
"name": "Kubit Team",
|
|
130
|
+
"url": "https://www.kubit-lab.com",
|
|
131
|
+
"email": "kubit.lab.dev@gmail.com"
|
|
132
|
+
},
|
|
133
|
+
"contributors": [
|
|
134
|
+
{
|
|
135
|
+
"name": "Kubit Development Team",
|
|
136
|
+
"url": "https://www.kubit-lab.com"
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"license": "ISC",
|
|
140
|
+
"engines": {
|
|
141
|
+
"node": ">=16.0.0",
|
|
142
|
+
"npm": ">=7.0.0",
|
|
143
|
+
"yarn": ">=1.22.0"
|
|
144
|
+
},
|
|
145
|
+
"publishConfig": {
|
|
146
|
+
"access": "public",
|
|
147
|
+
"registry": "https://registry.npmjs.org/"
|
|
148
|
+
},
|
|
149
|
+
"funding": {
|
|
150
|
+
"type": "corporate",
|
|
151
|
+
"url": "https://www.kubit-lab.com/"
|
|
152
|
+
},
|
|
153
|
+
"devDependencies": {
|
|
154
|
+
"@babel/core": "^7.28.4",
|
|
155
|
+
"@babel/preset-env": "^7.28.3",
|
|
156
|
+
"@babel/preset-react": "^7.27.1",
|
|
157
|
+
"@babel/preset-typescript": "^7.27.1",
|
|
158
|
+
"@kubit-ui-web/eslint-plugin-no-index-import": "^1.0.2",
|
|
159
|
+
"@storybook/addon-a11y": "9.1.10",
|
|
160
|
+
"@storybook/addon-coverage": "2.0.0",
|
|
161
|
+
"@storybook/addon-designs": "10.0.2",
|
|
162
|
+
"@storybook/addon-links": "9.1.10",
|
|
163
|
+
"@storybook/addon-themes": "9.1.10",
|
|
164
|
+
"@storybook/react-vite": "9.1.10",
|
|
165
|
+
"@storybook/test-runner": "0.23.0",
|
|
166
|
+
"@storybook/testing-library": "0.2.2",
|
|
167
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
168
|
+
"@testing-library/react": "^16.3.0",
|
|
169
|
+
"@testing-library/react-hooks": "^8.0.1",
|
|
170
|
+
"@testing-library/user-event": "^14.6.1",
|
|
171
|
+
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
|
|
172
|
+
"@types/mocha": "^10.0.10",
|
|
173
|
+
"@types/react": "^18.3.3",
|
|
174
|
+
"@types/react-dom": "^18.3.0",
|
|
175
|
+
"@typescript-eslint/eslint-plugin": "^8.46.0",
|
|
176
|
+
"@typescript-eslint/parser": "^8.46.0",
|
|
177
|
+
"@vitejs/plugin-react": "^5.0.4",
|
|
178
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
179
|
+
"@vitest/ui": "^3.2.4",
|
|
180
|
+
"add": "^2.0.6",
|
|
181
|
+
"cpy-cli": "^6.0.0",
|
|
182
|
+
"eslint": "^9.37.0",
|
|
183
|
+
"eslint-config-kubit": "0.0.15-flat",
|
|
184
|
+
"eslint-config-prettier": "^10.1.8",
|
|
185
|
+
"eslint-config-standard-with-typescript": "^43.0.1",
|
|
186
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
187
|
+
"eslint-plugin-import": "^2.32.0",
|
|
188
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
189
|
+
"eslint-plugin-n": "^17.23.1",
|
|
190
|
+
"eslint-plugin-node": "^11.1.0",
|
|
191
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
192
|
+
"eslint-plugin-promise": "^7.2.1",
|
|
193
|
+
"eslint-plugin-react": "^7.37.5",
|
|
194
|
+
"eslint-plugin-react-hooks": "^6.1.1",
|
|
195
|
+
"eslint-plugin-react-refresh": "^0.4.23",
|
|
196
|
+
"eslint-plugin-storybook": "^9.1.10",
|
|
197
|
+
"eslint-plugin-unused-imports": "^4.2.0",
|
|
198
|
+
"gts": "^6.0.2",
|
|
199
|
+
"html-validate": "^10.1.1",
|
|
200
|
+
"jsdom": "^27.0.0",
|
|
201
|
+
"json-beautify": "^1.1.1",
|
|
202
|
+
"prettier": "^3.6.2",
|
|
203
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
204
|
+
"sort-imports": "^1.1.0",
|
|
205
|
+
"storybook": "9.1.10",
|
|
206
|
+
"tsc-alias": "1.8.16",
|
|
207
|
+
"typedoc": "^0.28.13",
|
|
208
|
+
"typedoc-plugin-markdown": "^4.9.0",
|
|
209
|
+
"typescript": "^5.9.3",
|
|
210
|
+
"typescript-eslint": "^8.46.0",
|
|
211
|
+
"vite": "^7.1.9",
|
|
212
|
+
"vite-plugin-dts": "^4.5.4",
|
|
213
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
214
|
+
"vitest": "^3.2.4",
|
|
215
|
+
"vitest-axe": "^0.1.0",
|
|
216
|
+
"yarn": "^1.22.22",
|
|
217
|
+
"yarn-deduplicate": "^6.0.2",
|
|
218
|
+
"@storybook/addon-docs": "9.1.10"
|
|
219
|
+
},
|
|
220
|
+
"dependencies": {
|
|
221
|
+
"react": "18.3.1",
|
|
222
|
+
"react-dom": "18.3.1",
|
|
223
|
+
"react-transition-group": "^4.4.5"
|
|
224
|
+
}
|
|
225
|
+
}
|