@kubit-ui-web/react-charts 1.11.5 → 1.11.6

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 (1069) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +12 -18
  3. package/dist/cjs/assets/index.js +1 -0
  4. package/dist/cjs/charts/barChart/barChart.js +1 -1
  5. package/dist/cjs/charts/barChart/barChart.type.js +1 -0
  6. package/dist/cjs/charts/barChart/barChartStructure.js +1 -1
  7. package/dist/cjs/charts/barChart/context/barChartContext.js +1 -1
  8. package/dist/cjs/charts/barChart/context/buildBarContextValues.js +1 -1
  9. package/dist/cjs/charts/barChart/fragments/barChartPath.js +1 -1
  10. package/dist/cjs/charts/barChart/fragments/barChartSeparator.js +1 -1
  11. package/dist/cjs/charts/barChart/fragments/barChartXAxis.js +1 -1
  12. package/dist/cjs/charts/barChart/fragments/barChartYAxis.js +1 -1
  13. package/dist/cjs/charts/barChart/fragments/fixture/barContextData.js +1 -0
  14. package/dist/cjs/charts/barChart/fragments/fixture/index.js +1 -0
  15. package/dist/cjs/charts/barChart/index.js +1 -1
  16. package/dist/cjs/charts/barChart/utils/countBarChildren.js +1 -1
  17. package/dist/cjs/charts/barChart/utils/getAxisExtraSpacing.js +2 -1
  18. package/dist/cjs/charts/barChart/utils/getAxisExtraSpacing.js.LICENSE.txt +1 -0
  19. package/dist/cjs/charts/barChart/utils/getBarDataValue.js +1 -1
  20. package/dist/cjs/charts/barChart/utils/getRoundedBarMaxValue.js +1 -1
  21. package/dist/cjs/charts/constants/chartDefaults.js +1 -1
  22. package/dist/cjs/charts/customBackgroundChart/context/customBackgroundChartContext.js +1 -1
  23. package/dist/cjs/charts/customBackgroundChart/context/index.js +1 -0
  24. package/dist/cjs/charts/customBackgroundChart/customBackgroundChart.js +1 -1
  25. package/dist/cjs/charts/customBackgroundChart/customBackgroundChart.type.js +1 -0
  26. package/dist/cjs/charts/customBackgroundChart/customBackgroundChartStructure.js +1 -1
  27. package/dist/cjs/charts/customBackgroundChart/fragments/customBackgroundChartPlot.js +1 -1
  28. package/dist/cjs/charts/customBackgroundChart/fragments/index.js +1 -0
  29. package/dist/cjs/charts/customBackgroundChart/index.js +1 -1
  30. package/dist/cjs/charts/customBackgroundChart/utils/accessibility.js +1 -1
  31. package/dist/cjs/charts/index.js +1 -0
  32. package/dist/cjs/charts/lineChart/context/buildLineContextValue.js +1 -1
  33. package/dist/cjs/charts/lineChart/context/index.js +1 -0
  34. package/dist/cjs/charts/lineChart/context/lineChartContext.js +1 -1
  35. package/dist/cjs/charts/lineChart/fragments/fixture/contextData.js +1 -0
  36. package/dist/cjs/charts/lineChart/fragments/fixture/index.js +1 -0
  37. package/dist/cjs/charts/lineChart/fragments/index.js +1 -0
  38. package/dist/cjs/charts/lineChart/fragments/lineChartPath.css +1 -0
  39. package/dist/cjs/charts/lineChart/fragments/lineChartPath.js +1 -0
  40. package/dist/cjs/charts/lineChart/fragments/lineChartProjection.js +1 -1
  41. package/dist/cjs/charts/lineChart/fragments/lineChartSeparator.js +1 -1
  42. package/dist/cjs/charts/lineChart/fragments/lineChartXAxis.js +1 -1
  43. package/dist/cjs/charts/lineChart/fragments/lineChartYAxis.js +1 -1
  44. package/dist/cjs/charts/lineChart/hook/index.js +1 -0
  45. package/dist/cjs/charts/lineChart/hook/useAutoClick.js +1 -1
  46. package/dist/cjs/charts/lineChart/hook/useHover.js +1 -1
  47. package/dist/cjs/charts/lineChart/hook/useIndicator.js +1 -1
  48. package/dist/cjs/charts/lineChart/index.js +1 -1
  49. package/dist/cjs/charts/lineChart/lineChart.js +1 -1
  50. package/dist/cjs/charts/lineChart/lineChart.type.js +1 -0
  51. package/dist/cjs/charts/lineChart/lineChartStructure.js +1 -1
  52. package/dist/cjs/charts/lineChart/utils/accessibilityTemplateProcessor.js +1 -1
  53. package/dist/cjs/charts/lineChart/utils/findSurroundingNumber.js +1 -1
  54. package/dist/cjs/charts/lineChart/utils/getCoordinates.js +1 -1
  55. package/dist/cjs/charts/lineChart/utils/getDataValues.js +1 -1
  56. package/dist/cjs/charts/lineChart/utils/getExtraSpacing.js +1 -1
  57. package/dist/cjs/charts/lineChart/utils/getPathData.js +1 -1
  58. package/dist/cjs/charts/lineChart/utils/getProjection.js +1 -1
  59. package/dist/cjs/charts/lineChart/utils/getRoundedMaxValue.js +1 -1
  60. package/dist/cjs/charts/lineChart/utils/getTicks.js +1 -1
  61. package/dist/cjs/charts/lineChart/utils/handleNodesFocus.js +1 -1
  62. package/dist/cjs/charts/lineChart/utils/index.js +1 -0
  63. package/dist/cjs/charts/lineChart/utils/tickTextPosition.js +1 -1
  64. package/dist/cjs/charts/lineChart/utils/validations.js +1 -1
  65. package/dist/cjs/charts/pieChart/context/buildPieContextValue.js +1 -1
  66. package/dist/cjs/charts/pieChart/context/index.js +1 -0
  67. package/dist/cjs/charts/pieChart/context/pieChartContext.js +1 -1
  68. package/dist/cjs/charts/pieChart/fragments/index.js +1 -0
  69. package/dist/cjs/charts/pieChart/fragments/pieChartForeign.js +1 -1
  70. package/dist/cjs/charts/pieChart/fragments/pieChartPath.js +1 -1
  71. package/dist/cjs/charts/pieChart/fragments/pieChartSegment.js +1 -1
  72. package/dist/cjs/charts/pieChart/index.js +1 -1
  73. package/dist/cjs/charts/pieChart/pieChart.js +1 -1
  74. package/dist/cjs/charts/pieChart/pieChart.type.js +1 -0
  75. package/dist/cjs/charts/pieChart/pieChartStructure.js +1 -1
  76. package/dist/cjs/charts/pieChart/utils/accessibility.js +1 -1
  77. package/dist/cjs/charts/pieChart/utils/buildL.js +1 -1
  78. package/dist/cjs/charts/pieChart/utils/calculatePoint.js +1 -1
  79. package/dist/cjs/charts/pieChart/utils/calculateSegmentPath.js +1 -1
  80. package/dist/cjs/charts/pieChart/utils/drawSegmentPath.js +1 -1
  81. package/dist/cjs/charts/pieChart/utils/index.js +1 -0
  82. package/dist/cjs/charts/pieChart/utils/rotationDirection.js +1 -1
  83. package/dist/cjs/components/axisChart/index.js +1 -0
  84. package/dist/cjs/components/axisChart/utils/filterLineProps/filterLineProps.js +1 -1
  85. package/dist/cjs/components/axisChart/utils/index.js +1 -0
  86. package/dist/cjs/components/axisChart/xAxis/index.js +1 -0
  87. package/dist/cjs/components/axisChart/xAxis/xAxis.js +1 -1
  88. package/dist/cjs/components/axisChart/xAxis/xAxis.types.js +1 -0
  89. package/dist/cjs/components/axisChart/yAxis/index.js +1 -0
  90. package/dist/cjs/components/axisChart/yAxis/yAxis.js +1 -1
  91. package/dist/cjs/components/axisChart/yAxis/yAxis.types.js +1 -0
  92. package/dist/cjs/components/bar/bar.js +1 -1
  93. package/dist/cjs/components/bar/bar.type.js +1 -1
  94. package/dist/cjs/components/bar/index.js +1 -0
  95. package/dist/cjs/components/bar/utils/accessibility.js +1 -1
  96. package/dist/cjs/components/bar/utils/buildD.js +1 -1
  97. package/dist/cjs/components/bar/utils/getSegments.js +1 -1
  98. package/dist/cjs/components/chartText/chartText.js +1 -1
  99. package/dist/cjs/components/chartText/chartText.types.js +1 -0
  100. package/dist/cjs/components/chartText/index.js +1 -0
  101. package/dist/cjs/components/focusRing/components/FocusRingInline.js +1 -1
  102. package/dist/cjs/components/focusRing/components/FocusRingRenderer.js +1 -1
  103. package/dist/cjs/components/focusRing/components/FocusRingSeparate.js +1 -1
  104. package/dist/cjs/components/focusRing/focusRing.css +1 -0
  105. package/dist/cjs/components/focusRing/focusRing.js +1 -0
  106. package/dist/cjs/components/focusRing/focusRing.types.js +1 -0
  107. package/dist/cjs/components/focusRing/hooks/useFocusRingData.js +1 -1
  108. package/dist/cjs/components/focusRing/index.js +1 -0
  109. package/dist/cjs/components/focusRing/utils/composeRefs.js +1 -1
  110. package/dist/cjs/components/focusRing/utils/createAdaptiveFocusRings.js +1 -1
  111. package/dist/cjs/components/focusRing/utils/createBoundingBoxFocusRings.js +1 -1
  112. package/dist/cjs/components/focusRing/utils/utils.types.js +1 -0
  113. package/dist/cjs/components/foreignObject/foreignObject.js +1 -1
  114. package/dist/cjs/components/foreignObject/foreignObject.types.js +1 -0
  115. package/dist/cjs/components/foreignObject/index.js +1 -0
  116. package/dist/cjs/components/index.js +1 -0
  117. package/dist/cjs/components/line/index.js +1 -0
  118. package/dist/cjs/components/line/line.js +1 -1
  119. package/dist/cjs/components/line/line.types.js +1 -0
  120. package/dist/cjs/components/node/components/circle/circle.js +1 -1
  121. package/dist/cjs/components/node/components/hexagon/hexagon.js +1 -1
  122. package/dist/cjs/components/node/components/index.js +1 -0
  123. package/dist/cjs/components/node/components/pentagon/pentagon.js +1 -1
  124. package/dist/cjs/components/node/components/square/square.js +1 -1
  125. package/dist/cjs/components/node/components/star/star.js +1 -1
  126. package/dist/cjs/components/node/components/straight/straight.js +1 -1
  127. package/dist/cjs/components/node/components/triangle/triangle.js +1 -1
  128. package/dist/cjs/components/node/index.js +1 -0
  129. package/dist/cjs/components/node/node.js +1 -1
  130. package/dist/cjs/components/node/node.types.js +1 -1
  131. package/dist/cjs/components/node/utils/calculateShapePoints/calculateShapePoints.js +1 -1
  132. package/dist/cjs/components/path/components/nodePath/nodePath.js +1 -1
  133. package/dist/cjs/components/path/index.js +1 -0
  134. package/dist/cjs/components/path/path.css +1 -0
  135. package/dist/cjs/components/path/path.js +1 -0
  136. package/dist/cjs/components/path/path.types.js +1 -0
  137. package/dist/cjs/components/plot/components/circle/circle.js +1 -1
  138. package/dist/cjs/components/plot/components/index.js +1 -0
  139. package/dist/cjs/components/plot/components/square/square.js +1 -1
  140. package/dist/cjs/components/plot/components/triangle/triangle.js +1 -1
  141. package/dist/cjs/components/plot/index.js +1 -0
  142. package/dist/cjs/components/plot/plot.css +1 -0
  143. package/dist/cjs/components/plot/plot.js +1 -0
  144. package/dist/cjs/components/plot/plot.types.js +1 -1
  145. package/dist/cjs/components/svgContainer/index.js +1 -0
  146. package/dist/cjs/components/svgContainer/svgContainer.js +1 -1
  147. package/dist/cjs/components/svgContainer/svgContainer.types.js +1 -0
  148. package/dist/cjs/components/svgContainer/utils/buildViewBox/buildViewBox.js +1 -1
  149. package/dist/cjs/components/svgContainer/utils/index.js +1 -0
  150. package/dist/cjs/components/tick/index.js +1 -0
  151. package/dist/cjs/components/tick/tick.js +1 -1
  152. package/dist/cjs/components/tick/tick.types.js +1 -1
  153. package/dist/cjs/components/zoomArea/components/HandlerIcon.js +1 -1
  154. package/dist/cjs/components/zoomArea/components/LineRenderer.js +1 -1
  155. package/dist/cjs/components/zoomArea/components/SelectionArea.js +1 -1
  156. package/dist/cjs/components/zoomArea/components/ZoomHandler.js +1 -1
  157. package/dist/cjs/components/zoomArea/components/index.js +1 -0
  158. package/dist/cjs/components/zoomArea/hooks/index.js +1 -0
  159. package/dist/cjs/components/zoomArea/hooks/useDragInteraction.js +1 -1
  160. package/dist/cjs/components/zoomArea/hooks/useKeyboardNavigation.js +1 -1
  161. package/dist/cjs/components/zoomArea/hooks/useZoomAreaFocus.js +1 -1
  162. package/dist/cjs/components/zoomArea/hooks/useZoomData.js +1 -1
  163. package/dist/cjs/components/zoomArea/index.js +1 -0
  164. package/dist/cjs/components/zoomArea/utils/accessibilityLabels.js +1 -1
  165. package/dist/cjs/components/zoomArea/utils/index.js +1 -0
  166. package/dist/cjs/components/zoomArea/utils/indexRounding.js +1 -1
  167. package/dist/cjs/components/zoomArea/utils/interactionConfig.js +1 -1
  168. package/dist/cjs/components/zoomArea/utils/pathGeneration.js +1 -1
  169. package/dist/cjs/components/zoomArea/utils/rangeAndPositions.js +1 -1
  170. package/dist/cjs/components/zoomArea/utils/selectionConfig.js +1 -1
  171. package/dist/cjs/components/zoomArea/zoomArea.js +1 -1
  172. package/dist/cjs/components/zoomArea/zoomArea.type.js +1 -1
  173. package/dist/cjs/hooks/index.js +1 -0
  174. package/dist/cjs/hooks/useFocus/useFocus.js +1 -1
  175. package/dist/cjs/hooks/useFocus/useFocus.types.js +1 -0
  176. package/dist/cjs/hooks/useHover/useHover.js +1 -1
  177. package/dist/cjs/hooks/useHover/useHover.types.js +1 -0
  178. package/dist/cjs/hooks/useId/index.js +1 -0
  179. package/dist/cjs/hooks/useId/useId.js +1 -1
  180. package/dist/cjs/hooks/useResponsiveCanvas/index.js +1 -0
  181. package/dist/cjs/hooks/useResponsiveCanvas/useResponsiveCanvas.js +1 -1
  182. package/dist/cjs/index.js +1 -1
  183. package/dist/cjs/storybook/components/note/note.css +1 -0
  184. package/dist/cjs/types/canvas.type.js +1 -1
  185. package/dist/cjs/types/errors.type.js +1 -1
  186. package/dist/cjs/types/focusConfig.type.js +1 -1
  187. package/dist/cjs/types/index.js +1 -0
  188. package/dist/cjs/types/position.enum.js +1 -1
  189. package/dist/cjs/types/unit.enum.js +1 -1
  190. package/dist/cjs/types/valueFormatter.type.js +1 -0
  191. package/dist/cjs/utils/adaptLegacyFocusConfig/adaptLegacyFocusConfig.js +1 -1
  192. package/dist/cjs/utils/adaptLegacyFocusConfig/index.js +1 -0
  193. package/dist/cjs/utils/ajustedTextSpace/ajustedTextSpace.js +1 -1
  194. package/dist/cjs/utils/buildErrors/buildErrors.js +1 -1
  195. package/dist/cjs/utils/buildErrors/charts/buildBarChartErrors.js +1 -1
  196. package/dist/cjs/utils/buildErrors/charts/buildLineChartErrors.js +1 -1
  197. package/dist/cjs/utils/buildErrors/charts/buildPieChartErrors.js +1 -1
  198. package/dist/cjs/utils/buildErrors/constants/errorMessages/barChartErrorMessages.js +1 -1
  199. package/dist/cjs/utils/buildErrors/constants/errorMessages/lineChartErrorMessages.js +1 -1
  200. package/dist/cjs/utils/buildErrors/constants/errorMessages/pieChartErrorMessages.js +1 -1
  201. package/dist/cjs/utils/buildErrors/constants/errors/barChartErrors.js +1 -1
  202. package/dist/cjs/utils/buildErrors/constants/errors/lineChartErrors.js +1 -1
  203. package/dist/cjs/utils/buildErrors/constants/errors/pieChartErrors.js +1 -1
  204. package/dist/cjs/utils/buildErrors/index.js +1 -0
  205. package/dist/cjs/utils/buildTickValues/buildTickValues.js +1 -1
  206. package/dist/cjs/utils/classNames/classNames.js +1 -0
  207. package/dist/cjs/utils/createErrorAccumulator/createErrorAccumulator.js +1 -1
  208. package/dist/cjs/utils/createErrorAccumulator/index.js +1 -0
  209. package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.js +1 -1
  210. package/dist/cjs/utils/cssGradientToSvg/cssGradientToSvg.types.js +1 -0
  211. package/dist/cjs/utils/cursorNear/isNear.js +1 -1
  212. package/dist/cjs/utils/getAxisData/getAxisData.js +1 -0
  213. package/dist/cjs/utils/getCanvasDimensions/getCanvasDimensions.js +1 -1
  214. package/dist/cjs/utils/getChildrenAttr/getChildrenAttr.js +1 -1
  215. package/dist/cjs/utils/getCoordinates/getCoordinates.js +1 -1
  216. package/dist/cjs/utils/getDataFingerprint/getDataFingerprint.js +1 -1
  217. package/dist/cjs/utils/getPoints/getPoints.js +1 -1
  218. package/dist/cjs/utils/getTickTextCoordinate/getTickTextCoordinates.js +1 -1
  219. package/dist/cjs/utils/getTicks/getTicks.js +1 -1
  220. package/dist/cjs/utils/index.js +1 -0
  221. package/dist/cjs/utils/logger/index.js +1 -0
  222. package/dist/cjs/utils/logger/logger.js +1 -1
  223. package/dist/cjs/utils/parseStringToNumberPx.ts/parseStringToNumberPx.js +1 -1
  224. package/dist/cjs/utils/pickCustomAttributes/pickCustomAttributes.js +1 -1
  225. package/dist/cjs/utils/shadowSvg/shadowSvg.js +1 -1
  226. package/dist/cjs/utils/shadowSvg/shadowSvg.types.js +1 -0
  227. package/dist/cjs/utils/ssr/index.js +1 -0
  228. package/dist/cjs/utils/ssr/ssr.js +1 -1
  229. package/dist/cjs/utils/textBound/textBound.js +1 -1
  230. package/dist/esm/assets/index.mjs +1 -0
  231. package/dist/esm/charts/barChart/barChart.mjs +1 -0
  232. package/dist/esm/charts/barChart/barChart.type.mjs +0 -0
  233. package/dist/esm/charts/barChart/barChartStructure.mjs +1 -0
  234. package/dist/esm/charts/barChart/context/barChartContext.mjs +1 -0
  235. package/dist/esm/charts/barChart/context/buildBarContextValues.mjs +1 -0
  236. package/dist/esm/charts/barChart/fragments/barChartPath.mjs +1 -0
  237. package/dist/esm/charts/barChart/fragments/barChartSeparator.mjs +1 -0
  238. package/dist/esm/charts/barChart/fragments/barChartXAxis.mjs +1 -0
  239. package/dist/esm/charts/barChart/fragments/barChartYAxis.mjs +1 -0
  240. package/dist/esm/charts/barChart/fragments/fixture/barContextData.mjs +1 -0
  241. package/dist/esm/charts/barChart/fragments/fixture/index.mjs +1 -0
  242. package/dist/esm/charts/barChart/index.mjs +1 -0
  243. package/dist/esm/charts/barChart/utils/countBarChildren.mjs +1 -0
  244. package/dist/esm/charts/barChart/utils/getAxisExtraSpacing.mjs +2 -0
  245. package/dist/esm/charts/barChart/utils/getAxisExtraSpacing.mjs.LICENSE.txt +1 -0
  246. package/dist/esm/charts/barChart/utils/getBarDataValue.mjs +1 -0
  247. package/dist/esm/charts/barChart/utils/getRoundedBarMaxValue.mjs +1 -0
  248. package/dist/esm/charts/constants/chartDefaults.mjs +1 -0
  249. package/dist/esm/charts/customBackgroundChart/context/customBackgroundChartContext.mjs +1 -0
  250. package/dist/esm/charts/customBackgroundChart/context/index.mjs +1 -0
  251. package/dist/esm/charts/customBackgroundChart/customBackgroundChart.mjs +1 -0
  252. package/dist/esm/charts/customBackgroundChart/customBackgroundChart.type.mjs +0 -0
  253. package/dist/esm/charts/customBackgroundChart/customBackgroundChartStructure.mjs +1 -0
  254. package/dist/esm/charts/customBackgroundChart/fragments/customBackgroundChartPlot.mjs +1 -0
  255. package/dist/esm/charts/customBackgroundChart/fragments/index.mjs +1 -0
  256. package/dist/esm/charts/customBackgroundChart/index.mjs +1 -0
  257. package/dist/esm/charts/customBackgroundChart/utils/accessibility.mjs +1 -0
  258. package/dist/esm/charts/index.mjs +1 -0
  259. package/dist/esm/charts/lineChart/context/buildLineContextValue.mjs +1 -0
  260. package/dist/esm/charts/lineChart/context/index.mjs +1 -0
  261. package/dist/esm/charts/lineChart/context/lineChartContext.mjs +1 -0
  262. package/dist/esm/charts/lineChart/fragments/fixture/contextData.mjs +1 -0
  263. package/dist/esm/charts/lineChart/fragments/fixture/index.mjs +1 -0
  264. package/dist/esm/charts/lineChart/fragments/index.mjs +1 -0
  265. package/dist/esm/charts/lineChart/fragments/lineChartPath.css +1 -0
  266. package/dist/esm/charts/lineChart/fragments/lineChartPath.mjs +1 -0
  267. package/dist/esm/charts/lineChart/fragments/lineChartProjection.mjs +1 -0
  268. package/dist/esm/charts/lineChart/fragments/lineChartSeparator.mjs +1 -0
  269. package/dist/esm/charts/lineChart/fragments/lineChartXAxis.mjs +1 -0
  270. package/dist/esm/charts/lineChart/fragments/lineChartYAxis.mjs +1 -0
  271. package/dist/esm/charts/lineChart/hook/index.mjs +1 -0
  272. package/dist/esm/charts/lineChart/hook/useAutoClick.mjs +1 -0
  273. package/dist/esm/charts/lineChart/hook/useHover.mjs +1 -0
  274. package/dist/esm/charts/lineChart/hook/useIndicator.mjs +1 -0
  275. package/dist/esm/charts/lineChart/index.mjs +1 -0
  276. package/dist/esm/charts/lineChart/lineChart.mjs +1 -0
  277. package/dist/esm/charts/lineChart/lineChart.type.mjs +0 -0
  278. package/dist/esm/charts/lineChart/lineChartStructure.mjs +1 -0
  279. package/dist/esm/charts/lineChart/utils/accessibilityTemplateProcessor.mjs +1 -0
  280. package/dist/esm/charts/lineChart/utils/findSurroundingNumber.mjs +1 -0
  281. package/dist/esm/charts/lineChart/utils/getCoordinates.mjs +1 -0
  282. package/dist/esm/charts/lineChart/utils/getDataValues.mjs +1 -0
  283. package/dist/esm/charts/lineChart/utils/getExtraSpacing.mjs +1 -0
  284. package/dist/esm/charts/lineChart/utils/getPathData.mjs +1 -0
  285. package/dist/esm/charts/lineChart/utils/getProjection.mjs +1 -0
  286. package/dist/esm/charts/lineChart/utils/getRoundedMaxValue.mjs +1 -0
  287. package/dist/esm/charts/lineChart/utils/getTicks.mjs +1 -0
  288. package/dist/esm/charts/lineChart/utils/handleNodesFocus.mjs +1 -0
  289. package/dist/esm/charts/lineChart/utils/index.mjs +1 -0
  290. package/dist/esm/charts/lineChart/utils/tickTextPosition.mjs +1 -0
  291. package/dist/esm/charts/lineChart/utils/validations.mjs +1 -0
  292. package/dist/esm/charts/pieChart/context/buildPieContextValue.mjs +1 -0
  293. package/dist/esm/charts/pieChart/context/index.mjs +1 -0
  294. package/dist/esm/charts/pieChart/context/pieChartContext.mjs +1 -0
  295. package/dist/esm/charts/pieChart/fragments/index.mjs +1 -0
  296. package/dist/esm/charts/pieChart/fragments/pieChartForeign.mjs +1 -0
  297. package/dist/esm/charts/pieChart/fragments/pieChartPath.mjs +1 -0
  298. package/dist/esm/charts/pieChart/fragments/pieChartSegment.mjs +1 -0
  299. package/dist/esm/charts/pieChart/index.mjs +1 -0
  300. package/dist/esm/charts/pieChart/pieChart.mjs +1 -0
  301. package/dist/esm/charts/pieChart/pieChart.type.mjs +0 -0
  302. package/dist/esm/charts/pieChart/pieChartStructure.mjs +1 -0
  303. package/dist/esm/charts/pieChart/utils/accessibility.mjs +1 -0
  304. package/dist/esm/charts/pieChart/utils/buildL.mjs +1 -0
  305. package/dist/esm/charts/pieChart/utils/calculatePoint.mjs +1 -0
  306. package/dist/esm/charts/pieChart/utils/calculateSegmentPath.mjs +1 -0
  307. package/dist/esm/charts/pieChart/utils/drawSegmentPath.mjs +1 -0
  308. package/dist/esm/charts/pieChart/utils/index.mjs +1 -0
  309. package/dist/esm/charts/pieChart/utils/rotationDirection.mjs +1 -0
  310. package/dist/esm/components/axisChart/index.mjs +1 -0
  311. package/dist/esm/components/axisChart/utils/filterLineProps/filterLineProps.mjs +1 -0
  312. package/dist/esm/components/axisChart/utils/index.mjs +1 -0
  313. package/dist/esm/components/axisChart/xAxis/index.mjs +1 -0
  314. package/dist/esm/components/axisChart/xAxis/xAxis.mjs +1 -0
  315. package/dist/esm/components/axisChart/xAxis/xAxis.types.mjs +0 -0
  316. package/dist/esm/components/axisChart/yAxis/index.mjs +1 -0
  317. package/dist/esm/components/axisChart/yAxis/yAxis.mjs +1 -0
  318. package/dist/esm/components/axisChart/yAxis/yAxis.types.mjs +0 -0
  319. package/dist/esm/components/bar/bar.mjs +1 -0
  320. package/dist/esm/components/bar/bar.type.mjs +1 -0
  321. package/dist/esm/components/bar/index.mjs +1 -0
  322. package/dist/esm/components/bar/utils/accessibility.mjs +1 -0
  323. package/dist/esm/components/bar/utils/buildD.mjs +1 -0
  324. package/dist/esm/components/bar/utils/getSegments.mjs +1 -0
  325. package/dist/esm/components/chartText/chartText.mjs +1 -0
  326. package/dist/esm/components/chartText/chartText.types.mjs +0 -0
  327. package/dist/esm/components/chartText/index.mjs +1 -0
  328. package/dist/esm/components/focusRing/components/FocusRingInline.mjs +1 -0
  329. package/dist/esm/components/focusRing/components/FocusRingRenderer.mjs +1 -0
  330. package/dist/esm/components/focusRing/components/FocusRingSeparate.mjs +1 -0
  331. package/dist/esm/components/focusRing/focusRing.css +1 -0
  332. package/dist/esm/components/focusRing/focusRing.mjs +1 -0
  333. package/dist/esm/components/focusRing/focusRing.types.mjs +0 -0
  334. package/dist/esm/components/focusRing/hooks/useFocusRingData.mjs +1 -0
  335. package/dist/esm/components/focusRing/index.mjs +1 -0
  336. package/dist/esm/components/focusRing/utils/composeRefs.mjs +1 -0
  337. package/dist/esm/components/focusRing/utils/createAdaptiveFocusRings.mjs +1 -0
  338. package/dist/esm/components/focusRing/utils/createBoundingBoxFocusRings.mjs +1 -0
  339. package/dist/esm/components/focusRing/utils/utils.types.mjs +0 -0
  340. package/dist/esm/components/foreignObject/foreignObject.mjs +1 -0
  341. package/dist/esm/components/foreignObject/foreignObject.types.mjs +0 -0
  342. package/dist/esm/components/foreignObject/index.mjs +1 -0
  343. package/dist/esm/components/index.mjs +1 -0
  344. package/dist/esm/components/line/index.mjs +1 -0
  345. package/dist/esm/components/line/line.mjs +1 -0
  346. package/dist/esm/components/line/line.types.mjs +0 -0
  347. package/dist/esm/components/node/components/circle/circle.mjs +1 -0
  348. package/dist/esm/components/node/components/hexagon/hexagon.mjs +1 -0
  349. package/dist/esm/components/node/components/index.mjs +0 -0
  350. package/dist/esm/components/node/components/pentagon/pentagon.mjs +1 -0
  351. package/dist/esm/components/node/components/square/square.mjs +1 -0
  352. package/dist/esm/components/node/components/star/star.mjs +1 -0
  353. package/dist/esm/components/node/components/straight/straight.mjs +1 -0
  354. package/dist/esm/components/node/components/triangle/triangle.mjs +1 -0
  355. package/dist/esm/components/node/index.mjs +1 -0
  356. package/dist/esm/components/node/node.mjs +1 -0
  357. package/dist/esm/components/node/node.types.mjs +1 -0
  358. package/dist/esm/components/node/utils/calculateShapePoints/calculateShapePoints.mjs +1 -0
  359. package/dist/esm/components/path/components/nodePath/nodePath.mjs +1 -0
  360. package/dist/esm/components/path/index.mjs +1 -0
  361. package/dist/esm/components/path/path.css +1 -0
  362. package/dist/esm/components/path/path.mjs +1 -0
  363. package/dist/esm/components/path/path.types.mjs +0 -0
  364. package/dist/esm/components/plot/components/circle/circle.mjs +1 -0
  365. package/dist/esm/components/plot/components/index.mjs +1 -0
  366. package/dist/esm/components/plot/components/square/square.mjs +1 -0
  367. package/dist/esm/components/plot/components/triangle/triangle.mjs +1 -0
  368. package/dist/esm/components/plot/index.mjs +1 -0
  369. package/dist/esm/components/plot/plot.css +1 -0
  370. package/dist/esm/components/plot/plot.mjs +1 -0
  371. package/dist/esm/components/plot/plot.types.mjs +1 -0
  372. package/dist/esm/components/svgContainer/index.mjs +1 -0
  373. package/dist/esm/components/svgContainer/svgContainer.mjs +1 -0
  374. package/dist/esm/components/svgContainer/svgContainer.types.mjs +0 -0
  375. package/dist/esm/components/svgContainer/utils/buildViewBox/buildViewBox.mjs +1 -0
  376. package/dist/esm/components/svgContainer/utils/index.mjs +1 -0
  377. package/dist/esm/components/tick/index.mjs +1 -0
  378. package/dist/esm/components/tick/tick.mjs +1 -0
  379. package/dist/esm/components/tick/tick.types.mjs +1 -0
  380. package/dist/esm/components/zoomArea/components/HandlerIcon.mjs +1 -0
  381. package/dist/esm/components/zoomArea/components/LineRenderer.mjs +1 -0
  382. package/dist/esm/components/zoomArea/components/SelectionArea.mjs +1 -0
  383. package/dist/esm/components/zoomArea/components/ZoomHandler.mjs +1 -0
  384. package/dist/esm/components/zoomArea/components/index.mjs +1 -0
  385. package/dist/esm/components/zoomArea/hooks/index.mjs +1 -0
  386. package/dist/esm/components/zoomArea/hooks/useDragInteraction.mjs +1 -0
  387. package/dist/esm/components/zoomArea/hooks/useKeyboardNavigation.mjs +1 -0
  388. package/dist/esm/components/zoomArea/hooks/useZoomAreaFocus.mjs +1 -0
  389. package/dist/esm/components/zoomArea/hooks/useZoomData.mjs +1 -0
  390. package/dist/esm/components/zoomArea/index.mjs +1 -0
  391. package/dist/esm/components/zoomArea/utils/accessibilityLabels.mjs +1 -0
  392. package/dist/esm/components/zoomArea/utils/index.mjs +1 -0
  393. package/dist/esm/components/zoomArea/utils/indexRounding.mjs +1 -0
  394. package/dist/esm/components/zoomArea/utils/interactionConfig.mjs +1 -0
  395. package/dist/esm/components/zoomArea/utils/pathGeneration.mjs +1 -0
  396. package/dist/esm/components/zoomArea/utils/rangeAndPositions.mjs +1 -0
  397. package/dist/esm/components/zoomArea/utils/selectionConfig.mjs +1 -0
  398. package/dist/esm/components/zoomArea/zoomArea.mjs +1 -0
  399. package/dist/esm/components/zoomArea/zoomArea.type.mjs +1 -0
  400. package/dist/esm/hooks/index.mjs +1 -0
  401. package/dist/esm/hooks/useFocus/useFocus.mjs +1 -0
  402. package/dist/esm/hooks/useFocus/useFocus.types.mjs +0 -0
  403. package/dist/esm/hooks/useHover/useHover.mjs +1 -0
  404. package/dist/esm/hooks/useHover/useHover.types.mjs +0 -0
  405. package/dist/esm/hooks/useId/index.mjs +1 -0
  406. package/dist/esm/hooks/useId/useId.mjs +1 -0
  407. package/dist/esm/hooks/useResponsiveCanvas/index.mjs +1 -0
  408. package/dist/esm/hooks/useResponsiveCanvas/useResponsiveCanvas.mjs +1 -0
  409. package/dist/esm/index.mjs +1 -0
  410. package/dist/esm/storybook/components/note/note.css +1 -0
  411. package/dist/esm/types/canvas.type.mjs +1 -0
  412. package/dist/esm/types/errors.type.mjs +1 -0
  413. package/dist/esm/types/focusConfig.type.mjs +1 -0
  414. package/dist/esm/types/index.mjs +1 -0
  415. package/dist/esm/types/position.enum.mjs +1 -0
  416. package/dist/esm/types/unit.enum.mjs +1 -0
  417. package/dist/esm/types/valueFormatter.type.mjs +0 -0
  418. package/dist/esm/utils/adaptLegacyFocusConfig/adaptLegacyFocusConfig.mjs +1 -0
  419. package/dist/esm/utils/adaptLegacyFocusConfig/index.mjs +1 -0
  420. package/dist/esm/utils/ajustedTextSpace/ajustedTextSpace.mjs +1 -0
  421. package/dist/esm/utils/buildErrors/buildErrors.mjs +1 -0
  422. package/dist/esm/utils/buildErrors/charts/buildBarChartErrors.mjs +1 -0
  423. package/dist/esm/utils/buildErrors/charts/buildLineChartErrors.mjs +1 -0
  424. package/dist/esm/utils/buildErrors/charts/buildPieChartErrors.mjs +1 -0
  425. package/dist/esm/utils/buildErrors/constants/errorMessages/barChartErrorMessages.mjs +1 -0
  426. package/dist/esm/utils/buildErrors/constants/errorMessages/lineChartErrorMessages.mjs +1 -0
  427. package/dist/esm/utils/buildErrors/constants/errorMessages/pieChartErrorMessages.mjs +1 -0
  428. package/dist/esm/utils/buildErrors/constants/errors/barChartErrors.mjs +1 -0
  429. package/dist/esm/utils/buildErrors/constants/errors/lineChartErrors.mjs +1 -0
  430. package/dist/esm/utils/buildErrors/constants/errors/pieChartErrors.mjs +1 -0
  431. package/dist/esm/utils/buildErrors/index.mjs +1 -0
  432. package/dist/esm/utils/buildTickValues/buildTickValues.mjs +1 -0
  433. package/dist/esm/utils/classNames/classNames.mjs +1 -0
  434. package/dist/esm/utils/createErrorAccumulator/createErrorAccumulator.mjs +1 -0
  435. package/dist/esm/utils/createErrorAccumulator/index.mjs +1 -0
  436. package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.mjs +1 -0
  437. package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.types.mjs +0 -0
  438. package/dist/esm/utils/cursorNear/isNear.mjs +1 -0
  439. package/dist/esm/utils/getAxisData/getAxisData.mjs +1 -0
  440. package/dist/esm/utils/getCanvasDimensions/getCanvasDimensions.mjs +1 -0
  441. package/dist/esm/utils/getChildrenAttr/getChildrenAttr.mjs +1 -0
  442. package/dist/esm/utils/getCoordinates/getCoordinates.mjs +1 -0
  443. package/dist/esm/utils/getDataFingerprint/getDataFingerprint.mjs +1 -0
  444. package/dist/esm/utils/getPoints/getPoints.mjs +1 -0
  445. package/dist/esm/utils/getTickTextCoordinate/getTickTextCoordinates.mjs +1 -0
  446. package/dist/esm/utils/getTicks/getTicks.mjs +1 -0
  447. package/dist/esm/utils/index.mjs +1 -0
  448. package/dist/esm/utils/logger/index.mjs +1 -0
  449. package/dist/esm/utils/logger/logger.mjs +1 -0
  450. package/dist/esm/utils/parseStringToNumberPx.ts/parseStringToNumberPx.mjs +1 -0
  451. package/dist/esm/utils/pickCustomAttributes/pickCustomAttributes.mjs +1 -0
  452. package/dist/esm/utils/shadowSvg/shadowSvg.mjs +1 -0
  453. package/dist/esm/utils/shadowSvg/shadowSvg.types.mjs +0 -0
  454. package/dist/esm/utils/ssr/index.mjs +1 -0
  455. package/dist/esm/utils/ssr/ssr.mjs +1 -0
  456. package/dist/esm/utils/textBound/textBound.mjs +1 -0
  457. package/dist/types/assets/index.d.ts +1 -2
  458. package/dist/types/assets/storybook/icons/icons.d.ts +4 -0
  459. package/dist/types/assets/storybook/index.d.ts +1 -0
  460. package/dist/types/charts/barChart/barChart.d.ts +6 -7
  461. package/dist/types/charts/barChart/barChart.type.d.ts +13 -14
  462. package/dist/types/charts/barChart/barChartStructure.d.ts +1 -2
  463. package/dist/types/charts/barChart/context/barChartContext.d.ts +2 -3
  464. package/dist/types/charts/barChart/context/buildBarContextValues.d.ts +5 -6
  465. package/dist/types/charts/barChart/fragments/barChartPath.d.ts +1 -2
  466. package/dist/types/charts/barChart/fragments/barChartSeparator.d.ts +2 -3
  467. package/dist/types/charts/barChart/fragments/barChartXAxis.d.ts +2 -3
  468. package/dist/types/charts/barChart/fragments/barChartYAxis.d.ts +2 -3
  469. package/dist/types/charts/barChart/fragments/fixture/barContextData.d.ts +1 -2
  470. package/dist/types/charts/barChart/fragments/fixture/index.d.ts +1 -2
  471. package/dist/types/charts/barChart/index.d.ts +1 -2
  472. package/dist/types/charts/barChart/utils/countBarChildren.d.ts +1 -2
  473. package/dist/types/charts/barChart/utils/getAxisExtraSpacing.d.ts +2 -3
  474. package/dist/types/charts/barChart/utils/getBarDataValue.d.ts +1 -2
  475. package/dist/types/charts/barChart/utils/getRoundedBarMaxValue.d.ts +1 -2
  476. package/dist/types/charts/constants/chartDefaults.d.ts +0 -1
  477. package/dist/types/charts/customBackgroundChart/context/customBackgroundChartContext.d.ts +2 -3
  478. package/dist/types/charts/customBackgroundChart/context/index.d.ts +1 -2
  479. package/dist/types/charts/customBackgroundChart/customBackgroundChart.d.ts +3 -4
  480. package/dist/types/charts/customBackgroundChart/customBackgroundChart.type.d.ts +4 -5
  481. package/dist/types/charts/customBackgroundChart/customBackgroundChartStructure.d.ts +2 -3
  482. package/dist/types/charts/customBackgroundChart/fragments/customBackgroundChartPlot.d.ts +2 -3
  483. package/dist/types/charts/customBackgroundChart/fragments/index.d.ts +1 -2
  484. package/dist/types/charts/customBackgroundChart/index.d.ts +1 -2
  485. package/dist/types/charts/customBackgroundChart/utils/accessibility.d.ts +0 -1
  486. package/dist/types/charts/index.d.ts +4 -5
  487. package/dist/types/charts/lineChart/context/buildLineContextValue.d.ts +4 -5
  488. package/dist/types/charts/lineChart/context/index.d.ts +2 -3
  489. package/dist/types/charts/lineChart/context/lineChartContext.d.ts +2 -3
  490. package/dist/types/charts/lineChart/fragments/fixture/contextData.d.ts +1 -2
  491. package/dist/types/charts/lineChart/fragments/fixture/index.d.ts +1 -2
  492. package/dist/types/charts/lineChart/fragments/index.d.ts +4 -5
  493. package/dist/types/charts/lineChart/fragments/lineChartPath.d.ts +3 -3
  494. package/dist/types/charts/lineChart/fragments/lineChartProjection.d.ts +3 -3
  495. package/dist/types/charts/lineChart/fragments/lineChartSeparator.d.ts +2 -3
  496. package/dist/types/charts/lineChart/fragments/lineChartXAxis.d.ts +2 -3
  497. package/dist/types/charts/lineChart/fragments/lineChartYAxis.d.ts +1 -2
  498. package/dist/types/charts/lineChart/hook/index.d.ts +3 -4
  499. package/dist/types/charts/lineChart/hook/useAutoClick.d.ts +0 -1
  500. package/dist/types/charts/lineChart/hook/useHover.d.ts +0 -1
  501. package/dist/types/charts/lineChart/hook/useIndicator.d.ts +0 -1
  502. package/dist/types/charts/lineChart/index.d.ts +1 -2
  503. package/dist/types/charts/lineChart/lineChart.d.ts +6 -7
  504. package/dist/types/charts/lineChart/lineChart.type.d.ts +19 -20
  505. package/dist/types/charts/lineChart/lineChartStructure.d.ts +2 -3
  506. package/dist/types/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts +0 -1
  507. package/dist/types/charts/lineChart/utils/findSurroundingNumber.d.ts +0 -1
  508. package/dist/types/charts/lineChart/utils/getCoordinates.d.ts +1 -2
  509. package/dist/types/charts/lineChart/utils/getDataValues.d.ts +1 -2
  510. package/dist/types/charts/lineChart/utils/getExtraSpacing.d.ts +1 -2
  511. package/dist/types/charts/lineChart/utils/getPathData.d.ts +0 -1
  512. package/dist/types/charts/lineChart/utils/getProjection.d.ts +0 -1
  513. package/dist/types/charts/lineChart/utils/getRoundedMaxValue.d.ts +1 -2
  514. package/dist/types/charts/lineChart/utils/getTicks.d.ts +1 -2
  515. package/dist/types/charts/lineChart/utils/handleNodesFocus.d.ts +0 -1
  516. package/dist/types/charts/lineChart/utils/index.d.ts +6 -7
  517. package/dist/types/charts/lineChart/utils/tickTextPosition.d.ts +8 -9
  518. package/dist/types/charts/lineChart/utils/validations.d.ts +15 -16
  519. package/dist/types/charts/pieChart/context/buildPieContextValue.d.ts +3 -4
  520. package/dist/types/charts/pieChart/context/index.d.ts +2 -3
  521. package/dist/types/charts/pieChart/context/pieChartContext.d.ts +2 -3
  522. package/dist/types/charts/pieChart/fragments/index.d.ts +2 -3
  523. package/dist/types/charts/pieChart/fragments/pieChartForeign.d.ts +2 -3
  524. package/dist/types/charts/pieChart/fragments/pieChartPath.d.ts +2 -3
  525. package/dist/types/charts/pieChart/fragments/pieChartSegment.d.ts +1 -2
  526. package/dist/types/charts/pieChart/index.d.ts +1 -2
  527. package/dist/types/charts/pieChart/pieChart.d.ts +4 -5
  528. package/dist/types/charts/pieChart/pieChart.type.d.ts +5 -6
  529. package/dist/types/charts/pieChart/pieChartStructure.d.ts +2 -3
  530. package/dist/types/charts/pieChart/utils/accessibility.d.ts +0 -1
  531. package/dist/types/charts/pieChart/utils/buildL.d.ts +0 -1
  532. package/dist/types/charts/pieChart/utils/calculatePoint.d.ts +0 -1
  533. package/dist/types/charts/pieChart/utils/calculateSegmentPath.d.ts +1 -2
  534. package/dist/types/charts/pieChart/utils/drawSegmentPath.d.ts +1 -2
  535. package/dist/types/charts/pieChart/utils/index.d.ts +2 -3
  536. package/dist/types/charts/pieChart/utils/rotationDirection.d.ts +0 -1
  537. package/dist/types/components/axisChart/index.d.ts +2 -3
  538. package/dist/types/components/axisChart/utils/filterLineProps/filterLineProps.d.ts +1 -2
  539. package/dist/types/components/axisChart/utils/index.d.ts +1 -2
  540. package/dist/types/components/axisChart/xAxis/index.d.ts +2 -3
  541. package/dist/types/components/axisChart/xAxis/xAxis.d.ts +2 -3
  542. package/dist/types/components/axisChart/xAxis/xAxis.types.d.ts +6 -7
  543. package/dist/types/components/axisChart/yAxis/index.d.ts +2 -3
  544. package/dist/types/components/axisChart/yAxis/yAxis.d.ts +2 -3
  545. package/dist/types/components/axisChart/yAxis/yAxis.types.d.ts +5 -6
  546. package/dist/types/components/bar/bar.d.ts +2 -3
  547. package/dist/types/components/bar/bar.type.d.ts +5 -6
  548. package/dist/types/components/bar/index.d.ts +2 -3
  549. package/dist/types/components/bar/utils/accessibility.d.ts +0 -1
  550. package/dist/types/components/bar/utils/buildD.d.ts +2 -3
  551. package/dist/types/components/bar/utils/getSegments.d.ts +2 -3
  552. package/dist/types/components/chartText/chartText.d.ts +2 -3
  553. package/dist/types/components/chartText/chartText.types.d.ts +8 -9
  554. package/dist/types/components/chartText/index.d.ts +2 -3
  555. package/dist/types/components/focusRing/components/FocusRingInline.d.ts +2 -3
  556. package/dist/types/components/focusRing/components/FocusRingRenderer.d.ts +1 -2
  557. package/dist/types/components/focusRing/components/FocusRingSeparate.d.ts +2 -3
  558. package/dist/types/components/focusRing/focusRing.d.ts +3 -3
  559. package/dist/types/components/focusRing/focusRing.types.d.ts +3 -4
  560. package/dist/types/components/focusRing/hooks/useFocusRingData.d.ts +3 -4
  561. package/dist/types/components/focusRing/index.d.ts +2 -3
  562. package/dist/types/components/focusRing/utils/composeRefs.d.ts +1 -2
  563. package/dist/types/components/focusRing/utils/createAdaptiveFocusRings.d.ts +2 -3
  564. package/dist/types/components/focusRing/utils/createBoundingBoxFocusRings.d.ts +2 -3
  565. package/dist/types/components/focusRing/utils/utils.types.d.ts +0 -1
  566. package/dist/types/components/foreignObject/foreignObject.d.ts +2 -3
  567. package/dist/types/components/foreignObject/foreignObject.types.d.ts +1 -2
  568. package/dist/types/components/foreignObject/index.d.ts +2 -3
  569. package/dist/types/components/index.d.ts +11 -12
  570. package/dist/types/components/line/index.d.ts +2 -3
  571. package/dist/types/components/line/line.d.ts +2 -3
  572. package/dist/types/components/line/line.types.d.ts +4 -5
  573. package/dist/types/components/node/components/circle/circle.d.ts +2 -3
  574. package/dist/types/components/node/components/hexagon/hexagon.d.ts +2 -3
  575. package/dist/types/components/node/components/index.d.ts +0 -1
  576. package/dist/types/components/node/components/pentagon/pentagon.d.ts +2 -3
  577. package/dist/types/components/node/components/square/square.d.ts +2 -3
  578. package/dist/types/components/node/components/star/star.d.ts +2 -3
  579. package/dist/types/components/node/components/straight/straight.d.ts +2 -3
  580. package/dist/types/components/node/components/triangle/triangle.d.ts +2 -3
  581. package/dist/types/components/node/index.d.ts +2 -3
  582. package/dist/types/components/node/node.d.ts +2 -3
  583. package/dist/types/components/node/node.types.d.ts +2 -3
  584. package/dist/types/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts +0 -1
  585. package/dist/types/components/path/components/nodePath/nodePath.d.ts +3 -4
  586. package/dist/types/components/path/index.d.ts +2 -3
  587. package/dist/types/components/path/path.d.ts +3 -3
  588. package/dist/types/components/path/path.types.d.ts +7 -8
  589. package/dist/types/components/plot/components/circle/circle.d.ts +2 -3
  590. package/dist/types/components/plot/components/index.d.ts +3 -4
  591. package/dist/types/components/plot/components/square/square.d.ts +2 -3
  592. package/dist/types/components/plot/components/triangle/triangle.d.ts +2 -3
  593. package/dist/types/components/plot/index.d.ts +2 -3
  594. package/dist/types/components/plot/plot.d.ts +3 -3
  595. package/dist/types/components/plot/plot.types.d.ts +2 -3
  596. package/dist/types/components/svgContainer/index.d.ts +1 -2
  597. package/dist/types/components/svgContainer/svgContainer.d.ts +2 -3
  598. package/dist/types/components/svgContainer/svgContainer.types.d.ts +1 -2
  599. package/dist/types/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts +0 -1
  600. package/dist/types/components/svgContainer/utils/index.d.ts +1 -2
  601. package/dist/types/components/tick/index.d.ts +2 -3
  602. package/dist/types/components/tick/tick.d.ts +2 -3
  603. package/dist/types/components/tick/tick.types.d.ts +3 -4
  604. package/dist/types/components/zoomArea/components/HandlerIcon.d.ts +1 -2
  605. package/dist/types/components/zoomArea/components/LineRenderer.d.ts +1 -2
  606. package/dist/types/components/zoomArea/components/SelectionArea.d.ts +3 -4
  607. package/dist/types/components/zoomArea/components/ZoomHandler.d.ts +3 -4
  608. package/dist/types/components/zoomArea/components/index.d.ts +4 -5
  609. package/dist/types/components/zoomArea/hooks/index.d.ts +4 -5
  610. package/dist/types/components/zoomArea/hooks/useDragInteraction.d.ts +1 -2
  611. package/dist/types/components/zoomArea/hooks/useKeyboardNavigation.d.ts +1 -2
  612. package/dist/types/components/zoomArea/hooks/useZoomAreaFocus.d.ts +1 -2
  613. package/dist/types/components/zoomArea/hooks/useZoomData.d.ts +1 -2
  614. package/dist/types/components/zoomArea/index.d.ts +5 -6
  615. package/dist/types/components/zoomArea/utils/accessibilityLabels.d.ts +1 -2
  616. package/dist/types/components/zoomArea/utils/index.d.ts +3 -4
  617. package/dist/types/components/zoomArea/utils/indexRounding.d.ts +0 -1
  618. package/dist/types/components/zoomArea/utils/interactionConfig.d.ts +1 -2
  619. package/dist/types/components/zoomArea/utils/pathGeneration.d.ts +1 -2
  620. package/dist/types/components/zoomArea/utils/rangeAndPositions.d.ts +1 -2
  621. package/dist/types/components/zoomArea/utils/selectionConfig.d.ts +1 -2
  622. package/dist/types/components/zoomArea/zoomArea.d.ts +1 -2
  623. package/dist/types/components/zoomArea/zoomArea.type.d.ts +3 -4
  624. package/dist/types/hooks/index.d.ts +4 -5
  625. package/dist/types/hooks/useFocus/useFocus.d.ts +1 -2
  626. package/dist/types/hooks/useFocus/useFocus.types.d.ts +1 -2
  627. package/dist/types/hooks/useHover/useHover.d.ts +1 -2
  628. package/dist/types/hooks/useHover/useHover.types.d.ts +1 -2
  629. package/dist/types/hooks/useId/index.d.ts +1 -2
  630. package/dist/types/hooks/useId/useId.d.ts +0 -1
  631. package/dist/types/hooks/useResponsiveCanvas/index.d.ts +1 -2
  632. package/dist/types/hooks/useResponsiveCanvas/useResponsiveCanvas.d.ts +1 -2
  633. package/dist/types/index.d.ts +3 -4
  634. package/dist/types/storybook/components/index.d.ts +1 -0
  635. package/dist/types/storybook/components/note/note.d.ts +12 -0
  636. package/dist/types/storybook/constants/categoryControl.d.ts +9 -0
  637. package/dist/types/storybook/index.d.ts +1 -0
  638. package/dist/types/types/canvas.type.d.ts +0 -1
  639. package/dist/types/types/errors.type.d.ts +0 -1
  640. package/dist/types/types/focusConfig.type.d.ts +1 -2
  641. package/dist/types/types/index.d.ts +4 -5
  642. package/dist/types/types/position.enum.d.ts +0 -1
  643. package/dist/types/types/unit.enum.d.ts +0 -1
  644. package/dist/types/types/valueFormatter.type.d.ts +0 -1
  645. package/dist/types/utils/adaptLegacyFocusConfig/adaptLegacyFocusConfig.d.ts +2 -3
  646. package/dist/types/utils/adaptLegacyFocusConfig/index.d.ts +1 -2
  647. package/dist/types/utils/ajustedTextSpace/ajustedTextSpace.d.ts +0 -1
  648. package/dist/types/utils/buildErrors/buildErrors.d.ts +2 -3
  649. package/dist/types/utils/buildErrors/charts/buildBarChartErrors.d.ts +0 -1
  650. package/dist/types/utils/buildErrors/charts/buildLineChartErrors.d.ts +0 -1
  651. package/dist/types/utils/buildErrors/charts/buildPieChartErrors.d.ts +0 -1
  652. package/dist/types/utils/buildErrors/constants/errorMessages/barChartErrorMessages.d.ts +0 -1
  653. package/dist/types/utils/buildErrors/constants/errorMessages/lineChartErrorMessages.d.ts +0 -1
  654. package/dist/types/utils/buildErrors/constants/errorMessages/pieChartErrorMessages.d.ts +0 -1
  655. package/dist/types/utils/buildErrors/constants/errors/barChartErrors.d.ts +0 -1
  656. package/dist/types/utils/buildErrors/constants/errors/lineChartErrors.d.ts +0 -1
  657. package/dist/types/utils/buildErrors/constants/errors/pieChartErrors.d.ts +0 -1
  658. package/dist/types/utils/buildErrors/index.d.ts +1 -2
  659. package/dist/types/utils/buildTickValues/buildTickValues.d.ts +0 -1
  660. package/dist/types/utils/classNames/classNames.d.ts +0 -1
  661. package/dist/types/utils/createErrorAccumulator/createErrorAccumulator.d.ts +1 -2
  662. package/dist/types/utils/createErrorAccumulator/index.d.ts +1 -2
  663. package/dist/types/utils/cssGradientToSvg/cssGradientToSvg.d.ts +0 -1
  664. package/dist/types/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts +0 -1
  665. package/dist/types/utils/cursorNear/isNear.d.ts +0 -1
  666. package/dist/types/utils/getAxisData/getAxisData.d.ts +0 -1
  667. package/dist/types/utils/getCanvasDimensions/getCanvasDimensions.d.ts +0 -1
  668. package/dist/types/utils/getChildrenAttr/getChildrenAttr.d.ts +1 -2
  669. package/dist/types/utils/getCoordinates/getCoordinates.d.ts +1 -2
  670. package/dist/types/utils/getDataFingerprint/getDataFingerprint.d.ts +3 -4
  671. package/dist/types/utils/getPoints/getPoints.d.ts +1 -2
  672. package/dist/types/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts +1 -2
  673. package/dist/types/utils/getTicks/getTicks.d.ts +1 -2
  674. package/dist/types/utils/index.d.ts +10 -11
  675. package/dist/types/utils/logger/index.d.ts +1 -2
  676. package/dist/types/utils/logger/logger.d.ts +1 -2
  677. package/dist/types/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts +0 -1
  678. package/dist/types/utils/pickCustomAttributes/pickCustomAttributes.d.ts +0 -1
  679. package/dist/types/utils/shadowSvg/shadowSvg.d.ts +1 -2
  680. package/dist/types/utils/shadowSvg/shadowSvg.types.d.ts +0 -1
  681. package/dist/types/utils/ssr/index.d.ts +1 -2
  682. package/dist/types/utils/ssr/ssr.d.ts +0 -1
  683. package/dist/types/utils/textBound/textBound.d.ts +1 -2
  684. package/package.json +69 -94
  685. package/dist/cjs/charts/lineChart/fragments/lineChartPath2.js +0 -1
  686. package/dist/cjs/components/focusRing/focusRing2.js +0 -1
  687. package/dist/cjs/components/path/path2.js +0 -1
  688. package/dist/cjs/components/plot/plot2.js +0 -1
  689. package/dist/cjs/react-charts.css +0 -2
  690. package/dist/esm/charts/barChart/barChart.js +0 -12
  691. package/dist/esm/charts/barChart/barChartStructure.js +0 -69
  692. package/dist/esm/charts/barChart/context/barChartContext.js +0 -3
  693. package/dist/esm/charts/barChart/context/buildBarContextValues.js +0 -156
  694. package/dist/esm/charts/barChart/fragments/barChartPath.js +0 -76
  695. package/dist/esm/charts/barChart/fragments/barChartSeparator.js +0 -61
  696. package/dist/esm/charts/barChart/fragments/barChartXAxis.js +0 -33
  697. package/dist/esm/charts/barChart/fragments/barChartYAxis.js +0 -30
  698. package/dist/esm/charts/barChart/index.js +0 -1
  699. package/dist/esm/charts/barChart/utils/countBarChildren.js +0 -9
  700. package/dist/esm/charts/barChart/utils/getAxisExtraSpacing.js +0 -82
  701. package/dist/esm/charts/barChart/utils/getBarDataValue.js +0 -11
  702. package/dist/esm/charts/barChart/utils/getRoundedBarMaxValue.js +0 -2
  703. package/dist/esm/charts/constants/chartDefaults.js +0 -19
  704. package/dist/esm/charts/customBackgroundChart/context/customBackgroundChartContext.js +0 -3
  705. package/dist/esm/charts/customBackgroundChart/customBackgroundChart.js +0 -4
  706. package/dist/esm/charts/customBackgroundChart/customBackgroundChartStructure.js +0 -67
  707. package/dist/esm/charts/customBackgroundChart/fragments/customBackgroundChartPlot.js +0 -46
  708. package/dist/esm/charts/customBackgroundChart/index.js +0 -1
  709. package/dist/esm/charts/customBackgroundChart/utils/accessibility.js +0 -13
  710. package/dist/esm/charts/lineChart/context/buildLineContextValue.js +0 -139
  711. package/dist/esm/charts/lineChart/context/lineChartContext.js +0 -3
  712. package/dist/esm/charts/lineChart/fragments/lineChartPath2.js +0 -122
  713. package/dist/esm/charts/lineChart/fragments/lineChartProjection.js +0 -58
  714. package/dist/esm/charts/lineChart/fragments/lineChartSeparator.js +0 -61
  715. package/dist/esm/charts/lineChart/fragments/lineChartXAxis.js +0 -34
  716. package/dist/esm/charts/lineChart/fragments/lineChartYAxis.js +0 -39
  717. package/dist/esm/charts/lineChart/hook/useAutoClick.js +0 -14
  718. package/dist/esm/charts/lineChart/hook/useHover.js +0 -18
  719. package/dist/esm/charts/lineChart/hook/useIndicator.js +0 -15
  720. package/dist/esm/charts/lineChart/index.js +0 -1
  721. package/dist/esm/charts/lineChart/lineChart.js +0 -12
  722. package/dist/esm/charts/lineChart/lineChartStructure.js +0 -92
  723. package/dist/esm/charts/lineChart/utils/accessibilityTemplateProcessor.js +0 -19
  724. package/dist/esm/charts/lineChart/utils/findSurroundingNumber.js +0 -19
  725. package/dist/esm/charts/lineChart/utils/getCoordinates.js +0 -49
  726. package/dist/esm/charts/lineChart/utils/getDataValues.js +0 -11
  727. package/dist/esm/charts/lineChart/utils/getExtraSpacing.js +0 -111
  728. package/dist/esm/charts/lineChart/utils/getPathData.js +0 -9
  729. package/dist/esm/charts/lineChart/utils/getProjection.js +0 -42
  730. package/dist/esm/charts/lineChart/utils/getRoundedMaxValue.js +0 -2
  731. package/dist/esm/charts/lineChart/utils/getTicks.js +0 -24
  732. package/dist/esm/charts/lineChart/utils/handleNodesFocus.js +0 -17
  733. package/dist/esm/charts/lineChart/utils/tickTextPosition.js +0 -34
  734. package/dist/esm/charts/lineChart/utils/validations.js +0 -68
  735. package/dist/esm/charts/pieChart/context/buildPieContextValue.js +0 -28
  736. package/dist/esm/charts/pieChart/context/pieChartContext.js +0 -3
  737. package/dist/esm/charts/pieChart/fragments/pieChartForeign.js +0 -17
  738. package/dist/esm/charts/pieChart/fragments/pieChartPath.js +0 -53
  739. package/dist/esm/charts/pieChart/fragments/pieChartSegment.js +0 -42
  740. package/dist/esm/charts/pieChart/index.js +0 -1
  741. package/dist/esm/charts/pieChart/pieChart.js +0 -8
  742. package/dist/esm/charts/pieChart/pieChartStructure.js +0 -58
  743. package/dist/esm/charts/pieChart/utils/accessibility.js +0 -11
  744. package/dist/esm/charts/pieChart/utils/buildL.js +0 -4
  745. package/dist/esm/charts/pieChart/utils/calculatePoint.js +0 -5
  746. package/dist/esm/charts/pieChart/utils/calculateSegmentPath.js +0 -29
  747. package/dist/esm/charts/pieChart/utils/drawSegmentPath.js +0 -29
  748. package/dist/esm/charts/pieChart/utils/rotationDirection.js +0 -12
  749. package/dist/esm/components/axisChart/utils/filterLineProps/filterLineProps.js +0 -24
  750. package/dist/esm/components/axisChart/xAxis/xAxis.js +0 -37
  751. package/dist/esm/components/axisChart/yAxis/yAxis.js +0 -36
  752. package/dist/esm/components/bar/bar.js +0 -67
  753. package/dist/esm/components/bar/bar.type.js +0 -5
  754. package/dist/esm/components/bar/utils/accessibility.js +0 -14
  755. package/dist/esm/components/bar/utils/buildD.js +0 -23
  756. package/dist/esm/components/bar/utils/getSegments.js +0 -13
  757. package/dist/esm/components/chartText/chartText.js +0 -7
  758. package/dist/esm/components/focusRing/components/FocusRingInline.js +0 -17
  759. package/dist/esm/components/focusRing/components/FocusRingRenderer.js +0 -14
  760. package/dist/esm/components/focusRing/components/FocusRingSeparate.js +0 -15
  761. package/dist/esm/components/focusRing/focusRing2.js +0 -18
  762. package/dist/esm/components/focusRing/hooks/useFocusRingData.js +0 -28
  763. package/dist/esm/components/focusRing/utils/composeRefs.js +0 -8
  764. package/dist/esm/components/focusRing/utils/createAdaptiveFocusRings.js +0 -75
  765. package/dist/esm/components/focusRing/utils/createBoundingBoxFocusRings.js +0 -73
  766. package/dist/esm/components/foreignObject/foreignObject.js +0 -10
  767. package/dist/esm/components/line/line.js +0 -8
  768. package/dist/esm/components/node/components/circle/circle.js +0 -11
  769. package/dist/esm/components/node/components/hexagon/hexagon.js +0 -16
  770. package/dist/esm/components/node/components/pentagon/pentagon.js +0 -16
  771. package/dist/esm/components/node/components/square/square.js +0 -15
  772. package/dist/esm/components/node/components/star/star.js +0 -16
  773. package/dist/esm/components/node/components/straight/straight.js +0 -16
  774. package/dist/esm/components/node/components/triangle/triangle.js +0 -19
  775. package/dist/esm/components/node/node.js +0 -74
  776. package/dist/esm/components/node/node.types.js +0 -10
  777. package/dist/esm/components/node/utils/calculateShapePoints/calculateShapePoints.js +0 -9
  778. package/dist/esm/components/path/components/nodePath/nodePath.js +0 -35
  779. package/dist/esm/components/path/path2.js +0 -129
  780. package/dist/esm/components/plot/components/circle/circle.js +0 -11
  781. package/dist/esm/components/plot/components/square/square.js +0 -12
  782. package/dist/esm/components/plot/components/triangle/triangle.js +0 -12
  783. package/dist/esm/components/plot/plot.types.js +0 -18
  784. package/dist/esm/components/plot/plot2.js +0 -68
  785. package/dist/esm/components/svgContainer/svgContainer.js +0 -33
  786. package/dist/esm/components/svgContainer/utils/buildViewBox/buildViewBox.js +0 -2
  787. package/dist/esm/components/tick/tick.js +0 -8
  788. package/dist/esm/components/tick/tick.types.js +0 -5
  789. package/dist/esm/components/zoomArea/components/HandlerIcon.js +0 -13
  790. package/dist/esm/components/zoomArea/components/LineRenderer.js +0 -14
  791. package/dist/esm/components/zoomArea/components/SelectionArea.js +0 -36
  792. package/dist/esm/components/zoomArea/components/ZoomHandler.js +0 -69
  793. package/dist/esm/components/zoomArea/hooks/useDragInteraction.js +0 -56
  794. package/dist/esm/components/zoomArea/hooks/useKeyboardNavigation.js +0 -70
  795. package/dist/esm/components/zoomArea/hooks/useZoomAreaFocus.js +0 -12
  796. package/dist/esm/components/zoomArea/hooks/useZoomData.js +0 -19
  797. package/dist/esm/components/zoomArea/utils/accessibilityLabels.js +0 -17
  798. package/dist/esm/components/zoomArea/utils/indexRounding.js +0 -8
  799. package/dist/esm/components/zoomArea/utils/interactionConfig.js +0 -11
  800. package/dist/esm/components/zoomArea/utils/pathGeneration.js +0 -21
  801. package/dist/esm/components/zoomArea/utils/rangeAndPositions.js +0 -20
  802. package/dist/esm/components/zoomArea/utils/selectionConfig.js +0 -15
  803. package/dist/esm/components/zoomArea/zoomArea.js +0 -131
  804. package/dist/esm/components/zoomArea/zoomArea.type.js +0 -6
  805. package/dist/esm/hooks/useFocus/useFocus.js +0 -14
  806. package/dist/esm/hooks/useHover/useHover.js +0 -14
  807. package/dist/esm/hooks/useId/useId.js +0 -7
  808. package/dist/esm/hooks/useResponsiveCanvas/useResponsiveCanvas.js +0 -56
  809. package/dist/esm/index.js +0 -36
  810. package/dist/esm/react-charts.css +0 -2
  811. package/dist/esm/types/canvas.type.js +0 -6
  812. package/dist/esm/types/errors.type.js +0 -20
  813. package/dist/esm/types/focusConfig.type.js +0 -16
  814. package/dist/esm/types/position.enum.js +0 -9
  815. package/dist/esm/types/unit.enum.js +0 -5
  816. package/dist/esm/utils/adaptLegacyFocusConfig/adaptLegacyFocusConfig.js +0 -10
  817. package/dist/esm/utils/ajustedTextSpace/ajustedTextSpace.js +0 -16
  818. package/dist/esm/utils/buildErrors/buildErrors.js +0 -19
  819. package/dist/esm/utils/buildErrors/charts/buildBarChartErrors.js +0 -2
  820. package/dist/esm/utils/buildErrors/charts/buildLineChartErrors.js +0 -2
  821. package/dist/esm/utils/buildErrors/charts/buildPieChartErrors.js +0 -2
  822. package/dist/esm/utils/buildErrors/constants/errorMessages/barChartErrorMessages.js +0 -19
  823. package/dist/esm/utils/buildErrors/constants/errorMessages/lineChartErrorMessages.js +0 -25
  824. package/dist/esm/utils/buildErrors/constants/errorMessages/pieChartErrorMessages.js +0 -13
  825. package/dist/esm/utils/buildErrors/constants/errors/barChartErrors.js +0 -20
  826. package/dist/esm/utils/buildErrors/constants/errors/lineChartErrors.js +0 -26
  827. package/dist/esm/utils/buildErrors/constants/errors/pieChartErrors.js +0 -14
  828. package/dist/esm/utils/buildTickValues/buildTickValues.js +0 -14
  829. package/dist/esm/utils/createErrorAccumulator/createErrorAccumulator.js +0 -29
  830. package/dist/esm/utils/cssGradientToSvg/cssGradientToSvg.js +0 -35
  831. package/dist/esm/utils/cursorNear/isNear.js +0 -2
  832. package/dist/esm/utils/getCanvasDimensions/getCanvasDimensions.js +0 -39
  833. package/dist/esm/utils/getChildrenAttr/getChildrenAttr.js +0 -11
  834. package/dist/esm/utils/getCoordinates/getCoordinates.js +0 -43
  835. package/dist/esm/utils/getDataFingerprint/getDataFingerprint.js +0 -2
  836. package/dist/esm/utils/getPoints/getPoints.js +0 -22
  837. package/dist/esm/utils/getTickTextCoordinate/getTickTextCoordinates.js +0 -3
  838. package/dist/esm/utils/getTicks/getTicks.js +0 -14
  839. package/dist/esm/utils/logger/logger.js +0 -25
  840. package/dist/esm/utils/parseStringToNumberPx.ts/parseStringToNumberPx.js +0 -10
  841. package/dist/esm/utils/pickCustomAttributes/pickCustomAttributes.js +0 -2
  842. package/dist/esm/utils/shadowSvg/shadowSvg.js +0 -10
  843. package/dist/esm/utils/ssr/ssr.js +0 -11
  844. package/dist/esm/utils/textBound/textBound.js +0 -18
  845. package/dist/types/assets/index.d.ts.map +0 -1
  846. package/dist/types/charts/barChart/barChart.d.ts.map +0 -1
  847. package/dist/types/charts/barChart/barChart.type.d.ts.map +0 -1
  848. package/dist/types/charts/barChart/barChartStructure.d.ts.map +0 -1
  849. package/dist/types/charts/barChart/context/barChartContext.d.ts.map +0 -1
  850. package/dist/types/charts/barChart/context/buildBarContextValues.d.ts.map +0 -1
  851. package/dist/types/charts/barChart/fragments/barChartPath.d.ts.map +0 -1
  852. package/dist/types/charts/barChart/fragments/barChartSeparator.d.ts.map +0 -1
  853. package/dist/types/charts/barChart/fragments/barChartXAxis.d.ts.map +0 -1
  854. package/dist/types/charts/barChart/fragments/barChartYAxis.d.ts.map +0 -1
  855. package/dist/types/charts/barChart/fragments/fixture/barContextData.d.ts.map +0 -1
  856. package/dist/types/charts/barChart/fragments/fixture/index.d.ts.map +0 -1
  857. package/dist/types/charts/barChart/index.d.ts.map +0 -1
  858. package/dist/types/charts/barChart/utils/countBarChildren.d.ts.map +0 -1
  859. package/dist/types/charts/barChart/utils/getAxisExtraSpacing.d.ts.map +0 -1
  860. package/dist/types/charts/barChart/utils/getBarDataValue.d.ts.map +0 -1
  861. package/dist/types/charts/barChart/utils/getRoundedBarMaxValue.d.ts.map +0 -1
  862. package/dist/types/charts/constants/chartDefaults.d.ts.map +0 -1
  863. package/dist/types/charts/customBackgroundChart/context/customBackgroundChartContext.d.ts.map +0 -1
  864. package/dist/types/charts/customBackgroundChart/context/index.d.ts.map +0 -1
  865. package/dist/types/charts/customBackgroundChart/customBackgroundChart.d.ts.map +0 -1
  866. package/dist/types/charts/customBackgroundChart/customBackgroundChart.type.d.ts.map +0 -1
  867. package/dist/types/charts/customBackgroundChart/customBackgroundChartStructure.d.ts.map +0 -1
  868. package/dist/types/charts/customBackgroundChart/fragments/customBackgroundChartPlot.d.ts.map +0 -1
  869. package/dist/types/charts/customBackgroundChart/fragments/index.d.ts.map +0 -1
  870. package/dist/types/charts/customBackgroundChart/index.d.ts.map +0 -1
  871. package/dist/types/charts/customBackgroundChart/utils/accessibility.d.ts.map +0 -1
  872. package/dist/types/charts/index.d.ts.map +0 -1
  873. package/dist/types/charts/lineChart/context/buildLineContextValue.d.ts.map +0 -1
  874. package/dist/types/charts/lineChart/context/index.d.ts.map +0 -1
  875. package/dist/types/charts/lineChart/context/lineChartContext.d.ts.map +0 -1
  876. package/dist/types/charts/lineChart/fragments/fixture/contextData.d.ts.map +0 -1
  877. package/dist/types/charts/lineChart/fragments/fixture/index.d.ts.map +0 -1
  878. package/dist/types/charts/lineChart/fragments/index.d.ts.map +0 -1
  879. package/dist/types/charts/lineChart/fragments/lineChartPath.d.ts.map +0 -1
  880. package/dist/types/charts/lineChart/fragments/lineChartProjection.d.ts.map +0 -1
  881. package/dist/types/charts/lineChart/fragments/lineChartSeparator.d.ts.map +0 -1
  882. package/dist/types/charts/lineChart/fragments/lineChartXAxis.d.ts.map +0 -1
  883. package/dist/types/charts/lineChart/fragments/lineChartYAxis.d.ts.map +0 -1
  884. package/dist/types/charts/lineChart/hook/index.d.ts.map +0 -1
  885. package/dist/types/charts/lineChart/hook/useAutoClick.d.ts.map +0 -1
  886. package/dist/types/charts/lineChart/hook/useHover.d.ts.map +0 -1
  887. package/dist/types/charts/lineChart/hook/useIndicator.d.ts.map +0 -1
  888. package/dist/types/charts/lineChart/index.d.ts.map +0 -1
  889. package/dist/types/charts/lineChart/lineChart.d.ts.map +0 -1
  890. package/dist/types/charts/lineChart/lineChart.type.d.ts.map +0 -1
  891. package/dist/types/charts/lineChart/lineChartStructure.d.ts.map +0 -1
  892. package/dist/types/charts/lineChart/utils/accessibilityTemplateProcessor.d.ts.map +0 -1
  893. package/dist/types/charts/lineChart/utils/findSurroundingNumber.d.ts.map +0 -1
  894. package/dist/types/charts/lineChart/utils/getCoordinates.d.ts.map +0 -1
  895. package/dist/types/charts/lineChart/utils/getDataValues.d.ts.map +0 -1
  896. package/dist/types/charts/lineChart/utils/getExtraSpacing.d.ts.map +0 -1
  897. package/dist/types/charts/lineChart/utils/getPathData.d.ts.map +0 -1
  898. package/dist/types/charts/lineChart/utils/getProjection.d.ts.map +0 -1
  899. package/dist/types/charts/lineChart/utils/getRoundedMaxValue.d.ts.map +0 -1
  900. package/dist/types/charts/lineChart/utils/getTicks.d.ts.map +0 -1
  901. package/dist/types/charts/lineChart/utils/handleNodesFocus.d.ts.map +0 -1
  902. package/dist/types/charts/lineChart/utils/index.d.ts.map +0 -1
  903. package/dist/types/charts/lineChart/utils/tickTextPosition.d.ts.map +0 -1
  904. package/dist/types/charts/lineChart/utils/validations.d.ts.map +0 -1
  905. package/dist/types/charts/pieChart/context/buildPieContextValue.d.ts.map +0 -1
  906. package/dist/types/charts/pieChart/context/index.d.ts.map +0 -1
  907. package/dist/types/charts/pieChart/context/pieChartContext.d.ts.map +0 -1
  908. package/dist/types/charts/pieChart/fragments/index.d.ts.map +0 -1
  909. package/dist/types/charts/pieChart/fragments/pieChartForeign.d.ts.map +0 -1
  910. package/dist/types/charts/pieChart/fragments/pieChartPath.d.ts.map +0 -1
  911. package/dist/types/charts/pieChart/fragments/pieChartSegment.d.ts.map +0 -1
  912. package/dist/types/charts/pieChart/index.d.ts.map +0 -1
  913. package/dist/types/charts/pieChart/pieChart.d.ts.map +0 -1
  914. package/dist/types/charts/pieChart/pieChart.type.d.ts.map +0 -1
  915. package/dist/types/charts/pieChart/pieChartStructure.d.ts.map +0 -1
  916. package/dist/types/charts/pieChart/utils/accessibility.d.ts.map +0 -1
  917. package/dist/types/charts/pieChart/utils/buildL.d.ts.map +0 -1
  918. package/dist/types/charts/pieChart/utils/calculatePoint.d.ts.map +0 -1
  919. package/dist/types/charts/pieChart/utils/calculateSegmentPath.d.ts.map +0 -1
  920. package/dist/types/charts/pieChart/utils/drawSegmentPath.d.ts.map +0 -1
  921. package/dist/types/charts/pieChart/utils/index.d.ts.map +0 -1
  922. package/dist/types/charts/pieChart/utils/rotationDirection.d.ts.map +0 -1
  923. package/dist/types/components/axisChart/index.d.ts.map +0 -1
  924. package/dist/types/components/axisChart/utils/filterLineProps/filterLineProps.d.ts.map +0 -1
  925. package/dist/types/components/axisChart/utils/index.d.ts.map +0 -1
  926. package/dist/types/components/axisChart/xAxis/index.d.ts.map +0 -1
  927. package/dist/types/components/axisChart/xAxis/xAxis.d.ts.map +0 -1
  928. package/dist/types/components/axisChart/xAxis/xAxis.types.d.ts.map +0 -1
  929. package/dist/types/components/axisChart/yAxis/index.d.ts.map +0 -1
  930. package/dist/types/components/axisChart/yAxis/yAxis.d.ts.map +0 -1
  931. package/dist/types/components/axisChart/yAxis/yAxis.types.d.ts.map +0 -1
  932. package/dist/types/components/bar/bar.d.ts.map +0 -1
  933. package/dist/types/components/bar/bar.type.d.ts.map +0 -1
  934. package/dist/types/components/bar/index.d.ts.map +0 -1
  935. package/dist/types/components/bar/utils/accessibility.d.ts.map +0 -1
  936. package/dist/types/components/bar/utils/buildD.d.ts.map +0 -1
  937. package/dist/types/components/bar/utils/getSegments.d.ts.map +0 -1
  938. package/dist/types/components/chartText/chartText.d.ts.map +0 -1
  939. package/dist/types/components/chartText/chartText.types.d.ts.map +0 -1
  940. package/dist/types/components/chartText/index.d.ts.map +0 -1
  941. package/dist/types/components/focusRing/components/FocusRingInline.d.ts.map +0 -1
  942. package/dist/types/components/focusRing/components/FocusRingRenderer.d.ts.map +0 -1
  943. package/dist/types/components/focusRing/components/FocusRingSeparate.d.ts.map +0 -1
  944. package/dist/types/components/focusRing/focusRing.d.ts.map +0 -1
  945. package/dist/types/components/focusRing/focusRing.types.d.ts.map +0 -1
  946. package/dist/types/components/focusRing/hooks/useFocusRingData.d.ts.map +0 -1
  947. package/dist/types/components/focusRing/index.d.ts.map +0 -1
  948. package/dist/types/components/focusRing/utils/composeRefs.d.ts.map +0 -1
  949. package/dist/types/components/focusRing/utils/createAdaptiveFocusRings.d.ts.map +0 -1
  950. package/dist/types/components/focusRing/utils/createBoundingBoxFocusRings.d.ts.map +0 -1
  951. package/dist/types/components/focusRing/utils/utils.types.d.ts.map +0 -1
  952. package/dist/types/components/foreignObject/foreignObject.d.ts.map +0 -1
  953. package/dist/types/components/foreignObject/foreignObject.types.d.ts.map +0 -1
  954. package/dist/types/components/foreignObject/index.d.ts.map +0 -1
  955. package/dist/types/components/index.d.ts.map +0 -1
  956. package/dist/types/components/line/index.d.ts.map +0 -1
  957. package/dist/types/components/line/line.d.ts.map +0 -1
  958. package/dist/types/components/line/line.types.d.ts.map +0 -1
  959. package/dist/types/components/node/components/circle/circle.d.ts.map +0 -1
  960. package/dist/types/components/node/components/hexagon/hexagon.d.ts.map +0 -1
  961. package/dist/types/components/node/components/index.d.ts.map +0 -1
  962. package/dist/types/components/node/components/pentagon/pentagon.d.ts.map +0 -1
  963. package/dist/types/components/node/components/square/square.d.ts.map +0 -1
  964. package/dist/types/components/node/components/star/star.d.ts.map +0 -1
  965. package/dist/types/components/node/components/straight/straight.d.ts.map +0 -1
  966. package/dist/types/components/node/components/triangle/triangle.d.ts.map +0 -1
  967. package/dist/types/components/node/index.d.ts.map +0 -1
  968. package/dist/types/components/node/node.d.ts.map +0 -1
  969. package/dist/types/components/node/node.types.d.ts.map +0 -1
  970. package/dist/types/components/node/utils/calculateShapePoints/calculateShapePoints.d.ts.map +0 -1
  971. package/dist/types/components/path/components/nodePath/nodePath.d.ts.map +0 -1
  972. package/dist/types/components/path/index.d.ts.map +0 -1
  973. package/dist/types/components/path/path.d.ts.map +0 -1
  974. package/dist/types/components/path/path.types.d.ts.map +0 -1
  975. package/dist/types/components/plot/components/circle/circle.d.ts.map +0 -1
  976. package/dist/types/components/plot/components/index.d.ts.map +0 -1
  977. package/dist/types/components/plot/components/square/square.d.ts.map +0 -1
  978. package/dist/types/components/plot/components/triangle/triangle.d.ts.map +0 -1
  979. package/dist/types/components/plot/index.d.ts.map +0 -1
  980. package/dist/types/components/plot/plot.d.ts.map +0 -1
  981. package/dist/types/components/plot/plot.types.d.ts.map +0 -1
  982. package/dist/types/components/svgContainer/index.d.ts.map +0 -1
  983. package/dist/types/components/svgContainer/svgContainer.d.ts.map +0 -1
  984. package/dist/types/components/svgContainer/svgContainer.types.d.ts.map +0 -1
  985. package/dist/types/components/svgContainer/utils/buildViewBox/buildViewBox.d.ts.map +0 -1
  986. package/dist/types/components/svgContainer/utils/index.d.ts.map +0 -1
  987. package/dist/types/components/tick/index.d.ts.map +0 -1
  988. package/dist/types/components/tick/tick.d.ts.map +0 -1
  989. package/dist/types/components/tick/tick.types.d.ts.map +0 -1
  990. package/dist/types/components/zoomArea/components/HandlerIcon.d.ts.map +0 -1
  991. package/dist/types/components/zoomArea/components/LineRenderer.d.ts.map +0 -1
  992. package/dist/types/components/zoomArea/components/SelectionArea.d.ts.map +0 -1
  993. package/dist/types/components/zoomArea/components/ZoomHandler.d.ts.map +0 -1
  994. package/dist/types/components/zoomArea/components/index.d.ts.map +0 -1
  995. package/dist/types/components/zoomArea/hooks/index.d.ts.map +0 -1
  996. package/dist/types/components/zoomArea/hooks/useDragInteraction.d.ts.map +0 -1
  997. package/dist/types/components/zoomArea/hooks/useKeyboardNavigation.d.ts.map +0 -1
  998. package/dist/types/components/zoomArea/hooks/useZoomAreaFocus.d.ts.map +0 -1
  999. package/dist/types/components/zoomArea/hooks/useZoomData.d.ts.map +0 -1
  1000. package/dist/types/components/zoomArea/index.d.ts.map +0 -1
  1001. package/dist/types/components/zoomArea/utils/accessibilityLabels.d.ts.map +0 -1
  1002. package/dist/types/components/zoomArea/utils/index.d.ts.map +0 -1
  1003. package/dist/types/components/zoomArea/utils/indexRounding.d.ts.map +0 -1
  1004. package/dist/types/components/zoomArea/utils/interactionConfig.d.ts.map +0 -1
  1005. package/dist/types/components/zoomArea/utils/pathGeneration.d.ts.map +0 -1
  1006. package/dist/types/components/zoomArea/utils/rangeAndPositions.d.ts.map +0 -1
  1007. package/dist/types/components/zoomArea/utils/selectionConfig.d.ts.map +0 -1
  1008. package/dist/types/components/zoomArea/zoomArea.d.ts.map +0 -1
  1009. package/dist/types/components/zoomArea/zoomArea.type.d.ts.map +0 -1
  1010. package/dist/types/hooks/index.d.ts.map +0 -1
  1011. package/dist/types/hooks/useFocus/useFocus.d.ts.map +0 -1
  1012. package/dist/types/hooks/useFocus/useFocus.types.d.ts.map +0 -1
  1013. package/dist/types/hooks/useHover/useHover.d.ts.map +0 -1
  1014. package/dist/types/hooks/useHover/useHover.types.d.ts.map +0 -1
  1015. package/dist/types/hooks/useId/index.d.ts.map +0 -1
  1016. package/dist/types/hooks/useId/useId.d.ts.map +0 -1
  1017. package/dist/types/hooks/useResponsiveCanvas/index.d.ts.map +0 -1
  1018. package/dist/types/hooks/useResponsiveCanvas/useResponsiveCanvas.d.ts.map +0 -1
  1019. package/dist/types/index.d.ts.map +0 -1
  1020. package/dist/types/tests/index.d.ts +0 -2
  1021. package/dist/types/tests/index.d.ts.map +0 -1
  1022. package/dist/types/tests/render/render.d.ts +0 -15
  1023. package/dist/types/tests/render/render.d.ts.map +0 -1
  1024. package/dist/types/types/canvas.type.d.ts.map +0 -1
  1025. package/dist/types/types/errors.type.d.ts.map +0 -1
  1026. package/dist/types/types/focusConfig.type.d.ts.map +0 -1
  1027. package/dist/types/types/index.d.ts.map +0 -1
  1028. package/dist/types/types/position.enum.d.ts.map +0 -1
  1029. package/dist/types/types/unit.enum.d.ts.map +0 -1
  1030. package/dist/types/types/valueFormatter.type.d.ts.map +0 -1
  1031. package/dist/types/utils/adaptLegacyFocusConfig/adaptLegacyFocusConfig.d.ts.map +0 -1
  1032. package/dist/types/utils/adaptLegacyFocusConfig/index.d.ts.map +0 -1
  1033. package/dist/types/utils/ajustedTextSpace/ajustedTextSpace.d.ts.map +0 -1
  1034. package/dist/types/utils/buildErrors/buildErrors.d.ts.map +0 -1
  1035. package/dist/types/utils/buildErrors/charts/buildBarChartErrors.d.ts.map +0 -1
  1036. package/dist/types/utils/buildErrors/charts/buildLineChartErrors.d.ts.map +0 -1
  1037. package/dist/types/utils/buildErrors/charts/buildPieChartErrors.d.ts.map +0 -1
  1038. package/dist/types/utils/buildErrors/constants/errorMessages/barChartErrorMessages.d.ts.map +0 -1
  1039. package/dist/types/utils/buildErrors/constants/errorMessages/lineChartErrorMessages.d.ts.map +0 -1
  1040. package/dist/types/utils/buildErrors/constants/errorMessages/pieChartErrorMessages.d.ts.map +0 -1
  1041. package/dist/types/utils/buildErrors/constants/errors/barChartErrors.d.ts.map +0 -1
  1042. package/dist/types/utils/buildErrors/constants/errors/lineChartErrors.d.ts.map +0 -1
  1043. package/dist/types/utils/buildErrors/constants/errors/pieChartErrors.d.ts.map +0 -1
  1044. package/dist/types/utils/buildErrors/index.d.ts.map +0 -1
  1045. package/dist/types/utils/buildTickValues/buildTickValues.d.ts.map +0 -1
  1046. package/dist/types/utils/classNames/classNames.d.ts.map +0 -1
  1047. package/dist/types/utils/createErrorAccumulator/createErrorAccumulator.d.ts.map +0 -1
  1048. package/dist/types/utils/createErrorAccumulator/index.d.ts.map +0 -1
  1049. package/dist/types/utils/cssGradientToSvg/cssGradientToSvg.d.ts.map +0 -1
  1050. package/dist/types/utils/cssGradientToSvg/cssGradientToSvg.types.d.ts.map +0 -1
  1051. package/dist/types/utils/cursorNear/isNear.d.ts.map +0 -1
  1052. package/dist/types/utils/getAxisData/getAxisData.d.ts.map +0 -1
  1053. package/dist/types/utils/getCanvasDimensions/getCanvasDimensions.d.ts.map +0 -1
  1054. package/dist/types/utils/getChildrenAttr/getChildrenAttr.d.ts.map +0 -1
  1055. package/dist/types/utils/getCoordinates/getCoordinates.d.ts.map +0 -1
  1056. package/dist/types/utils/getDataFingerprint/getDataFingerprint.d.ts.map +0 -1
  1057. package/dist/types/utils/getPoints/getPoints.d.ts.map +0 -1
  1058. package/dist/types/utils/getTickTextCoordinate/getTickTextCoordinates.d.ts.map +0 -1
  1059. package/dist/types/utils/getTicks/getTicks.d.ts.map +0 -1
  1060. package/dist/types/utils/index.d.ts.map +0 -1
  1061. package/dist/types/utils/logger/index.d.ts.map +0 -1
  1062. package/dist/types/utils/logger/logger.d.ts.map +0 -1
  1063. package/dist/types/utils/parseStringToNumberPx.ts/parseStringToNumberPx.d.ts.map +0 -1
  1064. package/dist/types/utils/pickCustomAttributes/pickCustomAttributes.d.ts.map +0 -1
  1065. package/dist/types/utils/shadowSvg/shadowSvg.d.ts.map +0 -1
  1066. package/dist/types/utils/shadowSvg/shadowSvg.types.d.ts.map +0 -1
  1067. package/dist/types/utils/ssr/index.d.ts.map +0 -1
  1068. package/dist/types/utils/ssr/ssr.d.ts.map +0 -1
  1069. package/dist/types/utils/textBound/textBound.d.ts.map +0 -1
@@ -1,6 +1,5 @@
1
- declare const CustomBackgroundChart: (<T = number>({ ariaHidden, ariaLabel, backgroundUrl, caption, children, className, data, dataTestId: dataTestIdProp, height, onBlur, onClick, onDoubleClick, onErrors, onFocus, onKeyDown, onKeyUp, onMouseEnter, onMouseLeave, role, tabIndex, viewBox, width, ...props }: import('./customBackgroundChart.type').CustomBackgroundChartProps<T>) => import('react').ReactElement) & {
2
- Plot: <T = number>({ ariaLabel, dataKey, formatAriaValue, ...props }: import('./customBackgroundChart.type').CustomBackgroundChartPlotProps<T>) => import('react').ReactElement | null;
1
+ declare const CustomBackgroundChart: (<T = number>({ ariaHidden, ariaLabel, backgroundUrl, caption, children, className, data, dataTestId: dataTestIdProp, height, onBlur, onClick, onDoubleClick, onErrors, onFocus, onKeyDown, onKeyUp, onMouseEnter, onMouseLeave, role, tabIndex, viewBox, width, ...props }: import("./customBackgroundChart.type").CustomBackgroundChartProps<T>) => import("react").ReactElement) & {
2
+ Plot: <T = number>({ ariaLabel, dataKey, formatAriaValue, ...props }: import("./customBackgroundChart.type").CustomBackgroundChartPlotProps<T>) => import("react").ReactElement | null;
3
3
  };
4
4
  export { CustomBackgroundChart };
5
- export * from './customBackgroundChart.type';
6
- //# sourceMappingURL=customBackgroundChart.d.ts.map
5
+ export * from "./customBackgroundChart.type";
@@ -1,5 +1,5 @@
1
- import { PlotProps } from '../../components/plot/plot.types';
2
- import { ChartError, ChartErrorCollection, ErrorType } from '../../types/errors.type';
1
+ import type { PlotProps } from "../../components/plot/plot.types";
2
+ import type { ChartError, ChartErrorCollection, ErrorType } from "../../types/errors.type";
3
3
  export interface CustomBackgroundDataPoint<T = number> {
4
4
  x: number;
5
5
  y: number;
@@ -35,7 +35,7 @@ export interface CustomBackgroundChartProps<T = number> {
35
35
  onKeyDown?: (event: React.KeyboardEvent<SVGSVGElement>) => void;
36
36
  onKeyUp?: (event: React.KeyboardEvent<SVGSVGElement>) => void;
37
37
  }
38
- export interface CustomBackgroundChartPlotProps<T = number> extends Omit<PlotProps<T>, 'position' | 'data' | 'label'> {
38
+ export interface CustomBackgroundChartPlotProps<T = number> extends Omit<PlotProps<T>, "position" | "data" | "label"> {
39
39
  dataKey: string;
40
40
  /** Supports placeholders: {{dataKey}}, {{name}}, {{value}}, {{x}}, {{y}} */
41
41
  ariaLabel?: string;
@@ -45,6 +45,5 @@ export interface CustomBackgroundChartContextType<T = number> {
45
45
  data: CustomBackgroundData<T>;
46
46
  viewBox: ViewBoxDimensions;
47
47
  dataTestId: string;
48
- addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, 'type'>) => void;
48
+ addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, "type">) => void;
49
49
  }
50
- //# sourceMappingURL=customBackgroundChart.type.d.ts.map
@@ -1,4 +1,3 @@
1
- import { ReactElement } from 'react';
2
- import { CustomBackgroundChartProps } from './customBackgroundChart.type';
1
+ import { type ReactElement } from "react";
2
+ import type { CustomBackgroundChartProps } from "./customBackgroundChart.type";
3
3
  export declare const CustomBackgroundChartStructure: <T = number>({ ariaHidden, ariaLabel, backgroundUrl, caption, children, className, data, dataTestId: dataTestIdProp, height, onBlur, onClick, onDoubleClick, onErrors, onFocus, onKeyDown, onKeyUp, onMouseEnter, onMouseLeave, role, tabIndex, viewBox, width, ...props }: CustomBackgroundChartProps<T>) => ReactElement;
4
- //# sourceMappingURL=customBackgroundChartStructure.d.ts.map
@@ -1,4 +1,3 @@
1
- import { ReactElement } from 'react';
2
- import { CustomBackgroundChartPlotProps } from '../customBackgroundChart.type';
1
+ import { type ReactElement } from "react";
2
+ import type { CustomBackgroundChartPlotProps } from "../customBackgroundChart.type";
3
3
  export declare const CustomBackgroundChartPlot: <T = number>({ ariaLabel, dataKey, formatAriaValue, ...props }: CustomBackgroundChartPlotProps<T>) => ReactElement | null;
4
- //# sourceMappingURL=customBackgroundChartPlot.d.ts.map
@@ -1,2 +1 @@
1
- export { CustomBackgroundChartPlot } from './customBackgroundChartPlot';
2
- //# sourceMappingURL=index.d.ts.map
1
+ export { CustomBackgroundChartPlot } from "./customBackgroundChartPlot";
@@ -1,2 +1 @@
1
- export * from './customBackgroundChart';
2
- //# sourceMappingURL=index.d.ts.map
1
+ export * from "./customBackgroundChart";
@@ -16,4 +16,3 @@ export interface BuildAriaLabelParams {
16
16
  }
17
17
  export declare const buildAriaLabel: ({ ariaLabel, dataKey, name, formattedValue, x, y, }: BuildAriaLabelParams) => string;
18
18
  export declare const formatValue: <T>(value: T) => string;
19
- //# sourceMappingURL=accessibility.d.ts.map
@@ -1,5 +1,4 @@
1
- export * from './barChart';
2
- export * from './customBackgroundChart';
3
- export * from './lineChart';
4
- export * from './pieChart/pieChart';
5
- //# sourceMappingURL=index.d.ts.map
1
+ export * from "./barChart";
2
+ export * from "./customBackgroundChart";
3
+ export * from "./lineChart";
4
+ export * from "./pieChart/pieChart";
@@ -1,5 +1,5 @@
1
- import { ChartError, ErrorType } from '../../../types/errors.type';
2
- import { ChildrenType, IDataPoint, LineChartContextType } from '../lineChart.type';
1
+ import { type ChartError, ErrorType } from "../../../types/errors.type";
2
+ import type { ChildrenType, IDataPoint, LineChartContextType } from "../lineChart.type";
3
3
  interface BuildContextValue {
4
4
  children: ChildrenType;
5
5
  data: IDataPoint[];
@@ -7,9 +7,9 @@ interface BuildContextValue {
7
7
  canvasHeight: number;
8
8
  canvasWidth: number;
9
9
  viewBox: string;
10
- addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, 'type'>) => void;
10
+ addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, "type">) => void;
11
11
  }
12
- type OmitProps = 'data' | 'xKey' | 'canvasHeight' | 'canvasWidth' | 'canvasExtraSpace' | 'xBreakAxis' | 'yBreakAxis' | 'xCursor' | 'yCursor';
12
+ type OmitProps = "data" | "xKey" | "canvasHeight" | "canvasWidth" | "canvasExtraSpace" | "xBreakAxis" | "yBreakAxis" | "xCursor" | "yCursor";
13
13
  /**
14
14
  * Builds the context value for the line chart.
15
15
  *
@@ -18,4 +18,3 @@ type OmitProps = 'data' | 'xKey' | 'canvasHeight' | 'canvasWidth' | 'canvasExtra
18
18
  */
19
19
  export declare const buildLineContextValue: ({ addError, canvasHeight, canvasWidth, children, data, viewBox, xKey, }: BuildContextValue) => Omit<LineChartContextType, OmitProps>;
20
20
  export {};
21
- //# sourceMappingURL=buildLineContextValue.d.ts.map
@@ -1,3 +1,2 @@
1
- export { buildLineContextValue } from './buildLineContextValue';
2
- export { LineChartContext } from './lineChartContext';
3
- //# sourceMappingURL=index.d.ts.map
1
+ export { buildLineContextValue } from "./buildLineContextValue";
2
+ export { LineChartContext } from "./lineChartContext";
@@ -1,3 +1,2 @@
1
- import { LineChartContextType } from '../lineChart.type';
2
- export declare const LineChartContext: import('react').Context<LineChartContextType>;
3
- //# sourceMappingURL=lineChartContext.d.ts.map
1
+ import type { LineChartContextType } from "../lineChart.type";
2
+ export declare const LineChartContext: import("react").Context<LineChartContextType>;
@@ -1,3 +1,2 @@
1
- import { LineChartContextType } from '../../lineChart.type';
1
+ import type { LineChartContextType } from "../../lineChart.type";
2
2
  export declare const CONTEXT: LineChartContextType;
3
- //# sourceMappingURL=contextData.d.ts.map
@@ -1,2 +1 @@
1
- export { CONTEXT } from './contextData';
2
- //# sourceMappingURL=index.d.ts.map
1
+ export { CONTEXT } from "./contextData";
@@ -1,5 +1,4 @@
1
- export { LineChartPath } from './lineChartPath';
2
- export { LineChartSeparator } from './lineChartSeparator';
3
- export { LineChartXAxis } from './lineChartXAxis';
4
- export { LineChartYAxis } from './lineChartYAxis';
5
- //# sourceMappingURL=index.d.ts.map
1
+ export { LineChartPath } from "./lineChartPath";
2
+ export { LineChartSeparator } from "./lineChartSeparator";
3
+ export { LineChartXAxis } from "./lineChartXAxis";
4
+ export { LineChartYAxis } from "./lineChartYAxis";
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
2
- import { LineChartPathProps } from '../lineChart.type';
1
+ import { type FC } from "react";
2
+ import type { LineChartPathProps } from "../lineChart.type";
3
+ import "./lineChartPath.css";
3
4
  export declare const LineChartPath: FC<LineChartPathProps>;
4
- //# sourceMappingURL=lineChartPath.d.ts.map
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
2
- import { LineChartProjectionProps } from '../lineChart.type';
1
+ import { type FC } from "react";
2
+ import type { LineChartProjectionProps } from "../lineChart.type";
3
+ import "./lineChartPath.css";
3
4
  export declare const LineChartProjection: FC<LineChartProjectionProps>;
4
- //# sourceMappingURL=lineChartProjection.d.ts.map
@@ -1,4 +1,3 @@
1
- import { FC } from 'react';
2
- import { LineChartSeparatorProps } from '../lineChart.type';
1
+ import { type FC } from "react";
2
+ import type { LineChartSeparatorProps } from "../lineChart.type";
3
3
  export declare const LineChartSeparator: FC<LineChartSeparatorProps>;
4
- //# sourceMappingURL=lineChartSeparator.d.ts.map
@@ -1,4 +1,3 @@
1
- import { FC } from 'react';
2
- import { LineChartXAxisProps } from '../lineChart.type';
1
+ import { type FC } from "react";
2
+ import type { LineChartXAxisProps } from "../lineChart.type";
3
3
  export declare const LineChartXAxis: FC<LineChartXAxisProps>;
4
- //# sourceMappingURL=lineChartXAxis.d.ts.map
@@ -1,3 +1,2 @@
1
- import { LineChartYAxisProps } from '../lineChart.type';
1
+ import type { LineChartYAxisProps } from "../lineChart.type";
2
2
  export declare const LineChartYAxis: React.FC<LineChartYAxisProps>;
3
- //# sourceMappingURL=lineChartYAxis.d.ts.map
@@ -1,4 +1,3 @@
1
- export { useAutoClick } from './useAutoClick';
2
- export { useHover } from './useHover';
3
- export { useIndicator } from './useIndicator';
4
- //# sourceMappingURL=index.d.ts.map
1
+ export { useAutoClick } from "./useAutoClick";
2
+ export { useHover } from "./useHover";
3
+ export { useIndicator } from "./useIndicator";
@@ -1,4 +1,3 @@
1
1
  type UseAutoClickReturn<T> = [React.MutableRefObject<T | null>, React.MutableRefObject<boolean>];
2
2
  export declare const useAutoClick: <T>(ref: React.ForwardedRef<T | null>) => UseAutoClickReturn<T>;
3
3
  export {};
4
- //# sourceMappingURL=useAutoClick.d.ts.map
@@ -9,4 +9,3 @@ interface UseHoverReturn {
9
9
  }
10
10
  export declare const useHover: ({ canvasHeight, canvasWidth }: UseHoverProps) => UseHoverReturn;
11
11
  export {};
12
- //# sourceMappingURL=useHover.d.ts.map
@@ -4,4 +4,3 @@ interface UseIndicatorReturn {
4
4
  }
5
5
  export declare const useIndicator: (xPosition: number, implement: boolean) => UseIndicatorReturn;
6
6
  export {};
7
- //# sourceMappingURL=useIndicator.d.ts.map
@@ -1,2 +1 @@
1
- export * from './lineChart';
2
- //# sourceMappingURL=index.d.ts.map
1
+ export * from "./lineChart";
@@ -1,9 +1,8 @@
1
- declare const LineChart: import('react').FC<import('./lineChart.type').LineChartProps> & {
2
- Path: import('react').FC<import('./lineChart.type').LineChartPathProps>;
3
- Separator: import('react').FC<import('./lineChart.type').LineChartSeparatorProps>;
4
- XAxis: import('react').FC<import('./lineChart.type').LineChartXAxisProps>;
5
- YAxis: import('react').FC<import('./lineChart.type').LineChartYAxisProps>;
1
+ declare const LineChart: import("react").FC<import("./lineChart.type").LineChartProps> & {
2
+ Path: import("react").FC<import("./lineChart.type").LineChartPathProps>;
3
+ Separator: import("react").FC<import("./lineChart.type").LineChartSeparatorProps>;
4
+ XAxis: import("react").FC<import("./lineChart.type").LineChartXAxisProps>;
5
+ YAxis: import("react").FC<import("./lineChart.type").LineChartYAxisProps>;
6
6
  };
7
7
  export { LineChart };
8
- export * from './lineChart.type';
9
- //# sourceMappingURL=lineChart.d.ts.map
8
+ export * from "./lineChart.type";
@@ -1,13 +1,13 @@
1
- import { ReactElement, ReactNode } from 'react';
2
- import { XAxisProps } from '../../components/axisChart/xAxis/xAxis.types';
3
- import { YAxisProps } from '../../components/axisChart/yAxis/yAxis.types';
4
- import { LineProps } from '../../components/line/line.types';
5
- import { NodePathProps, PathProps, StyleProps } from '../../components/path/path.types';
6
- import { TickData } from '../../components/tick/tick.types';
7
- import { CanvasConfig } from '../../types/canvas.type';
8
- import { ChartError, ChartErrorCollection, ErrorType } from '../../types/errors.type';
9
- import { Positions } from '../../types/position.enum';
10
- import { ValueFormatter } from '../../types/valueFormatter.type';
1
+ import type { ReactElement, ReactNode } from "react";
2
+ import type { XAxisProps } from "../../components/axisChart/xAxis/xAxis.types";
3
+ import type { YAxisProps } from "../../components/axisChart/yAxis/yAxis.types";
4
+ import type { LineProps } from "../../components/line/line.types";
5
+ import type { NodePathProps, PathProps, StyleProps } from "../../components/path/path.types";
6
+ import type { TickData } from "../../components/tick/tick.types";
7
+ import type { CanvasConfig } from "../../types/canvas.type";
8
+ import type { ChartError, ChartErrorCollection, ErrorType } from "../../types/errors.type";
9
+ import type { Positions } from "../../types/position.enum";
10
+ import type { ValueFormatter } from "../../types/valueFormatter.type";
11
11
  export type ChildrenType = ReactNode | ReactElement<PathProps | XAxisProps | YAxisProps>;
12
12
  export interface IDataPoint {
13
13
  [key: string]: any;
@@ -40,7 +40,7 @@ export interface LineChartExtraSpacings {
40
40
  xAxisText: number;
41
41
  yAxisText: number;
42
42
  }
43
- type OmitLineProps = 'lineChartXPosition' | 'lineChartYPosition' | 'xData' | 'yData' | 'xBreakAxis' | 'yBreakAxis';
43
+ type OmitLineProps = "lineChartXPosition" | "lineChartYPosition" | "xData" | "yData" | "xBreakAxis" | "yBreakAxis";
44
44
  export type LineChartContextType = Omit<LineChartExtraSpacings, OmitLineProps> & {
45
45
  data: IDataPoint[];
46
46
  xKey: string;
@@ -55,7 +55,7 @@ export type LineChartContextType = Omit<LineChartExtraSpacings, OmitLineProps> &
55
55
  xCursor: number;
56
56
  yCursor: number;
57
57
  error?: ChartError;
58
- addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, 'type'>) => void;
58
+ addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, "type">) => void;
59
59
  };
60
60
  export interface LineChartProps {
61
61
  children: ChildrenType;
@@ -99,8 +99,8 @@ export interface TickValuesAxisProps {
99
99
  custom?: TickCustom;
100
100
  numeric?: TickNumeric;
101
101
  }
102
- type OmitProps = 'x1' | 'x2' | 'y1' | 'y2' | 'tickValues' | 'cursor';
103
- export interface LineChartXAxisProps extends Omit<XAxisProps, OmitProps | 'ariaLabel'>, React.AriaAttributes {
102
+ type OmitProps = "x1" | "x2" | "y1" | "y2" | "tickValues" | "cursor";
103
+ export interface LineChartXAxisProps extends Omit<XAxisProps, OmitProps | "ariaLabel">, React.AriaAttributes {
104
104
  tickValues?: TickValuesAxisProps;
105
105
  valueFormatter?: ValueFormatter;
106
106
  /**
@@ -109,14 +109,14 @@ export interface LineChartXAxisProps extends Omit<XAxisProps, OmitProps | 'ariaL
109
109
  ariaLabel?: string;
110
110
  [key: `data-${string}`]: string | number | boolean | undefined;
111
111
  }
112
- export interface LineChartYAxisProps extends Omit<YAxisProps, OmitProps | 'ariaLabel' | 'tickText'>, React.AriaAttributes {
112
+ export interface LineChartYAxisProps extends Omit<YAxisProps, OmitProps | "ariaLabel" | "tickText">, React.AriaAttributes {
113
113
  /**
114
114
  * TODO: This prop is defined in the interface but NOT IMPLEMENTED in LineChartYAxis component.
115
115
  * The component currently ignores this prop and uses auto-generated tick values from context.
116
116
  * Implementation needed in lineChartYAxis.tsx to properly handle custom tick values.
117
117
  */
118
118
  tickValues?: TickValuesAxisProps;
119
- tickText?: YAxisProps['tickText'] & {
119
+ tickText?: YAxisProps["tickText"] & {
120
120
  useAxisAsOrigin?: boolean;
121
121
  };
122
122
  valueFormatter?: ValueFormatter;
@@ -150,11 +150,11 @@ export interface LineChartProjections {
150
150
  upper?: LineChartProjection;
151
151
  lower?: LineChartProjection;
152
152
  }
153
- type IndicatorOmitProps = 'onClick' | 'onKeyDown' | 'onFocus' | 'onBlur' | 'onMouseEnter' | 'onMouseLeave';
154
- export interface LineChartPathProps extends Omit<PathProps, 'ariaLabel'>, React.AriaAttributes {
153
+ type IndicatorOmitProps = "onClick" | "onKeyDown" | "onFocus" | "onBlur" | "onMouseEnter" | "onMouseLeave";
154
+ export interface LineChartPathProps extends Omit<PathProps, "ariaLabel">, React.AriaAttributes {
155
155
  indicatorConfig?: Omit<NodePathProps, IndicatorOmitProps> & {
156
156
  autoClick?: boolean;
157
- lineIndicator?: Omit<LineProps, 'x1' | 'x2' | 'y1' | 'y2'>;
157
+ lineIndicator?: Omit<LineProps, "x1" | "x2" | "y1" | "y2">;
158
158
  };
159
159
  lineProjection?: LineChartProjections;
160
160
  closestClick?: boolean;
@@ -170,4 +170,3 @@ export interface LineChartPathProps extends Omit<PathProps, 'ariaLabel'>, React.
170
170
  [key: `data-${string}`]: string | number | boolean | undefined;
171
171
  }
172
172
  export {};
173
- //# sourceMappingURL=lineChart.type.d.ts.map
@@ -1,5 +1,5 @@
1
- import { FC } from 'react';
2
- import { LineChartProps } from './lineChart.type';
1
+ import { type FC } from "react";
2
+ import type { LineChartProps } from "./lineChart.type";
3
3
  /**
4
4
  * Renders a line chart component.
5
5
  *
@@ -30,4 +30,3 @@ import { LineChartProps } from './lineChart.type';
30
30
  * @returns The rendered LineChart component.
31
31
  */
32
32
  export declare const LineChartStructure: FC<LineChartProps>;
33
- //# sourceMappingURL=lineChartStructure.d.ts.map
@@ -11,4 +11,3 @@ export interface NodeTemplateData {
11
11
  xKey?: string;
12
12
  }
13
13
  export declare const processAccessibilityTemplate: (template: string, nodeData: NodeTemplateData, dataValue?: string | number | Array<Record<string, unknown>>) => string | undefined;
14
- //# sourceMappingURL=accessibilityTemplateProcessor.d.ts.map
@@ -5,4 +5,3 @@ interface FSReturnValue {
5
5
  export declare const findSurroundingNumber: (points: number[], xPosition: number) => FSReturnValue;
6
6
  export declare const findClosestNumber: (points: number[], xPosition: number) => number;
7
7
  export {};
8
- //# sourceMappingURL=findSurroundingNumber.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Positions } from '../../../types/position.enum';
1
+ import { Positions } from "../../../types/position.enum";
2
2
  type GetCoordinates = (params: {
3
3
  lineChartXPosition: (typeof Positions)[keyof typeof Positions];
4
4
  lineChartYPosition: (typeof Positions)[keyof typeof Positions];
@@ -22,4 +22,3 @@ type GetCoordinates = (params: {
22
22
  export declare const getXCoordinates: GetCoordinates;
23
23
  export declare const getYCoordinates: GetCoordinates;
24
24
  export {};
25
- //# sourceMappingURL=getCoordinates.d.ts.map
@@ -1,8 +1,7 @@
1
- import { TickValuesAxisProps } from '../lineChart.type';
1
+ import type { TickValuesAxisProps } from "../lineChart.type";
2
2
  /**
3
3
  * Retrieves the data values from the given TickValuesAxisProps object.
4
4
  * @param data - The TickValuesAxisProps object containing the data values.
5
5
  * @returns An array of string values representing the data, or undefined if the data is invalid.
6
6
  */
7
7
  export declare const getDataValues: (data: TickValuesAxisProps) => string[] | undefined;
8
- //# sourceMappingURL=getDataValues.d.ts.map
@@ -1,4 +1,4 @@
1
- import { ChildrenType, IDataPoint, LineChartExtraSpacings } from '../lineChart.type';
1
+ import type { ChildrenType, IDataPoint, LineChartExtraSpacings } from "../lineChart.type";
2
2
  interface GetExtraSpacing {
3
3
  children: ChildrenType;
4
4
  data: IDataPoint[];
@@ -14,4 +14,3 @@ interface GetExtraSpacing {
14
14
  */
15
15
  export declare const getExtraSpacing: ({ canvasHeight, canvasWidth, children, data, viewBox, xKey, }: GetExtraSpacing) => LineChartExtraSpacings;
16
16
  export {};
17
- //# sourceMappingURL=getExtraSpacing.d.ts.map
@@ -15,4 +15,3 @@ interface GetPathDataParamsType {
15
15
  */
16
16
  export declare const getPathData: ({ curved, extendToBottom, points, svgHeight, }: GetPathDataParamsType) => string;
17
17
  export {};
18
- //# sourceMappingURL=getPathData.d.ts.map
@@ -30,4 +30,3 @@ interface GetProjectionReturnType {
30
30
  */
31
31
  export declare const getProjection: ({ curved, lowerProjection, points, svgHeight, upperProjection, }: GetProjectionPropsType) => GetProjectionReturnType;
32
32
  export {};
33
- //# sourceMappingURL=getProjection.d.ts.map
@@ -1,4 +1,4 @@
1
- import { IDataPoint } from '../lineChart.type';
1
+ import type { IDataPoint } from "../lineChart.type";
2
2
  /**
3
3
  * Extracts the maximum value from the data points that do not correspond to the provided key.
4
4
  * The maximum value is rounded up to the nearest multiple of 10.
@@ -14,4 +14,3 @@ export declare const getRoundedMaxValue: (data: IDataPoint[], key: string) => nu
14
14
  * @returns An array of rounded maximum values.
15
15
  */
16
16
  export declare const getYKeyRoundMaxValue: (data: IDataPoint[], xKey: string) => number[];
17
- //# sourceMappingURL=getRoundedMaxValue.d.ts.map
@@ -1,4 +1,4 @@
1
- import { TickData } from '../../../components/tick/tick.types';
1
+ import type { TickData } from "../../../components/tick/tick.types";
2
2
  interface GetXTickProps {
3
3
  tickValues: string[];
4
4
  maxSpaceAvailable: number;
@@ -18,4 +18,3 @@ interface GetYTickProps {
18
18
  }
19
19
  export declare const getYTicks: ({ maxSpaceAvailable, tickValues, xAxisTopSpacing, xAxisBottomSpacing, yAxisTopSpacing, yAxisBottomSpacing, }: GetYTickProps) => TickData[];
20
20
  export {};
21
- //# sourceMappingURL=getTicks.d.ts.map
@@ -14,4 +14,3 @@ interface HandleNodesFocusProps {
14
14
  }
15
15
  export declare const handleNodesFocus: ({ data, getNodeFocusInfo, nodes, ref, }: HandleNodesFocusProps) => HandleNodesFocusReturn;
16
16
  export {};
17
- //# sourceMappingURL=handleNodesFocus.d.ts.map
@@ -1,7 +1,6 @@
1
- export { findSurroundingNumber, findClosestNumber } from './findSurroundingNumber';
2
- export { getDataValues } from './getDataValues';
3
- export { getExtraSpacing } from './getExtraSpacing';
4
- export { getPathData } from './getPathData';
5
- export { getProjection } from './getProjection';
6
- export { getRoundedMaxValue, getYKeyRoundMaxValue } from './getRoundedMaxValue';
7
- //# sourceMappingURL=index.d.ts.map
1
+ export { findSurroundingNumber, findClosestNumber } from "./findSurroundingNumber";
2
+ export { getDataValues } from "./getDataValues";
3
+ export { getExtraSpacing } from "./getExtraSpacing";
4
+ export { getPathData } from "./getPathData";
5
+ export { getProjection } from "./getProjection";
6
+ export { getRoundedMaxValue, getYKeyRoundMaxValue } from "./getRoundedMaxValue";
@@ -1,33 +1,32 @@
1
- import { Positions } from '../../../types/position.enum';
2
- import { LineChartXAxisProps, LineChartYAxisProps } from '../lineChart.type';
1
+ import { Positions } from "../../../types/position.enum";
2
+ import type { LineChartXAxisProps, LineChartYAxisProps } from "../lineChart.type";
3
3
  type GetYAxisTextXCoordinate = (params: {
4
- tickText?: LineChartYAxisProps['tickText'];
5
- yAxisPosition: LineChartYAxisProps['position'];
4
+ tickText?: LineChartYAxisProps["tickText"];
5
+ yAxisPosition: LineChartYAxisProps["position"];
6
6
  textWidth: number;
7
7
  yAxisX1: number;
8
8
  }) => number;
9
9
  export declare const getYAxisTextXCoordinate: GetYAxisTextXCoordinate;
10
10
  type GetYAxisLeftTextSpacing = (params: {
11
- tickText?: LineChartYAxisProps['tickText'];
11
+ tickText?: LineChartYAxisProps["tickText"];
12
12
  textWidth: number;
13
13
  yAxisPosition: (typeof Positions)[keyof typeof Positions];
14
14
  }) => number;
15
15
  export declare const getYAxisLeftTextSpacing: GetYAxisLeftTextSpacing;
16
16
  type GetYAxisRightTextSpacing = (params: {
17
- tickText?: LineChartYAxisProps['tickText'];
17
+ tickText?: LineChartYAxisProps["tickText"];
18
18
  textWidth: number;
19
19
  yAxisPosition: (typeof Positions)[keyof typeof Positions];
20
20
  }) => number;
21
21
  export declare const getYAxisRightTextSpacing: GetYAxisRightTextSpacing;
22
22
  type GetXAxisLeftTextSpacing = (params: {
23
- tickText?: LineChartXAxisProps['tickText'];
23
+ tickText?: LineChartXAxisProps["tickText"];
24
24
  textWidth: number;
25
25
  }) => number;
26
26
  export declare const getXAxisLeftTextSpacing: GetXAxisLeftTextSpacing;
27
27
  type GetXAxisRightTextSpacing = (params: {
28
- tickText?: LineChartXAxisProps['tickText'];
28
+ tickText?: LineChartXAxisProps["tickText"];
29
29
  textWidth: number;
30
30
  }) => number;
31
31
  export declare const getXAxisRightTextSpacing: GetXAxisRightTextSpacing;
32
32
  export {};
33
- //# sourceMappingURL=tickTextPosition.d.ts.map
@@ -1,33 +1,33 @@
1
- import { TickData } from '../../../components/tick/tick.types';
2
- import { ChartError, ErrorType } from '../../../types/errors.type';
3
- import { IDataPoint } from '../lineChart.type';
1
+ import type { TickData } from "../../../components/tick/tick.types";
2
+ import type { ChartError, ErrorType } from "../../../types/errors.type";
3
+ import type { IDataPoint } from "../lineChart.type";
4
4
  type ValidateData = (params: {
5
5
  data: IDataPoint[];
6
- addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, 'type'>) => void;
6
+ addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, "type">) => void;
7
7
  }) => {
8
- error: Omit<ChartError, 'type'> | undefined;
8
+ error: Omit<ChartError, "type"> | undefined;
9
9
  };
10
10
  export declare const validateData: ValidateData;
11
11
  type ValidateCanvasDimensions = (params: {
12
12
  canvasWidth: number;
13
13
  canvasHeight: number;
14
- addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, 'type'>) => void;
14
+ addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, "type">) => void;
15
15
  }) => {
16
- error: Omit<ChartError, 'type'> | undefined;
16
+ error: Omit<ChartError, "type"> | undefined;
17
17
  };
18
18
  export declare const validateCanvasDimensions: ValidateCanvasDimensions;
19
19
  type ValidateYTickValues = (params: {
20
20
  yTickValues: TickData[];
21
- addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, 'type'>) => void;
21
+ addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, "type">) => void;
22
22
  }) => {
23
- error: Omit<ChartError, 'type'> | undefined;
23
+ error: Omit<ChartError, "type"> | undefined;
24
24
  };
25
25
  export declare const validateYTickValues: ValidateYTickValues;
26
26
  type ValidateXTickValues = (params: {
27
27
  xTickValues: TickData[];
28
- addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, 'type'>) => void;
28
+ addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, "type">) => void;
29
29
  }) => {
30
- error: Omit<ChartError, 'type'> | undefined;
30
+ error: Omit<ChartError, "type"> | undefined;
31
31
  };
32
32
  export declare const validateXTickValues: ValidateXTickValues;
33
33
  type ValidateXCoordinates = (params: {
@@ -35,9 +35,9 @@ type ValidateXCoordinates = (params: {
35
35
  x1: number;
36
36
  x2: number;
37
37
  };
38
- addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, 'type'>) => void;
38
+ addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, "type">) => void;
39
39
  }) => {
40
- error: Omit<ChartError, 'type'> | undefined;
40
+ error: Omit<ChartError, "type"> | undefined;
41
41
  };
42
42
  export declare const validateXCoordinates: ValidateXCoordinates;
43
43
  type ValidateYCoordinates = (params: {
@@ -45,10 +45,9 @@ type ValidateYCoordinates = (params: {
45
45
  y1: number;
46
46
  y2: number;
47
47
  };
48
- addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, 'type'>) => void;
48
+ addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, "type">) => void;
49
49
  }) => {
50
- error: Omit<ChartError, 'type'> | undefined;
50
+ error: Omit<ChartError, "type"> | undefined;
51
51
  };
52
52
  export declare const validateYCoordinates: ValidateYCoordinates;
53
53
  export {};
54
- //# sourceMappingURL=validations.d.ts.map
@@ -1,11 +1,11 @@
1
- import { ChartError, ErrorType } from '../../../types/errors.type';
2
- import { PieChartChildrenType, PieChartContextType } from '../pieChart.type';
1
+ import type { ChartError, ErrorType } from "../../../types/errors.type";
2
+ import type { PieChartChildrenType, PieChartContextType } from "../pieChart.type";
3
3
  interface BuildPieContextValueProps {
4
4
  children: PieChartChildrenType;
5
5
  canvasWidth: number;
6
6
  canvasHeight: number;
7
7
  halfChart?: boolean;
8
- addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, 'type'>) => void;
8
+ addError?: (errorType: keyof typeof ErrorType, error: Omit<ChartError, "type">) => void;
9
9
  }
10
10
  /**
11
11
  * Builds the context value for the PieChart component.
@@ -15,4 +15,3 @@ interface BuildPieContextValueProps {
15
15
  */
16
16
  export declare const buildPieContextValue: ({ addError, canvasHeight, canvasWidth, children, halfChart, }: BuildPieContextValueProps) => Omit<PieChartContextType, "canvasHeight" | "canvasWidth" | "data">;
17
17
  export {};
18
- //# sourceMappingURL=buildPieContextValue.d.ts.map
@@ -1,3 +1,2 @@
1
- export { buildPieContextValue } from './buildPieContextValue';
2
- export { PieChartContext } from './pieChartContext';
3
- //# sourceMappingURL=index.d.ts.map
1
+ export { buildPieContextValue } from "./buildPieContextValue";
2
+ export { PieChartContext } from "./pieChartContext";
@@ -1,3 +1,2 @@
1
- import { PieChartContextType } from '../pieChart.type';
2
- export declare const PieChartContext: import('react').Context<PieChartContextType>;
3
- //# sourceMappingURL=pieChartContext.d.ts.map
1
+ import type { PieChartContextType } from "../pieChart.type";
2
+ export declare const PieChartContext: import("react").Context<PieChartContextType>;
@@ -1,3 +1,2 @@
1
- export { PieChartForeign } from './pieChartForeign';
2
- export { PieChartPath } from './pieChartPath';
3
- //# sourceMappingURL=index.d.ts.map
1
+ export { PieChartForeign } from "./pieChartForeign";
2
+ export { PieChartPath } from "./pieChartPath";