@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.
Files changed (1413) hide show
  1. package/CHANGELOG.md +261 -0
  2. package/README.md +20 -5
  3. package/dist/cjs/charts/barChart/barChart.js +1 -13
  4. package/dist/cjs/charts/barChart/barChartStructure.js +1 -80
  5. package/dist/cjs/charts/barChart/context/barChartContext.js +1 -2
  6. package/dist/cjs/charts/barChart/context/buildBarContextValues.js +1 -262
  7. package/dist/cjs/charts/barChart/fragments/barChartPath.js +1 -71
  8. package/dist/cjs/charts/barChart/fragments/barChartSeparator.js +1 -84
  9. package/dist/cjs/charts/barChart/fragments/barChartXAxis.js +1 -28
  10. package/dist/cjs/charts/barChart/fragments/barChartYAxis.js +1 -21
  11. package/dist/cjs/charts/barChart/index.js +1 -1
  12. package/dist/cjs/charts/barChart/utils/countBarChildren.js +1 -11
  13. package/dist/cjs/charts/barChart/utils/getAxisExtraSpacing.js +1 -116
  14. package/dist/cjs/charts/barChart/utils/getBarDataValue.js +1 -24
  15. package/dist/cjs/charts/barChart/utils/getRoundedBarMaxValue.js +1 -11
  16. package/dist/cjs/charts/constants/chartDefaults.js +1 -96
  17. package/dist/cjs/charts/customBackgroundChart/context/customBackgroundChartContext.js +1 -3
  18. package/dist/cjs/charts/customBackgroundChart/customBackgroundChart.js +1 -7
  19. package/dist/cjs/charts/customBackgroundChart/customBackgroundChartStructure.js +1 -41
  20. package/dist/cjs/charts/customBackgroundChart/fragments/customBackgroundChartPlot.js +1 -49
  21. package/dist/cjs/charts/customBackgroundChart/index.js +1 -1
  22. package/dist/cjs/charts/customBackgroundChart/utils/accessibility.js +1 -32
  23. package/dist/cjs/charts/lineChart/context/buildLineContextValue.js +1 -186
  24. package/dist/cjs/charts/lineChart/context/lineChartContext.js +1 -2
  25. package/dist/cjs/charts/lineChart/fragments/lineChartPath2.js +1 -0
  26. package/dist/cjs/charts/lineChart/fragments/lineChartProjection.js +1 -65
  27. package/dist/cjs/charts/lineChart/fragments/lineChartSeparator.js +1 -84
  28. package/dist/cjs/charts/lineChart/fragments/lineChartXAxis.js +1 -32
  29. package/dist/cjs/charts/lineChart/fragments/lineChartYAxis.js +1 -41
  30. package/dist/cjs/charts/lineChart/hook/useAutoClick.js +1 -19
  31. package/dist/cjs/charts/lineChart/hook/useHover.js +1 -30
  32. package/dist/cjs/charts/lineChart/hook/useIndicator.js +1 -31
  33. package/dist/cjs/charts/lineChart/index.js +1 -1
  34. package/dist/cjs/charts/lineChart/lineChart.js +1 -13
  35. package/dist/cjs/charts/lineChart/lineChartStructure.js +1 -121
  36. package/dist/cjs/charts/lineChart/utils/accessibilityTemplateProcessor.js +1 -56
  37. package/dist/cjs/charts/lineChart/utils/findSurroundingNumber.js +1 -25
  38. package/dist/cjs/charts/lineChart/utils/getCoordinates.js +1 -55
  39. package/dist/cjs/charts/lineChart/utils/getDataValues.js +1 -24
  40. package/dist/cjs/charts/lineChart/utils/getExtraSpacing.js +1 -141
  41. package/dist/cjs/charts/lineChart/utils/getPathData.js +1 -33
  42. package/dist/cjs/charts/lineChart/utils/getProjection.js +1 -105
  43. package/dist/cjs/charts/lineChart/utils/getRoundedMaxValue.js +1 -25
  44. package/dist/cjs/charts/lineChart/utils/getTicks.js +1 -36
  45. package/dist/cjs/charts/lineChart/utils/handleNodesFocus.js +1 -34
  46. package/dist/cjs/charts/lineChart/utils/tickTextPosition.js +1 -109
  47. package/dist/cjs/charts/lineChart/utils/validations.js +1 -117
  48. package/dist/cjs/charts/pieChart/context/buildPieContextValue.js +1 -57
  49. package/dist/cjs/charts/pieChart/context/pieChartContext.js +1 -2
  50. package/dist/cjs/charts/pieChart/fragments/pieChartForeign.js +1 -13
  51. package/dist/cjs/charts/pieChart/fragments/pieChartPath.js +1 -63
  52. package/dist/cjs/charts/pieChart/fragments/pieChartSegment.js +1 -90
  53. package/dist/cjs/charts/pieChart/index.js +1 -1
  54. package/dist/cjs/charts/pieChart/pieChart.js +1 -9
  55. package/dist/cjs/charts/pieChart/pieChartStructure.js +1 -76
  56. package/dist/cjs/charts/pieChart/utils/accessibility.js +1 -21
  57. package/dist/cjs/charts/pieChart/utils/buildL.js +1 -9
  58. package/dist/cjs/charts/pieChart/utils/calculatePoint.js +1 -13
  59. package/dist/cjs/charts/pieChart/utils/calculateSegmentPath.js +1 -57
  60. package/dist/cjs/charts/pieChart/utils/drawSegmentPath.js +1 -41
  61. package/dist/cjs/charts/pieChart/utils/rotationDirection.js +1 -13
  62. package/dist/cjs/components/axisChart/utils/filterLineProps/filterLineProps.js +1 -38
  63. package/dist/cjs/components/axisChart/xAxis/xAxis.js +1 -42
  64. package/dist/cjs/components/axisChart/yAxis/yAxis.js +1 -34
  65. package/dist/cjs/components/bar/bar.js +1 -44
  66. package/dist/cjs/components/bar/bar.type.js +1 -4
  67. package/dist/cjs/components/bar/utils/accessibility.js +1 -30
  68. package/dist/cjs/components/bar/utils/buildD.js +1 -115
  69. package/dist/cjs/components/bar/utils/getSegments.js +1 -31
  70. package/dist/cjs/components/chartText/chartText.js +1 -18
  71. package/dist/cjs/components/focusRing/components/FocusRingInline.js +1 -37
  72. package/dist/cjs/components/focusRing/components/FocusRingRenderer.js +1 -25
  73. package/dist/cjs/components/focusRing/components/FocusRingSeparate.js +1 -45
  74. package/dist/cjs/components/focusRing/focusRing2.js +1 -0
  75. package/dist/cjs/components/focusRing/hooks/useFocusRingData.js +1 -67
  76. package/dist/cjs/components/focusRing/utils/composeRefs.js +1 -16
  77. package/dist/cjs/components/focusRing/utils/createAdaptiveFocusRings.js +1 -141
  78. package/dist/cjs/components/focusRing/utils/createBoundingBoxFocusRings.js +1 -126
  79. package/dist/cjs/components/foreignObject/foreignObject.js +1 -4
  80. package/dist/cjs/components/line/line.js +1 -9
  81. package/dist/cjs/components/node/components/circle/circle.js +1 -6
  82. package/dist/cjs/components/node/components/hexagon/hexagon.js +1 -8
  83. package/dist/cjs/components/node/components/pentagon/pentagon.js +1 -8
  84. package/dist/cjs/components/node/components/square/square.js +1 -6
  85. package/dist/cjs/components/node/components/star/star.js +1 -10
  86. package/dist/cjs/components/node/components/straight/straight.js +1 -7
  87. package/dist/cjs/components/node/components/triangle/triangle.js +1 -11
  88. package/dist/cjs/components/node/node.js +1 -98
  89. package/dist/cjs/components/node/node.types.js +1 -18
  90. package/dist/cjs/components/node/utils/calculateShapePoints/calculateShapePoints.js +1 -18
  91. package/dist/cjs/components/path/components/nodePath/nodePath.js +1 -38
  92. package/dist/cjs/components/path/path2.js +1 -0
  93. package/dist/cjs/components/plot/components/circle/circle.js +1 -6
  94. package/dist/cjs/components/plot/components/square/square.js +1 -6
  95. package/dist/cjs/components/plot/components/triangle/triangle.js +1 -14
  96. package/dist/cjs/components/plot/plot.types.js +1 -51
  97. package/dist/cjs/components/plot/plot2.js +1 -0
  98. package/dist/cjs/components/svgContainer/svgContainer.js +1 -34
  99. package/dist/cjs/components/svgContainer/utils/buildViewBox/buildViewBox.js +1 -20
  100. package/dist/cjs/components/tick/tick.js +1 -19
  101. package/dist/cjs/components/tick/tick.types.js +1 -24
  102. package/dist/cjs/components/zoomArea/components/HandlerIcon.js +1 -22
  103. package/dist/cjs/components/zoomArea/components/LineRenderer.js +1 -11
  104. package/dist/cjs/components/zoomArea/components/SelectionArea.js +1 -16
  105. package/dist/cjs/components/zoomArea/components/ZoomHandler.js +1 -46
  106. package/dist/cjs/components/zoomArea/hooks/useDragInteraction.js +1 -110
  107. package/dist/cjs/components/zoomArea/hooks/useKeyboardNavigation.js +1 -122
  108. package/dist/cjs/components/zoomArea/hooks/useZoomAreaFocus.js +1 -28
  109. package/dist/cjs/components/zoomArea/hooks/useZoomData.js +1 -31
  110. package/dist/cjs/components/zoomArea/utils/accessibilityLabels.js +1 -60
  111. package/dist/cjs/components/zoomArea/utils/indexRounding.js +1 -68
  112. package/dist/cjs/components/zoomArea/utils/interactionConfig.js +1 -23
  113. package/dist/cjs/components/zoomArea/utils/pathGeneration.js +1 -112
  114. package/dist/cjs/components/zoomArea/utils/rangeAndPositions.js +1 -75
  115. package/dist/cjs/components/zoomArea/utils/selectionConfig.js +1 -29
  116. package/dist/cjs/components/zoomArea/zoomArea.js +1 -80
  117. package/dist/cjs/components/zoomArea/zoomArea.type.js +1 -8
  118. package/dist/cjs/hooks/useFocus/useFocus.js +1 -25
  119. package/dist/cjs/hooks/useHover/useHover.js +1 -27
  120. package/dist/cjs/hooks/useId/useId.js +1 -13
  121. package/dist/cjs/hooks/useResponsiveCanvas/useResponsiveCanvas.js +1 -76
  122. package/dist/cjs/index.js +1 -3
  123. package/dist/cjs/react-charts.css +2 -0
  124. package/dist/cjs/types/canvas.type.js +1 -11
  125. package/dist/cjs/types/errors.type.js +1 -28
  126. package/dist/cjs/types/focusConfig.type.js +1 -25
  127. package/dist/cjs/types/position.enum.js +1 -17
  128. package/dist/cjs/types/unit.enum.js +1 -11
  129. package/dist/cjs/utils/adaptLegacyFocusConfig/adaptLegacyFocusConfig.js +1 -27
  130. package/dist/cjs/utils/ajustedTextSpace/ajustedTextSpace.js +1 -15
  131. package/dist/cjs/utils/buildErrors/buildErrors.js +1 -45
  132. package/dist/cjs/utils/buildErrors/charts/buildBarChartErrors.js +1 -16
  133. package/dist/cjs/utils/buildErrors/charts/buildLineChartErrors.js +1 -12
  134. package/dist/cjs/utils/buildErrors/charts/buildPieChartErrors.js +1 -36
  135. package/dist/cjs/utils/buildErrors/constants/errorMessages/barChartErrorMessages.js +1 -23
  136. package/dist/cjs/utils/buildErrors/constants/errorMessages/lineChartErrorMessages.js +1 -29
  137. package/dist/cjs/utils/buildErrors/constants/errorMessages/pieChartErrorMessages.js +1 -20
  138. package/dist/cjs/utils/buildErrors/constants/errors/barChartErrors.js +1 -28
  139. package/dist/cjs/utils/buildErrors/constants/errors/lineChartErrors.js +1 -34
  140. package/dist/cjs/utils/buildErrors/constants/errors/pieChartErrors.js +1 -25
  141. package/dist/cjs/utils/buildTickValues/buildTickValues.js +1 -47
  142. package/dist/cjs/utils/createErrorAccumulator/createErrorAccumulator.js +1 -54
  143. package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.js +1 -46
  144. package/dist/cjs/utils/cursorNear/isNear.js +1 -3
  145. package/dist/cjs/utils/getCanvasDimensions/getCanvasDimensions.js +1 -108
  146. package/dist/cjs/utils/getChildrenAttr/getChildrenAttr.js +1 -15
  147. package/dist/cjs/utils/getCoordinates/getCoordinates.js +1 -90
  148. package/dist/cjs/utils/getDataFingerprint/getDataFingerprint.js +1 -10
  149. package/dist/cjs/utils/getPoints/getPoints.js +1 -49
  150. package/dist/cjs/utils/getTickTextCoordinate/getTickTextCoordinates.js +1 -30
  151. package/dist/cjs/utils/getTicks/getTicks.js +1 -49
  152. package/dist/cjs/utils/logger/logger.js +1 -140
  153. package/dist/cjs/utils/parseStringToNumberPx.ts/parseStringToNumberPx.js +1 -29
  154. package/dist/cjs/utils/pickCustomAttributes/pickCustomAttributes.js +1 -47
  155. package/dist/cjs/utils/shadowSvg/shadowSvg.js +1 -4
  156. package/dist/cjs/utils/ssr/ssr.js +1 -117
  157. package/dist/cjs/utils/textBound/textBound.js +1 -34
  158. package/dist/esm/charts/barChart/barChart.js +10 -11
  159. package/dist/esm/charts/barChart/barChartStructure.js +68 -79
  160. package/dist/esm/charts/barChart/context/barChartContext.js +3 -2
  161. package/dist/esm/charts/barChart/context/buildBarContextValues.js +155 -261
  162. package/dist/esm/charts/barChart/fragments/barChartPath.js +57 -70
  163. package/dist/esm/charts/barChart/fragments/barChartSeparator.js +60 -83
  164. package/dist/esm/charts/barChart/fragments/barChartXAxis.js +31 -27
  165. package/dist/esm/charts/barChart/fragments/barChartYAxis.js +28 -20
  166. package/dist/esm/charts/barChart/index.js +1 -1
  167. package/dist/esm/charts/barChart/utils/countBarChildren.js +8 -10
  168. package/dist/esm/charts/barChart/utils/getAxisExtraSpacing.js +80 -114
  169. package/dist/esm/charts/barChart/utils/getBarDataValue.js +10 -23
  170. package/dist/esm/charts/barChart/utils/getRoundedBarMaxValue.js +2 -11
  171. package/dist/esm/charts/constants/chartDefaults.js +19 -96
  172. package/dist/esm/charts/customBackgroundChart/context/customBackgroundChartContext.js +3 -3
  173. package/dist/esm/charts/customBackgroundChart/customBackgroundChart.js +3 -6
  174. package/dist/esm/charts/customBackgroundChart/customBackgroundChartStructure.js +66 -40
  175. package/dist/esm/charts/customBackgroundChart/fragments/customBackgroundChartPlot.js +45 -48
  176. package/dist/esm/charts/customBackgroundChart/index.js +1 -1
  177. package/dist/esm/charts/customBackgroundChart/utils/accessibility.js +13 -32
  178. package/dist/esm/charts/lineChart/context/buildLineContextValue.js +138 -185
  179. package/dist/esm/charts/lineChart/context/lineChartContext.js +3 -2
  180. package/dist/esm/charts/lineChart/fragments/lineChartPath2.js +122 -0
  181. package/dist/esm/charts/lineChart/fragments/lineChartProjection.js +57 -64
  182. package/dist/esm/charts/lineChart/fragments/lineChartSeparator.js +60 -83
  183. package/dist/esm/charts/lineChart/fragments/lineChartXAxis.js +33 -31
  184. package/dist/esm/charts/lineChart/fragments/lineChartYAxis.js +38 -40
  185. package/dist/esm/charts/lineChart/hook/useAutoClick.js +13 -18
  186. package/dist/esm/charts/lineChart/hook/useHover.js +17 -29
  187. package/dist/esm/charts/lineChart/hook/useIndicator.js +14 -30
  188. package/dist/esm/charts/lineChart/index.js +1 -1
  189. package/dist/esm/charts/lineChart/lineChart.js +10 -11
  190. package/dist/esm/charts/lineChart/lineChartStructure.js +91 -120
  191. package/dist/esm/charts/lineChart/utils/accessibilityTemplateProcessor.js +16 -53
  192. package/dist/esm/charts/lineChart/utils/findSurroundingNumber.js +18 -24
  193. package/dist/esm/charts/lineChart/utils/getCoordinates.js +48 -54
  194. package/dist/esm/charts/lineChart/utils/getDataValues.js +10 -23
  195. package/dist/esm/charts/lineChart/utils/getExtraSpacing.js +109 -139
  196. package/dist/esm/charts/lineChart/utils/getPathData.js +8 -32
  197. package/dist/esm/charts/lineChart/utils/getProjection.js +40 -103
  198. package/dist/esm/charts/lineChart/utils/getRoundedMaxValue.js +2 -25
  199. package/dist/esm/charts/lineChart/utils/getTicks.js +23 -35
  200. package/dist/esm/charts/lineChart/utils/handleNodesFocus.js +16 -33
  201. package/dist/esm/charts/lineChart/utils/tickTextPosition.js +33 -108
  202. package/dist/esm/charts/lineChart/utils/validations.js +67 -116
  203. package/dist/esm/charts/pieChart/context/buildPieContextValue.js +27 -56
  204. package/dist/esm/charts/pieChart/context/pieChartContext.js +3 -2
  205. package/dist/esm/charts/pieChart/fragments/pieChartForeign.js +16 -12
  206. package/dist/esm/charts/pieChart/fragments/pieChartPath.js +52 -62
  207. package/dist/esm/charts/pieChart/fragments/pieChartSegment.js +41 -89
  208. package/dist/esm/charts/pieChart/index.js +1 -1
  209. package/dist/esm/charts/pieChart/pieChart.js +6 -7
  210. package/dist/esm/charts/pieChart/pieChartStructure.js +57 -75
  211. package/dist/esm/charts/pieChart/utils/accessibility.js +10 -20
  212. package/dist/esm/charts/pieChart/utils/buildL.js +3 -8
  213. package/dist/esm/charts/pieChart/utils/calculatePoint.js +5 -13
  214. package/dist/esm/charts/pieChart/utils/calculateSegmentPath.js +28 -56
  215. package/dist/esm/charts/pieChart/utils/drawSegmentPath.js +28 -40
  216. package/dist/esm/charts/pieChart/utils/rotationDirection.js +11 -12
  217. package/dist/esm/components/axisChart/utils/filterLineProps/filterLineProps.js +23 -37
  218. package/dist/esm/components/axisChart/xAxis/xAxis.js +37 -42
  219. package/dist/esm/components/axisChart/yAxis/yAxis.js +36 -34
  220. package/dist/esm/components/bar/bar.js +57 -43
  221. package/dist/esm/components/bar/bar.type.js +4 -3
  222. package/dist/esm/components/bar/utils/accessibility.js +13 -29
  223. package/dist/esm/components/bar/utils/buildD.js +21 -113
  224. package/dist/esm/components/bar/utils/getSegments.js +12 -30
  225. package/dist/esm/components/chartText/chartText.js +7 -18
  226. package/dist/esm/components/focusRing/components/FocusRingInline.js +16 -36
  227. package/dist/esm/components/focusRing/components/FocusRingRenderer.js +14 -25
  228. package/dist/esm/components/focusRing/components/FocusRingSeparate.js +14 -44
  229. package/dist/esm/components/focusRing/focusRing2.js +18 -0
  230. package/dist/esm/components/focusRing/hooks/useFocusRingData.js +27 -66
  231. package/dist/esm/components/focusRing/utils/composeRefs.js +7 -15
  232. package/dist/esm/components/focusRing/utils/createAdaptiveFocusRings.js +71 -137
  233. package/dist/esm/components/focusRing/utils/createBoundingBoxFocusRings.js +70 -123
  234. package/dist/esm/components/foreignObject/foreignObject.js +10 -4
  235. package/dist/esm/components/line/line.js +8 -9
  236. package/dist/esm/components/node/components/circle/circle.js +11 -6
  237. package/dist/esm/components/node/components/hexagon/hexagon.js +16 -8
  238. package/dist/esm/components/node/components/pentagon/pentagon.js +16 -8
  239. package/dist/esm/components/node/components/square/square.js +15 -6
  240. package/dist/esm/components/node/components/star/star.js +16 -10
  241. package/dist/esm/components/node/components/straight/straight.js +16 -7
  242. package/dist/esm/components/node/components/triangle/triangle.js +19 -11
  243. package/dist/esm/components/node/node.js +73 -97
  244. package/dist/esm/components/node/node.types.js +9 -17
  245. package/dist/esm/components/node/utils/calculateShapePoints/calculateShapePoints.js +8 -17
  246. package/dist/esm/components/path/components/nodePath/nodePath.js +35 -38
  247. package/dist/esm/components/path/path2.js +127 -0
  248. package/dist/esm/components/plot/components/circle/circle.js +11 -6
  249. package/dist/esm/components/plot/components/square/square.js +12 -6
  250. package/dist/esm/components/plot/components/triangle/triangle.js +12 -14
  251. package/dist/esm/components/plot/plot.types.js +17 -50
  252. package/dist/esm/components/plot/plot2.js +68 -0
  253. package/dist/esm/components/svgContainer/svgContainer.js +33 -34
  254. package/dist/esm/components/svgContainer/utils/buildViewBox/buildViewBox.js +2 -20
  255. package/dist/esm/components/tick/tick.js +8 -19
  256. package/dist/esm/components/tick/tick.types.js +5 -24
  257. package/dist/esm/components/zoomArea/components/HandlerIcon.js +13 -22
  258. package/dist/esm/components/zoomArea/components/LineRenderer.js +14 -11
  259. package/dist/esm/components/zoomArea/components/SelectionArea.js +35 -15
  260. package/dist/esm/components/zoomArea/components/ZoomHandler.js +67 -44
  261. package/dist/esm/components/zoomArea/hooks/useDragInteraction.js +54 -108
  262. package/dist/esm/components/zoomArea/hooks/useKeyboardNavigation.js +68 -120
  263. package/dist/esm/components/zoomArea/hooks/useZoomAreaFocus.js +11 -27
  264. package/dist/esm/components/zoomArea/hooks/useZoomData.js +18 -30
  265. package/dist/esm/components/zoomArea/utils/accessibilityLabels.js +15 -58
  266. package/dist/esm/components/zoomArea/utils/indexRounding.js +7 -67
  267. package/dist/esm/components/zoomArea/utils/interactionConfig.js +9 -21
  268. package/dist/esm/components/zoomArea/utils/pathGeneration.js +20 -111
  269. package/dist/esm/components/zoomArea/utils/rangeAndPositions.js +20 -75
  270. package/dist/esm/components/zoomArea/utils/selectionConfig.js +13 -27
  271. package/dist/esm/components/zoomArea/zoomArea.js +130 -79
  272. package/dist/esm/components/zoomArea/zoomArea.type.js +5 -7
  273. package/dist/esm/hooks/useFocus/useFocus.js +13 -24
  274. package/dist/esm/hooks/useHover/useHover.js +13 -26
  275. package/dist/esm/hooks/useId/useId.js +6 -12
  276. package/dist/esm/hooks/useResponsiveCanvas/useResponsiveCanvas.js +55 -75
  277. package/dist/esm/index.js +36 -3
  278. package/dist/esm/react-charts.css +2 -0
  279. package/dist/esm/types/canvas.type.js +5 -10
  280. package/dist/esm/types/errors.type.js +20 -28
  281. package/dist/esm/types/focusConfig.type.js +15 -24
  282. package/dist/esm/types/position.enum.js +8 -16
  283. package/dist/esm/types/unit.enum.js +4 -10
  284. package/dist/esm/utils/adaptLegacyFocusConfig/adaptLegacyFocusConfig.js +9 -26
  285. package/dist/esm/utils/ajustedTextSpace/ajustedTextSpace.js +15 -14
  286. package/dist/esm/utils/buildErrors/buildErrors.js +18 -44
  287. package/dist/esm/utils/buildErrors/charts/buildBarChartErrors.js +2 -16
  288. package/dist/esm/utils/buildErrors/charts/buildLineChartErrors.js +2 -12
  289. package/dist/esm/utils/buildErrors/charts/buildPieChartErrors.js +2 -36
  290. package/dist/esm/utils/buildErrors/constants/errorMessages/barChartErrorMessages.js +18 -22
  291. package/dist/esm/utils/buildErrors/constants/errorMessages/lineChartErrorMessages.js +24 -28
  292. package/dist/esm/utils/buildErrors/constants/errorMessages/pieChartErrorMessages.js +12 -19
  293. package/dist/esm/utils/buildErrors/constants/errors/barChartErrors.js +20 -28
  294. package/dist/esm/utils/buildErrors/constants/errors/lineChartErrors.js +26 -34
  295. package/dist/esm/utils/buildErrors/constants/errors/pieChartErrors.js +14 -25
  296. package/dist/esm/utils/buildTickValues/buildTickValues.js +13 -46
  297. package/dist/esm/utils/createErrorAccumulator/createErrorAccumulator.js +28 -53
  298. package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.js +34 -45
  299. package/dist/esm/utils/cursorNear/isNear.js +2 -3
  300. package/dist/esm/utils/getCanvasDimensions/getCanvasDimensions.js +37 -106
  301. package/dist/esm/utils/getChildrenAttr/getChildrenAttr.js +10 -14
  302. package/dist/esm/utils/getCoordinates/getCoordinates.js +42 -89
  303. package/dist/esm/utils/getDataFingerprint/getDataFingerprint.js +2 -10
  304. package/dist/esm/utils/getPoints/getPoints.js +22 -49
  305. package/dist/esm/utils/getTickTextCoordinate/getTickTextCoordinates.js +3 -30
  306. package/dist/esm/utils/getTicks/getTicks.js +13 -48
  307. package/dist/esm/utils/logger/logger.js +25 -140
  308. package/dist/esm/utils/parseStringToNumberPx.ts/parseStringToNumberPx.js +9 -28
  309. package/dist/esm/utils/pickCustomAttributes/pickCustomAttributes.js +2 -47
  310. package/dist/esm/utils/shadowSvg/shadowSvg.js +10 -4
  311. package/dist/esm/utils/ssr/ssr.js +11 -117
  312. package/dist/esm/utils/textBound/textBound.js +17 -33
  313. package/dist/types/charts/barChart/barChart.d.ts +5 -5
  314. package/dist/types/charts/barChart/barChart.type.d.ts +1 -1
  315. package/dist/types/charts/barChart/context/barChartContext.d.ts +1 -1
  316. package/dist/types/charts/barChart/fragments/barChartSeparator.d.ts +1 -1
  317. package/dist/types/charts/barChart/fragments/barChartXAxis.d.ts +1 -1
  318. package/dist/types/charts/barChart/fragments/barChartYAxis.d.ts +1 -1
  319. package/dist/types/charts/customBackgroundChart/context/customBackgroundChartContext.d.ts +1 -1
  320. package/dist/types/charts/customBackgroundChart/customBackgroundChart.d.ts +2 -2
  321. package/dist/types/charts/customBackgroundChart/customBackgroundChartStructure.d.ts +1 -1
  322. package/dist/types/charts/customBackgroundChart/fragments/customBackgroundChartPlot.d.ts +1 -1
  323. package/dist/types/charts/lineChart/context/lineChartContext.d.ts +1 -1
  324. package/dist/types/charts/lineChart/fragments/lineChartPath.d.ts +1 -1
  325. package/dist/types/charts/lineChart/fragments/lineChartProjection.d.ts +1 -1
  326. package/dist/types/charts/lineChart/fragments/lineChartSeparator.d.ts +1 -1
  327. package/dist/types/charts/lineChart/fragments/lineChartXAxis.d.ts +1 -1
  328. package/dist/types/charts/lineChart/lineChart.d.ts +5 -5
  329. package/dist/types/charts/lineChart/lineChart.type.d.ts +1 -1
  330. package/dist/types/charts/lineChart/lineChartStructure.d.ts +1 -1
  331. package/dist/types/charts/pieChart/context/pieChartContext.d.ts +1 -1
  332. package/dist/types/charts/pieChart/fragments/pieChartForeign.d.ts +1 -1
  333. package/dist/types/charts/pieChart/fragments/pieChartPath.d.ts +1 -1
  334. package/dist/types/charts/pieChart/pieChart.d.ts +3 -3
  335. package/dist/types/charts/pieChart/pieChart.type.d.ts +1 -1
  336. package/dist/types/charts/pieChart/pieChartStructure.d.ts +1 -1
  337. package/dist/types/components/axisChart/xAxis/xAxis.d.ts +1 -1
  338. package/dist/types/components/axisChart/yAxis/yAxis.d.ts +1 -1
  339. package/dist/types/components/bar/bar.d.ts +1 -1
  340. package/dist/types/components/bar/bar.type.d.ts +1 -1
  341. package/dist/types/components/chartText/chartText.d.ts +1 -1
  342. package/dist/types/components/focusRing/components/FocusRingInline.d.ts +1 -1
  343. package/dist/types/components/focusRing/components/FocusRingSeparate.d.ts +1 -1
  344. package/dist/types/components/focusRing/focusRing.d.ts +1 -1
  345. package/dist/types/components/focusRing/focusRing.types.d.ts +1 -1
  346. package/dist/types/components/focusRing/hooks/useFocusRingData.d.ts +1 -1
  347. package/dist/types/components/focusRing/utils/composeRefs.d.ts +1 -1
  348. package/dist/types/components/foreignObject/foreignObject.d.ts +1 -1
  349. package/dist/types/components/foreignObject/foreignObject.types.d.ts +1 -1
  350. package/dist/types/components/line/line.d.ts +1 -1
  351. package/dist/types/components/line/line.types.d.ts +1 -1
  352. package/dist/types/components/node/components/circle/circle.d.ts +1 -1
  353. package/dist/types/components/node/components/hexagon/hexagon.d.ts +1 -1
  354. package/dist/types/components/node/components/pentagon/pentagon.d.ts +1 -1
  355. package/dist/types/components/node/components/square/square.d.ts +1 -1
  356. package/dist/types/components/node/components/star/star.d.ts +1 -1
  357. package/dist/types/components/node/components/straight/straight.d.ts +1 -1
  358. package/dist/types/components/node/components/triangle/triangle.d.ts +1 -1
  359. package/dist/types/components/node/node.d.ts +1 -1
  360. package/dist/types/components/node/node.types.d.ts +1 -1
  361. package/dist/types/components/path/components/nodePath/nodePath.d.ts +2 -2
  362. package/dist/types/components/path/path.d.ts +1 -1
  363. package/dist/types/components/path/path.types.d.ts +1 -1
  364. package/dist/types/components/plot/components/circle/circle.d.ts +1 -1
  365. package/dist/types/components/plot/components/square/square.d.ts +1 -1
  366. package/dist/types/components/plot/components/triangle/triangle.d.ts +1 -1
  367. package/dist/types/components/plot/plot.d.ts +1 -1
  368. package/dist/types/components/svgContainer/svgContainer.d.ts +1 -1
  369. package/dist/types/components/tick/tick.d.ts +1 -1
  370. package/dist/types/components/zoomArea/components/HandlerIcon.d.ts +1 -1
  371. package/dist/types/components/zoomArea/components/LineRenderer.d.ts +1 -1
  372. package/dist/types/components/zoomArea/components/SelectionArea.d.ts +2 -2
  373. package/dist/types/components/zoomArea/components/ZoomHandler.d.ts +1 -1
  374. package/dist/types/hooks/useFocus/useFocus.types.d.ts +1 -1
  375. package/dist/types/hooks/useHover/useHover.types.d.ts +1 -1
  376. package/dist/types/tests/index.d.ts +2 -0
  377. package/dist/types/tests/index.d.ts.map +1 -0
  378. package/dist/types/tests/render/render.d.ts +15 -0
  379. package/dist/types/tests/render/render.d.ts.map +1 -0
  380. package/dist/types/utils/getChildrenAttr/getChildrenAttr.d.ts +1 -1
  381. package/package.json +109 -112
  382. package/dist/cjs/charts/barChart/barChart.d.ts +0 -9
  383. package/dist/cjs/charts/barChart/barChart.d.ts.map +0 -1
  384. package/dist/cjs/charts/barChart/barChart.type.d.ts +0 -139
  385. package/dist/cjs/charts/barChart/barChart.type.d.ts.map +0 -1
  386. package/dist/cjs/charts/barChart/barChart.type.js +0 -1
  387. package/dist/cjs/charts/barChart/barChartStructure.d.ts +0 -3
  388. package/dist/cjs/charts/barChart/barChartStructure.d.ts.map +0 -1
  389. package/dist/cjs/charts/barChart/context/barChartContext.d.ts +0 -3
  390. package/dist/cjs/charts/barChart/context/barChartContext.d.ts.map +0 -1
  391. package/dist/cjs/charts/barChart/context/buildBarContextValues.d.ts +0 -26
  392. package/dist/cjs/charts/barChart/context/buildBarContextValues.d.ts.map +0 -1
  393. package/dist/cjs/charts/barChart/fragments/barChartPath.d.ts +0 -9
  394. package/dist/cjs/charts/barChart/fragments/barChartPath.d.ts.map +0 -1
  395. package/dist/cjs/charts/barChart/fragments/barChartSeparator.d.ts +0 -4
  396. package/dist/cjs/charts/barChart/fragments/barChartSeparator.d.ts.map +0 -1
  397. package/dist/cjs/charts/barChart/fragments/barChartXAxis.d.ts +0 -4
  398. package/dist/cjs/charts/barChart/fragments/barChartXAxis.d.ts.map +0 -1
  399. package/dist/cjs/charts/barChart/fragments/barChartYAxis.d.ts +0 -4
  400. package/dist/cjs/charts/barChart/fragments/barChartYAxis.d.ts.map +0 -1
  401. package/dist/cjs/charts/barChart/fragments/fixture/barContextData.d.ts +0 -3
  402. package/dist/cjs/charts/barChart/fragments/fixture/barContextData.d.ts.map +0 -1
  403. package/dist/cjs/charts/barChart/fragments/fixture/barContextData.js +0 -42
  404. package/dist/cjs/charts/barChart/fragments/fixture/index.d.ts +0 -2
  405. package/dist/cjs/charts/barChart/fragments/fixture/index.d.ts.map +0 -1
  406. package/dist/cjs/charts/barChart/fragments/fixture/index.js +0 -1
  407. package/dist/cjs/charts/barChart/index.d.ts +0 -2
  408. package/dist/cjs/charts/barChart/index.d.ts.map +0 -1
  409. package/dist/cjs/charts/barChart/utils/countBarChildren.d.ts +0 -3
  410. package/dist/cjs/charts/barChart/utils/countBarChildren.d.ts.map +0 -1
  411. package/dist/cjs/charts/barChart/utils/getAxisExtraSpacing.d.ts +0 -17
  412. package/dist/cjs/charts/barChart/utils/getAxisExtraSpacing.d.ts.map +0 -1
  413. package/dist/cjs/charts/barChart/utils/getBarDataValue.d.ts +0 -8
  414. package/dist/cjs/charts/barChart/utils/getBarDataValue.d.ts.map +0 -1
  415. package/dist/cjs/charts/barChart/utils/getRoundedBarMaxValue.d.ts +0 -9
  416. package/dist/cjs/charts/barChart/utils/getRoundedBarMaxValue.d.ts.map +0 -1
  417. package/dist/cjs/charts/constants/chartDefaults.d.ts +0 -97
  418. package/dist/cjs/charts/constants/chartDefaults.d.ts.map +0 -1
  419. package/dist/cjs/charts/customBackgroundChart/context/customBackgroundChartContext.d.ts +0 -3
  420. package/dist/cjs/charts/customBackgroundChart/context/customBackgroundChartContext.d.ts.map +0 -1
  421. package/dist/cjs/charts/customBackgroundChart/context/index.d.ts +0 -2
  422. package/dist/cjs/charts/customBackgroundChart/context/index.d.ts.map +0 -1
  423. package/dist/cjs/charts/customBackgroundChart/context/index.js +0 -1
  424. package/dist/cjs/charts/customBackgroundChart/customBackgroundChart.d.ts +0 -6
  425. package/dist/cjs/charts/customBackgroundChart/customBackgroundChart.d.ts.map +0 -1
  426. package/dist/cjs/charts/customBackgroundChart/customBackgroundChart.type.d.ts +0 -50
  427. package/dist/cjs/charts/customBackgroundChart/customBackgroundChart.type.d.ts.map +0 -1
  428. package/dist/cjs/charts/customBackgroundChart/customBackgroundChart.type.js +0 -1
  429. package/dist/cjs/charts/customBackgroundChart/customBackgroundChartStructure.d.ts +0 -4
  430. package/dist/cjs/charts/customBackgroundChart/customBackgroundChartStructure.d.ts.map +0 -1
  431. package/dist/cjs/charts/customBackgroundChart/fragments/customBackgroundChartPlot.d.ts +0 -4
  432. package/dist/cjs/charts/customBackgroundChart/fragments/customBackgroundChartPlot.d.ts.map +0 -1
  433. package/dist/cjs/charts/customBackgroundChart/fragments/index.d.ts +0 -2
  434. package/dist/cjs/charts/customBackgroundChart/fragments/index.d.ts.map +0 -1
  435. package/dist/cjs/charts/customBackgroundChart/fragments/index.js +0 -1
  436. package/dist/cjs/charts/customBackgroundChart/index.d.ts +0 -2
  437. package/dist/cjs/charts/customBackgroundChart/index.d.ts.map +0 -1
  438. package/dist/cjs/charts/customBackgroundChart/utils/accessibility.d.ts +0 -19
  439. package/dist/cjs/charts/customBackgroundChart/utils/accessibility.d.ts.map +0 -1
  440. package/dist/cjs/charts/index.d.ts +0 -5
  441. package/dist/cjs/charts/index.d.ts.map +0 -1
  442. package/dist/cjs/charts/index.js +0 -4
  443. package/dist/cjs/charts/lineChart/context/buildLineContextValue.d.ts +0 -21
  444. package/dist/cjs/charts/lineChart/context/buildLineContextValue.d.ts.map +0 -1
  445. package/dist/cjs/charts/lineChart/context/index.d.ts +0 -3
  446. package/dist/cjs/charts/lineChart/context/index.d.ts.map +0 -1
  447. package/dist/cjs/charts/lineChart/context/index.js +0 -2
  448. package/dist/cjs/charts/lineChart/context/lineChartContext.d.ts +0 -3
  449. package/dist/cjs/charts/lineChart/context/lineChartContext.d.ts.map +0 -1
  450. package/dist/cjs/charts/lineChart/fragments/fixture/contextData.d.ts +0 -3
  451. package/dist/cjs/charts/lineChart/fragments/fixture/contextData.d.ts.map +0 -1
  452. package/dist/cjs/charts/lineChart/fragments/fixture/contextData.js +0 -43
  453. package/dist/cjs/charts/lineChart/fragments/fixture/index.d.ts +0 -2
  454. package/dist/cjs/charts/lineChart/fragments/fixture/index.d.ts.map +0 -1
  455. package/dist/cjs/charts/lineChart/fragments/fixture/index.js +0 -1
  456. package/dist/cjs/charts/lineChart/fragments/index.d.ts +0 -5
  457. package/dist/cjs/charts/lineChart/fragments/index.d.ts.map +0 -1
  458. package/dist/cjs/charts/lineChart/fragments/index.js +0 -4
  459. package/dist/cjs/charts/lineChart/fragments/lineChartPath.css +0 -3
  460. package/dist/cjs/charts/lineChart/fragments/lineChartPath.d.ts +0 -5
  461. package/dist/cjs/charts/lineChart/fragments/lineChartPath.d.ts.map +0 -1
  462. package/dist/cjs/charts/lineChart/fragments/lineChartPath.js +0 -149
  463. package/dist/cjs/charts/lineChart/fragments/lineChartProjection.d.ts +0 -5
  464. package/dist/cjs/charts/lineChart/fragments/lineChartProjection.d.ts.map +0 -1
  465. package/dist/cjs/charts/lineChart/fragments/lineChartSeparator.d.ts +0 -4
  466. package/dist/cjs/charts/lineChart/fragments/lineChartSeparator.d.ts.map +0 -1
  467. package/dist/cjs/charts/lineChart/fragments/lineChartXAxis.d.ts +0 -4
  468. package/dist/cjs/charts/lineChart/fragments/lineChartXAxis.d.ts.map +0 -1
  469. package/dist/cjs/charts/lineChart/fragments/lineChartYAxis.d.ts +0 -3
  470. package/dist/cjs/charts/lineChart/fragments/lineChartYAxis.d.ts.map +0 -1
  471. package/dist/cjs/charts/lineChart/hook/index.d.ts +0 -4
  472. package/dist/cjs/charts/lineChart/hook/index.d.ts.map +0 -1
  473. package/dist/cjs/charts/lineChart/hook/index.js +0 -3
  474. package/dist/cjs/charts/lineChart/hook/useAutoClick.d.ts +0 -4
  475. package/dist/cjs/charts/lineChart/hook/useAutoClick.d.ts.map +0 -1
  476. package/dist/cjs/charts/lineChart/hook/useHover.d.ts +0 -12
  477. package/dist/cjs/charts/lineChart/hook/useHover.d.ts.map +0 -1
  478. package/dist/cjs/charts/lineChart/hook/useIndicator.d.ts +0 -7
  479. package/dist/cjs/charts/lineChart/hook/useIndicator.d.ts.map +0 -1
  480. package/dist/cjs/charts/lineChart/index.d.ts +0 -2
  481. package/dist/cjs/charts/lineChart/index.d.ts.map +0 -1
  482. package/dist/cjs/charts/lineChart/lineChart.d.ts +0 -9
  483. package/dist/cjs/charts/lineChart/lineChart.d.ts.map +0 -1
  484. package/dist/cjs/charts/lineChart/lineChart.type.d.ts +0 -173
  485. package/dist/cjs/charts/lineChart/lineChart.type.d.ts.map +0 -1
  486. package/dist/cjs/charts/lineChart/lineChart.type.js +0 -1
  487. package/dist/cjs/charts/lineChart/lineChartStructure.d.ts +0 -33
  488. package/dist/cjs/charts/lineChart/lineChartStructure.d.ts.map +0 -1
  489. package/dist/cjs/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts +0 -14
  490. package/dist/cjs/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts.map +0 -1
  491. package/dist/cjs/charts/lineChart/utils/findSurroundingNumber.d.ts +0 -8
  492. package/dist/cjs/charts/lineChart/utils/findSurroundingNumber.d.ts.map +0 -1
  493. package/dist/cjs/charts/lineChart/utils/getCoordinates.d.ts +0 -25
  494. package/dist/cjs/charts/lineChart/utils/getCoordinates.d.ts.map +0 -1
  495. package/dist/cjs/charts/lineChart/utils/getDataValues.d.ts +0 -8
  496. package/dist/cjs/charts/lineChart/utils/getDataValues.d.ts.map +0 -1
  497. package/dist/cjs/charts/lineChart/utils/getExtraSpacing.d.ts +0 -17
  498. package/dist/cjs/charts/lineChart/utils/getExtraSpacing.d.ts.map +0 -1
  499. package/dist/cjs/charts/lineChart/utils/getPathData.d.ts +0 -18
  500. package/dist/cjs/charts/lineChart/utils/getPathData.d.ts.map +0 -1
  501. package/dist/cjs/charts/lineChart/utils/getProjection.d.ts +0 -33
  502. package/dist/cjs/charts/lineChart/utils/getProjection.d.ts.map +0 -1
  503. package/dist/cjs/charts/lineChart/utils/getRoundedMaxValue.d.ts +0 -17
  504. package/dist/cjs/charts/lineChart/utils/getRoundedMaxValue.d.ts.map +0 -1
  505. package/dist/cjs/charts/lineChart/utils/getTicks.d.ts +0 -21
  506. package/dist/cjs/charts/lineChart/utils/getTicks.d.ts.map +0 -1
  507. package/dist/cjs/charts/lineChart/utils/handleNodesFocus.d.ts +0 -17
  508. package/dist/cjs/charts/lineChart/utils/handleNodesFocus.d.ts.map +0 -1
  509. package/dist/cjs/charts/lineChart/utils/index.d.ts +0 -7
  510. package/dist/cjs/charts/lineChart/utils/index.d.ts.map +0 -1
  511. package/dist/cjs/charts/lineChart/utils/index.js +0 -6
  512. package/dist/cjs/charts/lineChart/utils/tickTextPosition.d.ts +0 -33
  513. package/dist/cjs/charts/lineChart/utils/tickTextPosition.d.ts.map +0 -1
  514. package/dist/cjs/charts/lineChart/utils/validations.d.ts +0 -54
  515. package/dist/cjs/charts/lineChart/utils/validations.d.ts.map +0 -1
  516. package/dist/cjs/charts/pieChart/context/buildPieContextValue.d.ts +0 -18
  517. package/dist/cjs/charts/pieChart/context/buildPieContextValue.d.ts.map +0 -1
  518. package/dist/cjs/charts/pieChart/context/index.d.ts +0 -3
  519. package/dist/cjs/charts/pieChart/context/index.d.ts.map +0 -1
  520. package/dist/cjs/charts/pieChart/context/index.js +0 -2
  521. package/dist/cjs/charts/pieChart/context/pieChartContext.d.ts +0 -3
  522. package/dist/cjs/charts/pieChart/context/pieChartContext.d.ts.map +0 -1
  523. package/dist/cjs/charts/pieChart/fragments/index.d.ts +0 -3
  524. package/dist/cjs/charts/pieChart/fragments/index.d.ts.map +0 -1
  525. package/dist/cjs/charts/pieChart/fragments/index.js +0 -2
  526. package/dist/cjs/charts/pieChart/fragments/pieChartForeign.d.ts +0 -4
  527. package/dist/cjs/charts/pieChart/fragments/pieChartForeign.d.ts.map +0 -1
  528. package/dist/cjs/charts/pieChart/fragments/pieChartPath.d.ts +0 -15
  529. package/dist/cjs/charts/pieChart/fragments/pieChartPath.d.ts.map +0 -1
  530. package/dist/cjs/charts/pieChart/fragments/pieChartSegment.d.ts +0 -18
  531. package/dist/cjs/charts/pieChart/fragments/pieChartSegment.d.ts.map +0 -1
  532. package/dist/cjs/charts/pieChart/index.d.ts +0 -2
  533. package/dist/cjs/charts/pieChart/index.d.ts.map +0 -1
  534. package/dist/cjs/charts/pieChart/pieChart.d.ts +0 -7
  535. package/dist/cjs/charts/pieChart/pieChart.d.ts.map +0 -1
  536. package/dist/cjs/charts/pieChart/pieChart.type.d.ts +0 -75
  537. package/dist/cjs/charts/pieChart/pieChart.type.d.ts.map +0 -1
  538. package/dist/cjs/charts/pieChart/pieChart.type.js +0 -1
  539. package/dist/cjs/charts/pieChart/pieChartStructure.d.ts +0 -34
  540. package/dist/cjs/charts/pieChart/pieChartStructure.d.ts.map +0 -1
  541. package/dist/cjs/charts/pieChart/utils/accessibility.d.ts +0 -16
  542. package/dist/cjs/charts/pieChart/utils/accessibility.d.ts.map +0 -1
  543. package/dist/cjs/charts/pieChart/utils/buildL.d.ts +0 -13
  544. package/dist/cjs/charts/pieChart/utils/buildL.d.ts.map +0 -1
  545. package/dist/cjs/charts/pieChart/utils/calculatePoint.d.ts +0 -15
  546. package/dist/cjs/charts/pieChart/utils/calculatePoint.d.ts.map +0 -1
  547. package/dist/cjs/charts/pieChart/utils/calculateSegmentPath.d.ts +0 -34
  548. package/dist/cjs/charts/pieChart/utils/calculateSegmentPath.d.ts.map +0 -1
  549. package/dist/cjs/charts/pieChart/utils/drawSegmentPath.d.ts +0 -20
  550. package/dist/cjs/charts/pieChart/utils/drawSegmentPath.d.ts.map +0 -1
  551. package/dist/cjs/charts/pieChart/utils/index.d.ts +0 -3
  552. package/dist/cjs/charts/pieChart/utils/index.d.ts.map +0 -1
  553. package/dist/cjs/charts/pieChart/utils/index.js +0 -2
  554. package/dist/cjs/charts/pieChart/utils/rotationDirection.d.ts +0 -18
  555. package/dist/cjs/charts/pieChart/utils/rotationDirection.d.ts.map +0 -1
  556. package/dist/cjs/components/axisChart/index.d.ts +0 -3
  557. package/dist/cjs/components/axisChart/index.d.ts.map +0 -1
  558. package/dist/cjs/components/axisChart/index.js +0 -2
  559. package/dist/cjs/components/axisChart/utils/filterLineProps/filterLineProps.d.ts +0 -18
  560. package/dist/cjs/components/axisChart/utils/filterLineProps/filterLineProps.d.ts.map +0 -1
  561. package/dist/cjs/components/axisChart/utils/index.d.ts +0 -2
  562. package/dist/cjs/components/axisChart/utils/index.d.ts.map +0 -1
  563. package/dist/cjs/components/axisChart/utils/index.js +0 -1
  564. package/dist/cjs/components/axisChart/xAxis/index.d.ts +0 -3
  565. package/dist/cjs/components/axisChart/xAxis/index.d.ts.map +0 -1
  566. package/dist/cjs/components/axisChart/xAxis/index.js +0 -2
  567. package/dist/cjs/components/axisChart/xAxis/xAxis.d.ts +0 -11
  568. package/dist/cjs/components/axisChart/xAxis/xAxis.d.ts.map +0 -1
  569. package/dist/cjs/components/axisChart/xAxis/xAxis.types.d.ts +0 -40
  570. package/dist/cjs/components/axisChart/xAxis/xAxis.types.d.ts.map +0 -1
  571. package/dist/cjs/components/axisChart/xAxis/xAxis.types.js +0 -1
  572. package/dist/cjs/components/axisChart/yAxis/index.d.ts +0 -3
  573. package/dist/cjs/components/axisChart/yAxis/index.d.ts.map +0 -1
  574. package/dist/cjs/components/axisChart/yAxis/index.js +0 -2
  575. package/dist/cjs/components/axisChart/yAxis/yAxis.d.ts +0 -8
  576. package/dist/cjs/components/axisChart/yAxis/yAxis.d.ts.map +0 -1
  577. package/dist/cjs/components/axisChart/yAxis/yAxis.types.d.ts +0 -37
  578. package/dist/cjs/components/axisChart/yAxis/yAxis.types.d.ts.map +0 -1
  579. package/dist/cjs/components/axisChart/yAxis/yAxis.types.js +0 -1
  580. package/dist/cjs/components/bar/bar.d.ts +0 -4
  581. package/dist/cjs/components/bar/bar.d.ts.map +0 -1
  582. package/dist/cjs/components/bar/bar.type.d.ts +0 -53
  583. package/dist/cjs/components/bar/bar.type.d.ts.map +0 -1
  584. package/dist/cjs/components/bar/index.d.ts +0 -3
  585. package/dist/cjs/components/bar/index.d.ts.map +0 -1
  586. package/dist/cjs/components/bar/index.js +0 -2
  587. package/dist/cjs/components/bar/utils/accessibility.d.ts +0 -22
  588. package/dist/cjs/components/bar/utils/accessibility.d.ts.map +0 -1
  589. package/dist/cjs/components/bar/utils/buildD.d.ts +0 -9
  590. package/dist/cjs/components/bar/utils/buildD.d.ts.map +0 -1
  591. package/dist/cjs/components/bar/utils/getSegments.d.ts +0 -6
  592. package/dist/cjs/components/bar/utils/getSegments.d.ts.map +0 -1
  593. package/dist/cjs/components/chartText/chartText.d.ts +0 -18
  594. package/dist/cjs/components/chartText/chartText.d.ts.map +0 -1
  595. package/dist/cjs/components/chartText/chartText.types.d.ts +0 -57
  596. package/dist/cjs/components/chartText/chartText.types.d.ts.map +0 -1
  597. package/dist/cjs/components/chartText/chartText.types.js +0 -10
  598. package/dist/cjs/components/chartText/index.d.ts +0 -3
  599. package/dist/cjs/components/chartText/index.d.ts.map +0 -1
  600. package/dist/cjs/components/chartText/index.js +0 -2
  601. package/dist/cjs/components/focusRing/components/FocusRingInline.d.ts +0 -25
  602. package/dist/cjs/components/focusRing/components/FocusRingInline.d.ts.map +0 -1
  603. package/dist/cjs/components/focusRing/components/FocusRingRenderer.d.ts +0 -13
  604. package/dist/cjs/components/focusRing/components/FocusRingRenderer.d.ts.map +0 -1
  605. package/dist/cjs/components/focusRing/components/FocusRingSeparate.d.ts +0 -40
  606. package/dist/cjs/components/focusRing/components/FocusRingSeparate.d.ts.map +0 -1
  607. package/dist/cjs/components/focusRing/focusRing.css +0 -14
  608. package/dist/cjs/components/focusRing/focusRing.d.ts +0 -35
  609. package/dist/cjs/components/focusRing/focusRing.d.ts.map +0 -1
  610. package/dist/cjs/components/focusRing/focusRing.js +0 -44
  611. package/dist/cjs/components/focusRing/focusRing.types.d.ts +0 -40
  612. package/dist/cjs/components/focusRing/focusRing.types.d.ts.map +0 -1
  613. package/dist/cjs/components/focusRing/focusRing.types.js +0 -1
  614. package/dist/cjs/components/focusRing/hooks/useFocusRingData.d.ts +0 -27
  615. package/dist/cjs/components/focusRing/hooks/useFocusRingData.d.ts.map +0 -1
  616. package/dist/cjs/components/focusRing/index.d.ts +0 -3
  617. package/dist/cjs/components/focusRing/index.d.ts.map +0 -1
  618. package/dist/cjs/components/focusRing/index.js +0 -1
  619. package/dist/cjs/components/focusRing/utils/composeRefs.d.ts +0 -7
  620. package/dist/cjs/components/focusRing/utils/composeRefs.d.ts.map +0 -1
  621. package/dist/cjs/components/focusRing/utils/createAdaptiveFocusRings.d.ts +0 -24
  622. package/dist/cjs/components/focusRing/utils/createAdaptiveFocusRings.d.ts.map +0 -1
  623. package/dist/cjs/components/focusRing/utils/createBoundingBoxFocusRings.d.ts +0 -33
  624. package/dist/cjs/components/focusRing/utils/createBoundingBoxFocusRings.d.ts.map +0 -1
  625. package/dist/cjs/components/focusRing/utils/utils.types.d.ts +0 -52
  626. package/dist/cjs/components/focusRing/utils/utils.types.d.ts.map +0 -1
  627. package/dist/cjs/components/focusRing/utils/utils.types.js +0 -1
  628. package/dist/cjs/components/foreignObject/foreignObject.d.ts +0 -4
  629. package/dist/cjs/components/foreignObject/foreignObject.d.ts.map +0 -1
  630. package/dist/cjs/components/foreignObject/foreignObject.types.d.ts +0 -10
  631. package/dist/cjs/components/foreignObject/foreignObject.types.d.ts.map +0 -1
  632. package/dist/cjs/components/foreignObject/foreignObject.types.js +0 -1
  633. package/dist/cjs/components/foreignObject/index.d.ts +0 -3
  634. package/dist/cjs/components/foreignObject/index.d.ts.map +0 -1
  635. package/dist/cjs/components/foreignObject/index.js +0 -2
  636. package/dist/cjs/components/index.d.ts +0 -12
  637. package/dist/cjs/components/index.d.ts.map +0 -1
  638. package/dist/cjs/components/index.js +0 -11
  639. package/dist/cjs/components/line/index.d.ts +0 -3
  640. package/dist/cjs/components/line/index.d.ts.map +0 -1
  641. package/dist/cjs/components/line/index.js +0 -2
  642. package/dist/cjs/components/line/line.d.ts +0 -9
  643. package/dist/cjs/components/line/line.d.ts.map +0 -1
  644. package/dist/cjs/components/line/line.types.d.ts +0 -45
  645. package/dist/cjs/components/line/line.types.d.ts.map +0 -1
  646. package/dist/cjs/components/line/line.types.js +0 -1
  647. package/dist/cjs/components/node/components/circle/circle.d.ts +0 -6
  648. package/dist/cjs/components/node/components/circle/circle.d.ts.map +0 -1
  649. package/dist/cjs/components/node/components/hexagon/hexagon.d.ts +0 -6
  650. package/dist/cjs/components/node/components/hexagon/hexagon.d.ts.map +0 -1
  651. package/dist/cjs/components/node/components/index.d.ts +0 -1
  652. package/dist/cjs/components/node/components/index.d.ts.map +0 -1
  653. package/dist/cjs/components/node/components/index.js +0 -1
  654. package/dist/cjs/components/node/components/pentagon/pentagon.d.ts +0 -6
  655. package/dist/cjs/components/node/components/pentagon/pentagon.d.ts.map +0 -1
  656. package/dist/cjs/components/node/components/square/square.d.ts +0 -6
  657. package/dist/cjs/components/node/components/square/square.d.ts.map +0 -1
  658. package/dist/cjs/components/node/components/star/star.d.ts +0 -6
  659. package/dist/cjs/components/node/components/star/star.d.ts.map +0 -1
  660. package/dist/cjs/components/node/components/straight/straight.d.ts +0 -6
  661. package/dist/cjs/components/node/components/straight/straight.d.ts.map +0 -1
  662. package/dist/cjs/components/node/components/triangle/triangle.d.ts +0 -6
  663. package/dist/cjs/components/node/components/triangle/triangle.d.ts.map +0 -1
  664. package/dist/cjs/components/node/index.d.ts +0 -3
  665. package/dist/cjs/components/node/index.d.ts.map +0 -1
  666. package/dist/cjs/components/node/index.js +0 -2
  667. package/dist/cjs/components/node/node.d.ts +0 -6
  668. package/dist/cjs/components/node/node.d.ts.map +0 -1
  669. package/dist/cjs/components/node/node.types.d.ts +0 -103
  670. package/dist/cjs/components/node/node.types.d.ts.map +0 -1
  671. package/dist/cjs/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts +0 -2
  672. package/dist/cjs/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts.map +0 -1
  673. package/dist/cjs/components/path/components/nodePath/nodePath.d.ts +0 -14
  674. package/dist/cjs/components/path/components/nodePath/nodePath.d.ts.map +0 -1
  675. package/dist/cjs/components/path/index.d.ts +0 -3
  676. package/dist/cjs/components/path/index.d.ts.map +0 -1
  677. package/dist/cjs/components/path/index.js +0 -2
  678. package/dist/cjs/components/path/path.css +0 -29
  679. package/dist/cjs/components/path/path.d.ts +0 -4
  680. package/dist/cjs/components/path/path.d.ts.map +0 -1
  681. package/dist/cjs/components/path/path.js +0 -128
  682. package/dist/cjs/components/path/path.types.d.ts +0 -86
  683. package/dist/cjs/components/path/path.types.d.ts.map +0 -1
  684. package/dist/cjs/components/path/path.types.js +0 -1
  685. package/dist/cjs/components/plot/components/circle/circle.d.ts +0 -6
  686. package/dist/cjs/components/plot/components/circle/circle.d.ts.map +0 -1
  687. package/dist/cjs/components/plot/components/index.d.ts +0 -4
  688. package/dist/cjs/components/plot/components/index.d.ts.map +0 -1
  689. package/dist/cjs/components/plot/components/index.js +0 -3
  690. package/dist/cjs/components/plot/components/square/square.d.ts +0 -6
  691. package/dist/cjs/components/plot/components/square/square.d.ts.map +0 -1
  692. package/dist/cjs/components/plot/components/triangle/triangle.d.ts +0 -6
  693. package/dist/cjs/components/plot/components/triangle/triangle.d.ts.map +0 -1
  694. package/dist/cjs/components/plot/index.d.ts +0 -3
  695. package/dist/cjs/components/plot/index.d.ts.map +0 -1
  696. package/dist/cjs/components/plot/index.js +0 -2
  697. package/dist/cjs/components/plot/plot.css +0 -12
  698. package/dist/cjs/components/plot/plot.d.ts +0 -39
  699. package/dist/cjs/components/plot/plot.d.ts.map +0 -1
  700. package/dist/cjs/components/plot/plot.js +0 -101
  701. package/dist/cjs/components/plot/plot.types.d.ts +0 -177
  702. package/dist/cjs/components/plot/plot.types.d.ts.map +0 -1
  703. package/dist/cjs/components/svgContainer/index.d.ts +0 -2
  704. package/dist/cjs/components/svgContainer/index.d.ts.map +0 -1
  705. package/dist/cjs/components/svgContainer/index.js +0 -1
  706. package/dist/cjs/components/svgContainer/svgContainer.d.ts +0 -6
  707. package/dist/cjs/components/svgContainer/svgContainer.d.ts.map +0 -1
  708. package/dist/cjs/components/svgContainer/svgContainer.types.d.ts +0 -38
  709. package/dist/cjs/components/svgContainer/svgContainer.types.d.ts.map +0 -1
  710. package/dist/cjs/components/svgContainer/svgContainer.types.js +0 -1
  711. package/dist/cjs/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts +0 -15
  712. package/dist/cjs/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts.map +0 -1
  713. package/dist/cjs/components/svgContainer/utils/index.d.ts +0 -2
  714. package/dist/cjs/components/svgContainer/utils/index.d.ts.map +0 -1
  715. package/dist/cjs/components/svgContainer/utils/index.js +0 -1
  716. package/dist/cjs/components/tick/index.d.ts +0 -3
  717. package/dist/cjs/components/tick/index.d.ts.map +0 -1
  718. package/dist/cjs/components/tick/index.js +0 -2
  719. package/dist/cjs/components/tick/tick.d.ts +0 -19
  720. package/dist/cjs/components/tick/tick.d.ts.map +0 -1
  721. package/dist/cjs/components/tick/tick.types.d.ts +0 -51
  722. package/dist/cjs/components/tick/tick.types.d.ts.map +0 -1
  723. package/dist/cjs/components/zoomArea/components/HandlerIcon.d.ts +0 -25
  724. package/dist/cjs/components/zoomArea/components/HandlerIcon.d.ts.map +0 -1
  725. package/dist/cjs/components/zoomArea/components/LineRenderer.d.ts +0 -29
  726. package/dist/cjs/components/zoomArea/components/LineRenderer.d.ts.map +0 -1
  727. package/dist/cjs/components/zoomArea/components/SelectionArea.d.ts +0 -37
  728. package/dist/cjs/components/zoomArea/components/SelectionArea.d.ts.map +0 -1
  729. package/dist/cjs/components/zoomArea/components/ZoomHandler.d.ts +0 -42
  730. package/dist/cjs/components/zoomArea/components/ZoomHandler.d.ts.map +0 -1
  731. package/dist/cjs/components/zoomArea/components/index.d.ts +0 -5
  732. package/dist/cjs/components/zoomArea/components/index.d.ts.map +0 -1
  733. package/dist/cjs/components/zoomArea/components/index.js +0 -4
  734. package/dist/cjs/components/zoomArea/hooks/index.d.ts +0 -5
  735. package/dist/cjs/components/zoomArea/hooks/index.d.ts.map +0 -1
  736. package/dist/cjs/components/zoomArea/hooks/index.js +0 -4
  737. package/dist/cjs/components/zoomArea/hooks/useDragInteraction.d.ts +0 -42
  738. package/dist/cjs/components/zoomArea/hooks/useDragInteraction.d.ts.map +0 -1
  739. package/dist/cjs/components/zoomArea/hooks/useKeyboardNavigation.d.ts +0 -30
  740. package/dist/cjs/components/zoomArea/hooks/useKeyboardNavigation.d.ts.map +0 -1
  741. package/dist/cjs/components/zoomArea/hooks/useZoomAreaFocus.d.ts +0 -24
  742. package/dist/cjs/components/zoomArea/hooks/useZoomAreaFocus.d.ts.map +0 -1
  743. package/dist/cjs/components/zoomArea/hooks/useZoomData.d.ts +0 -33
  744. package/dist/cjs/components/zoomArea/hooks/useZoomData.d.ts.map +0 -1
  745. package/dist/cjs/components/zoomArea/index.d.ts +0 -6
  746. package/dist/cjs/components/zoomArea/index.d.ts.map +0 -1
  747. package/dist/cjs/components/zoomArea/index.js +0 -5
  748. package/dist/cjs/components/zoomArea/utils/accessibilityLabels.d.ts +0 -28
  749. package/dist/cjs/components/zoomArea/utils/accessibilityLabels.d.ts.map +0 -1
  750. package/dist/cjs/components/zoomArea/utils/index.d.ts +0 -4
  751. package/dist/cjs/components/zoomArea/utils/index.d.ts.map +0 -1
  752. package/dist/cjs/components/zoomArea/utils/index.js +0 -3
  753. package/dist/cjs/components/zoomArea/utils/indexRounding.d.ts +0 -63
  754. package/dist/cjs/components/zoomArea/utils/indexRounding.d.ts.map +0 -1
  755. package/dist/cjs/components/zoomArea/utils/interactionConfig.d.ts +0 -10
  756. package/dist/cjs/components/zoomArea/utils/interactionConfig.d.ts.map +0 -1
  757. package/dist/cjs/components/zoomArea/utils/pathGeneration.d.ts +0 -57
  758. package/dist/cjs/components/zoomArea/utils/pathGeneration.d.ts.map +0 -1
  759. package/dist/cjs/components/zoomArea/utils/rangeAndPositions.d.ts +0 -60
  760. package/dist/cjs/components/zoomArea/utils/rangeAndPositions.d.ts.map +0 -1
  761. package/dist/cjs/components/zoomArea/utils/selectionConfig.d.ts +0 -10
  762. package/dist/cjs/components/zoomArea/utils/selectionConfig.d.ts.map +0 -1
  763. package/dist/cjs/components/zoomArea/zoomArea.d.ts +0 -12
  764. package/dist/cjs/components/zoomArea/zoomArea.d.ts.map +0 -1
  765. package/dist/cjs/components/zoomArea/zoomArea.type.d.ts +0 -153
  766. package/dist/cjs/components/zoomArea/zoomArea.type.d.ts.map +0 -1
  767. package/dist/cjs/hooks/index.d.ts +0 -5
  768. package/dist/cjs/hooks/index.d.ts.map +0 -1
  769. package/dist/cjs/hooks/index.js +0 -4
  770. package/dist/cjs/hooks/useFocus/useFocus.d.ts +0 -15
  771. package/dist/cjs/hooks/useFocus/useFocus.d.ts.map +0 -1
  772. package/dist/cjs/hooks/useFocus/useFocus.types.d.ts +0 -30
  773. package/dist/cjs/hooks/useFocus/useFocus.types.d.ts.map +0 -1
  774. package/dist/cjs/hooks/useFocus/useFocus.types.js +0 -1
  775. package/dist/cjs/hooks/useHover/useHover.d.ts +0 -13
  776. package/dist/cjs/hooks/useHover/useHover.d.ts.map +0 -1
  777. package/dist/cjs/hooks/useHover/useHover.types.d.ts +0 -30
  778. package/dist/cjs/hooks/useHover/useHover.types.d.ts.map +0 -1
  779. package/dist/cjs/hooks/useHover/useHover.types.js +0 -1
  780. package/dist/cjs/hooks/useId/index.d.ts +0 -2
  781. package/dist/cjs/hooks/useId/index.d.ts.map +0 -1
  782. package/dist/cjs/hooks/useId/index.js +0 -1
  783. package/dist/cjs/hooks/useId/useId.d.ts +0 -2
  784. package/dist/cjs/hooks/useId/useId.d.ts.map +0 -1
  785. package/dist/cjs/hooks/useResponsiveCanvas/index.d.ts +0 -2
  786. package/dist/cjs/hooks/useResponsiveCanvas/index.d.ts.map +0 -1
  787. package/dist/cjs/hooks/useResponsiveCanvas/index.js +0 -1
  788. package/dist/cjs/hooks/useResponsiveCanvas/useResponsiveCanvas.d.ts +0 -64
  789. package/dist/cjs/hooks/useResponsiveCanvas/useResponsiveCanvas.d.ts.map +0 -1
  790. package/dist/cjs/index.d.ts +0 -4
  791. package/dist/cjs/index.d.ts.map +0 -1
  792. package/dist/cjs/types/canvas.type.d.ts +0 -20
  793. package/dist/cjs/types/canvas.type.d.ts.map +0 -1
  794. package/dist/cjs/types/errors.type.d.ts +0 -28
  795. package/dist/cjs/types/errors.type.d.ts.map +0 -1
  796. package/dist/cjs/types/focusConfig.type.d.ts +0 -47
  797. package/dist/cjs/types/focusConfig.type.d.ts.map +0 -1
  798. package/dist/cjs/types/index.d.ts +0 -5
  799. package/dist/cjs/types/index.d.ts.map +0 -1
  800. package/dist/cjs/types/index.js +0 -4
  801. package/dist/cjs/types/position.enum.d.ts +0 -18
  802. package/dist/cjs/types/position.enum.d.ts.map +0 -1
  803. package/dist/cjs/types/unit.enum.d.ts +0 -12
  804. package/dist/cjs/types/unit.enum.d.ts.map +0 -1
  805. package/dist/cjs/types/valueFormatter.type.d.ts +0 -7
  806. package/dist/cjs/types/valueFormatter.type.d.ts.map +0 -1
  807. package/dist/cjs/types/valueFormatter.type.js +0 -1
  808. package/dist/cjs/utils/adaptLegacyFocusConfig/adaptLegacyFocusConfig.d.ts +0 -20
  809. package/dist/cjs/utils/adaptLegacyFocusConfig/adaptLegacyFocusConfig.d.ts.map +0 -1
  810. package/dist/cjs/utils/adaptLegacyFocusConfig/index.d.ts +0 -2
  811. package/dist/cjs/utils/adaptLegacyFocusConfig/index.d.ts.map +0 -1
  812. package/dist/cjs/utils/adaptLegacyFocusConfig/index.js +0 -1
  813. package/dist/cjs/utils/ajustedTextSpace/ajustedTextSpace.d.ts +0 -2
  814. package/dist/cjs/utils/ajustedTextSpace/ajustedTextSpace.d.ts.map +0 -1
  815. package/dist/cjs/utils/buildErrors/buildErrors.d.ts +0 -80
  816. package/dist/cjs/utils/buildErrors/buildErrors.d.ts.map +0 -1
  817. package/dist/cjs/utils/buildErrors/charts/buildBarChartErrors.d.ts +0 -17
  818. package/dist/cjs/utils/buildErrors/charts/buildBarChartErrors.d.ts.map +0 -1
  819. package/dist/cjs/utils/buildErrors/charts/buildLineChartErrors.d.ts +0 -13
  820. package/dist/cjs/utils/buildErrors/charts/buildLineChartErrors.d.ts.map +0 -1
  821. package/dist/cjs/utils/buildErrors/charts/buildPieChartErrors.d.ts +0 -37
  822. package/dist/cjs/utils/buildErrors/charts/buildPieChartErrors.d.ts.map +0 -1
  823. package/dist/cjs/utils/buildErrors/constants/errorMessages/barChartErrorMessages.d.ts +0 -19
  824. package/dist/cjs/utils/buildErrors/constants/errorMessages/barChartErrorMessages.d.ts.map +0 -1
  825. package/dist/cjs/utils/buildErrors/constants/errorMessages/lineChartErrorMessages.d.ts +0 -25
  826. package/dist/cjs/utils/buildErrors/constants/errorMessages/lineChartErrorMessages.d.ts.map +0 -1
  827. package/dist/cjs/utils/buildErrors/constants/errorMessages/pieChartErrorMessages.d.ts +0 -13
  828. package/dist/cjs/utils/buildErrors/constants/errorMessages/pieChartErrorMessages.d.ts.map +0 -1
  829. package/dist/cjs/utils/buildErrors/constants/errors/barChartErrors.d.ts +0 -20
  830. package/dist/cjs/utils/buildErrors/constants/errors/barChartErrors.d.ts.map +0 -1
  831. package/dist/cjs/utils/buildErrors/constants/errors/lineChartErrors.d.ts +0 -26
  832. package/dist/cjs/utils/buildErrors/constants/errors/lineChartErrors.d.ts.map +0 -1
  833. package/dist/cjs/utils/buildErrors/constants/errors/pieChartErrors.d.ts +0 -14
  834. package/dist/cjs/utils/buildErrors/constants/errors/pieChartErrors.d.ts.map +0 -1
  835. package/dist/cjs/utils/buildErrors/index.d.ts +0 -2
  836. package/dist/cjs/utils/buildErrors/index.d.ts.map +0 -1
  837. package/dist/cjs/utils/buildErrors/index.js +0 -2
  838. package/dist/cjs/utils/buildTickValues/buildTickValues.d.ts +0 -28
  839. package/dist/cjs/utils/buildTickValues/buildTickValues.d.ts.map +0 -1
  840. package/dist/cjs/utils/classNames/classNames.d.ts +0 -14
  841. package/dist/cjs/utils/classNames/classNames.d.ts.map +0 -1
  842. package/dist/cjs/utils/classNames/classNames.js +0 -25
  843. package/dist/cjs/utils/createErrorAccumulator/createErrorAccumulator.d.ts +0 -7
  844. package/dist/cjs/utils/createErrorAccumulator/createErrorAccumulator.d.ts.map +0 -1
  845. package/dist/cjs/utils/createErrorAccumulator/index.d.ts +0 -2
  846. package/dist/cjs/utils/createErrorAccumulator/index.d.ts.map +0 -1
  847. package/dist/cjs/utils/createErrorAccumulator/index.js +0 -1
  848. package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.d.ts +0 -21
  849. package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.d.ts.map +0 -1
  850. package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts +0 -12
  851. package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts.map +0 -1
  852. package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.types.js +0 -1
  853. package/dist/cjs/utils/cursorNear/isNear.d.ts +0 -2
  854. package/dist/cjs/utils/cursorNear/isNear.d.ts.map +0 -1
  855. package/dist/cjs/utils/getAxisData/getAxisData.d.ts +0 -2
  856. package/dist/cjs/utils/getAxisData/getAxisData.d.ts.map +0 -1
  857. package/dist/cjs/utils/getAxisData/getAxisData.js +0 -3
  858. package/dist/cjs/utils/getCanvasDimensions/getCanvasDimensions.d.ts +0 -22
  859. package/dist/cjs/utils/getCanvasDimensions/getCanvasDimensions.d.ts.map +0 -1
  860. package/dist/cjs/utils/getChildrenAttr/getChildrenAttr.d.ts +0 -10
  861. package/dist/cjs/utils/getChildrenAttr/getChildrenAttr.d.ts.map +0 -1
  862. package/dist/cjs/utils/getCoordinates/getCoordinates.d.ts +0 -47
  863. package/dist/cjs/utils/getCoordinates/getCoordinates.d.ts.map +0 -1
  864. package/dist/cjs/utils/getDataFingerprint/getDataFingerprint.d.ts +0 -12
  865. package/dist/cjs/utils/getDataFingerprint/getDataFingerprint.d.ts.map +0 -1
  866. package/dist/cjs/utils/getPoints/getPoints.d.ts +0 -10
  867. package/dist/cjs/utils/getPoints/getPoints.d.ts.map +0 -1
  868. package/dist/cjs/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts +0 -21
  869. package/dist/cjs/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts.map +0 -1
  870. package/dist/cjs/utils/getTicks/getTicks.d.ts +0 -35
  871. package/dist/cjs/utils/getTicks/getTicks.d.ts.map +0 -1
  872. package/dist/cjs/utils/index.d.ts +0 -11
  873. package/dist/cjs/utils/index.d.ts.map +0 -1
  874. package/dist/cjs/utils/index.js +0 -10
  875. package/dist/cjs/utils/logger/index.d.ts +0 -2
  876. package/dist/cjs/utils/logger/index.d.ts.map +0 -1
  877. package/dist/cjs/utils/logger/index.js +0 -1
  878. package/dist/cjs/utils/logger/logger.d.ts +0 -45
  879. package/dist/cjs/utils/logger/logger.d.ts.map +0 -1
  880. package/dist/cjs/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts +0 -11
  881. package/dist/cjs/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts.map +0 -1
  882. package/dist/cjs/utils/pickCustomAttributes/pickCustomAttributes.d.ts +0 -34
  883. package/dist/cjs/utils/pickCustomAttributes/pickCustomAttributes.d.ts.map +0 -1
  884. package/dist/cjs/utils/shadowSvg/shadowSvg.d.ts +0 -3
  885. package/dist/cjs/utils/shadowSvg/shadowSvg.d.ts.map +0 -1
  886. package/dist/cjs/utils/shadowSvg/shadowSvg.types.d.ts +0 -35
  887. package/dist/cjs/utils/shadowSvg/shadowSvg.types.d.ts.map +0 -1
  888. package/dist/cjs/utils/shadowSvg/shadowSvg.types.js +0 -1
  889. package/dist/cjs/utils/ssr/index.d.ts +0 -2
  890. package/dist/cjs/utils/ssr/index.d.ts.map +0 -1
  891. package/dist/cjs/utils/ssr/index.js +0 -1
  892. package/dist/cjs/utils/ssr/ssr.d.ts +0 -80
  893. package/dist/cjs/utils/ssr/ssr.d.ts.map +0 -1
  894. package/dist/cjs/utils/textBound/textBound.d.ts +0 -11
  895. package/dist/cjs/utils/textBound/textBound.d.ts.map +0 -1
  896. package/dist/esm/charts/barChart/barChart.d.ts +0 -9
  897. package/dist/esm/charts/barChart/barChart.d.ts.map +0 -1
  898. package/dist/esm/charts/barChart/barChart.type.d.ts +0 -139
  899. package/dist/esm/charts/barChart/barChart.type.d.ts.map +0 -1
  900. package/dist/esm/charts/barChart/barChart.type.js +0 -1
  901. package/dist/esm/charts/barChart/barChartStructure.d.ts +0 -3
  902. package/dist/esm/charts/barChart/barChartStructure.d.ts.map +0 -1
  903. package/dist/esm/charts/barChart/context/barChartContext.d.ts +0 -3
  904. package/dist/esm/charts/barChart/context/barChartContext.d.ts.map +0 -1
  905. package/dist/esm/charts/barChart/context/buildBarContextValues.d.ts +0 -26
  906. package/dist/esm/charts/barChart/context/buildBarContextValues.d.ts.map +0 -1
  907. package/dist/esm/charts/barChart/fragments/barChartPath.d.ts +0 -9
  908. package/dist/esm/charts/barChart/fragments/barChartPath.d.ts.map +0 -1
  909. package/dist/esm/charts/barChart/fragments/barChartSeparator.d.ts +0 -4
  910. package/dist/esm/charts/barChart/fragments/barChartSeparator.d.ts.map +0 -1
  911. package/dist/esm/charts/barChart/fragments/barChartXAxis.d.ts +0 -4
  912. package/dist/esm/charts/barChart/fragments/barChartXAxis.d.ts.map +0 -1
  913. package/dist/esm/charts/barChart/fragments/barChartYAxis.d.ts +0 -4
  914. package/dist/esm/charts/barChart/fragments/barChartYAxis.d.ts.map +0 -1
  915. package/dist/esm/charts/barChart/fragments/fixture/barContextData.d.ts +0 -3
  916. package/dist/esm/charts/barChart/fragments/fixture/barContextData.d.ts.map +0 -1
  917. package/dist/esm/charts/barChart/fragments/fixture/barContextData.js +0 -42
  918. package/dist/esm/charts/barChart/fragments/fixture/index.d.ts +0 -2
  919. package/dist/esm/charts/barChart/fragments/fixture/index.d.ts.map +0 -1
  920. package/dist/esm/charts/barChart/fragments/fixture/index.js +0 -1
  921. package/dist/esm/charts/barChart/index.d.ts +0 -2
  922. package/dist/esm/charts/barChart/index.d.ts.map +0 -1
  923. package/dist/esm/charts/barChart/utils/countBarChildren.d.ts +0 -3
  924. package/dist/esm/charts/barChart/utils/countBarChildren.d.ts.map +0 -1
  925. package/dist/esm/charts/barChart/utils/getAxisExtraSpacing.d.ts +0 -17
  926. package/dist/esm/charts/barChart/utils/getAxisExtraSpacing.d.ts.map +0 -1
  927. package/dist/esm/charts/barChart/utils/getBarDataValue.d.ts +0 -8
  928. package/dist/esm/charts/barChart/utils/getBarDataValue.d.ts.map +0 -1
  929. package/dist/esm/charts/barChart/utils/getRoundedBarMaxValue.d.ts +0 -9
  930. package/dist/esm/charts/barChart/utils/getRoundedBarMaxValue.d.ts.map +0 -1
  931. package/dist/esm/charts/constants/chartDefaults.d.ts +0 -97
  932. package/dist/esm/charts/constants/chartDefaults.d.ts.map +0 -1
  933. package/dist/esm/charts/customBackgroundChart/context/customBackgroundChartContext.d.ts +0 -3
  934. package/dist/esm/charts/customBackgroundChart/context/customBackgroundChartContext.d.ts.map +0 -1
  935. package/dist/esm/charts/customBackgroundChart/context/index.d.ts +0 -2
  936. package/dist/esm/charts/customBackgroundChart/context/index.d.ts.map +0 -1
  937. package/dist/esm/charts/customBackgroundChart/context/index.js +0 -1
  938. package/dist/esm/charts/customBackgroundChart/customBackgroundChart.d.ts +0 -6
  939. package/dist/esm/charts/customBackgroundChart/customBackgroundChart.d.ts.map +0 -1
  940. package/dist/esm/charts/customBackgroundChart/customBackgroundChart.type.d.ts +0 -50
  941. package/dist/esm/charts/customBackgroundChart/customBackgroundChart.type.d.ts.map +0 -1
  942. package/dist/esm/charts/customBackgroundChart/customBackgroundChart.type.js +0 -1
  943. package/dist/esm/charts/customBackgroundChart/customBackgroundChartStructure.d.ts +0 -4
  944. package/dist/esm/charts/customBackgroundChart/customBackgroundChartStructure.d.ts.map +0 -1
  945. package/dist/esm/charts/customBackgroundChart/fragments/customBackgroundChartPlot.d.ts +0 -4
  946. package/dist/esm/charts/customBackgroundChart/fragments/customBackgroundChartPlot.d.ts.map +0 -1
  947. package/dist/esm/charts/customBackgroundChart/fragments/index.d.ts +0 -2
  948. package/dist/esm/charts/customBackgroundChart/fragments/index.d.ts.map +0 -1
  949. package/dist/esm/charts/customBackgroundChart/fragments/index.js +0 -1
  950. package/dist/esm/charts/customBackgroundChart/index.d.ts +0 -2
  951. package/dist/esm/charts/customBackgroundChart/index.d.ts.map +0 -1
  952. package/dist/esm/charts/customBackgroundChart/utils/accessibility.d.ts +0 -19
  953. package/dist/esm/charts/customBackgroundChart/utils/accessibility.d.ts.map +0 -1
  954. package/dist/esm/charts/index.d.ts +0 -5
  955. package/dist/esm/charts/index.d.ts.map +0 -1
  956. package/dist/esm/charts/index.js +0 -4
  957. package/dist/esm/charts/lineChart/context/buildLineContextValue.d.ts +0 -21
  958. package/dist/esm/charts/lineChart/context/buildLineContextValue.d.ts.map +0 -1
  959. package/dist/esm/charts/lineChart/context/index.d.ts +0 -3
  960. package/dist/esm/charts/lineChart/context/index.d.ts.map +0 -1
  961. package/dist/esm/charts/lineChart/context/index.js +0 -2
  962. package/dist/esm/charts/lineChart/context/lineChartContext.d.ts +0 -3
  963. package/dist/esm/charts/lineChart/context/lineChartContext.d.ts.map +0 -1
  964. package/dist/esm/charts/lineChart/fragments/fixture/contextData.d.ts +0 -3
  965. package/dist/esm/charts/lineChart/fragments/fixture/contextData.d.ts.map +0 -1
  966. package/dist/esm/charts/lineChart/fragments/fixture/contextData.js +0 -43
  967. package/dist/esm/charts/lineChart/fragments/fixture/index.d.ts +0 -2
  968. package/dist/esm/charts/lineChart/fragments/fixture/index.d.ts.map +0 -1
  969. package/dist/esm/charts/lineChart/fragments/fixture/index.js +0 -1
  970. package/dist/esm/charts/lineChart/fragments/index.d.ts +0 -5
  971. package/dist/esm/charts/lineChart/fragments/index.d.ts.map +0 -1
  972. package/dist/esm/charts/lineChart/fragments/index.js +0 -4
  973. package/dist/esm/charts/lineChart/fragments/lineChartPath.css +0 -3
  974. package/dist/esm/charts/lineChart/fragments/lineChartPath.d.ts +0 -5
  975. package/dist/esm/charts/lineChart/fragments/lineChartPath.d.ts.map +0 -1
  976. package/dist/esm/charts/lineChart/fragments/lineChartPath.js +0 -149
  977. package/dist/esm/charts/lineChart/fragments/lineChartProjection.d.ts +0 -5
  978. package/dist/esm/charts/lineChart/fragments/lineChartProjection.d.ts.map +0 -1
  979. package/dist/esm/charts/lineChart/fragments/lineChartSeparator.d.ts +0 -4
  980. package/dist/esm/charts/lineChart/fragments/lineChartSeparator.d.ts.map +0 -1
  981. package/dist/esm/charts/lineChart/fragments/lineChartXAxis.d.ts +0 -4
  982. package/dist/esm/charts/lineChart/fragments/lineChartXAxis.d.ts.map +0 -1
  983. package/dist/esm/charts/lineChart/fragments/lineChartYAxis.d.ts +0 -3
  984. package/dist/esm/charts/lineChart/fragments/lineChartYAxis.d.ts.map +0 -1
  985. package/dist/esm/charts/lineChart/hook/index.d.ts +0 -4
  986. package/dist/esm/charts/lineChart/hook/index.d.ts.map +0 -1
  987. package/dist/esm/charts/lineChart/hook/index.js +0 -3
  988. package/dist/esm/charts/lineChart/hook/useAutoClick.d.ts +0 -4
  989. package/dist/esm/charts/lineChart/hook/useAutoClick.d.ts.map +0 -1
  990. package/dist/esm/charts/lineChart/hook/useHover.d.ts +0 -12
  991. package/dist/esm/charts/lineChart/hook/useHover.d.ts.map +0 -1
  992. package/dist/esm/charts/lineChart/hook/useIndicator.d.ts +0 -7
  993. package/dist/esm/charts/lineChart/hook/useIndicator.d.ts.map +0 -1
  994. package/dist/esm/charts/lineChart/index.d.ts +0 -2
  995. package/dist/esm/charts/lineChart/index.d.ts.map +0 -1
  996. package/dist/esm/charts/lineChart/lineChart.d.ts +0 -9
  997. package/dist/esm/charts/lineChart/lineChart.d.ts.map +0 -1
  998. package/dist/esm/charts/lineChart/lineChart.type.d.ts +0 -173
  999. package/dist/esm/charts/lineChart/lineChart.type.d.ts.map +0 -1
  1000. package/dist/esm/charts/lineChart/lineChart.type.js +0 -1
  1001. package/dist/esm/charts/lineChart/lineChartStructure.d.ts +0 -33
  1002. package/dist/esm/charts/lineChart/lineChartStructure.d.ts.map +0 -1
  1003. package/dist/esm/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts +0 -14
  1004. package/dist/esm/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts.map +0 -1
  1005. package/dist/esm/charts/lineChart/utils/findSurroundingNumber.d.ts +0 -8
  1006. package/dist/esm/charts/lineChart/utils/findSurroundingNumber.d.ts.map +0 -1
  1007. package/dist/esm/charts/lineChart/utils/getCoordinates.d.ts +0 -25
  1008. package/dist/esm/charts/lineChart/utils/getCoordinates.d.ts.map +0 -1
  1009. package/dist/esm/charts/lineChart/utils/getDataValues.d.ts +0 -8
  1010. package/dist/esm/charts/lineChart/utils/getDataValues.d.ts.map +0 -1
  1011. package/dist/esm/charts/lineChart/utils/getExtraSpacing.d.ts +0 -17
  1012. package/dist/esm/charts/lineChart/utils/getExtraSpacing.d.ts.map +0 -1
  1013. package/dist/esm/charts/lineChart/utils/getPathData.d.ts +0 -18
  1014. package/dist/esm/charts/lineChart/utils/getPathData.d.ts.map +0 -1
  1015. package/dist/esm/charts/lineChart/utils/getProjection.d.ts +0 -33
  1016. package/dist/esm/charts/lineChart/utils/getProjection.d.ts.map +0 -1
  1017. package/dist/esm/charts/lineChart/utils/getRoundedMaxValue.d.ts +0 -17
  1018. package/dist/esm/charts/lineChart/utils/getRoundedMaxValue.d.ts.map +0 -1
  1019. package/dist/esm/charts/lineChart/utils/getTicks.d.ts +0 -21
  1020. package/dist/esm/charts/lineChart/utils/getTicks.d.ts.map +0 -1
  1021. package/dist/esm/charts/lineChart/utils/handleNodesFocus.d.ts +0 -17
  1022. package/dist/esm/charts/lineChart/utils/handleNodesFocus.d.ts.map +0 -1
  1023. package/dist/esm/charts/lineChart/utils/index.d.ts +0 -7
  1024. package/dist/esm/charts/lineChart/utils/index.d.ts.map +0 -1
  1025. package/dist/esm/charts/lineChart/utils/index.js +0 -6
  1026. package/dist/esm/charts/lineChart/utils/tickTextPosition.d.ts +0 -33
  1027. package/dist/esm/charts/lineChart/utils/tickTextPosition.d.ts.map +0 -1
  1028. package/dist/esm/charts/lineChart/utils/validations.d.ts +0 -54
  1029. package/dist/esm/charts/lineChart/utils/validations.d.ts.map +0 -1
  1030. package/dist/esm/charts/pieChart/context/buildPieContextValue.d.ts +0 -18
  1031. package/dist/esm/charts/pieChart/context/buildPieContextValue.d.ts.map +0 -1
  1032. package/dist/esm/charts/pieChart/context/index.d.ts +0 -3
  1033. package/dist/esm/charts/pieChart/context/index.d.ts.map +0 -1
  1034. package/dist/esm/charts/pieChart/context/index.js +0 -2
  1035. package/dist/esm/charts/pieChart/context/pieChartContext.d.ts +0 -3
  1036. package/dist/esm/charts/pieChart/context/pieChartContext.d.ts.map +0 -1
  1037. package/dist/esm/charts/pieChart/fragments/index.d.ts +0 -3
  1038. package/dist/esm/charts/pieChart/fragments/index.d.ts.map +0 -1
  1039. package/dist/esm/charts/pieChart/fragments/index.js +0 -2
  1040. package/dist/esm/charts/pieChart/fragments/pieChartForeign.d.ts +0 -4
  1041. package/dist/esm/charts/pieChart/fragments/pieChartForeign.d.ts.map +0 -1
  1042. package/dist/esm/charts/pieChart/fragments/pieChartPath.d.ts +0 -15
  1043. package/dist/esm/charts/pieChart/fragments/pieChartPath.d.ts.map +0 -1
  1044. package/dist/esm/charts/pieChart/fragments/pieChartSegment.d.ts +0 -18
  1045. package/dist/esm/charts/pieChart/fragments/pieChartSegment.d.ts.map +0 -1
  1046. package/dist/esm/charts/pieChart/index.d.ts +0 -2
  1047. package/dist/esm/charts/pieChart/index.d.ts.map +0 -1
  1048. package/dist/esm/charts/pieChart/pieChart.d.ts +0 -7
  1049. package/dist/esm/charts/pieChart/pieChart.d.ts.map +0 -1
  1050. package/dist/esm/charts/pieChart/pieChart.type.d.ts +0 -75
  1051. package/dist/esm/charts/pieChart/pieChart.type.d.ts.map +0 -1
  1052. package/dist/esm/charts/pieChart/pieChart.type.js +0 -1
  1053. package/dist/esm/charts/pieChart/pieChartStructure.d.ts +0 -34
  1054. package/dist/esm/charts/pieChart/pieChartStructure.d.ts.map +0 -1
  1055. package/dist/esm/charts/pieChart/utils/accessibility.d.ts +0 -16
  1056. package/dist/esm/charts/pieChart/utils/accessibility.d.ts.map +0 -1
  1057. package/dist/esm/charts/pieChart/utils/buildL.d.ts +0 -13
  1058. package/dist/esm/charts/pieChart/utils/buildL.d.ts.map +0 -1
  1059. package/dist/esm/charts/pieChart/utils/calculatePoint.d.ts +0 -15
  1060. package/dist/esm/charts/pieChart/utils/calculatePoint.d.ts.map +0 -1
  1061. package/dist/esm/charts/pieChart/utils/calculateSegmentPath.d.ts +0 -34
  1062. package/dist/esm/charts/pieChart/utils/calculateSegmentPath.d.ts.map +0 -1
  1063. package/dist/esm/charts/pieChart/utils/drawSegmentPath.d.ts +0 -20
  1064. package/dist/esm/charts/pieChart/utils/drawSegmentPath.d.ts.map +0 -1
  1065. package/dist/esm/charts/pieChart/utils/index.d.ts +0 -3
  1066. package/dist/esm/charts/pieChart/utils/index.d.ts.map +0 -1
  1067. package/dist/esm/charts/pieChart/utils/index.js +0 -2
  1068. package/dist/esm/charts/pieChart/utils/rotationDirection.d.ts +0 -18
  1069. package/dist/esm/charts/pieChart/utils/rotationDirection.d.ts.map +0 -1
  1070. package/dist/esm/components/axisChart/index.d.ts +0 -3
  1071. package/dist/esm/components/axisChart/index.d.ts.map +0 -1
  1072. package/dist/esm/components/axisChart/index.js +0 -2
  1073. package/dist/esm/components/axisChart/utils/filterLineProps/filterLineProps.d.ts +0 -18
  1074. package/dist/esm/components/axisChart/utils/filterLineProps/filterLineProps.d.ts.map +0 -1
  1075. package/dist/esm/components/axisChart/utils/index.d.ts +0 -2
  1076. package/dist/esm/components/axisChart/utils/index.d.ts.map +0 -1
  1077. package/dist/esm/components/axisChart/utils/index.js +0 -1
  1078. package/dist/esm/components/axisChart/xAxis/index.d.ts +0 -3
  1079. package/dist/esm/components/axisChart/xAxis/index.d.ts.map +0 -1
  1080. package/dist/esm/components/axisChart/xAxis/index.js +0 -2
  1081. package/dist/esm/components/axisChart/xAxis/xAxis.d.ts +0 -11
  1082. package/dist/esm/components/axisChart/xAxis/xAxis.d.ts.map +0 -1
  1083. package/dist/esm/components/axisChart/xAxis/xAxis.types.d.ts +0 -40
  1084. package/dist/esm/components/axisChart/xAxis/xAxis.types.d.ts.map +0 -1
  1085. package/dist/esm/components/axisChart/xAxis/xAxis.types.js +0 -1
  1086. package/dist/esm/components/axisChart/yAxis/index.d.ts +0 -3
  1087. package/dist/esm/components/axisChart/yAxis/index.d.ts.map +0 -1
  1088. package/dist/esm/components/axisChart/yAxis/index.js +0 -2
  1089. package/dist/esm/components/axisChart/yAxis/yAxis.d.ts +0 -8
  1090. package/dist/esm/components/axisChart/yAxis/yAxis.d.ts.map +0 -1
  1091. package/dist/esm/components/axisChart/yAxis/yAxis.types.d.ts +0 -37
  1092. package/dist/esm/components/axisChart/yAxis/yAxis.types.d.ts.map +0 -1
  1093. package/dist/esm/components/axisChart/yAxis/yAxis.types.js +0 -1
  1094. package/dist/esm/components/bar/bar.d.ts +0 -4
  1095. package/dist/esm/components/bar/bar.d.ts.map +0 -1
  1096. package/dist/esm/components/bar/bar.type.d.ts +0 -53
  1097. package/dist/esm/components/bar/bar.type.d.ts.map +0 -1
  1098. package/dist/esm/components/bar/index.d.ts +0 -3
  1099. package/dist/esm/components/bar/index.d.ts.map +0 -1
  1100. package/dist/esm/components/bar/index.js +0 -2
  1101. package/dist/esm/components/bar/utils/accessibility.d.ts +0 -22
  1102. package/dist/esm/components/bar/utils/accessibility.d.ts.map +0 -1
  1103. package/dist/esm/components/bar/utils/buildD.d.ts +0 -9
  1104. package/dist/esm/components/bar/utils/buildD.d.ts.map +0 -1
  1105. package/dist/esm/components/bar/utils/getSegments.d.ts +0 -6
  1106. package/dist/esm/components/bar/utils/getSegments.d.ts.map +0 -1
  1107. package/dist/esm/components/chartText/chartText.d.ts +0 -18
  1108. package/dist/esm/components/chartText/chartText.d.ts.map +0 -1
  1109. package/dist/esm/components/chartText/chartText.types.d.ts +0 -57
  1110. package/dist/esm/components/chartText/chartText.types.d.ts.map +0 -1
  1111. package/dist/esm/components/chartText/chartText.types.js +0 -10
  1112. package/dist/esm/components/chartText/index.d.ts +0 -3
  1113. package/dist/esm/components/chartText/index.d.ts.map +0 -1
  1114. package/dist/esm/components/chartText/index.js +0 -2
  1115. package/dist/esm/components/focusRing/components/FocusRingInline.d.ts +0 -25
  1116. package/dist/esm/components/focusRing/components/FocusRingInline.d.ts.map +0 -1
  1117. package/dist/esm/components/focusRing/components/FocusRingRenderer.d.ts +0 -13
  1118. package/dist/esm/components/focusRing/components/FocusRingRenderer.d.ts.map +0 -1
  1119. package/dist/esm/components/focusRing/components/FocusRingSeparate.d.ts +0 -40
  1120. package/dist/esm/components/focusRing/components/FocusRingSeparate.d.ts.map +0 -1
  1121. package/dist/esm/components/focusRing/focusRing.css +0 -14
  1122. package/dist/esm/components/focusRing/focusRing.d.ts +0 -35
  1123. package/dist/esm/components/focusRing/focusRing.d.ts.map +0 -1
  1124. package/dist/esm/components/focusRing/focusRing.js +0 -44
  1125. package/dist/esm/components/focusRing/focusRing.types.d.ts +0 -40
  1126. package/dist/esm/components/focusRing/focusRing.types.d.ts.map +0 -1
  1127. package/dist/esm/components/focusRing/focusRing.types.js +0 -1
  1128. package/dist/esm/components/focusRing/hooks/useFocusRingData.d.ts +0 -27
  1129. package/dist/esm/components/focusRing/hooks/useFocusRingData.d.ts.map +0 -1
  1130. package/dist/esm/components/focusRing/index.d.ts +0 -3
  1131. package/dist/esm/components/focusRing/index.d.ts.map +0 -1
  1132. package/dist/esm/components/focusRing/index.js +0 -1
  1133. package/dist/esm/components/focusRing/utils/composeRefs.d.ts +0 -7
  1134. package/dist/esm/components/focusRing/utils/composeRefs.d.ts.map +0 -1
  1135. package/dist/esm/components/focusRing/utils/createAdaptiveFocusRings.d.ts +0 -24
  1136. package/dist/esm/components/focusRing/utils/createAdaptiveFocusRings.d.ts.map +0 -1
  1137. package/dist/esm/components/focusRing/utils/createBoundingBoxFocusRings.d.ts +0 -33
  1138. package/dist/esm/components/focusRing/utils/createBoundingBoxFocusRings.d.ts.map +0 -1
  1139. package/dist/esm/components/focusRing/utils/utils.types.d.ts +0 -52
  1140. package/dist/esm/components/focusRing/utils/utils.types.d.ts.map +0 -1
  1141. package/dist/esm/components/focusRing/utils/utils.types.js +0 -1
  1142. package/dist/esm/components/foreignObject/foreignObject.d.ts +0 -4
  1143. package/dist/esm/components/foreignObject/foreignObject.d.ts.map +0 -1
  1144. package/dist/esm/components/foreignObject/foreignObject.types.d.ts +0 -10
  1145. package/dist/esm/components/foreignObject/foreignObject.types.d.ts.map +0 -1
  1146. package/dist/esm/components/foreignObject/foreignObject.types.js +0 -1
  1147. package/dist/esm/components/foreignObject/index.d.ts +0 -3
  1148. package/dist/esm/components/foreignObject/index.d.ts.map +0 -1
  1149. package/dist/esm/components/foreignObject/index.js +0 -2
  1150. package/dist/esm/components/index.d.ts +0 -12
  1151. package/dist/esm/components/index.d.ts.map +0 -1
  1152. package/dist/esm/components/index.js +0 -11
  1153. package/dist/esm/components/line/index.d.ts +0 -3
  1154. package/dist/esm/components/line/index.d.ts.map +0 -1
  1155. package/dist/esm/components/line/index.js +0 -2
  1156. package/dist/esm/components/line/line.d.ts +0 -9
  1157. package/dist/esm/components/line/line.d.ts.map +0 -1
  1158. package/dist/esm/components/line/line.types.d.ts +0 -45
  1159. package/dist/esm/components/line/line.types.d.ts.map +0 -1
  1160. package/dist/esm/components/line/line.types.js +0 -1
  1161. package/dist/esm/components/node/components/circle/circle.d.ts +0 -6
  1162. package/dist/esm/components/node/components/circle/circle.d.ts.map +0 -1
  1163. package/dist/esm/components/node/components/hexagon/hexagon.d.ts +0 -6
  1164. package/dist/esm/components/node/components/hexagon/hexagon.d.ts.map +0 -1
  1165. package/dist/esm/components/node/components/index.d.ts +0 -1
  1166. package/dist/esm/components/node/components/index.d.ts.map +0 -1
  1167. package/dist/esm/components/node/components/index.js +0 -1
  1168. package/dist/esm/components/node/components/pentagon/pentagon.d.ts +0 -6
  1169. package/dist/esm/components/node/components/pentagon/pentagon.d.ts.map +0 -1
  1170. package/dist/esm/components/node/components/square/square.d.ts +0 -6
  1171. package/dist/esm/components/node/components/square/square.d.ts.map +0 -1
  1172. package/dist/esm/components/node/components/star/star.d.ts +0 -6
  1173. package/dist/esm/components/node/components/star/star.d.ts.map +0 -1
  1174. package/dist/esm/components/node/components/straight/straight.d.ts +0 -6
  1175. package/dist/esm/components/node/components/straight/straight.d.ts.map +0 -1
  1176. package/dist/esm/components/node/components/triangle/triangle.d.ts +0 -6
  1177. package/dist/esm/components/node/components/triangle/triangle.d.ts.map +0 -1
  1178. package/dist/esm/components/node/index.d.ts +0 -3
  1179. package/dist/esm/components/node/index.d.ts.map +0 -1
  1180. package/dist/esm/components/node/index.js +0 -2
  1181. package/dist/esm/components/node/node.d.ts +0 -6
  1182. package/dist/esm/components/node/node.d.ts.map +0 -1
  1183. package/dist/esm/components/node/node.types.d.ts +0 -103
  1184. package/dist/esm/components/node/node.types.d.ts.map +0 -1
  1185. package/dist/esm/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts +0 -2
  1186. package/dist/esm/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts.map +0 -1
  1187. package/dist/esm/components/path/components/nodePath/nodePath.d.ts +0 -14
  1188. package/dist/esm/components/path/components/nodePath/nodePath.d.ts.map +0 -1
  1189. package/dist/esm/components/path/index.d.ts +0 -3
  1190. package/dist/esm/components/path/index.d.ts.map +0 -1
  1191. package/dist/esm/components/path/index.js +0 -2
  1192. package/dist/esm/components/path/path.css +0 -29
  1193. package/dist/esm/components/path/path.d.ts +0 -4
  1194. package/dist/esm/components/path/path.d.ts.map +0 -1
  1195. package/dist/esm/components/path/path.js +0 -128
  1196. package/dist/esm/components/path/path.types.d.ts +0 -86
  1197. package/dist/esm/components/path/path.types.d.ts.map +0 -1
  1198. package/dist/esm/components/path/path.types.js +0 -1
  1199. package/dist/esm/components/plot/components/circle/circle.d.ts +0 -6
  1200. package/dist/esm/components/plot/components/circle/circle.d.ts.map +0 -1
  1201. package/dist/esm/components/plot/components/index.d.ts +0 -4
  1202. package/dist/esm/components/plot/components/index.d.ts.map +0 -1
  1203. package/dist/esm/components/plot/components/index.js +0 -3
  1204. package/dist/esm/components/plot/components/square/square.d.ts +0 -6
  1205. package/dist/esm/components/plot/components/square/square.d.ts.map +0 -1
  1206. package/dist/esm/components/plot/components/triangle/triangle.d.ts +0 -6
  1207. package/dist/esm/components/plot/components/triangle/triangle.d.ts.map +0 -1
  1208. package/dist/esm/components/plot/index.d.ts +0 -3
  1209. package/dist/esm/components/plot/index.d.ts.map +0 -1
  1210. package/dist/esm/components/plot/index.js +0 -2
  1211. package/dist/esm/components/plot/plot.css +0 -12
  1212. package/dist/esm/components/plot/plot.d.ts +0 -39
  1213. package/dist/esm/components/plot/plot.d.ts.map +0 -1
  1214. package/dist/esm/components/plot/plot.js +0 -101
  1215. package/dist/esm/components/plot/plot.types.d.ts +0 -177
  1216. package/dist/esm/components/plot/plot.types.d.ts.map +0 -1
  1217. package/dist/esm/components/svgContainer/index.d.ts +0 -2
  1218. package/dist/esm/components/svgContainer/index.d.ts.map +0 -1
  1219. package/dist/esm/components/svgContainer/index.js +0 -1
  1220. package/dist/esm/components/svgContainer/svgContainer.d.ts +0 -6
  1221. package/dist/esm/components/svgContainer/svgContainer.d.ts.map +0 -1
  1222. package/dist/esm/components/svgContainer/svgContainer.types.d.ts +0 -38
  1223. package/dist/esm/components/svgContainer/svgContainer.types.d.ts.map +0 -1
  1224. package/dist/esm/components/svgContainer/svgContainer.types.js +0 -1
  1225. package/dist/esm/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts +0 -15
  1226. package/dist/esm/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts.map +0 -1
  1227. package/dist/esm/components/svgContainer/utils/index.d.ts +0 -2
  1228. package/dist/esm/components/svgContainer/utils/index.d.ts.map +0 -1
  1229. package/dist/esm/components/svgContainer/utils/index.js +0 -1
  1230. package/dist/esm/components/tick/index.d.ts +0 -3
  1231. package/dist/esm/components/tick/index.d.ts.map +0 -1
  1232. package/dist/esm/components/tick/index.js +0 -2
  1233. package/dist/esm/components/tick/tick.d.ts +0 -19
  1234. package/dist/esm/components/tick/tick.d.ts.map +0 -1
  1235. package/dist/esm/components/tick/tick.types.d.ts +0 -51
  1236. package/dist/esm/components/tick/tick.types.d.ts.map +0 -1
  1237. package/dist/esm/components/zoomArea/components/HandlerIcon.d.ts +0 -25
  1238. package/dist/esm/components/zoomArea/components/HandlerIcon.d.ts.map +0 -1
  1239. package/dist/esm/components/zoomArea/components/LineRenderer.d.ts +0 -29
  1240. package/dist/esm/components/zoomArea/components/LineRenderer.d.ts.map +0 -1
  1241. package/dist/esm/components/zoomArea/components/SelectionArea.d.ts +0 -37
  1242. package/dist/esm/components/zoomArea/components/SelectionArea.d.ts.map +0 -1
  1243. package/dist/esm/components/zoomArea/components/ZoomHandler.d.ts +0 -42
  1244. package/dist/esm/components/zoomArea/components/ZoomHandler.d.ts.map +0 -1
  1245. package/dist/esm/components/zoomArea/components/index.d.ts +0 -5
  1246. package/dist/esm/components/zoomArea/components/index.d.ts.map +0 -1
  1247. package/dist/esm/components/zoomArea/components/index.js +0 -4
  1248. package/dist/esm/components/zoomArea/hooks/index.d.ts +0 -5
  1249. package/dist/esm/components/zoomArea/hooks/index.d.ts.map +0 -1
  1250. package/dist/esm/components/zoomArea/hooks/index.js +0 -4
  1251. package/dist/esm/components/zoomArea/hooks/useDragInteraction.d.ts +0 -42
  1252. package/dist/esm/components/zoomArea/hooks/useDragInteraction.d.ts.map +0 -1
  1253. package/dist/esm/components/zoomArea/hooks/useKeyboardNavigation.d.ts +0 -30
  1254. package/dist/esm/components/zoomArea/hooks/useKeyboardNavigation.d.ts.map +0 -1
  1255. package/dist/esm/components/zoomArea/hooks/useZoomAreaFocus.d.ts +0 -24
  1256. package/dist/esm/components/zoomArea/hooks/useZoomAreaFocus.d.ts.map +0 -1
  1257. package/dist/esm/components/zoomArea/hooks/useZoomData.d.ts +0 -33
  1258. package/dist/esm/components/zoomArea/hooks/useZoomData.d.ts.map +0 -1
  1259. package/dist/esm/components/zoomArea/index.d.ts +0 -6
  1260. package/dist/esm/components/zoomArea/index.d.ts.map +0 -1
  1261. package/dist/esm/components/zoomArea/index.js +0 -5
  1262. package/dist/esm/components/zoomArea/utils/accessibilityLabels.d.ts +0 -28
  1263. package/dist/esm/components/zoomArea/utils/accessibilityLabels.d.ts.map +0 -1
  1264. package/dist/esm/components/zoomArea/utils/index.d.ts +0 -4
  1265. package/dist/esm/components/zoomArea/utils/index.d.ts.map +0 -1
  1266. package/dist/esm/components/zoomArea/utils/index.js +0 -3
  1267. package/dist/esm/components/zoomArea/utils/indexRounding.d.ts +0 -63
  1268. package/dist/esm/components/zoomArea/utils/indexRounding.d.ts.map +0 -1
  1269. package/dist/esm/components/zoomArea/utils/interactionConfig.d.ts +0 -10
  1270. package/dist/esm/components/zoomArea/utils/interactionConfig.d.ts.map +0 -1
  1271. package/dist/esm/components/zoomArea/utils/pathGeneration.d.ts +0 -57
  1272. package/dist/esm/components/zoomArea/utils/pathGeneration.d.ts.map +0 -1
  1273. package/dist/esm/components/zoomArea/utils/rangeAndPositions.d.ts +0 -60
  1274. package/dist/esm/components/zoomArea/utils/rangeAndPositions.d.ts.map +0 -1
  1275. package/dist/esm/components/zoomArea/utils/selectionConfig.d.ts +0 -10
  1276. package/dist/esm/components/zoomArea/utils/selectionConfig.d.ts.map +0 -1
  1277. package/dist/esm/components/zoomArea/zoomArea.d.ts +0 -12
  1278. package/dist/esm/components/zoomArea/zoomArea.d.ts.map +0 -1
  1279. package/dist/esm/components/zoomArea/zoomArea.type.d.ts +0 -153
  1280. package/dist/esm/components/zoomArea/zoomArea.type.d.ts.map +0 -1
  1281. package/dist/esm/hooks/index.d.ts +0 -5
  1282. package/dist/esm/hooks/index.d.ts.map +0 -1
  1283. package/dist/esm/hooks/index.js +0 -4
  1284. package/dist/esm/hooks/useFocus/useFocus.d.ts +0 -15
  1285. package/dist/esm/hooks/useFocus/useFocus.d.ts.map +0 -1
  1286. package/dist/esm/hooks/useFocus/useFocus.types.d.ts +0 -30
  1287. package/dist/esm/hooks/useFocus/useFocus.types.d.ts.map +0 -1
  1288. package/dist/esm/hooks/useFocus/useFocus.types.js +0 -1
  1289. package/dist/esm/hooks/useHover/useHover.d.ts +0 -13
  1290. package/dist/esm/hooks/useHover/useHover.d.ts.map +0 -1
  1291. package/dist/esm/hooks/useHover/useHover.types.d.ts +0 -30
  1292. package/dist/esm/hooks/useHover/useHover.types.d.ts.map +0 -1
  1293. package/dist/esm/hooks/useHover/useHover.types.js +0 -1
  1294. package/dist/esm/hooks/useId/index.d.ts +0 -2
  1295. package/dist/esm/hooks/useId/index.d.ts.map +0 -1
  1296. package/dist/esm/hooks/useId/index.js +0 -1
  1297. package/dist/esm/hooks/useId/useId.d.ts +0 -2
  1298. package/dist/esm/hooks/useId/useId.d.ts.map +0 -1
  1299. package/dist/esm/hooks/useResponsiveCanvas/index.d.ts +0 -2
  1300. package/dist/esm/hooks/useResponsiveCanvas/index.d.ts.map +0 -1
  1301. package/dist/esm/hooks/useResponsiveCanvas/index.js +0 -1
  1302. package/dist/esm/hooks/useResponsiveCanvas/useResponsiveCanvas.d.ts +0 -64
  1303. package/dist/esm/hooks/useResponsiveCanvas/useResponsiveCanvas.d.ts.map +0 -1
  1304. package/dist/esm/index.d.ts +0 -4
  1305. package/dist/esm/index.d.ts.map +0 -1
  1306. package/dist/esm/types/canvas.type.d.ts +0 -20
  1307. package/dist/esm/types/canvas.type.d.ts.map +0 -1
  1308. package/dist/esm/types/errors.type.d.ts +0 -28
  1309. package/dist/esm/types/errors.type.d.ts.map +0 -1
  1310. package/dist/esm/types/focusConfig.type.d.ts +0 -47
  1311. package/dist/esm/types/focusConfig.type.d.ts.map +0 -1
  1312. package/dist/esm/types/index.d.ts +0 -5
  1313. package/dist/esm/types/index.d.ts.map +0 -1
  1314. package/dist/esm/types/index.js +0 -4
  1315. package/dist/esm/types/position.enum.d.ts +0 -18
  1316. package/dist/esm/types/position.enum.d.ts.map +0 -1
  1317. package/dist/esm/types/unit.enum.d.ts +0 -12
  1318. package/dist/esm/types/unit.enum.d.ts.map +0 -1
  1319. package/dist/esm/types/valueFormatter.type.d.ts +0 -7
  1320. package/dist/esm/types/valueFormatter.type.d.ts.map +0 -1
  1321. package/dist/esm/types/valueFormatter.type.js +0 -1
  1322. package/dist/esm/utils/adaptLegacyFocusConfig/adaptLegacyFocusConfig.d.ts +0 -20
  1323. package/dist/esm/utils/adaptLegacyFocusConfig/adaptLegacyFocusConfig.d.ts.map +0 -1
  1324. package/dist/esm/utils/adaptLegacyFocusConfig/index.d.ts +0 -2
  1325. package/dist/esm/utils/adaptLegacyFocusConfig/index.d.ts.map +0 -1
  1326. package/dist/esm/utils/adaptLegacyFocusConfig/index.js +0 -1
  1327. package/dist/esm/utils/ajustedTextSpace/ajustedTextSpace.d.ts +0 -2
  1328. package/dist/esm/utils/ajustedTextSpace/ajustedTextSpace.d.ts.map +0 -1
  1329. package/dist/esm/utils/buildErrors/buildErrors.d.ts +0 -80
  1330. package/dist/esm/utils/buildErrors/buildErrors.d.ts.map +0 -1
  1331. package/dist/esm/utils/buildErrors/charts/buildBarChartErrors.d.ts +0 -17
  1332. package/dist/esm/utils/buildErrors/charts/buildBarChartErrors.d.ts.map +0 -1
  1333. package/dist/esm/utils/buildErrors/charts/buildLineChartErrors.d.ts +0 -13
  1334. package/dist/esm/utils/buildErrors/charts/buildLineChartErrors.d.ts.map +0 -1
  1335. package/dist/esm/utils/buildErrors/charts/buildPieChartErrors.d.ts +0 -37
  1336. package/dist/esm/utils/buildErrors/charts/buildPieChartErrors.d.ts.map +0 -1
  1337. package/dist/esm/utils/buildErrors/constants/errorMessages/barChartErrorMessages.d.ts +0 -19
  1338. package/dist/esm/utils/buildErrors/constants/errorMessages/barChartErrorMessages.d.ts.map +0 -1
  1339. package/dist/esm/utils/buildErrors/constants/errorMessages/lineChartErrorMessages.d.ts +0 -25
  1340. package/dist/esm/utils/buildErrors/constants/errorMessages/lineChartErrorMessages.d.ts.map +0 -1
  1341. package/dist/esm/utils/buildErrors/constants/errorMessages/pieChartErrorMessages.d.ts +0 -13
  1342. package/dist/esm/utils/buildErrors/constants/errorMessages/pieChartErrorMessages.d.ts.map +0 -1
  1343. package/dist/esm/utils/buildErrors/constants/errors/barChartErrors.d.ts +0 -20
  1344. package/dist/esm/utils/buildErrors/constants/errors/barChartErrors.d.ts.map +0 -1
  1345. package/dist/esm/utils/buildErrors/constants/errors/lineChartErrors.d.ts +0 -26
  1346. package/dist/esm/utils/buildErrors/constants/errors/lineChartErrors.d.ts.map +0 -1
  1347. package/dist/esm/utils/buildErrors/constants/errors/pieChartErrors.d.ts +0 -14
  1348. package/dist/esm/utils/buildErrors/constants/errors/pieChartErrors.d.ts.map +0 -1
  1349. package/dist/esm/utils/buildErrors/index.d.ts +0 -2
  1350. package/dist/esm/utils/buildErrors/index.d.ts.map +0 -1
  1351. package/dist/esm/utils/buildErrors/index.js +0 -2
  1352. package/dist/esm/utils/buildTickValues/buildTickValues.d.ts +0 -28
  1353. package/dist/esm/utils/buildTickValues/buildTickValues.d.ts.map +0 -1
  1354. package/dist/esm/utils/classNames/classNames.d.ts +0 -14
  1355. package/dist/esm/utils/classNames/classNames.d.ts.map +0 -1
  1356. package/dist/esm/utils/classNames/classNames.js +0 -25
  1357. package/dist/esm/utils/createErrorAccumulator/createErrorAccumulator.d.ts +0 -7
  1358. package/dist/esm/utils/createErrorAccumulator/createErrorAccumulator.d.ts.map +0 -1
  1359. package/dist/esm/utils/createErrorAccumulator/index.d.ts +0 -2
  1360. package/dist/esm/utils/createErrorAccumulator/index.d.ts.map +0 -1
  1361. package/dist/esm/utils/createErrorAccumulator/index.js +0 -1
  1362. package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.d.ts +0 -21
  1363. package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.d.ts.map +0 -1
  1364. package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts +0 -12
  1365. package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts.map +0 -1
  1366. package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.types.js +0 -1
  1367. package/dist/esm/utils/cursorNear/isNear.d.ts +0 -2
  1368. package/dist/esm/utils/cursorNear/isNear.d.ts.map +0 -1
  1369. package/dist/esm/utils/getAxisData/getAxisData.d.ts +0 -2
  1370. package/dist/esm/utils/getAxisData/getAxisData.d.ts.map +0 -1
  1371. package/dist/esm/utils/getAxisData/getAxisData.js +0 -3
  1372. package/dist/esm/utils/getCanvasDimensions/getCanvasDimensions.d.ts +0 -22
  1373. package/dist/esm/utils/getCanvasDimensions/getCanvasDimensions.d.ts.map +0 -1
  1374. package/dist/esm/utils/getChildrenAttr/getChildrenAttr.d.ts +0 -10
  1375. package/dist/esm/utils/getChildrenAttr/getChildrenAttr.d.ts.map +0 -1
  1376. package/dist/esm/utils/getCoordinates/getCoordinates.d.ts +0 -47
  1377. package/dist/esm/utils/getCoordinates/getCoordinates.d.ts.map +0 -1
  1378. package/dist/esm/utils/getDataFingerprint/getDataFingerprint.d.ts +0 -12
  1379. package/dist/esm/utils/getDataFingerprint/getDataFingerprint.d.ts.map +0 -1
  1380. package/dist/esm/utils/getPoints/getPoints.d.ts +0 -10
  1381. package/dist/esm/utils/getPoints/getPoints.d.ts.map +0 -1
  1382. package/dist/esm/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts +0 -21
  1383. package/dist/esm/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts.map +0 -1
  1384. package/dist/esm/utils/getTicks/getTicks.d.ts +0 -35
  1385. package/dist/esm/utils/getTicks/getTicks.d.ts.map +0 -1
  1386. package/dist/esm/utils/index.d.ts +0 -11
  1387. package/dist/esm/utils/index.d.ts.map +0 -1
  1388. package/dist/esm/utils/index.js +0 -10
  1389. package/dist/esm/utils/logger/index.d.ts +0 -2
  1390. package/dist/esm/utils/logger/index.d.ts.map +0 -1
  1391. package/dist/esm/utils/logger/index.js +0 -1
  1392. package/dist/esm/utils/logger/logger.d.ts +0 -45
  1393. package/dist/esm/utils/logger/logger.d.ts.map +0 -1
  1394. package/dist/esm/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts +0 -11
  1395. package/dist/esm/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts.map +0 -1
  1396. package/dist/esm/utils/pickCustomAttributes/pickCustomAttributes.d.ts +0 -34
  1397. package/dist/esm/utils/pickCustomAttributes/pickCustomAttributes.d.ts.map +0 -1
  1398. package/dist/esm/utils/shadowSvg/shadowSvg.d.ts +0 -3
  1399. package/dist/esm/utils/shadowSvg/shadowSvg.d.ts.map +0 -1
  1400. package/dist/esm/utils/shadowSvg/shadowSvg.types.d.ts +0 -35
  1401. package/dist/esm/utils/shadowSvg/shadowSvg.types.d.ts.map +0 -1
  1402. package/dist/esm/utils/shadowSvg/shadowSvg.types.js +0 -1
  1403. package/dist/esm/utils/ssr/index.d.ts +0 -2
  1404. package/dist/esm/utils/ssr/index.d.ts.map +0 -1
  1405. package/dist/esm/utils/ssr/index.js +0 -1
  1406. package/dist/esm/utils/ssr/ssr.d.ts +0 -80
  1407. package/dist/esm/utils/ssr/ssr.d.ts.map +0 -1
  1408. package/dist/esm/utils/textBound/textBound.d.ts +0 -11
  1409. package/dist/esm/utils/textBound/textBound.d.ts.map +0 -1
  1410. package/dist/kubit-ui-web-react-charts.cjs.js +0 -1
  1411. package/dist/kubit-ui-web-react-charts.es.js +0 -1
  1412. package/dist/kubit-ui-web-react-charts.umd.js +0 -1
  1413. package/dist/react-charts.css +0 -1
@@ -1,115 +1 @@
1
- import { BarOrientation } from '../bar.type';
2
- const locateFromPosition = ({ barWidth, currentBars, extraSpacing, order, orientation, }) => {
3
- const halfWidth = barWidth / 2;
4
- const gap = extraSpacing / 2;
5
- const isEven = currentBars % 2 === 0;
6
- // calculate the space between the bars
7
- const ajustedSpace = isEven ? gap : gap + halfWidth;
8
- // calculate the center of the bars
9
- const center = Math.ceil(currentBars / 2);
10
- // calculate the current position of the bar
11
- const currentPosition = order - center;
12
- // calculate the start reference based on the current position
13
- let startReference = 0;
14
- if (currentPosition === 0) {
15
- startReference = isEven ? -gap : halfWidth;
16
- }
17
- else if (currentPosition < 0) {
18
- if (orientation === BarOrientation.HORIZONTAL) {
19
- startReference = currentPosition * -ajustedSpace + barWidth;
20
- }
21
- else {
22
- startReference = currentPosition * ajustedSpace;
23
- }
24
- }
25
- else if (currentPosition > 0) {
26
- if (orientation === BarOrientation.HORIZONTAL) {
27
- startReference = currentPosition * -ajustedSpace;
28
- }
29
- else {
30
- startReference = currentPosition * ajustedSpace + barWidth;
31
- }
32
- }
33
- return startReference;
34
- };
35
- export const buildD = ({ barWidth, currentBars, endRounded = 0, extraSpacing, order, orientation, startRounded = 0, x1, x2, y1, y2, }) => {
36
- // declare the variables for the path
37
- let start, draw1, draw2, draw3;
38
- let end = 'Z';
39
- // get the reference for the start of the draw
40
- const startReference = locateFromPosition({
41
- barWidth,
42
- currentBars,
43
- extraSpacing,
44
- order,
45
- orientation,
46
- });
47
- /**
48
- * M = moove to (x, y)
49
- * L = line to (x, y)
50
- * Q = quadratic curve to (x curve deep, y curve deep), (end draw x, end draw y)
51
- */
52
- if (orientation === BarOrientation.HORIZONTAL) {
53
- // calculate the start and end of the quadratic curve in horizontal orientation
54
- const modifyXStart = x1 + startRounded;
55
- const modifyXEnd = x2 - endRounded;
56
- if (startRounded && endRounded) {
57
- start = `M ${modifyXStart},${y1 + startReference}`;
58
- draw1 = `L${modifyXEnd},${y2 + startReference}`;
59
- draw2 = `Q${x2 + endRounded} ${y2 + startReference - barWidth / 2}, ${modifyXEnd} ${y2 + startReference - barWidth}`;
60
- draw3 = `L${modifyXStart},${y1 + startReference - barWidth}`;
61
- end = `Q${x1 - startRounded} ${y1 + startReference - barWidth / 2}, ${modifyXStart} ${y1 + startReference}`;
62
- }
63
- else if (startRounded) {
64
- start = `M ${modifyXStart},${y1 + startReference}`;
65
- draw1 = `L${x2},${y2 + startReference}`;
66
- draw2 = `L${x2},${y2 + startReference - barWidth}`;
67
- draw3 = `L${modifyXStart},${y1 + startReference - barWidth}`;
68
- end = `Q${x1 - startRounded} ${y1 + startReference - barWidth / 2}, ${modifyXStart} ${y1 + startReference}`;
69
- }
70
- else if (endRounded) {
71
- start = `M${x1},${y1 + startReference}`;
72
- draw1 = `L${modifyXEnd},${y2 + startReference}`;
73
- draw2 = `Q${x2 + endRounded} ${y2 + startReference - barWidth / 2}, ${modifyXEnd} ${y2 + startReference - barWidth}`;
74
- draw3 = `L${x1},${y1 + startReference - barWidth}`;
75
- }
76
- else {
77
- start = `M${x1},${y1 + startReference}`;
78
- draw1 = `L${x2},${y2 + startReference}`;
79
- draw2 = `L${x2},${y2 + startReference - barWidth}`;
80
- draw3 = `L${x1},${y1 + startReference - barWidth}`;
81
- }
82
- }
83
- else {
84
- // calculate the start and end of the quadratic curve in vertical orientation
85
- const modifyYStart = y1 - startRounded;
86
- const modifyYEnd = y2 + endRounded;
87
- if (startRounded && endRounded) {
88
- start = `M${x1 + startReference}, ${modifyYStart}`;
89
- draw1 = `L${x2 + startReference},${modifyYEnd}`;
90
- draw2 = `Q${x2 + startReference - barWidth / 2} ${y2 - endRounded}, ${x2 + startReference - barWidth} ${modifyYEnd}`;
91
- draw3 = `L${x1 + startReference - barWidth},${modifyYStart}`;
92
- end = `Q${x1 + startReference - barWidth / 2} ${y1 + startRounded}, ${x1 + startReference} ${modifyYStart}`;
93
- }
94
- else if (startRounded) {
95
- start = `M${x1 + startReference}, ${modifyYStart}`;
96
- draw1 = `L${x2 + startReference},${y2}`;
97
- draw2 = `L${x2 + startReference - barWidth},${y2}`;
98
- draw3 = `L${x1 + startReference - barWidth},${modifyYStart}`;
99
- end = `Q${x1 + startReference - barWidth / 2} ${y1 + startRounded}, ${x1 + startReference} ${modifyYStart}`;
100
- }
101
- else if (endRounded) {
102
- start = `M${x1 + startReference},${y1}`;
103
- draw1 = `L${x2 + startReference},${modifyYEnd}`;
104
- draw2 = `Q${x2 + startReference - barWidth / 2} ${y2 - endRounded}, ${x2 + startReference - barWidth} ${modifyYEnd}`;
105
- draw3 = `L${x2 + startReference - barWidth},${y1}`;
106
- }
107
- else {
108
- start = `M${x1 + startReference},${y1}`;
109
- draw1 = `L${x2 + startReference},${y2}`;
110
- draw2 = `L${x2 + startReference - barWidth},${y2}`;
111
- draw3 = `L${x1 + startReference - barWidth},${y1}`;
112
- }
113
- }
114
- return `${start} ${draw1} ${draw2} ${draw3} ${end}`;
115
- };
1
+ const e=require(`../bar.type.js`);var t=({barWidth:t,currentBars:n,extraSpacing:r,order:i,orientation:a})=>{let o=t/2,s=r/2,c=n%2==0,l=c?s:s+o,u=i-Math.ceil(n/2),d=0;return u===0?d=c?-s:o:u<0?d=a===e.BarOrientation.HORIZONTAL?u*-l+t:u*l:u>0&&(d=a===e.BarOrientation.HORIZONTAL?u*-l:u*l+t),d};exports.buildD=({barWidth:n,currentBars:r,endRounded:i=0,extraSpacing:a,order:o,orientation:s,startRounded:c=0,x1:l,x2:u,y1:d,y2:f})=>{let p,m,h,g,_=`Z`,v=t({barWidth:n,currentBars:r,extraSpacing:a,order:o,orientation:s});if(s===e.BarOrientation.HORIZONTAL){let e=l+c,t=u-i;c&&i?(p=`M ${e},${d+v}`,m=`L${t},${f+v}`,h=`Q${u+i} ${f+v-n/2}, ${t} ${f+v-n}`,g=`L${e},${d+v-n}`,_=`Q${l-c} ${d+v-n/2}, ${e} ${d+v}`):c?(p=`M ${e},${d+v}`,m=`L${u},${f+v}`,h=`L${u},${f+v-n}`,g=`L${e},${d+v-n}`,_=`Q${l-c} ${d+v-n/2}, ${e} ${d+v}`):i?(p=`M${l},${d+v}`,m=`L${t},${f+v}`,h=`Q${u+i} ${f+v-n/2}, ${t} ${f+v-n}`,g=`L${l},${d+v-n}`):(p=`M${l},${d+v}`,m=`L${u},${f+v}`,h=`L${u},${f+v-n}`,g=`L${l},${d+v-n}`)}else{let e=d-c,t=f+i;c&&i?(p=`M${l+v}, ${e}`,m=`L${u+v},${t}`,h=`Q${u+v-n/2} ${f-i}, ${u+v-n} ${t}`,g=`L${l+v-n},${e}`,_=`Q${l+v-n/2} ${d+c}, ${l+v} ${e}`):c?(p=`M${l+v}, ${e}`,m=`L${u+v},${f}`,h=`L${u+v-n},${f}`,g=`L${l+v-n},${e}`,_=`Q${l+v-n/2} ${d+c}, ${l+v} ${e}`):i?(p=`M${l+v},${d}`,m=`L${u+v},${t}`,h=`Q${u+v-n/2} ${f-i}, ${u+v-n} ${t}`,g=`L${u+v-n},${d}`):(p=`M${l+v},${d}`,m=`L${u+v},${f}`,h=`L${u+v-n},${f}`,g=`L${l+v-n},${d}`)}return`${p} ${m} ${h} ${g} ${_}`};
@@ -1,31 +1 @@
1
- import { BarOrientation } from '../bar.type';
2
- const transformCoverage = (coveragePercent, maxValue) => {
3
- return (coveragePercent / 100) * maxValue;
4
- };
5
- const ajustedGap = (positive, value, gap) => {
6
- return positive ? value + gap / 2 : value - gap / 2;
7
- };
8
- export const getSegments = ({ barConfig, orientation, x1, x2, y1, y2, }) => {
9
- const { gap = 0, singleConfig } = barConfig;
10
- const isHorizontal = orientation === BarOrientation.HORIZONTAL;
11
- // the start of the bar based on the orientation
12
- const barStart = isHorizontal ? x1 : y1;
13
- // the end of the bar based on the orientation
14
- const barEnd = isHorizontal ? x2 : y2;
15
- // ajusted type based on the values of the start and end
16
- const ajustedType = {
17
- end: barEnd < barStart,
18
- start: barEnd > barStart,
19
- };
20
- return singleConfig.reduce((acc, single, idx) => {
21
- const { coverage: coveragePercent } = single;
22
- // calculate the coverage based on the percentage and the bar size
23
- const coverage = transformCoverage(coveragePercent, barEnd - barStart);
24
- // if the index is 0, the start is the barStart, otherwise it's the end of the previous segment
25
- const start = idx === 0 ? barStart : ajustedGap(ajustedType.start, acc[idx - 1][1], gap);
26
- // if the index is the last, the end is the barEnd, otherwise it's the start + coverage
27
- const end = idx + 1 === singleConfig.length ? barEnd : ajustedGap(ajustedType.end, start + coverage, gap);
28
- acc.push([start, end]);
29
- return acc;
30
- }, []);
31
- };
1
+ const e=require(`../bar.type.js`);var t=(e,t)=>e/100*t,n=(e,t,n)=>e?t+n/2:t-n/2;exports.getSegments=({barConfig:r,orientation:i,x1:a,x2:o,y1:s,y2:c})=>{let{gap:l=0,singleConfig:u}=r,d=i===e.BarOrientation.HORIZONTAL,f=d?a:s,p=d?o:c,m={end:p<f,start:p>f};return u.reduce((e,r,i)=>{let{coverage:a}=r,o=t(a,p-f),s=i===0?f:n(m.start,e[i-1][1],l),c=i+1===u.length?p:n(m.end,s+o,l);return e.push([s,c]),e},[])};
@@ -1,18 +1 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /**
3
- * Functional component for rendering SVG text elements in React.
4
- *
5
- * This component abstracts the `<text>` SVG element, providing a convenient interface for rendering text within SVGs
6
- * using React. It accepts all standard SVG text attributes via `ChartTextProps`, along with additional React-specific
7
- * properties such as `className` and `tabIndex`. The component's children are expected to be the text content to be
8
- * rendered.
9
- *
10
- * @param {ChartTextProps} props - The properties for the text component.
11
- * @param {string} [props.className='circle'] - Optional. CSS class name for the text element. Defaults to 'circle'.
12
- * @param {number} [props.tabIndex=-1] - Optional. Specifies the tab order of the element. Defaults to -1, which means the element is not focusable.
13
- * @param {React.ReactNode} props.children - The text content to be rendered within the `<text>` element.
14
- * @returns {React.ReactElement} A React element representing the SVG text.
15
- */
16
- export const ChartText = ({ children, className = 'circle', ...props }) => {
17
- return (_jsx("text", { className: className, ...props, children: children }));
18
- };
1
+ let e=require(`react/jsx-runtime`);exports.ChartText=({children:t,className:n=`circle`,...r})=>(0,e.jsx)(`text`,{className:n,...r,children:t});
@@ -1,37 +1 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { cloneElement, useRef } from 'react';
3
- import { useFocusRingData } from '../hooks/useFocusRingData';
4
- import { composeRefs } from '../utils/composeRefs';
5
- import { FocusRingRenderer } from './FocusRingRenderer';
6
- /**
7
- * FocusRing component for inline mode (children).
8
- * Wraps the element and renders focus ring inline with automatic z-order.
9
- *
10
- * This component:
11
- * - Clones the children element and attaches a ref to it
12
- * - Detects element bounds on mount and when focus state changes
13
- * - Renders the focus ring BEFORE the element (proper z-order)
14
- * - Handles both adaptive and bounding-box variants
15
- * - Preserves any existing ref the children might have
16
- *
17
- * @param props - FocusRingInlineProps
18
- * @returns JSX element with focus ring + wrapped children
19
- */
20
- export const FocusRingInline = ({ children, dataTestId = 'focus-ring', disabled = false, focusConfig, isFocused, }) => {
21
- // Create ref for the SVG graphics element
22
- const childrenRef = useRef(null);
23
- const { layers } = useFocusRingData({
24
- elementRef: childrenRef,
25
- focusConfig,
26
- isFocused,
27
- });
28
- // Extract the ref from children safely
29
- // Children might have a ref attached, we need to preserve it while adding our own
30
- const childrenWithRef = children;
31
- const combinedRef = composeRefs(childrenRef, childrenWithRef.ref);
32
- // Clone children and add ref (but NOT event handlers - parent manages those)
33
- const wrappedChildren = cloneElement(children, {
34
- ref: combinedRef,
35
- });
36
- return (_jsxs(_Fragment, { children: [isFocused && !disabled && (_jsx(FocusRingRenderer, { dataTestId: dataTestId, layers: layers ?? undefined })), wrappedChildren] }));
37
- };
1
+ const e=require(`../hooks/useFocusRingData.js`),t=require(`../utils/composeRefs.js`),n=require(`./FocusRingRenderer.js`);let r=require(`react`),i=require(`react/jsx-runtime`);exports.FocusRingInline=({children:a,dataTestId:o=`focus-ring`,disabled:s=!1,focusConfig:c,isFocused:l})=>{let u=(0,r.useRef)(null),{layers:d}=e.useFocusRingData({elementRef:u,focusConfig:c,isFocused:l}),f=(0,r.cloneElement)(a,{ref:t.composeRefs(u,a.ref)});return(0,i.jsxs)(i.Fragment,{children:[l&&!s&&(0,i.jsx)(n.FocusRingRenderer,{dataTestId:o,layers:d??void 0}),f]})};
@@ -1,25 +1 @@
1
- import { jsxs as _jsxs } from "react/jsx-runtime";
2
- import { createElement } from 'react';
3
- /**
4
- * Internal component that renders the actual focus ring elements.
5
- * Supports both adaptive and bounding-box strategies with a unified rendering approach.
6
- *
7
- * This is a pure presentational component that receives pre-calculated FocusRingLayers
8
- * and renders the appropriate SVG elements using React.createElement.
9
- *
10
- * @param props - FocusRingRendererProps
11
- * @returns JSX element with focus ring SVG elements, or null if no valid data
12
- */
13
- export const FocusRingRenderer = ({ dataTestId, layers }) => {
14
- if (!layers) {
15
- return null;
16
- }
17
- // Unified rendering: both adaptive and bounding-box use the same structure
18
- return (_jsxs("g", { className: "focus-ring-container", pointerEvents: "none", children: [createElement(layers.outerRing.type, {
19
- ...layers.outerRing.props,
20
- 'data-testid': `${dataTestId}-focus-outer`,
21
- }), createElement(layers.innerRing.type, {
22
- ...layers.innerRing.props,
23
- 'data-testid': `${dataTestId}-focus-inner`,
24
- })] }));
25
- };
1
+ let e=require(`react`),t=require(`react/jsx-runtime`);exports.FocusRingRenderer=({dataTestId:n,layers:r})=>r?(0,t.jsxs)(`g`,{className:`focus-ring-container`,pointerEvents:`none`,children:[(0,e.createElement)(r.outerRing.type,{...r.outerRing.props,"data-testid":`${n}-focus-outer`}),(0,e.createElement)(r.innerRing.type,{...r.innerRing.props,"data-testid":`${n}-focus-inner`})]}):null;
@@ -1,45 +1 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { useFocusRingData } from '../hooks/useFocusRingData';
3
- import { FocusRingRenderer } from './FocusRingRenderer';
4
- /**
5
- * FocusRing component for separate mode (targetRef).
6
- * Renders only the focus ring, allowing precise z-order control.
7
- *
8
- * This component:
9
- * - Uses a ref to the target element (does not wrap it)
10
- * - Only renders the focus ring (no children cloning)
11
- * - Allows precise z-order control by controlling where FocusRing is placed in JSX
12
- * - Handles both adaptive and bounding-box variants
13
- *
14
- * **IMPORTANT NOTE: Z-Order with Adaptive Variant**
15
- *
16
- * When using `variant: 'adaptive'` (default), the FocusRing **MUST be rendered BEFORE**
17
- * the target element in SVG document order. Otherwise, focus ring strokes will cover the element.
18
- *
19
- * @param props - FocusRingSeparateProps
20
- * @returns JSX element with only focus ring, or null if not focused/disabled
21
- *
22
- * @example
23
- * ```tsx
24
- * const ref = useRef<SVGCircleElement>(null);
25
- *
26
- * // CORRECT: FocusRing before element
27
- * <>
28
- * <FocusRingSeparate targetRef={ref} isFocused={true} />
29
- * <circle ref={ref} cx={50} cy={50} r={30} />
30
- * </>
31
- * ```
32
- */
33
- export const FocusRingSeparate = ({ dataTestId = 'focus-ring', disabled = false, focusConfig, isFocused, targetRef, }) => {
34
- const { layers } = useFocusRingData({
35
- elementRef: targetRef,
36
- focusConfig,
37
- isFocused,
38
- });
39
- // Early return if not focused or disabled
40
- if (!isFocused || disabled) {
41
- return null;
42
- }
43
- // Render focus ring with unified structure
44
- return _jsx(FocusRingRenderer, { dataTestId: dataTestId, layers: layers });
45
- };
1
+ const e=require(`../hooks/useFocusRingData.js`),t=require(`./FocusRingRenderer.js`);let n=require(`react/jsx-runtime`);exports.FocusRingSeparate=({dataTestId:r=`focus-ring`,disabled:i=!1,focusConfig:a,isFocused:o,targetRef:s})=>{let{layers:c}=e.useFocusRingData({elementRef:s,focusConfig:a,isFocused:o});return!o||i?null:(0,n.jsx)(t.FocusRingRenderer,{dataTestId:r,layers:c})};
@@ -0,0 +1 @@
1
+ const e=require(`./components/FocusRingInline.js`),t=require(`./components/FocusRingSeparate.js`);;/* empty css */let n=require(`react/jsx-runtime`);exports.FocusRing=({children:r,dataTestId:i=`focus-ring`,disabled:a=!1,focusConfig:o,isFocused:s,targetRef:c})=>r?(0,n.jsx)(e.FocusRingInline,{dataTestId:i,disabled:a,focusConfig:o,isFocused:s,children:r}):c?(0,n.jsx)(t.FocusRingSeparate,{dataTestId:i,disabled:a,focusConfig:o,isFocused:s,targetRef:c}):null;
@@ -1,67 +1 @@
1
- import { useEffect, useMemo, useState } from 'react';
2
- import { getFocusConfig } from '../../../types/focusConfig.type';
3
- import { SVG_GEOMETRIC_ATTRIBUTES, createAdaptiveFocusRings, } from '../utils/createAdaptiveFocusRings';
4
- import { createBoundingBoxFocusRings } from '../utils/createBoundingBoxFocusRings';
5
- /**
6
- * Hook that handles all focus ring data calculation logic.
7
- * Separated from rendering concerns for better testability and reusability.
8
- *
9
- * This hook:
10
- * - Generates layers for both adaptive and bounding-box variants
11
- * - Both variants return the same FocusRingLayers structure
12
- * - Only calculates what's needed based on the variant
13
- * - Manages all the state and effects related to focus ring data
14
- *
15
- * @param options - Configuration options for the hook
16
- * @returns Focus ring data including resolved config and calculated layers
17
- */
18
- export function useFocusRingData({ elementRef, focusConfig, isFocused, }) {
19
- // Resolve config once at the top
20
- const resolvedConfig = useMemo(() => getFocusConfig(focusConfig), [focusConfig]);
21
- const [layers, setLayers] = useState(undefined);
22
- // Calculation happens when isFocused changes or when focus config changes
23
- // MutationObserver watches for geometric attribute changes
24
- // to automatically regenerate layers when the element moves or resizes
25
- useEffect(() => {
26
- if (!elementRef?.current || !isFocused) {
27
- setLayers(undefined);
28
- return undefined;
29
- }
30
- const element = elementRef.current;
31
- // Function to calculate focus ring layers from current DOM state
32
- const calculateRings = () => {
33
- // Strategy 1: Adaptive variant - generate layers from DOM element
34
- if (resolvedConfig.variant === 'adaptive') {
35
- const adaptiveLayers = createAdaptiveFocusRings(element, resolvedConfig);
36
- setLayers(adaptiveLayers);
37
- }
38
- // Strategy 2: Bounding-box variant - detect bounds and calculate layers
39
- if (resolvedConfig.variant === 'bounding-box') {
40
- const boundingBoxLayers = createBoundingBoxFocusRings(element, resolvedConfig);
41
- setLayers(boundingBoxLayers);
42
- }
43
- };
44
- // Calculate layers initially
45
- calculateRings();
46
- // Set up MutationObserver to detect changes in geometric attributes
47
- // This ensures focus ring updates automatically when the element moves or resizes
48
- const observer = new MutationObserver(mutations => {
49
- const hasGeometricChanges = mutations.some(mutation => mutation.type === 'attributes' &&
50
- SVG_GEOMETRIC_ATTRIBUTES.includes(mutation.attributeName ?? ''));
51
- if (hasGeometricChanges) {
52
- // Recalculate focus rings on relevant attribute changes
53
- calculateRings();
54
- }
55
- });
56
- // Observe only geometric attributes that affect position and size
57
- observer.observe(element, {
58
- attributeFilter: [...SVG_GEOMETRIC_ATTRIBUTES],
59
- attributes: true,
60
- });
61
- return () => observer.disconnect();
62
- }, [isFocused, resolvedConfig]);
63
- return {
64
- layers,
65
- resolvedConfig,
66
- };
67
- }
1
+ const e=require(`../../../types/focusConfig.type.js`),t=require(`../utils/createAdaptiveFocusRings.js`),n=require(`../utils/createBoundingBoxFocusRings.js`);let r=require(`react`);function i({elementRef:i,focusConfig:a,isFocused:o}){let s=(0,r.useMemo)(()=>e.getFocusConfig(a),[a]),[c,l]=(0,r.useState)(void 0);return(0,r.useEffect)(()=>{if(!i?.current||!o){l(void 0);return}let e=i.current,r=()=>{s.variant===`adaptive`&&l(t.createAdaptiveFocusRings(e,s)),s.variant===`bounding-box`&&l(n.createBoundingBoxFocusRings(e,s))};r();let a=new MutationObserver(e=>{e.some(e=>e.type===`attributes`&&t.SVG_GEOMETRIC_ATTRIBUTES.includes(e.attributeName??``))&&r()});return a.observe(e,{attributeFilter:[...t.SVG_GEOMETRIC_ATTRIBUTES],attributes:!0}),()=>a.disconnect()},[o,s]),{layers:c,resolvedConfig:s}}exports.useFocusRingData=i;
@@ -1,16 +1 @@
1
- /**
2
- * Composes multiple refs into a single ref callback
3
- * Allows using both internal and external refs simultaneously
4
- */
5
- export function composeRefs(...refs) {
6
- return (instance) => {
7
- refs.forEach(ref => {
8
- if (typeof ref === 'function') {
9
- ref(instance);
10
- }
11
- else if (ref) {
12
- ref.current = instance;
13
- }
14
- });
15
- };
16
- }
1
+ function e(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e&&(e.current=t)})}}exports.composeRefs=e;
@@ -1,141 +1 @@
1
- /**
2
- * SVG geometric attributes that define shape position and dimensions.
3
- * These attributes are extracted from the original element to create focus rings.
4
- * Also used by MutationObserver to detect when focus rings need to be regenerated.
5
- */
6
- export const SVG_GEOMETRIC_ATTRIBUTES = [
7
- // Circle attributes
8
- 'cx',
9
- 'cy',
10
- 'r',
11
- // Rectangle and general positioning attributes
12
- 'x',
13
- 'y',
14
- 'width',
15
- 'height',
16
- // Ellipse attributes (cx, cy already included)
17
- 'rx',
18
- 'ry',
19
- // Path attributes
20
- 'd',
21
- // Polygon and polyline attributes
22
- 'points',
23
- // Line attributes
24
- 'x1',
25
- 'y1',
26
- 'x2',
27
- 'y2',
28
- ];
29
- /**
30
- * SVG presentation attributes that affect stroke appearance.
31
- * These are preserved for focus rings when they match the original element's style.
32
- */
33
- const SVG_STROKE_ATTRIBUTES = [
34
- 'stroke-dasharray',
35
- 'stroke-dashoffset',
36
- 'stroke-linecap',
37
- 'stroke-linejoin',
38
- 'stroke-miterlimit',
39
- 'stroke-opacity',
40
- ];
41
- /**
42
- * SVG element types that support adaptive focus rings.
43
- * These are geometric shapes that can be properly outlined with focus rings.
44
- */
45
- const SUPPORTED_SVG_TYPES = ['circle', 'rect', 'ellipse', 'path', 'polygon', 'polyline', 'line'];
46
- /**
47
- * Creates adaptive focus ring layers from a DOM SVGElement.
48
- *
49
- * This function reads properties directly from the DOM element and creates
50
- * props objects for rendering new SVG elements with scaled stroke-width for the focus rings.
51
- * The focus rings adapt to the exact shape of the element (circle → circle, path → path, etc.)
52
- *
53
- * This unified approach works for both targetRef and children modes by
54
- * reading from the mounted DOM element.
55
- *
56
- * @param element - The SVG graphics element to create focus rings for
57
- * @param focusConfig - Focus ring configuration (colors, widths, gap)
58
- * @returns Focus ring layers (outer and inner props) or null if not supported
59
- */
60
- export function createAdaptiveFocusRings(element, focusConfig) {
61
- const elementType = element.tagName.toLowerCase();
62
- // Validate that we have a valid SVG element
63
- if (!SUPPORTED_SVG_TYPES.includes(elementType)) {
64
- return undefined;
65
- }
66
- // Read original stroke width from DOM
67
- const strokeWidthAttr = element.getAttribute('stroke-width') || element.getAttribute('strokeWidth');
68
- const originalStrokeWidth = parseFloat(strokeWidthAttr || '0');
69
- // Read fill attribute to detect open lines
70
- const fillAttr = element.getAttribute('fill');
71
- const isOpenLine = elementType === 'line' ||
72
- elementType === 'polyline' ||
73
- (elementType === 'path' && fillAttr === 'none');
74
- // Calculate stroke widths for focus rings
75
- // IMPORTANT: For ALL shapes, we need to account for the original stroke width
76
- // so that focus rings appear OUTSIDE the element's stroke, not covered by it
77
- const outerStrokeWidth = originalStrokeWidth + (focusConfig.outlineStrokeWidth + focusConfig.innerStrokeWidth) * 2;
78
- const innerStrokeWidth = originalStrokeWidth + focusConfig.innerStrokeWidth * 2;
79
- // Read stroke line props for open lines
80
- const strokeLinecap = isOpenLine ? element.getAttribute('stroke-linecap') || 'round' : undefined;
81
- const strokeLinejoin = isOpenLine ? element.getAttribute('stroke-linejoin') || 'round' : 'miter';
82
- const strokeMiterlimit = isOpenLine ? undefined : '10';
83
- // Extract relevant attributes from the DOM element
84
- // This automatically preserves all geometric attributes (cx, cy, r, x, y, width, height, d, points, etc.)
85
- const allAttributes = extractRelevantAttributes(element);
86
- // The renderer will create the React elements and add data-testid
87
- return {
88
- innerRing: {
89
- props: {
90
- ...allAttributes,
91
- className: 'focus-ring-inner',
92
- fill: 'none',
93
- stroke: focusConfig.innerColor,
94
- strokeLinecap,
95
- strokeLinejoin,
96
- strokeMiterlimit,
97
- strokeWidth: innerStrokeWidth,
98
- },
99
- type: elementType,
100
- },
101
- outerRing: {
102
- props: {
103
- ...allAttributes,
104
- className: 'focus-ring-outer',
105
- fill: 'none',
106
- stroke: focusConfig.outlineColor,
107
- strokeLinecap,
108
- strokeLinejoin,
109
- strokeMiterlimit,
110
- strokeWidth: outerStrokeWidth,
111
- },
112
- type: elementType,
113
- },
114
- };
115
- }
116
- /**
117
- * Extracts relevant SVG attributes from a DOM SVGElement for focus ring creation.
118
- * Uses an allowlist approach: only geometric and stroke attributes are included.
119
- * This ensures focus rings inherit the correct shape and appearance while avoiding
120
- * React-incompatible attributes or those that would cause DOM conflicts.
121
- *
122
- * @param element - The SVG element to extract attributes from
123
- * @returns Object containing only the allowed attributes
124
- */
125
- function extractRelevantAttributes(element) {
126
- const attrs = {};
127
- // Create a Set of allowed attributes for fast lookup
128
- const allowedAttributes = new Set([
129
- ...SVG_GEOMETRIC_ATTRIBUTES,
130
- ...SVG_STROKE_ATTRIBUTES,
131
- ]);
132
- // Iterate through all attributes of the element
133
- for (let i = 0; i < element.attributes.length; i++) {
134
- const attr = element.attributes[i];
135
- // Only include attributes that are in the allowlist
136
- if (allowedAttributes.has(attr.name)) {
137
- attrs[attr.name] = attr.value;
138
- }
139
- }
140
- return attrs;
141
- }
1
+ const e=[`cx`,`cy`,`r`,`x`,`y`,`width`,`height`,`rx`,`ry`,`d`,`points`,`x1`,`y1`,`x2`,`y2`];var t=[`stroke-dasharray`,`stroke-dashoffset`,`stroke-linecap`,`stroke-linejoin`,`stroke-miterlimit`,`stroke-opacity`],n=[`circle`,`rect`,`ellipse`,`path`,`polygon`,`polyline`,`line`];function r(e,t){let r=e.tagName.toLowerCase();if(!n.includes(r))return;let a=e.getAttribute(`stroke-width`)||e.getAttribute(`strokeWidth`),o=parseFloat(a||`0`),s=e.getAttribute(`fill`),c=r===`line`||r===`polyline`||r===`path`&&s===`none`,l=o+(t.outlineStrokeWidth+t.innerStrokeWidth)*2,u=o+t.innerStrokeWidth*2,d=c?e.getAttribute(`stroke-linecap`)||`round`:void 0,f=c?e.getAttribute(`stroke-linejoin`)||`round`:`miter`,p=c?void 0:`10`,m=i(e);return{innerRing:{props:{...m,className:`focus-ring-inner`,fill:`none`,stroke:t.innerColor,strokeLinecap:d,strokeLinejoin:f,strokeMiterlimit:p,strokeWidth:u},type:r},outerRing:{props:{...m,className:`focus-ring-outer`,fill:`none`,stroke:t.outlineColor,strokeLinecap:d,strokeLinejoin:f,strokeMiterlimit:p,strokeWidth:l},type:r}}}function i(n){let r={},i=new Set([...e,...t]);for(let e=0;e<n.attributes.length;e++){let t=n.attributes[e];i.has(t.name)&&(r[t.name]=t.value)}return r}exports.SVG_GEOMETRIC_ATTRIBUTES=e,exports.createAdaptiveFocusRings=r;
@@ -1,126 +1 @@
1
- /**
2
- * Calculates the dimensions of the focus outlines (outer and inner) for a bounding-box.
3
- * This function is used internally by createBoundingBoxFocusRings and always produces
4
- * rectangular focus rings.
5
- *
6
- * @param bounds - Element bounds information from DOM detection
7
- * @param config - Focus stroke configuration (widths and gap)
8
- * @returns Rectangle dimensions for outer and inner focus rings
9
- */
10
- export const calculateBoundingBoxFocusRings = (bounds, config) => {
11
- const { elementHeight, elementPosition, elementStrokeWidth, elementWidth } = bounds;
12
- const { gap, innerStrokeWidth, outlineStrokeWidth } = config;
13
- // Calculate inner rectangle dimensions
14
- // Height and width must grow on both sides to ensure the inner rectangle
15
- // is positioned correctly without gaps
16
- const innerWidth = elementWidth + elementStrokeWidth + innerStrokeWidth + gap * 2;
17
- const innerHeight = elementHeight + elementStrokeWidth + innerStrokeWidth + gap * 2;
18
- const innerX = elementPosition.x - innerWidth / 2;
19
- const innerY = elementPosition.y - innerHeight / 2;
20
- // Calculate outer rectangle dimensions
21
- // Must account for the fact that both inner and outer strokes extend outward from their borders
22
- // Inner stroke extends innerStrokeWidth/2 on each side, outer stroke extends outlineStrokeWidth/2 on each side
23
- const outerWidth = innerWidth + innerStrokeWidth + outlineStrokeWidth;
24
- const outerHeight = innerHeight + innerStrokeWidth + outlineStrokeWidth;
25
- const outerX = elementPosition.x - outerWidth / 2;
26
- const outerY = elementPosition.y - outerHeight / 2;
27
- return {
28
- inner: {
29
- height: innerHeight,
30
- width: innerWidth,
31
- x: innerX,
32
- y: innerY,
33
- },
34
- outer: {
35
- height: outerHeight,
36
- width: outerWidth,
37
- x: outerX,
38
- y: outerY,
39
- },
40
- };
41
- };
42
- /**
43
- * Helper function to detect element bounds from the DOM.
44
- * Uses getBBox() for accurate measurements including transforms.
45
- *
46
- * @param element - SVG element to detect
47
- * @returns Element bounds information or null if detection fails
48
- */
49
- function detectElementBoundsFromDOM(element) {
50
- try {
51
- const bbox = element.getBBox();
52
- if (bbox.width <= 0 || bbox.height <= 0) {
53
- return null;
54
- }
55
- const computedStyle = window.getComputedStyle(element);
56
- const strokeWidth = parseFloat(computedStyle.strokeWidth || '0');
57
- return {
58
- elementHeight: bbox.height,
59
- elementPosition: {
60
- x: bbox.x + bbox.width / 2,
61
- y: bbox.y + bbox.height / 2,
62
- },
63
- elementStrokeWidth: strokeWidth,
64
- elementWidth: bbox.width,
65
- };
66
- }
67
- catch {
68
- return null;
69
- }
70
- }
71
- /**
72
- * Creates bounding-box focus ring layers with calculated dimensions.
73
- *
74
- * This function:
75
- * 1. Detects element bounds from DOM using getBBox()
76
- * 2. Calculates geometric dimensions using calculateBoundingBoxFocusRings
77
- * 3. Wraps the result in the same FocusRingLayers structure as createAdaptiveFocusRings
78
- * 4. Includes all rendering props (colors, strokes, etc.)
79
- *
80
- * This provides a unified API for both adaptive and bounding-box strategies.
81
- *
82
- * @param element - The SVG graphics element to create focus rings for
83
- * @param focusConfig - Focus ring configuration (colors, widths, gap)
84
- * @returns Focus ring layers in the same format as createAdaptiveFocusRings, or null if detection fails
85
- */
86
- export function createBoundingBoxFocusRings(element, focusConfig) {
87
- // Detect element bounds from DOM
88
- const bounds = detectElementBoundsFromDOM(element);
89
- if (!bounds) {
90
- return undefined;
91
- }
92
- const dimensions = calculateBoundingBoxFocusRings(bounds, {
93
- gap: focusConfig.gap,
94
- innerStrokeWidth: focusConfig.innerStrokeWidth,
95
- outlineStrokeWidth: focusConfig.outlineStrokeWidth,
96
- });
97
- // The renderer will create the React elements and add data-testid
98
- return {
99
- innerRing: {
100
- props: {
101
- className: 'focus-ring-inner',
102
- fill: 'none',
103
- height: dimensions.inner.height,
104
- stroke: focusConfig.innerColor,
105
- strokeWidth: focusConfig.innerStrokeWidth,
106
- width: dimensions.inner.width,
107
- x: dimensions.inner.x,
108
- y: dimensions.inner.y,
109
- },
110
- type: 'rect',
111
- },
112
- outerRing: {
113
- props: {
114
- className: 'focus-ring-outer',
115
- fill: 'none',
116
- height: dimensions.outer.height,
117
- stroke: focusConfig.outlineColor,
118
- strokeWidth: focusConfig.outlineStrokeWidth,
119
- width: dimensions.outer.width,
120
- x: dimensions.outer.x,
121
- y: dimensions.outer.y,
122
- },
123
- type: 'rect',
124
- },
125
- };
126
- }
1
+ const e=(e,t)=>{let{elementHeight:n,elementPosition:r,elementStrokeWidth:i,elementWidth:a}=e,{gap:o,innerStrokeWidth:s,outlineStrokeWidth:c}=t,l=a+i+s+o*2,u=n+i+s+o*2,d=r.x-l/2,f=r.y-u/2,p=l+s+c,m=u+s+c,h=r.x-p/2,g=r.y-m/2;return{inner:{height:u,width:l,x:d,y:f},outer:{height:m,width:p,x:h,y:g}}};function t(e){try{let t=e.getBBox();if(t.width<=0||t.height<=0)return null;let n=window.getComputedStyle(e),r=parseFloat(n.strokeWidth||`0`);return{elementHeight:t.height,elementPosition:{x:t.x+t.width/2,y:t.y+t.height/2},elementStrokeWidth:r,elementWidth:t.width}}catch{return null}}function n(n,r){let i=t(n);if(!i)return;let a=e(i,{gap:r.gap,innerStrokeWidth:r.innerStrokeWidth,outlineStrokeWidth:r.outlineStrokeWidth});return{innerRing:{props:{className:`focus-ring-inner`,fill:`none`,height:a.inner.height,stroke:r.innerColor,strokeWidth:r.innerStrokeWidth,width:a.inner.width,x:a.inner.x,y:a.inner.y},type:`rect`},outerRing:{props:{className:`focus-ring-outer`,fill:`none`,height:a.outer.height,stroke:r.outlineColor,strokeWidth:r.outlineStrokeWidth,width:a.outer.width,x:a.outer.x,y:a.outer.y},type:`rect`}}}exports.createBoundingBoxFocusRings=n;
@@ -1,4 +1 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- export const ForeignObject = ({ children, dataTestId, height, width, x, y, }) => {
3
- return (_jsx("foreignObject", { "data-testid": dataTestId, height: height, width: width, x: x, y: y, children: children }));
4
- };
1
+ let e=require(`react/jsx-runtime`);exports.ForeignObject=({children:t,dataTestId:n,height:r,width:i,x:a,y:o})=>(0,e.jsx)(`foreignObject`,{"data-testid":n,height:r,width:i,x:a,y:o,children:t});