@kubit-ui-web/react-charts 1.11.0 → 1.11.1
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/CHANGELOG.md +261 -0
- package/README.md +20 -5
- package/dist/cjs/charts/barChart/barChart.js +1 -13
- package/dist/cjs/charts/barChart/barChartStructure.js +1 -80
- package/dist/cjs/charts/barChart/context/barChartContext.js +1 -2
- package/dist/cjs/charts/barChart/context/buildBarContextValues.js +1 -262
- package/dist/cjs/charts/barChart/fragments/barChartPath.js +1 -71
- package/dist/cjs/charts/barChart/fragments/barChartSeparator.js +1 -84
- package/dist/cjs/charts/barChart/fragments/barChartXAxis.js +1 -28
- package/dist/cjs/charts/barChart/fragments/barChartYAxis.js +1 -21
- package/dist/cjs/charts/barChart/index.js +1 -1
- package/dist/cjs/charts/barChart/utils/countBarChildren.js +1 -11
- package/dist/cjs/charts/barChart/utils/getAxisExtraSpacing.js +1 -116
- package/dist/cjs/charts/barChart/utils/getBarDataValue.js +1 -24
- package/dist/cjs/charts/barChart/utils/getRoundedBarMaxValue.js +1 -11
- package/dist/cjs/charts/constants/chartDefaults.js +1 -96
- package/dist/cjs/charts/customBackgroundChart/context/customBackgroundChartContext.js +1 -3
- package/dist/cjs/charts/customBackgroundChart/customBackgroundChart.js +1 -7
- package/dist/cjs/charts/customBackgroundChart/customBackgroundChartStructure.js +1 -41
- package/dist/cjs/charts/customBackgroundChart/fragments/customBackgroundChartPlot.js +1 -49
- package/dist/cjs/charts/customBackgroundChart/index.js +1 -1
- package/dist/cjs/charts/customBackgroundChart/utils/accessibility.js +1 -32
- package/dist/cjs/charts/lineChart/context/buildLineContextValue.js +1 -186
- package/dist/cjs/charts/lineChart/context/lineChartContext.js +1 -2
- package/dist/cjs/charts/lineChart/fragments/lineChartPath2.js +1 -0
- package/dist/cjs/charts/lineChart/fragments/lineChartProjection.js +1 -65
- package/dist/cjs/charts/lineChart/fragments/lineChartSeparator.js +1 -84
- package/dist/cjs/charts/lineChart/fragments/lineChartXAxis.js +1 -32
- package/dist/cjs/charts/lineChart/fragments/lineChartYAxis.js +1 -41
- package/dist/cjs/charts/lineChart/hook/useAutoClick.js +1 -19
- package/dist/cjs/charts/lineChart/hook/useHover.js +1 -30
- package/dist/cjs/charts/lineChart/hook/useIndicator.js +1 -31
- package/dist/cjs/charts/lineChart/index.js +1 -1
- package/dist/cjs/charts/lineChart/lineChart.js +1 -13
- package/dist/cjs/charts/lineChart/lineChartStructure.js +1 -121
- package/dist/cjs/charts/lineChart/utils/accessibilityTemplateProcessor.js +1 -56
- package/dist/cjs/charts/lineChart/utils/findSurroundingNumber.js +1 -25
- package/dist/cjs/charts/lineChart/utils/getCoordinates.js +1 -55
- package/dist/cjs/charts/lineChart/utils/getDataValues.js +1 -24
- package/dist/cjs/charts/lineChart/utils/getExtraSpacing.js +1 -141
- package/dist/cjs/charts/lineChart/utils/getPathData.js +1 -33
- package/dist/cjs/charts/lineChart/utils/getProjection.js +1 -105
- package/dist/cjs/charts/lineChart/utils/getRoundedMaxValue.js +1 -25
- package/dist/cjs/charts/lineChart/utils/getTicks.js +1 -36
- package/dist/cjs/charts/lineChart/utils/handleNodesFocus.js +1 -34
- package/dist/cjs/charts/lineChart/utils/tickTextPosition.js +1 -109
- package/dist/cjs/charts/lineChart/utils/validations.js +1 -117
- package/dist/cjs/charts/pieChart/context/buildPieContextValue.js +1 -57
- package/dist/cjs/charts/pieChart/context/pieChartContext.js +1 -2
- package/dist/cjs/charts/pieChart/fragments/pieChartForeign.js +1 -13
- package/dist/cjs/charts/pieChart/fragments/pieChartPath.js +1 -63
- package/dist/cjs/charts/pieChart/fragments/pieChartSegment.js +1 -90
- package/dist/cjs/charts/pieChart/index.js +1 -1
- package/dist/cjs/charts/pieChart/pieChart.js +1 -9
- package/dist/cjs/charts/pieChart/pieChartStructure.js +1 -76
- package/dist/cjs/charts/pieChart/utils/accessibility.js +1 -21
- package/dist/cjs/charts/pieChart/utils/buildL.js +1 -9
- package/dist/cjs/charts/pieChart/utils/calculatePoint.js +1 -13
- package/dist/cjs/charts/pieChart/utils/calculateSegmentPath.js +1 -57
- package/dist/cjs/charts/pieChart/utils/drawSegmentPath.js +1 -41
- package/dist/cjs/charts/pieChart/utils/rotationDirection.js +1 -13
- package/dist/cjs/components/axisChart/utils/filterLineProps/filterLineProps.js +1 -38
- package/dist/cjs/components/axisChart/xAxis/xAxis.js +1 -42
- package/dist/cjs/components/axisChart/yAxis/yAxis.js +1 -34
- package/dist/cjs/components/bar/bar.js +1 -44
- package/dist/cjs/components/bar/bar.type.js +1 -4
- package/dist/cjs/components/bar/utils/accessibility.js +1 -30
- package/dist/cjs/components/bar/utils/buildD.js +1 -115
- package/dist/cjs/components/bar/utils/getSegments.js +1 -31
- package/dist/cjs/components/chartText/chartText.js +1 -18
- package/dist/cjs/components/focusRing/components/FocusRingInline.js +1 -37
- package/dist/cjs/components/focusRing/components/FocusRingRenderer.js +1 -25
- package/dist/cjs/components/focusRing/components/FocusRingSeparate.js +1 -45
- package/dist/cjs/components/focusRing/focusRing2.js +1 -0
- package/dist/cjs/components/focusRing/hooks/useFocusRingData.js +1 -67
- package/dist/cjs/components/focusRing/utils/composeRefs.js +1 -16
- package/dist/cjs/components/focusRing/utils/createAdaptiveFocusRings.js +1 -141
- package/dist/cjs/components/focusRing/utils/createBoundingBoxFocusRings.js +1 -126
- package/dist/cjs/components/foreignObject/foreignObject.js +1 -4
- package/dist/cjs/components/line/line.js +1 -9
- package/dist/cjs/components/node/components/circle/circle.js +1 -6
- package/dist/cjs/components/node/components/hexagon/hexagon.js +1 -8
- package/dist/cjs/components/node/components/pentagon/pentagon.js +1 -8
- package/dist/cjs/components/node/components/square/square.js +1 -6
- package/dist/cjs/components/node/components/star/star.js +1 -10
- package/dist/cjs/components/node/components/straight/straight.js +1 -7
- package/dist/cjs/components/node/components/triangle/triangle.js +1 -11
- package/dist/cjs/components/node/node.js +1 -98
- package/dist/cjs/components/node/node.types.js +1 -18
- package/dist/cjs/components/node/utils/calculateShapePoints/calculateShapePoints.js +1 -18
- package/dist/cjs/components/path/components/nodePath/nodePath.js +1 -38
- package/dist/cjs/components/path/path2.js +1 -0
- package/dist/cjs/components/plot/components/circle/circle.js +1 -6
- package/dist/cjs/components/plot/components/square/square.js +1 -6
- package/dist/cjs/components/plot/components/triangle/triangle.js +1 -14
- package/dist/cjs/components/plot/plot.types.js +1 -51
- package/dist/cjs/components/plot/plot2.js +1 -0
- package/dist/cjs/components/svgContainer/svgContainer.js +1 -34
- package/dist/cjs/components/svgContainer/utils/buildViewBox/buildViewBox.js +1 -20
- package/dist/cjs/components/tick/tick.js +1 -19
- package/dist/cjs/components/tick/tick.types.js +1 -24
- package/dist/cjs/components/zoomArea/components/HandlerIcon.js +1 -22
- package/dist/cjs/components/zoomArea/components/LineRenderer.js +1 -11
- package/dist/cjs/components/zoomArea/components/SelectionArea.js +1 -16
- package/dist/cjs/components/zoomArea/components/ZoomHandler.js +1 -46
- package/dist/cjs/components/zoomArea/hooks/useDragInteraction.js +1 -110
- package/dist/cjs/components/zoomArea/hooks/useKeyboardNavigation.js +1 -122
- package/dist/cjs/components/zoomArea/hooks/useZoomAreaFocus.js +1 -28
- package/dist/cjs/components/zoomArea/hooks/useZoomData.js +1 -31
- package/dist/cjs/components/zoomArea/utils/accessibilityLabels.js +1 -60
- package/dist/cjs/components/zoomArea/utils/indexRounding.js +1 -68
- package/dist/cjs/components/zoomArea/utils/interactionConfig.js +1 -23
- package/dist/cjs/components/zoomArea/utils/pathGeneration.js +1 -112
- package/dist/cjs/components/zoomArea/utils/rangeAndPositions.js +1 -75
- package/dist/cjs/components/zoomArea/utils/selectionConfig.js +1 -29
- package/dist/cjs/components/zoomArea/zoomArea.js +1 -80
- package/dist/cjs/components/zoomArea/zoomArea.type.js +1 -8
- package/dist/cjs/hooks/useFocus/useFocus.js +1 -25
- package/dist/cjs/hooks/useHover/useHover.js +1 -27
- package/dist/cjs/hooks/useId/useId.js +1 -13
- package/dist/cjs/hooks/useResponsiveCanvas/useResponsiveCanvas.js +1 -76
- package/dist/cjs/index.js +1 -3
- package/dist/cjs/react-charts.css +2 -0
- package/dist/cjs/types/canvas.type.js +1 -11
- package/dist/cjs/types/errors.type.js +1 -28
- package/dist/cjs/types/focusConfig.type.js +1 -25
- package/dist/cjs/types/position.enum.js +1 -17
- package/dist/cjs/types/unit.enum.js +1 -11
- package/dist/cjs/utils/adaptLegacyFocusConfig/adaptLegacyFocusConfig.js +1 -27
- package/dist/cjs/utils/ajustedTextSpace/ajustedTextSpace.js +1 -15
- package/dist/cjs/utils/buildErrors/buildErrors.js +1 -45
- package/dist/cjs/utils/buildErrors/charts/buildBarChartErrors.js +1 -16
- package/dist/cjs/utils/buildErrors/charts/buildLineChartErrors.js +1 -12
- package/dist/cjs/utils/buildErrors/charts/buildPieChartErrors.js +1 -36
- package/dist/cjs/utils/buildErrors/constants/errorMessages/barChartErrorMessages.js +1 -23
- package/dist/cjs/utils/buildErrors/constants/errorMessages/lineChartErrorMessages.js +1 -29
- package/dist/cjs/utils/buildErrors/constants/errorMessages/pieChartErrorMessages.js +1 -20
- package/dist/cjs/utils/buildErrors/constants/errors/barChartErrors.js +1 -28
- package/dist/cjs/utils/buildErrors/constants/errors/lineChartErrors.js +1 -34
- package/dist/cjs/utils/buildErrors/constants/errors/pieChartErrors.js +1 -25
- package/dist/cjs/utils/buildTickValues/buildTickValues.js +1 -47
- package/dist/cjs/utils/createErrorAccumulator/createErrorAccumulator.js +1 -54
- package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.js +1 -46
- package/dist/cjs/utils/cursorNear/isNear.js +1 -3
- package/dist/cjs/utils/getCanvasDimensions/getCanvasDimensions.js +1 -108
- package/dist/cjs/utils/getChildrenAttr/getChildrenAttr.js +1 -15
- package/dist/cjs/utils/getCoordinates/getCoordinates.js +1 -90
- package/dist/cjs/utils/getDataFingerprint/getDataFingerprint.js +1 -10
- package/dist/cjs/utils/getPoints/getPoints.js +1 -49
- package/dist/cjs/utils/getTickTextCoordinate/getTickTextCoordinates.js +1 -30
- package/dist/cjs/utils/getTicks/getTicks.js +1 -49
- package/dist/cjs/utils/logger/logger.js +1 -140
- package/dist/cjs/utils/parseStringToNumberPx.ts/parseStringToNumberPx.js +1 -29
- package/dist/cjs/utils/pickCustomAttributes/pickCustomAttributes.js +1 -47
- package/dist/cjs/utils/shadowSvg/shadowSvg.js +1 -4
- package/dist/cjs/utils/ssr/ssr.js +1 -117
- package/dist/cjs/utils/textBound/textBound.js +1 -34
- package/dist/esm/charts/barChart/barChart.js +10 -11
- package/dist/esm/charts/barChart/barChartStructure.js +68 -79
- package/dist/esm/charts/barChart/context/barChartContext.js +3 -2
- package/dist/esm/charts/barChart/context/buildBarContextValues.js +155 -261
- package/dist/esm/charts/barChart/fragments/barChartPath.js +57 -70
- package/dist/esm/charts/barChart/fragments/barChartSeparator.js +60 -83
- package/dist/esm/charts/barChart/fragments/barChartXAxis.js +31 -27
- package/dist/esm/charts/barChart/fragments/barChartYAxis.js +28 -20
- package/dist/esm/charts/barChart/index.js +1 -1
- package/dist/esm/charts/barChart/utils/countBarChildren.js +8 -10
- package/dist/esm/charts/barChart/utils/getAxisExtraSpacing.js +80 -114
- package/dist/esm/charts/barChart/utils/getBarDataValue.js +10 -23
- package/dist/esm/charts/barChart/utils/getRoundedBarMaxValue.js +2 -11
- package/dist/esm/charts/constants/chartDefaults.js +19 -96
- package/dist/esm/charts/customBackgroundChart/context/customBackgroundChartContext.js +3 -3
- package/dist/esm/charts/customBackgroundChart/customBackgroundChart.js +3 -6
- package/dist/esm/charts/customBackgroundChart/customBackgroundChartStructure.js +66 -40
- package/dist/esm/charts/customBackgroundChart/fragments/customBackgroundChartPlot.js +45 -48
- package/dist/esm/charts/customBackgroundChart/index.js +1 -1
- package/dist/esm/charts/customBackgroundChart/utils/accessibility.js +13 -32
- package/dist/esm/charts/lineChart/context/buildLineContextValue.js +138 -185
- package/dist/esm/charts/lineChart/context/lineChartContext.js +3 -2
- package/dist/esm/charts/lineChart/fragments/lineChartPath2.js +122 -0
- package/dist/esm/charts/lineChart/fragments/lineChartProjection.js +57 -64
- package/dist/esm/charts/lineChart/fragments/lineChartSeparator.js +60 -83
- package/dist/esm/charts/lineChart/fragments/lineChartXAxis.js +33 -31
- package/dist/esm/charts/lineChart/fragments/lineChartYAxis.js +38 -40
- package/dist/esm/charts/lineChart/hook/useAutoClick.js +13 -18
- package/dist/esm/charts/lineChart/hook/useHover.js +17 -29
- package/dist/esm/charts/lineChart/hook/useIndicator.js +14 -30
- package/dist/esm/charts/lineChart/index.js +1 -1
- package/dist/esm/charts/lineChart/lineChart.js +10 -11
- package/dist/esm/charts/lineChart/lineChartStructure.js +91 -120
- package/dist/esm/charts/lineChart/utils/accessibilityTemplateProcessor.js +16 -53
- package/dist/esm/charts/lineChart/utils/findSurroundingNumber.js +18 -24
- package/dist/esm/charts/lineChart/utils/getCoordinates.js +48 -54
- package/dist/esm/charts/lineChart/utils/getDataValues.js +10 -23
- package/dist/esm/charts/lineChart/utils/getExtraSpacing.js +109 -139
- package/dist/esm/charts/lineChart/utils/getPathData.js +8 -32
- package/dist/esm/charts/lineChart/utils/getProjection.js +40 -103
- package/dist/esm/charts/lineChart/utils/getRoundedMaxValue.js +2 -25
- package/dist/esm/charts/lineChart/utils/getTicks.js +23 -35
- package/dist/esm/charts/lineChart/utils/handleNodesFocus.js +16 -33
- package/dist/esm/charts/lineChart/utils/tickTextPosition.js +33 -108
- package/dist/esm/charts/lineChart/utils/validations.js +67 -116
- package/dist/esm/charts/pieChart/context/buildPieContextValue.js +27 -56
- package/dist/esm/charts/pieChart/context/pieChartContext.js +3 -2
- package/dist/esm/charts/pieChart/fragments/pieChartForeign.js +16 -12
- package/dist/esm/charts/pieChart/fragments/pieChartPath.js +52 -62
- package/dist/esm/charts/pieChart/fragments/pieChartSegment.js +41 -89
- package/dist/esm/charts/pieChart/index.js +1 -1
- package/dist/esm/charts/pieChart/pieChart.js +6 -7
- package/dist/esm/charts/pieChart/pieChartStructure.js +57 -75
- package/dist/esm/charts/pieChart/utils/accessibility.js +10 -20
- package/dist/esm/charts/pieChart/utils/buildL.js +3 -8
- package/dist/esm/charts/pieChart/utils/calculatePoint.js +5 -13
- package/dist/esm/charts/pieChart/utils/calculateSegmentPath.js +28 -56
- package/dist/esm/charts/pieChart/utils/drawSegmentPath.js +28 -40
- package/dist/esm/charts/pieChart/utils/rotationDirection.js +11 -12
- package/dist/esm/components/axisChart/utils/filterLineProps/filterLineProps.js +23 -37
- package/dist/esm/components/axisChart/xAxis/xAxis.js +37 -42
- package/dist/esm/components/axisChart/yAxis/yAxis.js +36 -34
- package/dist/esm/components/bar/bar.js +57 -43
- package/dist/esm/components/bar/bar.type.js +4 -3
- package/dist/esm/components/bar/utils/accessibility.js +13 -29
- package/dist/esm/components/bar/utils/buildD.js +21 -113
- package/dist/esm/components/bar/utils/getSegments.js +12 -30
- package/dist/esm/components/chartText/chartText.js +7 -18
- package/dist/esm/components/focusRing/components/FocusRingInline.js +16 -36
- package/dist/esm/components/focusRing/components/FocusRingRenderer.js +14 -25
- package/dist/esm/components/focusRing/components/FocusRingSeparate.js +14 -44
- package/dist/esm/components/focusRing/focusRing2.js +18 -0
- package/dist/esm/components/focusRing/hooks/useFocusRingData.js +27 -66
- package/dist/esm/components/focusRing/utils/composeRefs.js +7 -15
- package/dist/esm/components/focusRing/utils/createAdaptiveFocusRings.js +71 -137
- package/dist/esm/components/focusRing/utils/createBoundingBoxFocusRings.js +70 -123
- package/dist/esm/components/foreignObject/foreignObject.js +10 -4
- package/dist/esm/components/line/line.js +8 -9
- package/dist/esm/components/node/components/circle/circle.js +11 -6
- package/dist/esm/components/node/components/hexagon/hexagon.js +16 -8
- package/dist/esm/components/node/components/pentagon/pentagon.js +16 -8
- package/dist/esm/components/node/components/square/square.js +15 -6
- package/dist/esm/components/node/components/star/star.js +16 -10
- package/dist/esm/components/node/components/straight/straight.js +16 -7
- package/dist/esm/components/node/components/triangle/triangle.js +19 -11
- package/dist/esm/components/node/node.js +73 -97
- package/dist/esm/components/node/node.types.js +9 -17
- package/dist/esm/components/node/utils/calculateShapePoints/calculateShapePoints.js +8 -17
- package/dist/esm/components/path/components/nodePath/nodePath.js +35 -38
- package/dist/esm/components/path/path2.js +127 -0
- package/dist/esm/components/plot/components/circle/circle.js +11 -6
- package/dist/esm/components/plot/components/square/square.js +12 -6
- package/dist/esm/components/plot/components/triangle/triangle.js +12 -14
- package/dist/esm/components/plot/plot.types.js +17 -50
- package/dist/esm/components/plot/plot2.js +68 -0
- package/dist/esm/components/svgContainer/svgContainer.js +33 -34
- package/dist/esm/components/svgContainer/utils/buildViewBox/buildViewBox.js +2 -20
- package/dist/esm/components/tick/tick.js +8 -19
- package/dist/esm/components/tick/tick.types.js +5 -24
- package/dist/esm/components/zoomArea/components/HandlerIcon.js +13 -22
- package/dist/esm/components/zoomArea/components/LineRenderer.js +14 -11
- package/dist/esm/components/zoomArea/components/SelectionArea.js +35 -15
- package/dist/esm/components/zoomArea/components/ZoomHandler.js +67 -44
- package/dist/esm/components/zoomArea/hooks/useDragInteraction.js +54 -108
- package/dist/esm/components/zoomArea/hooks/useKeyboardNavigation.js +68 -120
- package/dist/esm/components/zoomArea/hooks/useZoomAreaFocus.js +11 -27
- package/dist/esm/components/zoomArea/hooks/useZoomData.js +18 -30
- package/dist/esm/components/zoomArea/utils/accessibilityLabels.js +15 -58
- package/dist/esm/components/zoomArea/utils/indexRounding.js +7 -67
- package/dist/esm/components/zoomArea/utils/interactionConfig.js +9 -21
- package/dist/esm/components/zoomArea/utils/pathGeneration.js +20 -111
- package/dist/esm/components/zoomArea/utils/rangeAndPositions.js +20 -75
- package/dist/esm/components/zoomArea/utils/selectionConfig.js +13 -27
- package/dist/esm/components/zoomArea/zoomArea.js +130 -79
- package/dist/esm/components/zoomArea/zoomArea.type.js +5 -7
- package/dist/esm/hooks/useFocus/useFocus.js +13 -24
- package/dist/esm/hooks/useHover/useHover.js +13 -26
- package/dist/esm/hooks/useId/useId.js +6 -12
- package/dist/esm/hooks/useResponsiveCanvas/useResponsiveCanvas.js +55 -75
- package/dist/esm/index.js +36 -3
- package/dist/esm/react-charts.css +2 -0
- package/dist/esm/types/canvas.type.js +5 -10
- package/dist/esm/types/errors.type.js +20 -28
- package/dist/esm/types/focusConfig.type.js +15 -24
- package/dist/esm/types/position.enum.js +8 -16
- package/dist/esm/types/unit.enum.js +4 -10
- package/dist/esm/utils/adaptLegacyFocusConfig/adaptLegacyFocusConfig.js +9 -26
- package/dist/esm/utils/ajustedTextSpace/ajustedTextSpace.js +15 -14
- package/dist/esm/utils/buildErrors/buildErrors.js +18 -44
- package/dist/esm/utils/buildErrors/charts/buildBarChartErrors.js +2 -16
- package/dist/esm/utils/buildErrors/charts/buildLineChartErrors.js +2 -12
- package/dist/esm/utils/buildErrors/charts/buildPieChartErrors.js +2 -36
- package/dist/esm/utils/buildErrors/constants/errorMessages/barChartErrorMessages.js +18 -22
- package/dist/esm/utils/buildErrors/constants/errorMessages/lineChartErrorMessages.js +24 -28
- package/dist/esm/utils/buildErrors/constants/errorMessages/pieChartErrorMessages.js +12 -19
- package/dist/esm/utils/buildErrors/constants/errors/barChartErrors.js +20 -28
- package/dist/esm/utils/buildErrors/constants/errors/lineChartErrors.js +26 -34
- package/dist/esm/utils/buildErrors/constants/errors/pieChartErrors.js +14 -25
- package/dist/esm/utils/buildTickValues/buildTickValues.js +13 -46
- package/dist/esm/utils/createErrorAccumulator/createErrorAccumulator.js +28 -53
- package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.js +34 -45
- package/dist/esm/utils/cursorNear/isNear.js +2 -3
- package/dist/esm/utils/getCanvasDimensions/getCanvasDimensions.js +37 -106
- package/dist/esm/utils/getChildrenAttr/getChildrenAttr.js +10 -14
- package/dist/esm/utils/getCoordinates/getCoordinates.js +42 -89
- package/dist/esm/utils/getDataFingerprint/getDataFingerprint.js +2 -10
- package/dist/esm/utils/getPoints/getPoints.js +22 -49
- package/dist/esm/utils/getTickTextCoordinate/getTickTextCoordinates.js +3 -30
- package/dist/esm/utils/getTicks/getTicks.js +13 -48
- package/dist/esm/utils/logger/logger.js +25 -140
- package/dist/esm/utils/parseStringToNumberPx.ts/parseStringToNumberPx.js +9 -28
- package/dist/esm/utils/pickCustomAttributes/pickCustomAttributes.js +2 -47
- package/dist/esm/utils/shadowSvg/shadowSvg.js +10 -4
- package/dist/esm/utils/ssr/ssr.js +11 -117
- package/dist/esm/utils/textBound/textBound.js +17 -33
- package/dist/types/charts/barChart/barChart.d.ts +5 -5
- package/dist/types/charts/barChart/barChart.type.d.ts +1 -1
- package/dist/types/charts/barChart/context/barChartContext.d.ts +1 -1
- package/dist/types/charts/barChart/fragments/barChartSeparator.d.ts +1 -1
- package/dist/types/charts/barChart/fragments/barChartXAxis.d.ts +1 -1
- package/dist/types/charts/barChart/fragments/barChartYAxis.d.ts +1 -1
- package/dist/types/charts/customBackgroundChart/context/customBackgroundChartContext.d.ts +1 -1
- package/dist/types/charts/customBackgroundChart/customBackgroundChart.d.ts +2 -2
- package/dist/types/charts/customBackgroundChart/customBackgroundChartStructure.d.ts +1 -1
- package/dist/types/charts/customBackgroundChart/fragments/customBackgroundChartPlot.d.ts +1 -1
- package/dist/types/charts/lineChart/context/lineChartContext.d.ts +1 -1
- package/dist/types/charts/lineChart/fragments/lineChartPath.d.ts +1 -1
- package/dist/types/charts/lineChart/fragments/lineChartProjection.d.ts +1 -1
- package/dist/types/charts/lineChart/fragments/lineChartSeparator.d.ts +1 -1
- package/dist/types/charts/lineChart/fragments/lineChartXAxis.d.ts +1 -1
- package/dist/types/charts/lineChart/lineChart.d.ts +5 -5
- package/dist/types/charts/lineChart/lineChart.type.d.ts +1 -1
- package/dist/types/charts/lineChart/lineChartStructure.d.ts +1 -1
- package/dist/types/charts/pieChart/context/pieChartContext.d.ts +1 -1
- package/dist/types/charts/pieChart/fragments/pieChartForeign.d.ts +1 -1
- package/dist/types/charts/pieChart/fragments/pieChartPath.d.ts +1 -1
- package/dist/types/charts/pieChart/pieChart.d.ts +3 -3
- package/dist/types/charts/pieChart/pieChart.type.d.ts +1 -1
- package/dist/types/charts/pieChart/pieChartStructure.d.ts +1 -1
- package/dist/types/components/axisChart/xAxis/xAxis.d.ts +1 -1
- package/dist/types/components/axisChart/yAxis/yAxis.d.ts +1 -1
- package/dist/types/components/bar/bar.d.ts +1 -1
- package/dist/types/components/bar/bar.type.d.ts +1 -1
- package/dist/types/components/chartText/chartText.d.ts +1 -1
- package/dist/types/components/focusRing/components/FocusRingInline.d.ts +1 -1
- package/dist/types/components/focusRing/components/FocusRingSeparate.d.ts +1 -1
- package/dist/types/components/focusRing/focusRing.d.ts +1 -1
- package/dist/types/components/focusRing/focusRing.types.d.ts +1 -1
- package/dist/types/components/focusRing/hooks/useFocusRingData.d.ts +1 -1
- package/dist/types/components/focusRing/utils/composeRefs.d.ts +1 -1
- package/dist/types/components/foreignObject/foreignObject.d.ts +1 -1
- package/dist/types/components/foreignObject/foreignObject.types.d.ts +1 -1
- package/dist/types/components/line/line.d.ts +1 -1
- package/dist/types/components/line/line.types.d.ts +1 -1
- package/dist/types/components/node/components/circle/circle.d.ts +1 -1
- package/dist/types/components/node/components/hexagon/hexagon.d.ts +1 -1
- package/dist/types/components/node/components/pentagon/pentagon.d.ts +1 -1
- package/dist/types/components/node/components/square/square.d.ts +1 -1
- package/dist/types/components/node/components/star/star.d.ts +1 -1
- package/dist/types/components/node/components/straight/straight.d.ts +1 -1
- package/dist/types/components/node/components/triangle/triangle.d.ts +1 -1
- package/dist/types/components/node/node.d.ts +1 -1
- package/dist/types/components/node/node.types.d.ts +1 -1
- package/dist/types/components/path/components/nodePath/nodePath.d.ts +2 -2
- package/dist/types/components/path/path.d.ts +1 -1
- package/dist/types/components/path/path.types.d.ts +1 -1
- package/dist/types/components/plot/components/circle/circle.d.ts +1 -1
- package/dist/types/components/plot/components/square/square.d.ts +1 -1
- package/dist/types/components/plot/components/triangle/triangle.d.ts +1 -1
- package/dist/types/components/plot/plot.d.ts +1 -1
- package/dist/types/components/svgContainer/svgContainer.d.ts +1 -1
- package/dist/types/components/tick/tick.d.ts +1 -1
- package/dist/types/components/zoomArea/components/HandlerIcon.d.ts +1 -1
- package/dist/types/components/zoomArea/components/LineRenderer.d.ts +1 -1
- package/dist/types/components/zoomArea/components/SelectionArea.d.ts +2 -2
- package/dist/types/components/zoomArea/components/ZoomHandler.d.ts +1 -1
- package/dist/types/hooks/useFocus/useFocus.types.d.ts +1 -1
- package/dist/types/hooks/useHover/useHover.types.d.ts +1 -1
- package/dist/types/tests/index.d.ts +2 -0
- package/dist/types/tests/index.d.ts.map +1 -0
- package/dist/types/tests/render/render.d.ts +15 -0
- package/dist/types/tests/render/render.d.ts.map +1 -0
- package/dist/types/utils/getChildrenAttr/getChildrenAttr.d.ts +1 -1
- package/package.json +109 -112
- package/dist/cjs/charts/barChart/barChart.d.ts +0 -9
- package/dist/cjs/charts/barChart/barChart.d.ts.map +0 -1
- package/dist/cjs/charts/barChart/barChart.type.d.ts +0 -139
- package/dist/cjs/charts/barChart/barChart.type.d.ts.map +0 -1
- package/dist/cjs/charts/barChart/barChart.type.js +0 -1
- package/dist/cjs/charts/barChart/barChartStructure.d.ts +0 -3
- package/dist/cjs/charts/barChart/barChartStructure.d.ts.map +0 -1
- package/dist/cjs/charts/barChart/context/barChartContext.d.ts +0 -3
- package/dist/cjs/charts/barChart/context/barChartContext.d.ts.map +0 -1
- package/dist/cjs/charts/barChart/context/buildBarContextValues.d.ts +0 -26
- package/dist/cjs/charts/barChart/context/buildBarContextValues.d.ts.map +0 -1
- package/dist/cjs/charts/barChart/fragments/barChartPath.d.ts +0 -9
- package/dist/cjs/charts/barChart/fragments/barChartPath.d.ts.map +0 -1
- package/dist/cjs/charts/barChart/fragments/barChartSeparator.d.ts +0 -4
- package/dist/cjs/charts/barChart/fragments/barChartSeparator.d.ts.map +0 -1
- package/dist/cjs/charts/barChart/fragments/barChartXAxis.d.ts +0 -4
- package/dist/cjs/charts/barChart/fragments/barChartXAxis.d.ts.map +0 -1
- package/dist/cjs/charts/barChart/fragments/barChartYAxis.d.ts +0 -4
- package/dist/cjs/charts/barChart/fragments/barChartYAxis.d.ts.map +0 -1
- package/dist/cjs/charts/barChart/fragments/fixture/barContextData.d.ts +0 -3
- package/dist/cjs/charts/barChart/fragments/fixture/barContextData.d.ts.map +0 -1
- package/dist/cjs/charts/barChart/fragments/fixture/barContextData.js +0 -42
- package/dist/cjs/charts/barChart/fragments/fixture/index.d.ts +0 -2
- package/dist/cjs/charts/barChart/fragments/fixture/index.d.ts.map +0 -1
- package/dist/cjs/charts/barChart/fragments/fixture/index.js +0 -1
- package/dist/cjs/charts/barChart/index.d.ts +0 -2
- package/dist/cjs/charts/barChart/index.d.ts.map +0 -1
- package/dist/cjs/charts/barChart/utils/countBarChildren.d.ts +0 -3
- package/dist/cjs/charts/barChart/utils/countBarChildren.d.ts.map +0 -1
- package/dist/cjs/charts/barChart/utils/getAxisExtraSpacing.d.ts +0 -17
- package/dist/cjs/charts/barChart/utils/getAxisExtraSpacing.d.ts.map +0 -1
- package/dist/cjs/charts/barChart/utils/getBarDataValue.d.ts +0 -8
- package/dist/cjs/charts/barChart/utils/getBarDataValue.d.ts.map +0 -1
- package/dist/cjs/charts/barChart/utils/getRoundedBarMaxValue.d.ts +0 -9
- package/dist/cjs/charts/barChart/utils/getRoundedBarMaxValue.d.ts.map +0 -1
- package/dist/cjs/charts/constants/chartDefaults.d.ts +0 -97
- package/dist/cjs/charts/constants/chartDefaults.d.ts.map +0 -1
- package/dist/cjs/charts/customBackgroundChart/context/customBackgroundChartContext.d.ts +0 -3
- package/dist/cjs/charts/customBackgroundChart/context/customBackgroundChartContext.d.ts.map +0 -1
- package/dist/cjs/charts/customBackgroundChart/context/index.d.ts +0 -2
- package/dist/cjs/charts/customBackgroundChart/context/index.d.ts.map +0 -1
- package/dist/cjs/charts/customBackgroundChart/context/index.js +0 -1
- package/dist/cjs/charts/customBackgroundChart/customBackgroundChart.d.ts +0 -6
- package/dist/cjs/charts/customBackgroundChart/customBackgroundChart.d.ts.map +0 -1
- package/dist/cjs/charts/customBackgroundChart/customBackgroundChart.type.d.ts +0 -50
- package/dist/cjs/charts/customBackgroundChart/customBackgroundChart.type.d.ts.map +0 -1
- package/dist/cjs/charts/customBackgroundChart/customBackgroundChart.type.js +0 -1
- package/dist/cjs/charts/customBackgroundChart/customBackgroundChartStructure.d.ts +0 -4
- package/dist/cjs/charts/customBackgroundChart/customBackgroundChartStructure.d.ts.map +0 -1
- package/dist/cjs/charts/customBackgroundChart/fragments/customBackgroundChartPlot.d.ts +0 -4
- package/dist/cjs/charts/customBackgroundChart/fragments/customBackgroundChartPlot.d.ts.map +0 -1
- package/dist/cjs/charts/customBackgroundChart/fragments/index.d.ts +0 -2
- package/dist/cjs/charts/customBackgroundChart/fragments/index.d.ts.map +0 -1
- package/dist/cjs/charts/customBackgroundChart/fragments/index.js +0 -1
- package/dist/cjs/charts/customBackgroundChart/index.d.ts +0 -2
- package/dist/cjs/charts/customBackgroundChart/index.d.ts.map +0 -1
- package/dist/cjs/charts/customBackgroundChart/utils/accessibility.d.ts +0 -19
- package/dist/cjs/charts/customBackgroundChart/utils/accessibility.d.ts.map +0 -1
- package/dist/cjs/charts/index.d.ts +0 -5
- package/dist/cjs/charts/index.d.ts.map +0 -1
- package/dist/cjs/charts/index.js +0 -4
- package/dist/cjs/charts/lineChart/context/buildLineContextValue.d.ts +0 -21
- package/dist/cjs/charts/lineChart/context/buildLineContextValue.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/context/index.d.ts +0 -3
- package/dist/cjs/charts/lineChart/context/index.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/context/index.js +0 -2
- package/dist/cjs/charts/lineChart/context/lineChartContext.d.ts +0 -3
- package/dist/cjs/charts/lineChart/context/lineChartContext.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/fragments/fixture/contextData.d.ts +0 -3
- package/dist/cjs/charts/lineChart/fragments/fixture/contextData.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/fragments/fixture/contextData.js +0 -43
- package/dist/cjs/charts/lineChart/fragments/fixture/index.d.ts +0 -2
- package/dist/cjs/charts/lineChart/fragments/fixture/index.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/fragments/fixture/index.js +0 -1
- package/dist/cjs/charts/lineChart/fragments/index.d.ts +0 -5
- package/dist/cjs/charts/lineChart/fragments/index.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/fragments/index.js +0 -4
- package/dist/cjs/charts/lineChart/fragments/lineChartPath.css +0 -3
- package/dist/cjs/charts/lineChart/fragments/lineChartPath.d.ts +0 -5
- package/dist/cjs/charts/lineChart/fragments/lineChartPath.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/fragments/lineChartPath.js +0 -149
- package/dist/cjs/charts/lineChart/fragments/lineChartProjection.d.ts +0 -5
- package/dist/cjs/charts/lineChart/fragments/lineChartProjection.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/fragments/lineChartSeparator.d.ts +0 -4
- package/dist/cjs/charts/lineChart/fragments/lineChartSeparator.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/fragments/lineChartXAxis.d.ts +0 -4
- package/dist/cjs/charts/lineChart/fragments/lineChartXAxis.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/fragments/lineChartYAxis.d.ts +0 -3
- package/dist/cjs/charts/lineChart/fragments/lineChartYAxis.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/hook/index.d.ts +0 -4
- package/dist/cjs/charts/lineChart/hook/index.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/hook/index.js +0 -3
- package/dist/cjs/charts/lineChart/hook/useAutoClick.d.ts +0 -4
- package/dist/cjs/charts/lineChart/hook/useAutoClick.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/hook/useHover.d.ts +0 -12
- package/dist/cjs/charts/lineChart/hook/useHover.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/hook/useIndicator.d.ts +0 -7
- package/dist/cjs/charts/lineChart/hook/useIndicator.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/index.d.ts +0 -2
- package/dist/cjs/charts/lineChart/index.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/lineChart.d.ts +0 -9
- package/dist/cjs/charts/lineChart/lineChart.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/lineChart.type.d.ts +0 -173
- package/dist/cjs/charts/lineChart/lineChart.type.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/lineChart.type.js +0 -1
- package/dist/cjs/charts/lineChart/lineChartStructure.d.ts +0 -33
- package/dist/cjs/charts/lineChart/lineChartStructure.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts +0 -14
- package/dist/cjs/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/utils/findSurroundingNumber.d.ts +0 -8
- package/dist/cjs/charts/lineChart/utils/findSurroundingNumber.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/utils/getCoordinates.d.ts +0 -25
- package/dist/cjs/charts/lineChart/utils/getCoordinates.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/utils/getDataValues.d.ts +0 -8
- package/dist/cjs/charts/lineChart/utils/getDataValues.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/utils/getExtraSpacing.d.ts +0 -17
- package/dist/cjs/charts/lineChart/utils/getExtraSpacing.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/utils/getPathData.d.ts +0 -18
- package/dist/cjs/charts/lineChart/utils/getPathData.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/utils/getProjection.d.ts +0 -33
- package/dist/cjs/charts/lineChart/utils/getProjection.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/utils/getRoundedMaxValue.d.ts +0 -17
- package/dist/cjs/charts/lineChart/utils/getRoundedMaxValue.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/utils/getTicks.d.ts +0 -21
- package/dist/cjs/charts/lineChart/utils/getTicks.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/utils/handleNodesFocus.d.ts +0 -17
- package/dist/cjs/charts/lineChart/utils/handleNodesFocus.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/utils/index.d.ts +0 -7
- package/dist/cjs/charts/lineChart/utils/index.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/utils/index.js +0 -6
- package/dist/cjs/charts/lineChart/utils/tickTextPosition.d.ts +0 -33
- package/dist/cjs/charts/lineChart/utils/tickTextPosition.d.ts.map +0 -1
- package/dist/cjs/charts/lineChart/utils/validations.d.ts +0 -54
- package/dist/cjs/charts/lineChart/utils/validations.d.ts.map +0 -1
- package/dist/cjs/charts/pieChart/context/buildPieContextValue.d.ts +0 -18
- package/dist/cjs/charts/pieChart/context/buildPieContextValue.d.ts.map +0 -1
- package/dist/cjs/charts/pieChart/context/index.d.ts +0 -3
- package/dist/cjs/charts/pieChart/context/index.d.ts.map +0 -1
- package/dist/cjs/charts/pieChart/context/index.js +0 -2
- package/dist/cjs/charts/pieChart/context/pieChartContext.d.ts +0 -3
- package/dist/cjs/charts/pieChart/context/pieChartContext.d.ts.map +0 -1
- package/dist/cjs/charts/pieChart/fragments/index.d.ts +0 -3
- package/dist/cjs/charts/pieChart/fragments/index.d.ts.map +0 -1
- package/dist/cjs/charts/pieChart/fragments/index.js +0 -2
- package/dist/cjs/charts/pieChart/fragments/pieChartForeign.d.ts +0 -4
- package/dist/cjs/charts/pieChart/fragments/pieChartForeign.d.ts.map +0 -1
- package/dist/cjs/charts/pieChart/fragments/pieChartPath.d.ts +0 -15
- package/dist/cjs/charts/pieChart/fragments/pieChartPath.d.ts.map +0 -1
- package/dist/cjs/charts/pieChart/fragments/pieChartSegment.d.ts +0 -18
- package/dist/cjs/charts/pieChart/fragments/pieChartSegment.d.ts.map +0 -1
- package/dist/cjs/charts/pieChart/index.d.ts +0 -2
- package/dist/cjs/charts/pieChart/index.d.ts.map +0 -1
- package/dist/cjs/charts/pieChart/pieChart.d.ts +0 -7
- package/dist/cjs/charts/pieChart/pieChart.d.ts.map +0 -1
- package/dist/cjs/charts/pieChart/pieChart.type.d.ts +0 -75
- package/dist/cjs/charts/pieChart/pieChart.type.d.ts.map +0 -1
- package/dist/cjs/charts/pieChart/pieChart.type.js +0 -1
- package/dist/cjs/charts/pieChart/pieChartStructure.d.ts +0 -34
- package/dist/cjs/charts/pieChart/pieChartStructure.d.ts.map +0 -1
- package/dist/cjs/charts/pieChart/utils/accessibility.d.ts +0 -16
- package/dist/cjs/charts/pieChart/utils/accessibility.d.ts.map +0 -1
- package/dist/cjs/charts/pieChart/utils/buildL.d.ts +0 -13
- package/dist/cjs/charts/pieChart/utils/buildL.d.ts.map +0 -1
- package/dist/cjs/charts/pieChart/utils/calculatePoint.d.ts +0 -15
- package/dist/cjs/charts/pieChart/utils/calculatePoint.d.ts.map +0 -1
- package/dist/cjs/charts/pieChart/utils/calculateSegmentPath.d.ts +0 -34
- package/dist/cjs/charts/pieChart/utils/calculateSegmentPath.d.ts.map +0 -1
- package/dist/cjs/charts/pieChart/utils/drawSegmentPath.d.ts +0 -20
- package/dist/cjs/charts/pieChart/utils/drawSegmentPath.d.ts.map +0 -1
- package/dist/cjs/charts/pieChart/utils/index.d.ts +0 -3
- package/dist/cjs/charts/pieChart/utils/index.d.ts.map +0 -1
- package/dist/cjs/charts/pieChart/utils/index.js +0 -2
- package/dist/cjs/charts/pieChart/utils/rotationDirection.d.ts +0 -18
- package/dist/cjs/charts/pieChart/utils/rotationDirection.d.ts.map +0 -1
- package/dist/cjs/components/axisChart/index.d.ts +0 -3
- package/dist/cjs/components/axisChart/index.d.ts.map +0 -1
- package/dist/cjs/components/axisChart/index.js +0 -2
- package/dist/cjs/components/axisChart/utils/filterLineProps/filterLineProps.d.ts +0 -18
- package/dist/cjs/components/axisChart/utils/filterLineProps/filterLineProps.d.ts.map +0 -1
- package/dist/cjs/components/axisChart/utils/index.d.ts +0 -2
- package/dist/cjs/components/axisChart/utils/index.d.ts.map +0 -1
- package/dist/cjs/components/axisChart/utils/index.js +0 -1
- package/dist/cjs/components/axisChart/xAxis/index.d.ts +0 -3
- package/dist/cjs/components/axisChart/xAxis/index.d.ts.map +0 -1
- package/dist/cjs/components/axisChart/xAxis/index.js +0 -2
- package/dist/cjs/components/axisChart/xAxis/xAxis.d.ts +0 -11
- package/dist/cjs/components/axisChart/xAxis/xAxis.d.ts.map +0 -1
- package/dist/cjs/components/axisChart/xAxis/xAxis.types.d.ts +0 -40
- package/dist/cjs/components/axisChart/xAxis/xAxis.types.d.ts.map +0 -1
- package/dist/cjs/components/axisChart/xAxis/xAxis.types.js +0 -1
- package/dist/cjs/components/axisChart/yAxis/index.d.ts +0 -3
- package/dist/cjs/components/axisChart/yAxis/index.d.ts.map +0 -1
- package/dist/cjs/components/axisChart/yAxis/index.js +0 -2
- package/dist/cjs/components/axisChart/yAxis/yAxis.d.ts +0 -8
- package/dist/cjs/components/axisChart/yAxis/yAxis.d.ts.map +0 -1
- package/dist/cjs/components/axisChart/yAxis/yAxis.types.d.ts +0 -37
- package/dist/cjs/components/axisChart/yAxis/yAxis.types.d.ts.map +0 -1
- package/dist/cjs/components/axisChart/yAxis/yAxis.types.js +0 -1
- package/dist/cjs/components/bar/bar.d.ts +0 -4
- package/dist/cjs/components/bar/bar.d.ts.map +0 -1
- package/dist/cjs/components/bar/bar.type.d.ts +0 -53
- package/dist/cjs/components/bar/bar.type.d.ts.map +0 -1
- package/dist/cjs/components/bar/index.d.ts +0 -3
- package/dist/cjs/components/bar/index.d.ts.map +0 -1
- package/dist/cjs/components/bar/index.js +0 -2
- package/dist/cjs/components/bar/utils/accessibility.d.ts +0 -22
- package/dist/cjs/components/bar/utils/accessibility.d.ts.map +0 -1
- package/dist/cjs/components/bar/utils/buildD.d.ts +0 -9
- package/dist/cjs/components/bar/utils/buildD.d.ts.map +0 -1
- package/dist/cjs/components/bar/utils/getSegments.d.ts +0 -6
- package/dist/cjs/components/bar/utils/getSegments.d.ts.map +0 -1
- package/dist/cjs/components/chartText/chartText.d.ts +0 -18
- package/dist/cjs/components/chartText/chartText.d.ts.map +0 -1
- package/dist/cjs/components/chartText/chartText.types.d.ts +0 -57
- package/dist/cjs/components/chartText/chartText.types.d.ts.map +0 -1
- package/dist/cjs/components/chartText/chartText.types.js +0 -10
- package/dist/cjs/components/chartText/index.d.ts +0 -3
- package/dist/cjs/components/chartText/index.d.ts.map +0 -1
- package/dist/cjs/components/chartText/index.js +0 -2
- package/dist/cjs/components/focusRing/components/FocusRingInline.d.ts +0 -25
- package/dist/cjs/components/focusRing/components/FocusRingInline.d.ts.map +0 -1
- package/dist/cjs/components/focusRing/components/FocusRingRenderer.d.ts +0 -13
- package/dist/cjs/components/focusRing/components/FocusRingRenderer.d.ts.map +0 -1
- package/dist/cjs/components/focusRing/components/FocusRingSeparate.d.ts +0 -40
- package/dist/cjs/components/focusRing/components/FocusRingSeparate.d.ts.map +0 -1
- package/dist/cjs/components/focusRing/focusRing.css +0 -14
- package/dist/cjs/components/focusRing/focusRing.d.ts +0 -35
- package/dist/cjs/components/focusRing/focusRing.d.ts.map +0 -1
- package/dist/cjs/components/focusRing/focusRing.js +0 -44
- package/dist/cjs/components/focusRing/focusRing.types.d.ts +0 -40
- package/dist/cjs/components/focusRing/focusRing.types.d.ts.map +0 -1
- package/dist/cjs/components/focusRing/focusRing.types.js +0 -1
- package/dist/cjs/components/focusRing/hooks/useFocusRingData.d.ts +0 -27
- package/dist/cjs/components/focusRing/hooks/useFocusRingData.d.ts.map +0 -1
- package/dist/cjs/components/focusRing/index.d.ts +0 -3
- package/dist/cjs/components/focusRing/index.d.ts.map +0 -1
- package/dist/cjs/components/focusRing/index.js +0 -1
- package/dist/cjs/components/focusRing/utils/composeRefs.d.ts +0 -7
- package/dist/cjs/components/focusRing/utils/composeRefs.d.ts.map +0 -1
- package/dist/cjs/components/focusRing/utils/createAdaptiveFocusRings.d.ts +0 -24
- package/dist/cjs/components/focusRing/utils/createAdaptiveFocusRings.d.ts.map +0 -1
- package/dist/cjs/components/focusRing/utils/createBoundingBoxFocusRings.d.ts +0 -33
- package/dist/cjs/components/focusRing/utils/createBoundingBoxFocusRings.d.ts.map +0 -1
- package/dist/cjs/components/focusRing/utils/utils.types.d.ts +0 -52
- package/dist/cjs/components/focusRing/utils/utils.types.d.ts.map +0 -1
- package/dist/cjs/components/focusRing/utils/utils.types.js +0 -1
- package/dist/cjs/components/foreignObject/foreignObject.d.ts +0 -4
- package/dist/cjs/components/foreignObject/foreignObject.d.ts.map +0 -1
- package/dist/cjs/components/foreignObject/foreignObject.types.d.ts +0 -10
- package/dist/cjs/components/foreignObject/foreignObject.types.d.ts.map +0 -1
- package/dist/cjs/components/foreignObject/foreignObject.types.js +0 -1
- package/dist/cjs/components/foreignObject/index.d.ts +0 -3
- package/dist/cjs/components/foreignObject/index.d.ts.map +0 -1
- package/dist/cjs/components/foreignObject/index.js +0 -2
- package/dist/cjs/components/index.d.ts +0 -12
- package/dist/cjs/components/index.d.ts.map +0 -1
- package/dist/cjs/components/index.js +0 -11
- package/dist/cjs/components/line/index.d.ts +0 -3
- package/dist/cjs/components/line/index.d.ts.map +0 -1
- package/dist/cjs/components/line/index.js +0 -2
- package/dist/cjs/components/line/line.d.ts +0 -9
- package/dist/cjs/components/line/line.d.ts.map +0 -1
- package/dist/cjs/components/line/line.types.d.ts +0 -45
- package/dist/cjs/components/line/line.types.d.ts.map +0 -1
- package/dist/cjs/components/line/line.types.js +0 -1
- package/dist/cjs/components/node/components/circle/circle.d.ts +0 -6
- package/dist/cjs/components/node/components/circle/circle.d.ts.map +0 -1
- package/dist/cjs/components/node/components/hexagon/hexagon.d.ts +0 -6
- package/dist/cjs/components/node/components/hexagon/hexagon.d.ts.map +0 -1
- package/dist/cjs/components/node/components/index.d.ts +0 -1
- package/dist/cjs/components/node/components/index.d.ts.map +0 -1
- package/dist/cjs/components/node/components/index.js +0 -1
- package/dist/cjs/components/node/components/pentagon/pentagon.d.ts +0 -6
- package/dist/cjs/components/node/components/pentagon/pentagon.d.ts.map +0 -1
- package/dist/cjs/components/node/components/square/square.d.ts +0 -6
- package/dist/cjs/components/node/components/square/square.d.ts.map +0 -1
- package/dist/cjs/components/node/components/star/star.d.ts +0 -6
- package/dist/cjs/components/node/components/star/star.d.ts.map +0 -1
- package/dist/cjs/components/node/components/straight/straight.d.ts +0 -6
- package/dist/cjs/components/node/components/straight/straight.d.ts.map +0 -1
- package/dist/cjs/components/node/components/triangle/triangle.d.ts +0 -6
- package/dist/cjs/components/node/components/triangle/triangle.d.ts.map +0 -1
- package/dist/cjs/components/node/index.d.ts +0 -3
- package/dist/cjs/components/node/index.d.ts.map +0 -1
- package/dist/cjs/components/node/index.js +0 -2
- package/dist/cjs/components/node/node.d.ts +0 -6
- package/dist/cjs/components/node/node.d.ts.map +0 -1
- package/dist/cjs/components/node/node.types.d.ts +0 -103
- package/dist/cjs/components/node/node.types.d.ts.map +0 -1
- package/dist/cjs/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts +0 -2
- package/dist/cjs/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts.map +0 -1
- package/dist/cjs/components/path/components/nodePath/nodePath.d.ts +0 -14
- package/dist/cjs/components/path/components/nodePath/nodePath.d.ts.map +0 -1
- package/dist/cjs/components/path/index.d.ts +0 -3
- package/dist/cjs/components/path/index.d.ts.map +0 -1
- package/dist/cjs/components/path/index.js +0 -2
- package/dist/cjs/components/path/path.css +0 -29
- package/dist/cjs/components/path/path.d.ts +0 -4
- package/dist/cjs/components/path/path.d.ts.map +0 -1
- package/dist/cjs/components/path/path.js +0 -128
- package/dist/cjs/components/path/path.types.d.ts +0 -86
- package/dist/cjs/components/path/path.types.d.ts.map +0 -1
- package/dist/cjs/components/path/path.types.js +0 -1
- package/dist/cjs/components/plot/components/circle/circle.d.ts +0 -6
- package/dist/cjs/components/plot/components/circle/circle.d.ts.map +0 -1
- package/dist/cjs/components/plot/components/index.d.ts +0 -4
- package/dist/cjs/components/plot/components/index.d.ts.map +0 -1
- package/dist/cjs/components/plot/components/index.js +0 -3
- package/dist/cjs/components/plot/components/square/square.d.ts +0 -6
- package/dist/cjs/components/plot/components/square/square.d.ts.map +0 -1
- package/dist/cjs/components/plot/components/triangle/triangle.d.ts +0 -6
- package/dist/cjs/components/plot/components/triangle/triangle.d.ts.map +0 -1
- package/dist/cjs/components/plot/index.d.ts +0 -3
- package/dist/cjs/components/plot/index.d.ts.map +0 -1
- package/dist/cjs/components/plot/index.js +0 -2
- package/dist/cjs/components/plot/plot.css +0 -12
- package/dist/cjs/components/plot/plot.d.ts +0 -39
- package/dist/cjs/components/plot/plot.d.ts.map +0 -1
- package/dist/cjs/components/plot/plot.js +0 -101
- package/dist/cjs/components/plot/plot.types.d.ts +0 -177
- package/dist/cjs/components/plot/plot.types.d.ts.map +0 -1
- package/dist/cjs/components/svgContainer/index.d.ts +0 -2
- package/dist/cjs/components/svgContainer/index.d.ts.map +0 -1
- package/dist/cjs/components/svgContainer/index.js +0 -1
- package/dist/cjs/components/svgContainer/svgContainer.d.ts +0 -6
- package/dist/cjs/components/svgContainer/svgContainer.d.ts.map +0 -1
- package/dist/cjs/components/svgContainer/svgContainer.types.d.ts +0 -38
- package/dist/cjs/components/svgContainer/svgContainer.types.d.ts.map +0 -1
- package/dist/cjs/components/svgContainer/svgContainer.types.js +0 -1
- package/dist/cjs/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts +0 -15
- package/dist/cjs/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts.map +0 -1
- package/dist/cjs/components/svgContainer/utils/index.d.ts +0 -2
- package/dist/cjs/components/svgContainer/utils/index.d.ts.map +0 -1
- package/dist/cjs/components/svgContainer/utils/index.js +0 -1
- package/dist/cjs/components/tick/index.d.ts +0 -3
- package/dist/cjs/components/tick/index.d.ts.map +0 -1
- package/dist/cjs/components/tick/index.js +0 -2
- package/dist/cjs/components/tick/tick.d.ts +0 -19
- package/dist/cjs/components/tick/tick.d.ts.map +0 -1
- package/dist/cjs/components/tick/tick.types.d.ts +0 -51
- package/dist/cjs/components/tick/tick.types.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/components/HandlerIcon.d.ts +0 -25
- package/dist/cjs/components/zoomArea/components/HandlerIcon.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/components/LineRenderer.d.ts +0 -29
- package/dist/cjs/components/zoomArea/components/LineRenderer.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/components/SelectionArea.d.ts +0 -37
- package/dist/cjs/components/zoomArea/components/SelectionArea.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/components/ZoomHandler.d.ts +0 -42
- package/dist/cjs/components/zoomArea/components/ZoomHandler.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/components/index.d.ts +0 -5
- package/dist/cjs/components/zoomArea/components/index.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/components/index.js +0 -4
- package/dist/cjs/components/zoomArea/hooks/index.d.ts +0 -5
- package/dist/cjs/components/zoomArea/hooks/index.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/hooks/index.js +0 -4
- package/dist/cjs/components/zoomArea/hooks/useDragInteraction.d.ts +0 -42
- package/dist/cjs/components/zoomArea/hooks/useDragInteraction.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/hooks/useKeyboardNavigation.d.ts +0 -30
- package/dist/cjs/components/zoomArea/hooks/useKeyboardNavigation.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/hooks/useZoomAreaFocus.d.ts +0 -24
- package/dist/cjs/components/zoomArea/hooks/useZoomAreaFocus.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/hooks/useZoomData.d.ts +0 -33
- package/dist/cjs/components/zoomArea/hooks/useZoomData.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/index.d.ts +0 -6
- package/dist/cjs/components/zoomArea/index.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/index.js +0 -5
- package/dist/cjs/components/zoomArea/utils/accessibilityLabels.d.ts +0 -28
- package/dist/cjs/components/zoomArea/utils/accessibilityLabels.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/utils/index.d.ts +0 -4
- package/dist/cjs/components/zoomArea/utils/index.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/utils/index.js +0 -3
- package/dist/cjs/components/zoomArea/utils/indexRounding.d.ts +0 -63
- package/dist/cjs/components/zoomArea/utils/indexRounding.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/utils/interactionConfig.d.ts +0 -10
- package/dist/cjs/components/zoomArea/utils/interactionConfig.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/utils/pathGeneration.d.ts +0 -57
- package/dist/cjs/components/zoomArea/utils/pathGeneration.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/utils/rangeAndPositions.d.ts +0 -60
- package/dist/cjs/components/zoomArea/utils/rangeAndPositions.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/utils/selectionConfig.d.ts +0 -10
- package/dist/cjs/components/zoomArea/utils/selectionConfig.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/zoomArea.d.ts +0 -12
- package/dist/cjs/components/zoomArea/zoomArea.d.ts.map +0 -1
- package/dist/cjs/components/zoomArea/zoomArea.type.d.ts +0 -153
- package/dist/cjs/components/zoomArea/zoomArea.type.d.ts.map +0 -1
- package/dist/cjs/hooks/index.d.ts +0 -5
- package/dist/cjs/hooks/index.d.ts.map +0 -1
- package/dist/cjs/hooks/index.js +0 -4
- package/dist/cjs/hooks/useFocus/useFocus.d.ts +0 -15
- package/dist/cjs/hooks/useFocus/useFocus.d.ts.map +0 -1
- package/dist/cjs/hooks/useFocus/useFocus.types.d.ts +0 -30
- package/dist/cjs/hooks/useFocus/useFocus.types.d.ts.map +0 -1
- package/dist/cjs/hooks/useFocus/useFocus.types.js +0 -1
- package/dist/cjs/hooks/useHover/useHover.d.ts +0 -13
- package/dist/cjs/hooks/useHover/useHover.d.ts.map +0 -1
- package/dist/cjs/hooks/useHover/useHover.types.d.ts +0 -30
- package/dist/cjs/hooks/useHover/useHover.types.d.ts.map +0 -1
- package/dist/cjs/hooks/useHover/useHover.types.js +0 -1
- package/dist/cjs/hooks/useId/index.d.ts +0 -2
- package/dist/cjs/hooks/useId/index.d.ts.map +0 -1
- package/dist/cjs/hooks/useId/index.js +0 -1
- package/dist/cjs/hooks/useId/useId.d.ts +0 -2
- package/dist/cjs/hooks/useId/useId.d.ts.map +0 -1
- package/dist/cjs/hooks/useResponsiveCanvas/index.d.ts +0 -2
- package/dist/cjs/hooks/useResponsiveCanvas/index.d.ts.map +0 -1
- package/dist/cjs/hooks/useResponsiveCanvas/index.js +0 -1
- package/dist/cjs/hooks/useResponsiveCanvas/useResponsiveCanvas.d.ts +0 -64
- package/dist/cjs/hooks/useResponsiveCanvas/useResponsiveCanvas.d.ts.map +0 -1
- package/dist/cjs/index.d.ts +0 -4
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/types/canvas.type.d.ts +0 -20
- package/dist/cjs/types/canvas.type.d.ts.map +0 -1
- package/dist/cjs/types/errors.type.d.ts +0 -28
- package/dist/cjs/types/errors.type.d.ts.map +0 -1
- package/dist/cjs/types/focusConfig.type.d.ts +0 -47
- package/dist/cjs/types/focusConfig.type.d.ts.map +0 -1
- package/dist/cjs/types/index.d.ts +0 -5
- package/dist/cjs/types/index.d.ts.map +0 -1
- package/dist/cjs/types/index.js +0 -4
- package/dist/cjs/types/position.enum.d.ts +0 -18
- package/dist/cjs/types/position.enum.d.ts.map +0 -1
- package/dist/cjs/types/unit.enum.d.ts +0 -12
- package/dist/cjs/types/unit.enum.d.ts.map +0 -1
- package/dist/cjs/types/valueFormatter.type.d.ts +0 -7
- package/dist/cjs/types/valueFormatter.type.d.ts.map +0 -1
- package/dist/cjs/types/valueFormatter.type.js +0 -1
- package/dist/cjs/utils/adaptLegacyFocusConfig/adaptLegacyFocusConfig.d.ts +0 -20
- package/dist/cjs/utils/adaptLegacyFocusConfig/adaptLegacyFocusConfig.d.ts.map +0 -1
- package/dist/cjs/utils/adaptLegacyFocusConfig/index.d.ts +0 -2
- package/dist/cjs/utils/adaptLegacyFocusConfig/index.d.ts.map +0 -1
- package/dist/cjs/utils/adaptLegacyFocusConfig/index.js +0 -1
- package/dist/cjs/utils/ajustedTextSpace/ajustedTextSpace.d.ts +0 -2
- package/dist/cjs/utils/ajustedTextSpace/ajustedTextSpace.d.ts.map +0 -1
- package/dist/cjs/utils/buildErrors/buildErrors.d.ts +0 -80
- package/dist/cjs/utils/buildErrors/buildErrors.d.ts.map +0 -1
- package/dist/cjs/utils/buildErrors/charts/buildBarChartErrors.d.ts +0 -17
- package/dist/cjs/utils/buildErrors/charts/buildBarChartErrors.d.ts.map +0 -1
- package/dist/cjs/utils/buildErrors/charts/buildLineChartErrors.d.ts +0 -13
- package/dist/cjs/utils/buildErrors/charts/buildLineChartErrors.d.ts.map +0 -1
- package/dist/cjs/utils/buildErrors/charts/buildPieChartErrors.d.ts +0 -37
- package/dist/cjs/utils/buildErrors/charts/buildPieChartErrors.d.ts.map +0 -1
- package/dist/cjs/utils/buildErrors/constants/errorMessages/barChartErrorMessages.d.ts +0 -19
- package/dist/cjs/utils/buildErrors/constants/errorMessages/barChartErrorMessages.d.ts.map +0 -1
- package/dist/cjs/utils/buildErrors/constants/errorMessages/lineChartErrorMessages.d.ts +0 -25
- package/dist/cjs/utils/buildErrors/constants/errorMessages/lineChartErrorMessages.d.ts.map +0 -1
- package/dist/cjs/utils/buildErrors/constants/errorMessages/pieChartErrorMessages.d.ts +0 -13
- package/dist/cjs/utils/buildErrors/constants/errorMessages/pieChartErrorMessages.d.ts.map +0 -1
- package/dist/cjs/utils/buildErrors/constants/errors/barChartErrors.d.ts +0 -20
- package/dist/cjs/utils/buildErrors/constants/errors/barChartErrors.d.ts.map +0 -1
- package/dist/cjs/utils/buildErrors/constants/errors/lineChartErrors.d.ts +0 -26
- package/dist/cjs/utils/buildErrors/constants/errors/lineChartErrors.d.ts.map +0 -1
- package/dist/cjs/utils/buildErrors/constants/errors/pieChartErrors.d.ts +0 -14
- package/dist/cjs/utils/buildErrors/constants/errors/pieChartErrors.d.ts.map +0 -1
- package/dist/cjs/utils/buildErrors/index.d.ts +0 -2
- package/dist/cjs/utils/buildErrors/index.d.ts.map +0 -1
- package/dist/cjs/utils/buildErrors/index.js +0 -2
- package/dist/cjs/utils/buildTickValues/buildTickValues.d.ts +0 -28
- package/dist/cjs/utils/buildTickValues/buildTickValues.d.ts.map +0 -1
- package/dist/cjs/utils/classNames/classNames.d.ts +0 -14
- package/dist/cjs/utils/classNames/classNames.d.ts.map +0 -1
- package/dist/cjs/utils/classNames/classNames.js +0 -25
- package/dist/cjs/utils/createErrorAccumulator/createErrorAccumulator.d.ts +0 -7
- package/dist/cjs/utils/createErrorAccumulator/createErrorAccumulator.d.ts.map +0 -1
- package/dist/cjs/utils/createErrorAccumulator/index.d.ts +0 -2
- package/dist/cjs/utils/createErrorAccumulator/index.d.ts.map +0 -1
- package/dist/cjs/utils/createErrorAccumulator/index.js +0 -1
- package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.d.ts +0 -21
- package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.d.ts.map +0 -1
- package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts +0 -12
- package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts.map +0 -1
- package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.types.js +0 -1
- package/dist/cjs/utils/cursorNear/isNear.d.ts +0 -2
- package/dist/cjs/utils/cursorNear/isNear.d.ts.map +0 -1
- package/dist/cjs/utils/getAxisData/getAxisData.d.ts +0 -2
- package/dist/cjs/utils/getAxisData/getAxisData.d.ts.map +0 -1
- package/dist/cjs/utils/getAxisData/getAxisData.js +0 -3
- package/dist/cjs/utils/getCanvasDimensions/getCanvasDimensions.d.ts +0 -22
- package/dist/cjs/utils/getCanvasDimensions/getCanvasDimensions.d.ts.map +0 -1
- package/dist/cjs/utils/getChildrenAttr/getChildrenAttr.d.ts +0 -10
- package/dist/cjs/utils/getChildrenAttr/getChildrenAttr.d.ts.map +0 -1
- package/dist/cjs/utils/getCoordinates/getCoordinates.d.ts +0 -47
- package/dist/cjs/utils/getCoordinates/getCoordinates.d.ts.map +0 -1
- package/dist/cjs/utils/getDataFingerprint/getDataFingerprint.d.ts +0 -12
- package/dist/cjs/utils/getDataFingerprint/getDataFingerprint.d.ts.map +0 -1
- package/dist/cjs/utils/getPoints/getPoints.d.ts +0 -10
- package/dist/cjs/utils/getPoints/getPoints.d.ts.map +0 -1
- package/dist/cjs/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts +0 -21
- package/dist/cjs/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts.map +0 -1
- package/dist/cjs/utils/getTicks/getTicks.d.ts +0 -35
- package/dist/cjs/utils/getTicks/getTicks.d.ts.map +0 -1
- package/dist/cjs/utils/index.d.ts +0 -11
- package/dist/cjs/utils/index.d.ts.map +0 -1
- package/dist/cjs/utils/index.js +0 -10
- package/dist/cjs/utils/logger/index.d.ts +0 -2
- package/dist/cjs/utils/logger/index.d.ts.map +0 -1
- package/dist/cjs/utils/logger/index.js +0 -1
- package/dist/cjs/utils/logger/logger.d.ts +0 -45
- package/dist/cjs/utils/logger/logger.d.ts.map +0 -1
- package/dist/cjs/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts +0 -11
- package/dist/cjs/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts.map +0 -1
- package/dist/cjs/utils/pickCustomAttributes/pickCustomAttributes.d.ts +0 -34
- package/dist/cjs/utils/pickCustomAttributes/pickCustomAttributes.d.ts.map +0 -1
- package/dist/cjs/utils/shadowSvg/shadowSvg.d.ts +0 -3
- package/dist/cjs/utils/shadowSvg/shadowSvg.d.ts.map +0 -1
- package/dist/cjs/utils/shadowSvg/shadowSvg.types.d.ts +0 -35
- package/dist/cjs/utils/shadowSvg/shadowSvg.types.d.ts.map +0 -1
- package/dist/cjs/utils/shadowSvg/shadowSvg.types.js +0 -1
- package/dist/cjs/utils/ssr/index.d.ts +0 -2
- package/dist/cjs/utils/ssr/index.d.ts.map +0 -1
- package/dist/cjs/utils/ssr/index.js +0 -1
- package/dist/cjs/utils/ssr/ssr.d.ts +0 -80
- package/dist/cjs/utils/ssr/ssr.d.ts.map +0 -1
- package/dist/cjs/utils/textBound/textBound.d.ts +0 -11
- package/dist/cjs/utils/textBound/textBound.d.ts.map +0 -1
- package/dist/esm/charts/barChart/barChart.d.ts +0 -9
- package/dist/esm/charts/barChart/barChart.d.ts.map +0 -1
- package/dist/esm/charts/barChart/barChart.type.d.ts +0 -139
- package/dist/esm/charts/barChart/barChart.type.d.ts.map +0 -1
- package/dist/esm/charts/barChart/barChart.type.js +0 -1
- package/dist/esm/charts/barChart/barChartStructure.d.ts +0 -3
- package/dist/esm/charts/barChart/barChartStructure.d.ts.map +0 -1
- package/dist/esm/charts/barChart/context/barChartContext.d.ts +0 -3
- package/dist/esm/charts/barChart/context/barChartContext.d.ts.map +0 -1
- package/dist/esm/charts/barChart/context/buildBarContextValues.d.ts +0 -26
- package/dist/esm/charts/barChart/context/buildBarContextValues.d.ts.map +0 -1
- package/dist/esm/charts/barChart/fragments/barChartPath.d.ts +0 -9
- package/dist/esm/charts/barChart/fragments/barChartPath.d.ts.map +0 -1
- package/dist/esm/charts/barChart/fragments/barChartSeparator.d.ts +0 -4
- package/dist/esm/charts/barChart/fragments/barChartSeparator.d.ts.map +0 -1
- package/dist/esm/charts/barChart/fragments/barChartXAxis.d.ts +0 -4
- package/dist/esm/charts/barChart/fragments/barChartXAxis.d.ts.map +0 -1
- package/dist/esm/charts/barChart/fragments/barChartYAxis.d.ts +0 -4
- package/dist/esm/charts/barChart/fragments/barChartYAxis.d.ts.map +0 -1
- package/dist/esm/charts/barChart/fragments/fixture/barContextData.d.ts +0 -3
- package/dist/esm/charts/barChart/fragments/fixture/barContextData.d.ts.map +0 -1
- package/dist/esm/charts/barChart/fragments/fixture/barContextData.js +0 -42
- package/dist/esm/charts/barChart/fragments/fixture/index.d.ts +0 -2
- package/dist/esm/charts/barChart/fragments/fixture/index.d.ts.map +0 -1
- package/dist/esm/charts/barChart/fragments/fixture/index.js +0 -1
- package/dist/esm/charts/barChart/index.d.ts +0 -2
- package/dist/esm/charts/barChart/index.d.ts.map +0 -1
- package/dist/esm/charts/barChart/utils/countBarChildren.d.ts +0 -3
- package/dist/esm/charts/barChart/utils/countBarChildren.d.ts.map +0 -1
- package/dist/esm/charts/barChart/utils/getAxisExtraSpacing.d.ts +0 -17
- package/dist/esm/charts/barChart/utils/getAxisExtraSpacing.d.ts.map +0 -1
- package/dist/esm/charts/barChart/utils/getBarDataValue.d.ts +0 -8
- package/dist/esm/charts/barChart/utils/getBarDataValue.d.ts.map +0 -1
- package/dist/esm/charts/barChart/utils/getRoundedBarMaxValue.d.ts +0 -9
- package/dist/esm/charts/barChart/utils/getRoundedBarMaxValue.d.ts.map +0 -1
- package/dist/esm/charts/constants/chartDefaults.d.ts +0 -97
- package/dist/esm/charts/constants/chartDefaults.d.ts.map +0 -1
- package/dist/esm/charts/customBackgroundChart/context/customBackgroundChartContext.d.ts +0 -3
- package/dist/esm/charts/customBackgroundChart/context/customBackgroundChartContext.d.ts.map +0 -1
- package/dist/esm/charts/customBackgroundChart/context/index.d.ts +0 -2
- package/dist/esm/charts/customBackgroundChart/context/index.d.ts.map +0 -1
- package/dist/esm/charts/customBackgroundChart/context/index.js +0 -1
- package/dist/esm/charts/customBackgroundChart/customBackgroundChart.d.ts +0 -6
- package/dist/esm/charts/customBackgroundChart/customBackgroundChart.d.ts.map +0 -1
- package/dist/esm/charts/customBackgroundChart/customBackgroundChart.type.d.ts +0 -50
- package/dist/esm/charts/customBackgroundChart/customBackgroundChart.type.d.ts.map +0 -1
- package/dist/esm/charts/customBackgroundChart/customBackgroundChart.type.js +0 -1
- package/dist/esm/charts/customBackgroundChart/customBackgroundChartStructure.d.ts +0 -4
- package/dist/esm/charts/customBackgroundChart/customBackgroundChartStructure.d.ts.map +0 -1
- package/dist/esm/charts/customBackgroundChart/fragments/customBackgroundChartPlot.d.ts +0 -4
- package/dist/esm/charts/customBackgroundChart/fragments/customBackgroundChartPlot.d.ts.map +0 -1
- package/dist/esm/charts/customBackgroundChart/fragments/index.d.ts +0 -2
- package/dist/esm/charts/customBackgroundChart/fragments/index.d.ts.map +0 -1
- package/dist/esm/charts/customBackgroundChart/fragments/index.js +0 -1
- package/dist/esm/charts/customBackgroundChart/index.d.ts +0 -2
- package/dist/esm/charts/customBackgroundChart/index.d.ts.map +0 -1
- package/dist/esm/charts/customBackgroundChart/utils/accessibility.d.ts +0 -19
- package/dist/esm/charts/customBackgroundChart/utils/accessibility.d.ts.map +0 -1
- package/dist/esm/charts/index.d.ts +0 -5
- package/dist/esm/charts/index.d.ts.map +0 -1
- package/dist/esm/charts/index.js +0 -4
- package/dist/esm/charts/lineChart/context/buildLineContextValue.d.ts +0 -21
- package/dist/esm/charts/lineChart/context/buildLineContextValue.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/context/index.d.ts +0 -3
- package/dist/esm/charts/lineChart/context/index.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/context/index.js +0 -2
- package/dist/esm/charts/lineChart/context/lineChartContext.d.ts +0 -3
- package/dist/esm/charts/lineChart/context/lineChartContext.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/fragments/fixture/contextData.d.ts +0 -3
- package/dist/esm/charts/lineChart/fragments/fixture/contextData.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/fragments/fixture/contextData.js +0 -43
- package/dist/esm/charts/lineChart/fragments/fixture/index.d.ts +0 -2
- package/dist/esm/charts/lineChart/fragments/fixture/index.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/fragments/fixture/index.js +0 -1
- package/dist/esm/charts/lineChart/fragments/index.d.ts +0 -5
- package/dist/esm/charts/lineChart/fragments/index.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/fragments/index.js +0 -4
- package/dist/esm/charts/lineChart/fragments/lineChartPath.css +0 -3
- package/dist/esm/charts/lineChart/fragments/lineChartPath.d.ts +0 -5
- package/dist/esm/charts/lineChart/fragments/lineChartPath.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/fragments/lineChartPath.js +0 -149
- package/dist/esm/charts/lineChart/fragments/lineChartProjection.d.ts +0 -5
- package/dist/esm/charts/lineChart/fragments/lineChartProjection.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/fragments/lineChartSeparator.d.ts +0 -4
- package/dist/esm/charts/lineChart/fragments/lineChartSeparator.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/fragments/lineChartXAxis.d.ts +0 -4
- package/dist/esm/charts/lineChart/fragments/lineChartXAxis.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/fragments/lineChartYAxis.d.ts +0 -3
- package/dist/esm/charts/lineChart/fragments/lineChartYAxis.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/hook/index.d.ts +0 -4
- package/dist/esm/charts/lineChart/hook/index.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/hook/index.js +0 -3
- package/dist/esm/charts/lineChart/hook/useAutoClick.d.ts +0 -4
- package/dist/esm/charts/lineChart/hook/useAutoClick.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/hook/useHover.d.ts +0 -12
- package/dist/esm/charts/lineChart/hook/useHover.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/hook/useIndicator.d.ts +0 -7
- package/dist/esm/charts/lineChart/hook/useIndicator.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/index.d.ts +0 -2
- package/dist/esm/charts/lineChart/index.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/lineChart.d.ts +0 -9
- package/dist/esm/charts/lineChart/lineChart.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/lineChart.type.d.ts +0 -173
- package/dist/esm/charts/lineChart/lineChart.type.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/lineChart.type.js +0 -1
- package/dist/esm/charts/lineChart/lineChartStructure.d.ts +0 -33
- package/dist/esm/charts/lineChart/lineChartStructure.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts +0 -14
- package/dist/esm/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/utils/findSurroundingNumber.d.ts +0 -8
- package/dist/esm/charts/lineChart/utils/findSurroundingNumber.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/utils/getCoordinates.d.ts +0 -25
- package/dist/esm/charts/lineChart/utils/getCoordinates.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/utils/getDataValues.d.ts +0 -8
- package/dist/esm/charts/lineChart/utils/getDataValues.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/utils/getExtraSpacing.d.ts +0 -17
- package/dist/esm/charts/lineChart/utils/getExtraSpacing.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/utils/getPathData.d.ts +0 -18
- package/dist/esm/charts/lineChart/utils/getPathData.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/utils/getProjection.d.ts +0 -33
- package/dist/esm/charts/lineChart/utils/getProjection.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/utils/getRoundedMaxValue.d.ts +0 -17
- package/dist/esm/charts/lineChart/utils/getRoundedMaxValue.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/utils/getTicks.d.ts +0 -21
- package/dist/esm/charts/lineChart/utils/getTicks.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/utils/handleNodesFocus.d.ts +0 -17
- package/dist/esm/charts/lineChart/utils/handleNodesFocus.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/utils/index.d.ts +0 -7
- package/dist/esm/charts/lineChart/utils/index.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/utils/index.js +0 -6
- package/dist/esm/charts/lineChart/utils/tickTextPosition.d.ts +0 -33
- package/dist/esm/charts/lineChart/utils/tickTextPosition.d.ts.map +0 -1
- package/dist/esm/charts/lineChart/utils/validations.d.ts +0 -54
- package/dist/esm/charts/lineChart/utils/validations.d.ts.map +0 -1
- package/dist/esm/charts/pieChart/context/buildPieContextValue.d.ts +0 -18
- package/dist/esm/charts/pieChart/context/buildPieContextValue.d.ts.map +0 -1
- package/dist/esm/charts/pieChart/context/index.d.ts +0 -3
- package/dist/esm/charts/pieChart/context/index.d.ts.map +0 -1
- package/dist/esm/charts/pieChart/context/index.js +0 -2
- package/dist/esm/charts/pieChart/context/pieChartContext.d.ts +0 -3
- package/dist/esm/charts/pieChart/context/pieChartContext.d.ts.map +0 -1
- package/dist/esm/charts/pieChart/fragments/index.d.ts +0 -3
- package/dist/esm/charts/pieChart/fragments/index.d.ts.map +0 -1
- package/dist/esm/charts/pieChart/fragments/index.js +0 -2
- package/dist/esm/charts/pieChart/fragments/pieChartForeign.d.ts +0 -4
- package/dist/esm/charts/pieChart/fragments/pieChartForeign.d.ts.map +0 -1
- package/dist/esm/charts/pieChart/fragments/pieChartPath.d.ts +0 -15
- package/dist/esm/charts/pieChart/fragments/pieChartPath.d.ts.map +0 -1
- package/dist/esm/charts/pieChart/fragments/pieChartSegment.d.ts +0 -18
- package/dist/esm/charts/pieChart/fragments/pieChartSegment.d.ts.map +0 -1
- package/dist/esm/charts/pieChart/index.d.ts +0 -2
- package/dist/esm/charts/pieChart/index.d.ts.map +0 -1
- package/dist/esm/charts/pieChart/pieChart.d.ts +0 -7
- package/dist/esm/charts/pieChart/pieChart.d.ts.map +0 -1
- package/dist/esm/charts/pieChart/pieChart.type.d.ts +0 -75
- package/dist/esm/charts/pieChart/pieChart.type.d.ts.map +0 -1
- package/dist/esm/charts/pieChart/pieChart.type.js +0 -1
- package/dist/esm/charts/pieChart/pieChartStructure.d.ts +0 -34
- package/dist/esm/charts/pieChart/pieChartStructure.d.ts.map +0 -1
- package/dist/esm/charts/pieChart/utils/accessibility.d.ts +0 -16
- package/dist/esm/charts/pieChart/utils/accessibility.d.ts.map +0 -1
- package/dist/esm/charts/pieChart/utils/buildL.d.ts +0 -13
- package/dist/esm/charts/pieChart/utils/buildL.d.ts.map +0 -1
- package/dist/esm/charts/pieChart/utils/calculatePoint.d.ts +0 -15
- package/dist/esm/charts/pieChart/utils/calculatePoint.d.ts.map +0 -1
- package/dist/esm/charts/pieChart/utils/calculateSegmentPath.d.ts +0 -34
- package/dist/esm/charts/pieChart/utils/calculateSegmentPath.d.ts.map +0 -1
- package/dist/esm/charts/pieChart/utils/drawSegmentPath.d.ts +0 -20
- package/dist/esm/charts/pieChart/utils/drawSegmentPath.d.ts.map +0 -1
- package/dist/esm/charts/pieChart/utils/index.d.ts +0 -3
- package/dist/esm/charts/pieChart/utils/index.d.ts.map +0 -1
- package/dist/esm/charts/pieChart/utils/index.js +0 -2
- package/dist/esm/charts/pieChart/utils/rotationDirection.d.ts +0 -18
- package/dist/esm/charts/pieChart/utils/rotationDirection.d.ts.map +0 -1
- package/dist/esm/components/axisChart/index.d.ts +0 -3
- package/dist/esm/components/axisChart/index.d.ts.map +0 -1
- package/dist/esm/components/axisChart/index.js +0 -2
- package/dist/esm/components/axisChart/utils/filterLineProps/filterLineProps.d.ts +0 -18
- package/dist/esm/components/axisChart/utils/filterLineProps/filterLineProps.d.ts.map +0 -1
- package/dist/esm/components/axisChart/utils/index.d.ts +0 -2
- package/dist/esm/components/axisChart/utils/index.d.ts.map +0 -1
- package/dist/esm/components/axisChart/utils/index.js +0 -1
- package/dist/esm/components/axisChart/xAxis/index.d.ts +0 -3
- package/dist/esm/components/axisChart/xAxis/index.d.ts.map +0 -1
- package/dist/esm/components/axisChart/xAxis/index.js +0 -2
- package/dist/esm/components/axisChart/xAxis/xAxis.d.ts +0 -11
- package/dist/esm/components/axisChart/xAxis/xAxis.d.ts.map +0 -1
- package/dist/esm/components/axisChart/xAxis/xAxis.types.d.ts +0 -40
- package/dist/esm/components/axisChart/xAxis/xAxis.types.d.ts.map +0 -1
- package/dist/esm/components/axisChart/xAxis/xAxis.types.js +0 -1
- package/dist/esm/components/axisChart/yAxis/index.d.ts +0 -3
- package/dist/esm/components/axisChart/yAxis/index.d.ts.map +0 -1
- package/dist/esm/components/axisChart/yAxis/index.js +0 -2
- package/dist/esm/components/axisChart/yAxis/yAxis.d.ts +0 -8
- package/dist/esm/components/axisChart/yAxis/yAxis.d.ts.map +0 -1
- package/dist/esm/components/axisChart/yAxis/yAxis.types.d.ts +0 -37
- package/dist/esm/components/axisChart/yAxis/yAxis.types.d.ts.map +0 -1
- package/dist/esm/components/axisChart/yAxis/yAxis.types.js +0 -1
- package/dist/esm/components/bar/bar.d.ts +0 -4
- package/dist/esm/components/bar/bar.d.ts.map +0 -1
- package/dist/esm/components/bar/bar.type.d.ts +0 -53
- package/dist/esm/components/bar/bar.type.d.ts.map +0 -1
- package/dist/esm/components/bar/index.d.ts +0 -3
- package/dist/esm/components/bar/index.d.ts.map +0 -1
- package/dist/esm/components/bar/index.js +0 -2
- package/dist/esm/components/bar/utils/accessibility.d.ts +0 -22
- package/dist/esm/components/bar/utils/accessibility.d.ts.map +0 -1
- package/dist/esm/components/bar/utils/buildD.d.ts +0 -9
- package/dist/esm/components/bar/utils/buildD.d.ts.map +0 -1
- package/dist/esm/components/bar/utils/getSegments.d.ts +0 -6
- package/dist/esm/components/bar/utils/getSegments.d.ts.map +0 -1
- package/dist/esm/components/chartText/chartText.d.ts +0 -18
- package/dist/esm/components/chartText/chartText.d.ts.map +0 -1
- package/dist/esm/components/chartText/chartText.types.d.ts +0 -57
- package/dist/esm/components/chartText/chartText.types.d.ts.map +0 -1
- package/dist/esm/components/chartText/chartText.types.js +0 -10
- package/dist/esm/components/chartText/index.d.ts +0 -3
- package/dist/esm/components/chartText/index.d.ts.map +0 -1
- package/dist/esm/components/chartText/index.js +0 -2
- package/dist/esm/components/focusRing/components/FocusRingInline.d.ts +0 -25
- package/dist/esm/components/focusRing/components/FocusRingInline.d.ts.map +0 -1
- package/dist/esm/components/focusRing/components/FocusRingRenderer.d.ts +0 -13
- package/dist/esm/components/focusRing/components/FocusRingRenderer.d.ts.map +0 -1
- package/dist/esm/components/focusRing/components/FocusRingSeparate.d.ts +0 -40
- package/dist/esm/components/focusRing/components/FocusRingSeparate.d.ts.map +0 -1
- package/dist/esm/components/focusRing/focusRing.css +0 -14
- package/dist/esm/components/focusRing/focusRing.d.ts +0 -35
- package/dist/esm/components/focusRing/focusRing.d.ts.map +0 -1
- package/dist/esm/components/focusRing/focusRing.js +0 -44
- package/dist/esm/components/focusRing/focusRing.types.d.ts +0 -40
- package/dist/esm/components/focusRing/focusRing.types.d.ts.map +0 -1
- package/dist/esm/components/focusRing/focusRing.types.js +0 -1
- package/dist/esm/components/focusRing/hooks/useFocusRingData.d.ts +0 -27
- package/dist/esm/components/focusRing/hooks/useFocusRingData.d.ts.map +0 -1
- package/dist/esm/components/focusRing/index.d.ts +0 -3
- package/dist/esm/components/focusRing/index.d.ts.map +0 -1
- package/dist/esm/components/focusRing/index.js +0 -1
- package/dist/esm/components/focusRing/utils/composeRefs.d.ts +0 -7
- package/dist/esm/components/focusRing/utils/composeRefs.d.ts.map +0 -1
- package/dist/esm/components/focusRing/utils/createAdaptiveFocusRings.d.ts +0 -24
- package/dist/esm/components/focusRing/utils/createAdaptiveFocusRings.d.ts.map +0 -1
- package/dist/esm/components/focusRing/utils/createBoundingBoxFocusRings.d.ts +0 -33
- package/dist/esm/components/focusRing/utils/createBoundingBoxFocusRings.d.ts.map +0 -1
- package/dist/esm/components/focusRing/utils/utils.types.d.ts +0 -52
- package/dist/esm/components/focusRing/utils/utils.types.d.ts.map +0 -1
- package/dist/esm/components/focusRing/utils/utils.types.js +0 -1
- package/dist/esm/components/foreignObject/foreignObject.d.ts +0 -4
- package/dist/esm/components/foreignObject/foreignObject.d.ts.map +0 -1
- package/dist/esm/components/foreignObject/foreignObject.types.d.ts +0 -10
- package/dist/esm/components/foreignObject/foreignObject.types.d.ts.map +0 -1
- package/dist/esm/components/foreignObject/foreignObject.types.js +0 -1
- package/dist/esm/components/foreignObject/index.d.ts +0 -3
- package/dist/esm/components/foreignObject/index.d.ts.map +0 -1
- package/dist/esm/components/foreignObject/index.js +0 -2
- package/dist/esm/components/index.d.ts +0 -12
- package/dist/esm/components/index.d.ts.map +0 -1
- package/dist/esm/components/index.js +0 -11
- package/dist/esm/components/line/index.d.ts +0 -3
- package/dist/esm/components/line/index.d.ts.map +0 -1
- package/dist/esm/components/line/index.js +0 -2
- package/dist/esm/components/line/line.d.ts +0 -9
- package/dist/esm/components/line/line.d.ts.map +0 -1
- package/dist/esm/components/line/line.types.d.ts +0 -45
- package/dist/esm/components/line/line.types.d.ts.map +0 -1
- package/dist/esm/components/line/line.types.js +0 -1
- package/dist/esm/components/node/components/circle/circle.d.ts +0 -6
- package/dist/esm/components/node/components/circle/circle.d.ts.map +0 -1
- package/dist/esm/components/node/components/hexagon/hexagon.d.ts +0 -6
- package/dist/esm/components/node/components/hexagon/hexagon.d.ts.map +0 -1
- package/dist/esm/components/node/components/index.d.ts +0 -1
- package/dist/esm/components/node/components/index.d.ts.map +0 -1
- package/dist/esm/components/node/components/index.js +0 -1
- package/dist/esm/components/node/components/pentagon/pentagon.d.ts +0 -6
- package/dist/esm/components/node/components/pentagon/pentagon.d.ts.map +0 -1
- package/dist/esm/components/node/components/square/square.d.ts +0 -6
- package/dist/esm/components/node/components/square/square.d.ts.map +0 -1
- package/dist/esm/components/node/components/star/star.d.ts +0 -6
- package/dist/esm/components/node/components/star/star.d.ts.map +0 -1
- package/dist/esm/components/node/components/straight/straight.d.ts +0 -6
- package/dist/esm/components/node/components/straight/straight.d.ts.map +0 -1
- package/dist/esm/components/node/components/triangle/triangle.d.ts +0 -6
- package/dist/esm/components/node/components/triangle/triangle.d.ts.map +0 -1
- package/dist/esm/components/node/index.d.ts +0 -3
- package/dist/esm/components/node/index.d.ts.map +0 -1
- package/dist/esm/components/node/index.js +0 -2
- package/dist/esm/components/node/node.d.ts +0 -6
- package/dist/esm/components/node/node.d.ts.map +0 -1
- package/dist/esm/components/node/node.types.d.ts +0 -103
- package/dist/esm/components/node/node.types.d.ts.map +0 -1
- package/dist/esm/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts +0 -2
- package/dist/esm/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts.map +0 -1
- package/dist/esm/components/path/components/nodePath/nodePath.d.ts +0 -14
- package/dist/esm/components/path/components/nodePath/nodePath.d.ts.map +0 -1
- package/dist/esm/components/path/index.d.ts +0 -3
- package/dist/esm/components/path/index.d.ts.map +0 -1
- package/dist/esm/components/path/index.js +0 -2
- package/dist/esm/components/path/path.css +0 -29
- package/dist/esm/components/path/path.d.ts +0 -4
- package/dist/esm/components/path/path.d.ts.map +0 -1
- package/dist/esm/components/path/path.js +0 -128
- package/dist/esm/components/path/path.types.d.ts +0 -86
- package/dist/esm/components/path/path.types.d.ts.map +0 -1
- package/dist/esm/components/path/path.types.js +0 -1
- package/dist/esm/components/plot/components/circle/circle.d.ts +0 -6
- package/dist/esm/components/plot/components/circle/circle.d.ts.map +0 -1
- package/dist/esm/components/plot/components/index.d.ts +0 -4
- package/dist/esm/components/plot/components/index.d.ts.map +0 -1
- package/dist/esm/components/plot/components/index.js +0 -3
- package/dist/esm/components/plot/components/square/square.d.ts +0 -6
- package/dist/esm/components/plot/components/square/square.d.ts.map +0 -1
- package/dist/esm/components/plot/components/triangle/triangle.d.ts +0 -6
- package/dist/esm/components/plot/components/triangle/triangle.d.ts.map +0 -1
- package/dist/esm/components/plot/index.d.ts +0 -3
- package/dist/esm/components/plot/index.d.ts.map +0 -1
- package/dist/esm/components/plot/index.js +0 -2
- package/dist/esm/components/plot/plot.css +0 -12
- package/dist/esm/components/plot/plot.d.ts +0 -39
- package/dist/esm/components/plot/plot.d.ts.map +0 -1
- package/dist/esm/components/plot/plot.js +0 -101
- package/dist/esm/components/plot/plot.types.d.ts +0 -177
- package/dist/esm/components/plot/plot.types.d.ts.map +0 -1
- package/dist/esm/components/svgContainer/index.d.ts +0 -2
- package/dist/esm/components/svgContainer/index.d.ts.map +0 -1
- package/dist/esm/components/svgContainer/index.js +0 -1
- package/dist/esm/components/svgContainer/svgContainer.d.ts +0 -6
- package/dist/esm/components/svgContainer/svgContainer.d.ts.map +0 -1
- package/dist/esm/components/svgContainer/svgContainer.types.d.ts +0 -38
- package/dist/esm/components/svgContainer/svgContainer.types.d.ts.map +0 -1
- package/dist/esm/components/svgContainer/svgContainer.types.js +0 -1
- package/dist/esm/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts +0 -15
- package/dist/esm/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts.map +0 -1
- package/dist/esm/components/svgContainer/utils/index.d.ts +0 -2
- package/dist/esm/components/svgContainer/utils/index.d.ts.map +0 -1
- package/dist/esm/components/svgContainer/utils/index.js +0 -1
- package/dist/esm/components/tick/index.d.ts +0 -3
- package/dist/esm/components/tick/index.d.ts.map +0 -1
- package/dist/esm/components/tick/index.js +0 -2
- package/dist/esm/components/tick/tick.d.ts +0 -19
- package/dist/esm/components/tick/tick.d.ts.map +0 -1
- package/dist/esm/components/tick/tick.types.d.ts +0 -51
- package/dist/esm/components/tick/tick.types.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/components/HandlerIcon.d.ts +0 -25
- package/dist/esm/components/zoomArea/components/HandlerIcon.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/components/LineRenderer.d.ts +0 -29
- package/dist/esm/components/zoomArea/components/LineRenderer.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/components/SelectionArea.d.ts +0 -37
- package/dist/esm/components/zoomArea/components/SelectionArea.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/components/ZoomHandler.d.ts +0 -42
- package/dist/esm/components/zoomArea/components/ZoomHandler.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/components/index.d.ts +0 -5
- package/dist/esm/components/zoomArea/components/index.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/components/index.js +0 -4
- package/dist/esm/components/zoomArea/hooks/index.d.ts +0 -5
- package/dist/esm/components/zoomArea/hooks/index.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/hooks/index.js +0 -4
- package/dist/esm/components/zoomArea/hooks/useDragInteraction.d.ts +0 -42
- package/dist/esm/components/zoomArea/hooks/useDragInteraction.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/hooks/useKeyboardNavigation.d.ts +0 -30
- package/dist/esm/components/zoomArea/hooks/useKeyboardNavigation.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/hooks/useZoomAreaFocus.d.ts +0 -24
- package/dist/esm/components/zoomArea/hooks/useZoomAreaFocus.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/hooks/useZoomData.d.ts +0 -33
- package/dist/esm/components/zoomArea/hooks/useZoomData.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/index.d.ts +0 -6
- package/dist/esm/components/zoomArea/index.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/index.js +0 -5
- package/dist/esm/components/zoomArea/utils/accessibilityLabels.d.ts +0 -28
- package/dist/esm/components/zoomArea/utils/accessibilityLabels.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/utils/index.d.ts +0 -4
- package/dist/esm/components/zoomArea/utils/index.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/utils/index.js +0 -3
- package/dist/esm/components/zoomArea/utils/indexRounding.d.ts +0 -63
- package/dist/esm/components/zoomArea/utils/indexRounding.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/utils/interactionConfig.d.ts +0 -10
- package/dist/esm/components/zoomArea/utils/interactionConfig.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/utils/pathGeneration.d.ts +0 -57
- package/dist/esm/components/zoomArea/utils/pathGeneration.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/utils/rangeAndPositions.d.ts +0 -60
- package/dist/esm/components/zoomArea/utils/rangeAndPositions.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/utils/selectionConfig.d.ts +0 -10
- package/dist/esm/components/zoomArea/utils/selectionConfig.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/zoomArea.d.ts +0 -12
- package/dist/esm/components/zoomArea/zoomArea.d.ts.map +0 -1
- package/dist/esm/components/zoomArea/zoomArea.type.d.ts +0 -153
- package/dist/esm/components/zoomArea/zoomArea.type.d.ts.map +0 -1
- package/dist/esm/hooks/index.d.ts +0 -5
- package/dist/esm/hooks/index.d.ts.map +0 -1
- package/dist/esm/hooks/index.js +0 -4
- package/dist/esm/hooks/useFocus/useFocus.d.ts +0 -15
- package/dist/esm/hooks/useFocus/useFocus.d.ts.map +0 -1
- package/dist/esm/hooks/useFocus/useFocus.types.d.ts +0 -30
- package/dist/esm/hooks/useFocus/useFocus.types.d.ts.map +0 -1
- package/dist/esm/hooks/useFocus/useFocus.types.js +0 -1
- package/dist/esm/hooks/useHover/useHover.d.ts +0 -13
- package/dist/esm/hooks/useHover/useHover.d.ts.map +0 -1
- package/dist/esm/hooks/useHover/useHover.types.d.ts +0 -30
- package/dist/esm/hooks/useHover/useHover.types.d.ts.map +0 -1
- package/dist/esm/hooks/useHover/useHover.types.js +0 -1
- package/dist/esm/hooks/useId/index.d.ts +0 -2
- package/dist/esm/hooks/useId/index.d.ts.map +0 -1
- package/dist/esm/hooks/useId/index.js +0 -1
- package/dist/esm/hooks/useId/useId.d.ts +0 -2
- package/dist/esm/hooks/useId/useId.d.ts.map +0 -1
- package/dist/esm/hooks/useResponsiveCanvas/index.d.ts +0 -2
- package/dist/esm/hooks/useResponsiveCanvas/index.d.ts.map +0 -1
- package/dist/esm/hooks/useResponsiveCanvas/index.js +0 -1
- package/dist/esm/hooks/useResponsiveCanvas/useResponsiveCanvas.d.ts +0 -64
- package/dist/esm/hooks/useResponsiveCanvas/useResponsiveCanvas.d.ts.map +0 -1
- package/dist/esm/index.d.ts +0 -4
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/types/canvas.type.d.ts +0 -20
- package/dist/esm/types/canvas.type.d.ts.map +0 -1
- package/dist/esm/types/errors.type.d.ts +0 -28
- package/dist/esm/types/errors.type.d.ts.map +0 -1
- package/dist/esm/types/focusConfig.type.d.ts +0 -47
- package/dist/esm/types/focusConfig.type.d.ts.map +0 -1
- package/dist/esm/types/index.d.ts +0 -5
- package/dist/esm/types/index.d.ts.map +0 -1
- package/dist/esm/types/index.js +0 -4
- package/dist/esm/types/position.enum.d.ts +0 -18
- package/dist/esm/types/position.enum.d.ts.map +0 -1
- package/dist/esm/types/unit.enum.d.ts +0 -12
- package/dist/esm/types/unit.enum.d.ts.map +0 -1
- package/dist/esm/types/valueFormatter.type.d.ts +0 -7
- package/dist/esm/types/valueFormatter.type.d.ts.map +0 -1
- package/dist/esm/types/valueFormatter.type.js +0 -1
- package/dist/esm/utils/adaptLegacyFocusConfig/adaptLegacyFocusConfig.d.ts +0 -20
- package/dist/esm/utils/adaptLegacyFocusConfig/adaptLegacyFocusConfig.d.ts.map +0 -1
- package/dist/esm/utils/adaptLegacyFocusConfig/index.d.ts +0 -2
- package/dist/esm/utils/adaptLegacyFocusConfig/index.d.ts.map +0 -1
- package/dist/esm/utils/adaptLegacyFocusConfig/index.js +0 -1
- package/dist/esm/utils/ajustedTextSpace/ajustedTextSpace.d.ts +0 -2
- package/dist/esm/utils/ajustedTextSpace/ajustedTextSpace.d.ts.map +0 -1
- package/dist/esm/utils/buildErrors/buildErrors.d.ts +0 -80
- package/dist/esm/utils/buildErrors/buildErrors.d.ts.map +0 -1
- package/dist/esm/utils/buildErrors/charts/buildBarChartErrors.d.ts +0 -17
- package/dist/esm/utils/buildErrors/charts/buildBarChartErrors.d.ts.map +0 -1
- package/dist/esm/utils/buildErrors/charts/buildLineChartErrors.d.ts +0 -13
- package/dist/esm/utils/buildErrors/charts/buildLineChartErrors.d.ts.map +0 -1
- package/dist/esm/utils/buildErrors/charts/buildPieChartErrors.d.ts +0 -37
- package/dist/esm/utils/buildErrors/charts/buildPieChartErrors.d.ts.map +0 -1
- package/dist/esm/utils/buildErrors/constants/errorMessages/barChartErrorMessages.d.ts +0 -19
- package/dist/esm/utils/buildErrors/constants/errorMessages/barChartErrorMessages.d.ts.map +0 -1
- package/dist/esm/utils/buildErrors/constants/errorMessages/lineChartErrorMessages.d.ts +0 -25
- package/dist/esm/utils/buildErrors/constants/errorMessages/lineChartErrorMessages.d.ts.map +0 -1
- package/dist/esm/utils/buildErrors/constants/errorMessages/pieChartErrorMessages.d.ts +0 -13
- package/dist/esm/utils/buildErrors/constants/errorMessages/pieChartErrorMessages.d.ts.map +0 -1
- package/dist/esm/utils/buildErrors/constants/errors/barChartErrors.d.ts +0 -20
- package/dist/esm/utils/buildErrors/constants/errors/barChartErrors.d.ts.map +0 -1
- package/dist/esm/utils/buildErrors/constants/errors/lineChartErrors.d.ts +0 -26
- package/dist/esm/utils/buildErrors/constants/errors/lineChartErrors.d.ts.map +0 -1
- package/dist/esm/utils/buildErrors/constants/errors/pieChartErrors.d.ts +0 -14
- package/dist/esm/utils/buildErrors/constants/errors/pieChartErrors.d.ts.map +0 -1
- package/dist/esm/utils/buildErrors/index.d.ts +0 -2
- package/dist/esm/utils/buildErrors/index.d.ts.map +0 -1
- package/dist/esm/utils/buildErrors/index.js +0 -2
- package/dist/esm/utils/buildTickValues/buildTickValues.d.ts +0 -28
- package/dist/esm/utils/buildTickValues/buildTickValues.d.ts.map +0 -1
- package/dist/esm/utils/classNames/classNames.d.ts +0 -14
- package/dist/esm/utils/classNames/classNames.d.ts.map +0 -1
- package/dist/esm/utils/classNames/classNames.js +0 -25
- package/dist/esm/utils/createErrorAccumulator/createErrorAccumulator.d.ts +0 -7
- package/dist/esm/utils/createErrorAccumulator/createErrorAccumulator.d.ts.map +0 -1
- package/dist/esm/utils/createErrorAccumulator/index.d.ts +0 -2
- package/dist/esm/utils/createErrorAccumulator/index.d.ts.map +0 -1
- package/dist/esm/utils/createErrorAccumulator/index.js +0 -1
- package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.d.ts +0 -21
- package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.d.ts.map +0 -1
- package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts +0 -12
- package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts.map +0 -1
- package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.types.js +0 -1
- package/dist/esm/utils/cursorNear/isNear.d.ts +0 -2
- package/dist/esm/utils/cursorNear/isNear.d.ts.map +0 -1
- package/dist/esm/utils/getAxisData/getAxisData.d.ts +0 -2
- package/dist/esm/utils/getAxisData/getAxisData.d.ts.map +0 -1
- package/dist/esm/utils/getAxisData/getAxisData.js +0 -3
- package/dist/esm/utils/getCanvasDimensions/getCanvasDimensions.d.ts +0 -22
- package/dist/esm/utils/getCanvasDimensions/getCanvasDimensions.d.ts.map +0 -1
- package/dist/esm/utils/getChildrenAttr/getChildrenAttr.d.ts +0 -10
- package/dist/esm/utils/getChildrenAttr/getChildrenAttr.d.ts.map +0 -1
- package/dist/esm/utils/getCoordinates/getCoordinates.d.ts +0 -47
- package/dist/esm/utils/getCoordinates/getCoordinates.d.ts.map +0 -1
- package/dist/esm/utils/getDataFingerprint/getDataFingerprint.d.ts +0 -12
- package/dist/esm/utils/getDataFingerprint/getDataFingerprint.d.ts.map +0 -1
- package/dist/esm/utils/getPoints/getPoints.d.ts +0 -10
- package/dist/esm/utils/getPoints/getPoints.d.ts.map +0 -1
- package/dist/esm/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts +0 -21
- package/dist/esm/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts.map +0 -1
- package/dist/esm/utils/getTicks/getTicks.d.ts +0 -35
- package/dist/esm/utils/getTicks/getTicks.d.ts.map +0 -1
- package/dist/esm/utils/index.d.ts +0 -11
- package/dist/esm/utils/index.d.ts.map +0 -1
- package/dist/esm/utils/index.js +0 -10
- package/dist/esm/utils/logger/index.d.ts +0 -2
- package/dist/esm/utils/logger/index.d.ts.map +0 -1
- package/dist/esm/utils/logger/index.js +0 -1
- package/dist/esm/utils/logger/logger.d.ts +0 -45
- package/dist/esm/utils/logger/logger.d.ts.map +0 -1
- package/dist/esm/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts +0 -11
- package/dist/esm/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts.map +0 -1
- package/dist/esm/utils/pickCustomAttributes/pickCustomAttributes.d.ts +0 -34
- package/dist/esm/utils/pickCustomAttributes/pickCustomAttributes.d.ts.map +0 -1
- package/dist/esm/utils/shadowSvg/shadowSvg.d.ts +0 -3
- package/dist/esm/utils/shadowSvg/shadowSvg.d.ts.map +0 -1
- package/dist/esm/utils/shadowSvg/shadowSvg.types.d.ts +0 -35
- package/dist/esm/utils/shadowSvg/shadowSvg.types.d.ts.map +0 -1
- package/dist/esm/utils/shadowSvg/shadowSvg.types.js +0 -1
- package/dist/esm/utils/ssr/index.d.ts +0 -2
- package/dist/esm/utils/ssr/index.d.ts.map +0 -1
- package/dist/esm/utils/ssr/index.js +0 -1
- package/dist/esm/utils/ssr/ssr.d.ts +0 -80
- package/dist/esm/utils/ssr/ssr.d.ts.map +0 -1
- package/dist/esm/utils/textBound/textBound.d.ts +0 -11
- package/dist/esm/utils/textBound/textBound.d.ts.map +0 -1
- package/dist/kubit-ui-web-react-charts.cjs.js +0 -1
- package/dist/kubit-ui-web-react-charts.es.js +0 -1
- package/dist/kubit-ui-web-react-charts.umd.js +0 -1
- package/dist/react-charts.css +0 -1
|
@@ -1,84 +1,61 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}, [xBreakAxis, xBreakNumeric, xTickValues, yBreakAxis, yBreakNumeric, yTickValues]);
|
|
61
|
-
if (!topSeparator && !rightSeparator && !areaSeparator) {
|
|
62
|
-
return _jsx(_Fragment, {});
|
|
63
|
-
}
|
|
64
|
-
const customXEnd = xBreakAxis && getPoints(xAxisCoordinates.tickValues, [xBreakAxis], true)[0];
|
|
65
|
-
const customYEnd = yBreakAxis && getPoints(yAxisCoordinates.tickValues, [yBreakAxis])[0];
|
|
66
|
-
const autoXEnd = crossYAxis ? yAxisCoordinates.coordinates.x1 : xAxisCoordinates.coordinates.x2;
|
|
67
|
-
const autoYEnd = crossXAxis ? xAxisCoordinates.coordinates.y1 : yAxisCoordinates.coordinates.y1;
|
|
68
|
-
const xStart = xAxisCoordinates.coordinates.x1;
|
|
69
|
-
const xEnd = customXEnd ?? autoXEnd;
|
|
70
|
-
const yStart = yAxisCoordinates.coordinates.y2;
|
|
71
|
-
const yEnd = customYEnd ?? autoYEnd;
|
|
72
|
-
// Separator positioning validation
|
|
73
|
-
useEffect(() => {
|
|
74
|
-
if (xStart === xEnd && yStart === yEnd) {
|
|
75
|
-
addError?.('LINE_CHART_SEPARATOR_ERROR', {
|
|
76
|
-
error: buildError(BuildError.LINE_CHART_SEPARATOR_INVALID_COORDINATES),
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
}, [xStart, xEnd, yStart, yEnd]);
|
|
80
|
-
const squarePath = `M${xStart} ${yStart} H ${xEnd} V ${yEnd} H ${xStart} Z`;
|
|
81
|
-
const lineTop = `M${xStart} ${yEnd} H ${xEnd}`;
|
|
82
|
-
const lineRight = `M${xEnd} ${yStart} V ${yEnd}`;
|
|
83
|
-
return (_jsxs("g", { children: [_jsx("path", { d: squarePath, "data-testid": `${dataTestId}Area`, ...areaSeparator }), _jsx("path", { d: lineTop, "data-testid": `${dataTestId}Top`, ...topSeparator }), _jsx("path", { d: lineRight, "data-testid": `${dataTestId}Right`, ...rightSeparator })] }));
|
|
1
|
+
import { BuildError, buildError, buildSeparatorXBreakAxisError, buildSeparatorXOutOfRangeError, buildSeparatorYBreakAxisError, buildSeparatorYOutOfRangeError } from "../../../utils/buildErrors/buildErrors.js";
|
|
2
|
+
import { getPoints } from "../../../utils/getPoints/getPoints.js";
|
|
3
|
+
import { LineChartContext } from "../context/lineChartContext.js";
|
|
4
|
+
import { useContext, useEffect } from "react";
|
|
5
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
const LineChartSeparator = ({ areaSeparator: r, dataTestId: i, rightSeparator: a, topSeparator: o, xBreakAxis: s, yBreakAxis: c }) => {
|
|
7
|
+
let { addError: l, crossXAxis: u, crossYAxis: d, xAxisCoordinates: f, yAxisCoordinates: p } = useContext(LineChartContext), m = f.tickValues, h = p.tickValues, g = s === void 0 ? void 0 : typeof s == "string" ? parseFloat(s) : s, _ = c === void 0 ? void 0 : typeof c == "string" ? parseFloat(c) : c;
|
|
8
|
+
if (useEffect(() => {
|
|
9
|
+
if (s !== void 0) {
|
|
10
|
+
let e = m.map((e) => e.value);
|
|
11
|
+
if (g === void 0 || isNaN(g)) l?.("LINE_CHART_SEPARATOR_ERROR", { error: buildSeparatorXBreakAxisError(s) });
|
|
12
|
+
else {
|
|
13
|
+
let t = Math.min(...e.map((e) => typeof e == "string" ? parseFloat(e) : e)), n = Math.max(...e.map((e) => typeof e == "string" ? parseFloat(e) : e));
|
|
14
|
+
(g < t || g > n) && l?.("LINE_CHART_SEPARATOR_ERROR", { error: buildSeparatorXOutOfRangeError(g, t, n) });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
if (c !== void 0) {
|
|
18
|
+
let e = h.map((e) => e.value);
|
|
19
|
+
if (_ === void 0 || isNaN(_)) l?.("LINE_CHART_SEPARATOR_ERROR", { error: buildSeparatorYBreakAxisError(c) });
|
|
20
|
+
else {
|
|
21
|
+
let t = Math.min(...e.map((e) => typeof e == "string" ? parseFloat(e) : e)), n = Math.max(...e.map((e) => typeof e == "string" ? parseFloat(e) : e));
|
|
22
|
+
(_ < t || _ > n) && l?.("LINE_CHART_SEPARATOR_ERROR", { error: buildSeparatorYOutOfRangeError(_, t, n) });
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}, [
|
|
26
|
+
s,
|
|
27
|
+
g,
|
|
28
|
+
m,
|
|
29
|
+
c,
|
|
30
|
+
_,
|
|
31
|
+
h
|
|
32
|
+
]), !o && !a && !r) return /* @__PURE__ */ jsx(Fragment, {});
|
|
33
|
+
let v = s && getPoints(f.tickValues, [s], !0)[0], y = c && getPoints(p.tickValues, [c])[0], b = d ? p.coordinates.x1 : f.coordinates.x2, x = u ? f.coordinates.y1 : p.coordinates.y1, S = f.coordinates.x1, C = v ?? b, w = p.coordinates.y2, T = y ?? x;
|
|
34
|
+
useEffect(() => {
|
|
35
|
+
S === C && w === T && l?.("LINE_CHART_SEPARATOR_ERROR", { error: buildError(BuildError.LINE_CHART_SEPARATOR_INVALID_COORDINATES) });
|
|
36
|
+
}, [
|
|
37
|
+
S,
|
|
38
|
+
C,
|
|
39
|
+
w,
|
|
40
|
+
T
|
|
41
|
+
]);
|
|
42
|
+
let E = `M${S} ${w} H ${C} V ${T} H ${S} Z`, D = `M${S} ${T} H ${C}`, O = `M${C} ${w} V ${T}`;
|
|
43
|
+
return /* @__PURE__ */ jsxs("g", { children: [
|
|
44
|
+
/* @__PURE__ */ jsx("path", {
|
|
45
|
+
d: E,
|
|
46
|
+
"data-testid": `${i}Area`,
|
|
47
|
+
...r
|
|
48
|
+
}),
|
|
49
|
+
/* @__PURE__ */ jsx("path", {
|
|
50
|
+
d: D,
|
|
51
|
+
"data-testid": `${i}Top`,
|
|
52
|
+
...o
|
|
53
|
+
}),
|
|
54
|
+
/* @__PURE__ */ jsx("path", {
|
|
55
|
+
d: O,
|
|
56
|
+
"data-testid": `${i}Right`,
|
|
57
|
+
...a
|
|
58
|
+
})
|
|
59
|
+
] });
|
|
84
60
|
};
|
|
61
|
+
export { LineChartSeparator };
|
|
@@ -1,32 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { XAxis } from
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
1
|
+
import { Positions } from "../../../types/position.enum.js";
|
|
2
|
+
import { pickCustomAttributes } from "../../../utils/pickCustomAttributes/pickCustomAttributes.js";
|
|
3
|
+
import { XAxis } from "../../../components/axisChart/xAxis/xAxis.js";
|
|
4
|
+
import { getTickTextYCoordinate } from "../../../utils/getTickTextCoordinate/getTickTextCoordinates.js";
|
|
5
|
+
import { LineChartContext } from "../context/lineChartContext.js";
|
|
6
|
+
import { TickDataUtils } from "../../../components/tick/tick.types.js";
|
|
7
|
+
import { useContext } from "react";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
const LineChartXAxis = ({ ariaLabel: t, position: n = Positions.BOTTOM, tickLine: r, tickText: i, valueFormatter: a = (e) => e, ...o }) => {
|
|
10
|
+
let { xAxisCoordinates: { coordinates: s, tickValues: c }, xCursor: l, ...u } = useContext(LineChartContext), d = getTickTextYCoordinate(n, s.y1, Number(i?.fontSize), i?.top ?? 0), f = i ? TickDataUtils.formatTicksValues(c, a) : void 0, p = pickCustomAttributes(o), m = t || o["aria-label"], h = {
|
|
11
|
+
...o,
|
|
12
|
+
...p,
|
|
13
|
+
...m && { "aria-label": m }
|
|
14
|
+
};
|
|
15
|
+
return /* @__PURE__ */ jsx(XAxis, {
|
|
16
|
+
...s,
|
|
17
|
+
...h,
|
|
18
|
+
canvasHeight: Number(u.canvasHeight),
|
|
19
|
+
canvasWidth: Number(u.canvasWidth),
|
|
20
|
+
cursor: l,
|
|
21
|
+
dataTestId: `${u.dataTestId}xAxis`,
|
|
22
|
+
tickLine: {
|
|
23
|
+
...r,
|
|
24
|
+
y1: u.yAxisCoordinates.coordinates.y1,
|
|
25
|
+
y2: u.yAxisCoordinates.coordinates.y2
|
|
26
|
+
},
|
|
27
|
+
tickText: {
|
|
28
|
+
...i,
|
|
29
|
+
y: d
|
|
30
|
+
},
|
|
31
|
+
tickValues: f
|
|
32
|
+
});
|
|
32
33
|
};
|
|
34
|
+
export { LineChartXAxis };
|
|
@@ -1,41 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { YAxis } from
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
x1: context.xAxisCoordinates.coordinates.x1,
|
|
39
|
-
x2: context.xAxisCoordinates.coordinates.x2,
|
|
40
|
-
}, tickText: { ...tickText, x: xTickText }, tickValues: tickValues }));
|
|
1
|
+
import { Positions } from "../../../types/position.enum.js";
|
|
2
|
+
import { pickCustomAttributes } from "../../../utils/pickCustomAttributes/pickCustomAttributes.js";
|
|
3
|
+
import { YAxis } from "../../../components/axisChart/yAxis/yAxis.js";
|
|
4
|
+
import { LineChartContext } from "../context/lineChartContext.js";
|
|
5
|
+
import { TickDataUtils } from "../../../components/tick/tick.types.js";
|
|
6
|
+
import { getYAxisTextXCoordinate } from "../utils/tickTextPosition.js";
|
|
7
|
+
import { useContext } from "react";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
const LineChartYAxis = ({ ariaLabel: t, position: n = Positions.LEFT, tickLine: r, tickText: i, valueFormatter: a = (e) => e, ...o }) => {
|
|
10
|
+
let { yAxisCoordinates: { coordinates: s, tickValues: c }, yCursor: l, ...u } = useContext(LineChartContext), d = getYAxisTextXCoordinate({
|
|
11
|
+
tickText: i,
|
|
12
|
+
yAxisPosition: n,
|
|
13
|
+
textWidth: u.yAxisText,
|
|
14
|
+
yAxisX1: s.x1
|
|
15
|
+
}), f = i ? TickDataUtils.formatTicksValues(c, a) : void 0, p = pickCustomAttributes(o), m = t || o["aria-label"], h = {
|
|
16
|
+
...o,
|
|
17
|
+
...p,
|
|
18
|
+
...m && { "aria-label": m }
|
|
19
|
+
};
|
|
20
|
+
return /* @__PURE__ */ jsx(YAxis, {
|
|
21
|
+
...s,
|
|
22
|
+
...h,
|
|
23
|
+
canvasHeight: Number(u.canvasHeight),
|
|
24
|
+
canvasWidth: Number(u.canvasWidth),
|
|
25
|
+
cursor: l,
|
|
26
|
+
dataTestId: `${u.dataTestId}yAxis`,
|
|
27
|
+
tickLine: {
|
|
28
|
+
...r,
|
|
29
|
+
x1: u.xAxisCoordinates.coordinates.x1,
|
|
30
|
+
x2: u.xAxisCoordinates.coordinates.x2
|
|
31
|
+
},
|
|
32
|
+
tickText: {
|
|
33
|
+
...i,
|
|
34
|
+
x: d
|
|
35
|
+
},
|
|
36
|
+
tickValues: f
|
|
37
|
+
});
|
|
41
38
|
};
|
|
39
|
+
export { LineChartYAxis };
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import { useEffect, useImperativeHandle, useRef } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const element = innerRef.current;
|
|
14
|
-
element.addEventListener('click', handleClick);
|
|
15
|
-
// eslint-disable-next-line consistent-return
|
|
16
|
-
return () => element.removeEventListener('click', handleClick);
|
|
17
|
-
}, []);
|
|
18
|
-
return [innerRef, autoClick];
|
|
1
|
+
import { useEffect, useImperativeHandle, useRef } from "react";
|
|
2
|
+
const useAutoClick = (t) => {
|
|
3
|
+
let n = useRef(!1), r = useRef(null);
|
|
4
|
+
useImperativeHandle(t, () => r.current, []);
|
|
5
|
+
let i = (e) => {
|
|
6
|
+
n.current = !!e.autoClick;
|
|
7
|
+
};
|
|
8
|
+
return useEffect(() => {
|
|
9
|
+
if (!r.current) return;
|
|
10
|
+
let e = r.current;
|
|
11
|
+
return e.addEventListener("click", i), () => e.removeEventListener("click", i);
|
|
12
|
+
}, []), [r, n];
|
|
19
13
|
};
|
|
14
|
+
export { useAutoClick };
|
|
@@ -1,30 +1,18 @@
|
|
|
1
|
-
import { useCallback, useState } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
e.preventDefault();
|
|
18
|
-
};
|
|
19
|
-
const svgRef = useCallback((node) => {
|
|
20
|
-
if (node) {
|
|
21
|
-
node.addEventListener('touchstart', startTouch);
|
|
22
|
-
node.addEventListener('touchmove', e => getCursor(e.touches[0], node));
|
|
23
|
-
node.addEventListener('mousemove', e => getCursor(e, node));
|
|
24
|
-
}
|
|
25
|
-
node?.removeEventListener('touchstart', startTouch);
|
|
26
|
-
node?.removeEventListener('touchmove', e => getCursor(e.touches[0], node));
|
|
27
|
-
node?.removeEventListener('mousemove', e => getCursor(e, node));
|
|
28
|
-
}, [canvasHeight, canvasWidth]);
|
|
29
|
-
return { svgRef, xCursor, yCursor };
|
|
1
|
+
import { useCallback, useState } from "react";
|
|
2
|
+
var outRange = -Infinity;
|
|
3
|
+
const useHover = ({ canvasHeight: r, canvasWidth: i }) => {
|
|
4
|
+
let [[a, o], s] = useState([outRange, outRange]), c = useCallback((e, t) => {
|
|
5
|
+
let { height: n, left: a, top: o, width: c } = t.getBoundingClientRect(), l = e.clientX - a, u = e.clientY - o;
|
|
6
|
+
s([l * i / c, u * r / n]);
|
|
7
|
+
}, [i, r]), l = (e) => {
|
|
8
|
+
e.preventDefault();
|
|
9
|
+
};
|
|
10
|
+
return {
|
|
11
|
+
svgRef: useCallback((e) => {
|
|
12
|
+
e && (e.addEventListener("touchstart", l), e.addEventListener("touchmove", (t) => c(t.touches[0], e)), e.addEventListener("mousemove", (t) => c(t, e))), e?.removeEventListener("touchstart", l), e?.removeEventListener("touchmove", (t) => c(t.touches[0], e)), e?.removeEventListener("mousemove", (t) => c(t, e));
|
|
13
|
+
}, [r, i]),
|
|
14
|
+
xCursor: a,
|
|
15
|
+
yCursor: o
|
|
16
|
+
};
|
|
30
17
|
};
|
|
18
|
+
export { useHover };
|
|
@@ -1,31 +1,15 @@
|
|
|
1
|
-
import { useEffect, useRef } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
let mid, points;
|
|
15
|
-
// find the point on the path where the x position is, using binary search
|
|
16
|
-
while (end - start > 0.01) {
|
|
17
|
-
mid = (start + end) / 2;
|
|
18
|
-
points = path.getPointAtLength(mid);
|
|
19
|
-
if (points.x < xPosition) {
|
|
20
|
-
start = mid;
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
end = mid;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
const point = path.getPointAtLength(end);
|
|
27
|
-
indicator.setAttribute('transform', `translate(${point.x}, ${point.y})`);
|
|
28
|
-
indicator.setAttribute('pointer-events', 'none');
|
|
29
|
-
}, [xPosition]);
|
|
30
|
-
return { indicatorRef, pathRef };
|
|
1
|
+
import { useEffect, useRef } from "react";
|
|
2
|
+
const useIndicator = (n, r) => {
|
|
3
|
+
let i = useRef(null), a = useRef(null);
|
|
4
|
+
return useEffect(() => {
|
|
5
|
+
if (!r || !i.current || !a.current) return;
|
|
6
|
+
let e = i.current, t = a.current, o = e.getTotalLength(), s = 0, c = o, l, u;
|
|
7
|
+
for (; c - s > .01;) l = (s + c) / 2, u = e.getPointAtLength(l), u.x < n ? s = l : c = l;
|
|
8
|
+
let d = e.getPointAtLength(c);
|
|
9
|
+
t.setAttribute("transform", `translate(${d.x}, ${d.y})`), t.setAttribute("pointer-events", "none");
|
|
10
|
+
}, [n]), {
|
|
11
|
+
indicatorRef: a,
|
|
12
|
+
pathRef: i
|
|
13
|
+
};
|
|
31
14
|
};
|
|
15
|
+
export { useIndicator };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './lineChart';
|
|
1
|
+
export * from './lineChart.js';
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { LineChartPath } from
|
|
2
|
-
import { LineChartSeparator } from
|
|
3
|
-
import { LineChartXAxis } from
|
|
4
|
-
import { LineChartYAxis } from
|
|
5
|
-
import { LineChartStructure } from
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { LineChartPath } from "./fragments/lineChartPath2.js";
|
|
2
|
+
import { LineChartSeparator } from "./fragments/lineChartSeparator.js";
|
|
3
|
+
import { LineChartXAxis } from "./fragments/lineChartXAxis.js";
|
|
4
|
+
import { LineChartYAxis } from "./fragments/lineChartYAxis.js";
|
|
5
|
+
import { LineChartStructure } from "./lineChartStructure.js";
|
|
6
|
+
var LineChart = Object.assign(LineChartStructure, {
|
|
7
|
+
Path: LineChartPath,
|
|
8
|
+
Separator: LineChartSeparator,
|
|
9
|
+
XAxis: LineChartXAxis,
|
|
10
|
+
YAxis: LineChartYAxis
|
|
11
11
|
});
|
|
12
12
|
export { LineChart };
|
|
13
|
-
export * from './lineChart.type';
|