@dynatrace/strato-components 3.7.1 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2527) hide show
  1. package/CHANGELOG.md +2113 -0
  2. package/buttons/button/Button.css +15 -15
  3. package/buttons/button/Button.d.ts +2 -1
  4. package/buttons/button/Button.js +5 -4
  5. package/buttons/button/Button.sty.js +4 -4
  6. package/buttons/intent-button/IntentButton.css +1 -1
  7. package/buttons/intent-button/IntentButton.sty.js +1 -1
  8. package/buttons/intent-button/IntentButtonWithResponse.js +2 -2
  9. package/buttons/notify-button/NotifyButton.css +2 -2
  10. package/buttons/notify-button/NotifyButton.sty.js +2 -2
  11. package/buttons/run-query-button/RunQueryButton.js +6 -13
  12. package/charts/categorical-bar/components/interactions/hooks/useSeriesActionClickHandler.js +7 -1
  13. package/charts/categorical-bar/components/interactions/overlays/CategoricalBarChartInspectOverlay.css +2 -2
  14. package/charts/categorical-bar/components/interactions/overlays/CategoricalBarChartInspectOverlay.sty.js +2 -2
  15. package/charts/categorical-bar/hooks/store/state-setters.d.ts +2 -2
  16. package/charts/categorical-bar/hooks/store/state-setters.js +3 -1
  17. package/charts/categorical-bar/layout/CategoricalGridLayout.js +1 -2
  18. package/charts/core/components/annotations/AnnotationsAtom.css +1 -1
  19. package/charts/core/components/annotations/AnnotationsAtom.sty.js +1 -1
  20. package/charts/core/components/annotations/components/canvas/AnnotationsCanvasLayout.css +1 -1
  21. package/charts/core/components/annotations/components/canvas/AnnotationsCanvasLayout.sty.js +1 -1
  22. package/charts/core/components/annotations/components/canvas/utils/calculate-marker-width-and-content.js +1 -2
  23. package/charts/core/components/annotations/components/overlays/AnnotationsOverlays.css +1 -1
  24. package/charts/core/components/annotations/components/overlays/AnnotationsOverlays.sty.js +1 -1
  25. package/charts/core/components/annotations/components/overlays/AnnotationsScrollWrapper.css +1 -1
  26. package/charts/core/components/annotations/components/overlays/AnnotationsScrollWrapper.sty.js +1 -1
  27. package/charts/core/components/annotations/utils/aggregate-markers-coords.js +19 -2
  28. package/charts/core/components/annotations/utils/resolve-value-marker-hit-area.d.ts +3 -0
  29. package/charts/core/components/annotations/utils/resolve-value-marker-hit-area.js +32 -0
  30. package/charts/core/components/axes/Axis.css +1 -1
  31. package/charts/core/components/axes/Axis.js +2 -5
  32. package/charts/core/components/axes/Axis.sty.js +1 -1
  33. package/charts/core/components/axes/AxisPrimitive.d.ts +31 -0
  34. package/charts/core/components/axes/AxisPrimitive.js +221 -0
  35. package/charts/core/components/axes/components/CategoryBottomAxis.js +3 -3
  36. package/charts/core/components/axes/components/CategoryLeftAxis.js +2 -2
  37. package/charts/core/components/axes/components/PanningControls/PanningControls.css +16 -16
  38. package/charts/core/components/axes/components/PanningControls/PanningControls.sty.js +2 -2
  39. package/charts/core/components/axes/components/TickLabel.d.ts +1 -1
  40. package/charts/core/components/axes/components/TimeTableHeaderAxis.js +2 -2
  41. package/charts/core/components/axes/components/ValueTableHeaderAxis.js +2 -2
  42. package/charts/core/components/axes/constants.d.ts +0 -1
  43. package/charts/core/components/axes/constants.js +0 -2
  44. package/charts/core/components/axes/types.d.ts +50 -3
  45. package/charts/core/components/axes/utils/get-tick-label-props.d.ts +1 -23
  46. package/charts/core/components/axes/utils/get-tick-label-props.js +45 -4
  47. package/charts/core/components/chart-grid/ChartGrid.css +3 -3
  48. package/charts/core/components/chart-grid/ChartGrid.sty.js +3 -3
  49. package/charts/core/components/chart-grid/constants.d.ts +23 -0
  50. package/charts/core/components/chart-grid/constants.js +33 -0
  51. package/charts/core/components/chart-layout/components/styles.css +15 -15
  52. package/charts/core/components/chart-layout/components/styles.sty.js +4 -4
  53. package/charts/core/components/chart-states/ChartState.css +4 -4
  54. package/charts/core/components/chart-states/ChartState.sty.js +4 -4
  55. package/charts/core/components/crosshair/HorizontalCrosshair.js +6 -4
  56. package/charts/core/components/crosshair/VerticalCrosshair.js +7 -5
  57. package/charts/core/components/crosshair/components/Magnifier.css +7 -7
  58. package/charts/core/components/crosshair/components/Magnifier.sty.js +7 -7
  59. package/charts/core/components/grid/Grid.d.ts +5 -2
  60. package/charts/core/components/grid/Grid.js +1 -4
  61. package/charts/core/components/grid/GridColumns.d.ts +6 -3
  62. package/charts/core/components/grid/GridColumns.js +9 -7
  63. package/charts/core/components/grid/GridLine.d.ts +15 -5
  64. package/charts/core/components/grid/GridLine.js +5 -4
  65. package/charts/core/components/grid/GridLines.d.ts +2 -2
  66. package/charts/core/components/grid/GridRows.d.ts +6 -3
  67. package/charts/core/components/grid/GridRows.js +9 -7
  68. package/charts/core/components/grid/utils/compute-grid-lines.d.ts +3 -0
  69. package/charts/core/components/grid/utils/compute-grid-lines.js +35 -0
  70. package/charts/core/components/grid/utils/should-highlight-zero-line.d.ts +2 -2
  71. package/charts/core/components/interactions-overlay/InteractionsOverlay.css +5 -5
  72. package/charts/core/components/interactions-overlay/InteractionsOverlay.sty.js +2 -2
  73. package/charts/core/components/legend/categorical/ChartLegend.css +1 -1
  74. package/charts/core/components/legend/categorical/ChartLegend.sty.js +1 -1
  75. package/charts/core/components/legend/categorical/components/ChartLegendIcon/ChartLegendIcon.css +3 -3
  76. package/charts/core/components/legend/categorical/components/ChartLegendIcon/ChartLegendIcon.sty.js +3 -3
  77. package/charts/core/components/legend/categorical/components/ChartLegendItem/ChartLegendItem.css +17 -17
  78. package/charts/core/components/legend/categorical/components/ChartLegendItem/ChartLegendItem.sty.js +6 -6
  79. package/charts/core/components/legend/categorical/components/ChartLegendSeriesActions/ChartLegendSeriesActions.css +3 -3
  80. package/charts/core/components/legend/categorical/components/ChartLegendSeriesActions/ChartLegendSeriesActions.sty.js +1 -1
  81. package/charts/core/components/legend/categorical/components/ChartVirtualizedLegendGrid.css +8 -8
  82. package/charts/core/components/legend/categorical/components/ChartVirtualizedLegendGrid.sty.js +4 -4
  83. package/charts/core/components/legend/range/RangeLegend.css +3 -3
  84. package/charts/core/components/legend/range/RangeLegend.sty.js +1 -1
  85. package/charts/core/components/legend/range/components/RangeLegendBoundaryLabel/RangeLegendBoundaryLabel.css +2 -2
  86. package/charts/core/components/legend/range/components/RangeLegendBoundaryLabel/RangeLegendBoundaryLabel.sty.js +1 -1
  87. package/charts/core/components/legend/range/components/RangeLegendItemLabel/RangeLegendItemLabel.css +1 -1
  88. package/charts/core/components/legend/range/components/RangeLegendItemLabel/RangeLegendItemLabel.sty.js +1 -1
  89. package/charts/core/components/legend/range/components/RangeLegendItemMarker/RangeLegendItemMarker.css +3 -3
  90. package/charts/core/components/legend/range/components/RangeLegendItemMarker/RangeLegendItemMarker.sty.js +1 -1
  91. package/charts/core/components/legend/range/components/RangeLegendMarkers/RangeLegendMarkers.css +3 -3
  92. package/charts/core/components/legend/range/components/RangeLegendMarkers/RangeLegendMarkers.sty.js +1 -1
  93. package/charts/core/components/legend/range/components/RangeLegendSegments/RangeLegendSegments.css +5 -5
  94. package/charts/core/components/legend/range/components/RangeLegendSegments/RangeLegendSegments.sty.js +1 -1
  95. package/charts/core/components/loader-overlay/LoaderOverlay.css +2 -2
  96. package/charts/core/components/loader-overlay/LoaderOverlay.sty.js +2 -2
  97. package/charts/core/components/overlay-tooltip/components/DynamicTooltip.js +7 -3
  98. package/charts/core/components/overlay-tooltip/components/TooltipPortal.js +7 -1
  99. package/charts/core/components/overlay-tooltip/components/global-actions/actions.css +4 -4
  100. package/charts/core/components/overlay-tooltip/components/global-actions/actions.sty.js +2 -2
  101. package/charts/core/components/overlay-tooltip/components/header/Header.css +6 -6
  102. package/charts/core/components/overlay-tooltip/components/header/Header.sty.js +6 -6
  103. package/charts/core/components/overlay-tooltip/components/series/seriesSymbol.css +2 -2
  104. package/charts/core/components/overlay-tooltip/components/series/seriesSymbol.sty.js +2 -2
  105. package/charts/core/components/overlay-tooltip/tooltip.css +52 -52
  106. package/charts/core/components/overlay-tooltip/tooltip.sty.js +39 -39
  107. package/charts/core/components/overlay-tooltip/useTooltipActions.js +8 -0
  108. package/charts/core/components/overlay-tooltip/utils/is-scroll-ignored.d.ts +2 -0
  109. package/charts/core/components/overlay-tooltip/utils/is-scroll-ignored.js +28 -0
  110. package/charts/core/components/overlays/ChartOverlaysBorder.css +5 -5
  111. package/charts/core/components/overlays/ChartOverlaysBorder.sty.js +5 -5
  112. package/charts/core/components/selection-area/SelectionArea.css +9 -9
  113. package/charts/core/components/selection-area/SelectionArea.sty.js +4 -4
  114. package/charts/core/components/series-action/ChartActionsMenuAsync.js +3 -1
  115. package/charts/core/components/shape/BubbleShape/BubbleShape.css +5 -5
  116. package/charts/core/components/shape/BubbleShape/BubbleShape.sty.js +3 -3
  117. package/charts/core/components/shape/EmojiShape/EmojiShape.css +3 -3
  118. package/charts/core/components/shape/EmojiShape/EmojiShape.sty.js +1 -1
  119. package/charts/core/components/shape/IconShape/IconShape.css +3 -3
  120. package/charts/core/components/shape/IconShape/IconShape.sty.js +1 -1
  121. package/charts/core/components/shape/styles/DataPointShape.css +8 -8
  122. package/charts/core/components/shape/styles/DataPointShape.sty.js +4 -4
  123. package/charts/core/components/shared-chart-interactions/SharedChartInteractions.css +1 -1
  124. package/charts/core/components/shared-chart-interactions/SharedChartInteractions.sty.js +1 -1
  125. package/charts/core/components/single-value-renderer/SingleValueRenderer.css +5 -5
  126. package/charts/core/components/single-value-renderer/SingleValueRenderer.sty.js +5 -5
  127. package/charts/core/components/single-value-renderer/components/ContentGrid.css +1 -1
  128. package/charts/core/components/single-value-renderer/components/ContentGrid.sty.js +1 -1
  129. package/charts/core/components/single-value-renderer/components/Icon.css +3 -3
  130. package/charts/core/components/single-value-renderer/components/Icon.sty.js +2 -2
  131. package/charts/core/components/single-value-renderer/components/Label.css +1 -1
  132. package/charts/core/components/single-value-renderer/components/Label.sty.js +1 -1
  133. package/charts/core/components/single-value-renderer/components/SingleValueToolbar.css +1 -1
  134. package/charts/core/components/single-value-renderer/components/SingleValueToolbar.js +0 -1
  135. package/charts/core/components/single-value-renderer/components/SingleValueToolbar.sty.js +1 -1
  136. package/charts/core/components/single-value-renderer/components/Value.css +5 -5
  137. package/charts/core/components/single-value-renderer/components/Value.sty.js +3 -3
  138. package/charts/core/components/single-value-renderer/components/trend/Trend.css +3 -3
  139. package/charts/core/components/single-value-renderer/components/trend/Trend.sty.js +3 -3
  140. package/charts/core/components/single-value-renderer/components/trend/components/Icon.css +2 -2
  141. package/charts/core/components/single-value-renderer/components/trend/components/Icon.sty.js +1 -1
  142. package/charts/core/components/sparkline-display/Sparkline.css +6 -6
  143. package/charts/core/components/sparkline-display/Sparkline.sty.js +2 -2
  144. package/charts/core/components/sparkline-display/SparklineContainer.js +6 -4
  145. package/charts/core/components/text-ellipsis/ChartTextEllipsis.css +7 -7
  146. package/charts/core/components/text-ellipsis/ChartTextEllipsis.sty.js +3 -3
  147. package/charts/core/components/threshold-bar/indicators/ThresholdIndicator.js +40 -21
  148. package/charts/core/components/threshold-bar/markers/CircleMarker.js +1 -2
  149. package/charts/core/components/threshold-bar/markers/PillMarker.js +1 -2
  150. package/charts/core/components/threshold-bar/styles.css +9 -9
  151. package/charts/core/components/threshold-bar/styles.sty.js +2 -2
  152. package/charts/core/components/toolbar/ChartToolbarRenderer.css +16 -16
  153. package/charts/core/components/toolbar/ChartToolbarRenderer.js +16 -6
  154. package/charts/core/components/toolbar/ChartToolbarRenderer.sty.js +8 -8
  155. package/charts/core/components/toolbar/components/ChartDataMenu.css +2 -2
  156. package/charts/core/components/toolbar/components/ChartDataMenu.sty.js +1 -1
  157. package/charts/core/components/toolbar/components/Control.css +17 -17
  158. package/charts/core/components/toolbar/components/Control.sty.js +5 -5
  159. package/charts/core/components/toolbar/components/ToolbarMenu.css +4 -4
  160. package/charts/core/components/toolbar/components/ToolbarMenu.sty.js +2 -2
  161. package/charts/core/components/toolbar/types.d.ts +4 -2
  162. package/charts/core/components/tooltip/ChartTooltip/ChartTooltip.css +6 -6
  163. package/charts/core/components/tooltip/ChartTooltip/ChartTooltip.sty.js +2 -2
  164. package/charts/core/components/tooltip/ChartTooltip/components/ActionItem/ActionItem.css +8 -8
  165. package/charts/core/components/tooltip/ChartTooltip/components/ActionItem/ActionItem.sty.js +3 -3
  166. package/charts/core/components/tooltip/ChartTooltip/components/SeriesItem/SeriesItem.css +2 -2
  167. package/charts/core/components/tooltip/ChartTooltip/components/SeriesItem/SeriesItem.sty.js +1 -1
  168. package/charts/core/components/tooltip/ChartTooltip/components/TimeFrameHeader/TimeFrameHeader.css +1 -1
  169. package/charts/core/components/tooltip/ChartTooltip/components/TimeFrameHeader/TimeFrameHeader.sty.js +1 -1
  170. package/charts/core/components/tooltip/InteractiveChartTooltip/components/BasicChartTooltip/BasicChartTooltip.css +6 -6
  171. package/charts/core/components/tooltip/InteractiveChartTooltip/components/BasicChartTooltip/BasicChartTooltip.sty.js +2 -2
  172. package/charts/core/components/tooltip/InteractiveChartTooltip/components/InteractiveChartTooltip.css +7 -7
  173. package/charts/core/components/tooltip/InteractiveChartTooltip/components/InteractiveChartTooltip.sty.js +6 -6
  174. package/charts/core/components/tooltip/InteractiveChartTooltip/headers/HeaderTooltip.css +1 -1
  175. package/charts/core/components/tooltip/InteractiveChartTooltip/headers/HeaderTooltip.sty.js +1 -1
  176. package/charts/core/components/tooltip/section-components/TooltipFooter/TooltipFooter.css +1 -1
  177. package/charts/core/components/tooltip/section-components/TooltipFooter/TooltipFooter.sty.js +1 -1
  178. package/charts/core/components/tooltip/section-components/TooltipHeader/TooltipHeader.css +2 -2
  179. package/charts/core/components/tooltip/section-components/TooltipHeader/TooltipHeader.sty.js +1 -1
  180. package/charts/core/components/tooltip/section-components/TooltipInfoContent/TooltipInfoContent.css +1 -1
  181. package/charts/core/components/tooltip/section-components/TooltipInfoContent/TooltipInfoContent.sty.js +1 -1
  182. package/charts/core/components/tooltip/section-components/TooltipItem/TooltipItem.css +3 -3
  183. package/charts/core/components/tooltip/section-components/TooltipItem/TooltipItem.sty.js +2 -2
  184. package/charts/core/components/tooltip/section-components/TooltipSymbolContent/TooltipSymbolContent.css +1 -1
  185. package/charts/core/components/tooltip/section-components/TooltipSymbolContent/TooltipSymbolContent.sty.js +1 -1
  186. package/charts/core/components/tooltip/section-components/VirtualizedTooltipBody/VirtualizedTooltipBody.css +2 -2
  187. package/charts/core/components/tooltip/section-components/VirtualizedTooltipBody/VirtualizedTooltipBody.sty.js +2 -2
  188. package/charts/core/components/tooltip/shared/styles/SeriesBasedContent.css +12 -12
  189. package/charts/core/components/tooltip/shared/styles/SeriesBasedContent.sty.js +7 -7
  190. package/charts/core/components/tooltip/shared/styles/TooltipBody.css +1 -1
  191. package/charts/core/components/tooltip/shared/styles/TooltipBody.sty.js +1 -1
  192. package/charts/core/components/tooltip-atoms/components/HeaderChipAtom/HeaderChipAtom.css +1 -1
  193. package/charts/core/components/tooltip-atoms/components/HeaderChipAtom/HeaderChipAtom.sty.js +1 -1
  194. package/charts/core/components/tooltip-atoms/components/styles.css +4 -4
  195. package/charts/core/components/tooltip-atoms/components/styles.sty.js +4 -4
  196. package/charts/core/components/zoom/ZoomCursors.css +2 -2
  197. package/charts/core/components/zoom/ZoomCursors.sty.js +3 -3
  198. package/charts/core/constants.d.ts +7 -0
  199. package/charts/core/constants.js +2 -0
  200. package/charts/core/hooks/useOverlayEventHandlers.d.ts +10 -11
  201. package/charts/core/hooks/useOverlayEventHandlers.js +40 -20
  202. package/charts/core/hooks/usePointerAndScrollResponsiveChartBounds.js +1 -1
  203. package/charts/core/hooks/useThrottledCallbackOnScroll.d.ts +1 -1
  204. package/charts/core/types/chart-data.d.ts +13 -0
  205. package/charts/core/types/chart-data.js +15 -0
  206. package/charts/core/types/text-size.d.ts +7 -0
  207. package/charts/core/types/text-size.js +15 -0
  208. package/charts/core/typographyStyles.css +1 -1
  209. package/charts/core/typographyStyles.sty.js +1 -1
  210. package/charts/core/utils/formatter-by-ticks.d.ts +4 -5
  211. package/charts/core/utils/formatter-by-ticks.js +4 -4
  212. package/charts/core/utils/text-measure.d.ts +34 -0
  213. package/charts/{tree-map → core}/utils/text-measure.js +19 -19
  214. package/charts/gantt-chart/GanttChartLine.css +1 -1
  215. package/charts/gantt-chart/GanttChartLine.sty.js +1 -1
  216. package/charts/gantt-chart/components/GanttChartLineRenderer.css +1 -1
  217. package/charts/gantt-chart/components/GanttChartLineRenderer.js +1 -2
  218. package/charts/gantt-chart/components/GanttChartLineRenderer.sty.js +1 -1
  219. package/charts/gantt-chart/components/tooltip/GanttChartTooltip.css +1 -1
  220. package/charts/gantt-chart/components/tooltip/GanttChartTooltip.sty.js +1 -1
  221. package/charts/gauge/components/GaugeChartLayout/GaugeChartLayout.css +1 -1
  222. package/charts/gauge/components/GaugeChartLayout/GaugeChartLayout.sty.js +1 -1
  223. package/charts/gauge/components/GaugeChartLayout/GaugeChartToolbar.d.ts +2 -0
  224. package/charts/gauge/components/GaugeChartLayout/GaugeChartToolbar.js +2 -2
  225. package/charts/gauge/components/GaugeLabel/GaugeLabel.css +6 -6
  226. package/charts/gauge/components/GaugeLabel/GaugeLabel.sty.js +3 -3
  227. package/charts/gauge/components/GaugeLabelsWrapper/GaugeLabelsWrapper.css +3 -3
  228. package/charts/gauge/components/GaugeLabelsWrapper/GaugeLabelsWrapper.sty.js +1 -1
  229. package/charts/gauge/components/GaugeLayoutOverlay/GaugeLayoutOverlay.css +4 -4
  230. package/charts/gauge/components/GaugeLayoutOverlay/GaugeLayoutOverlay.js +27 -2
  231. package/charts/gauge/components/GaugeLayoutOverlay/GaugeLayoutOverlay.sty.js +3 -3
  232. package/charts/gauge/components/GaugeResponsiveLabel/GaugeResponsiveLabel.css +2 -2
  233. package/charts/gauge/components/GaugeResponsiveLabel/GaugeResponsiveLabel.sty.js +2 -2
  234. package/charts/histogram/HistogramChart.d.ts +3 -3
  235. package/charts/histogram/HistogramChart.js +4 -5
  236. package/charts/histogram/HistogramChartInternal.js +20 -11
  237. package/charts/histogram/components/axes/HistogramValueBottomAxisArea/HistogramValueBottomAxisArea.css +1 -1
  238. package/charts/histogram/components/axes/HistogramValueBottomAxisArea/HistogramValueBottomAxisArea.sty.js +1 -1
  239. package/charts/histogram/components/overlays/HistogramExplore/HistogramTooltip.css +1 -1
  240. package/charts/histogram/components/overlays/HistogramExplore/HistogramTooltip.sty.js +1 -1
  241. package/charts/histogram/components/overlays/HistogramOverlays.css +2 -2
  242. package/charts/histogram/components/overlays/HistogramOverlays.sty.js +2 -2
  243. package/charts/honeycomb/HoneycombChart.css +1 -1
  244. package/charts/honeycomb/HoneycombChart.js +6 -3
  245. package/charts/honeycomb/HoneycombChart.sty.js +1 -1
  246. package/charts/honeycomb/components/HiveOverlay.css +1 -1
  247. package/charts/honeycomb/components/HiveOverlay.js +2 -10
  248. package/charts/honeycomb/components/HiveOverlay.sty.js +1 -1
  249. package/charts/honeycomb/components/canvas/HiveCanvasLayout.css +1 -1
  250. package/charts/honeycomb/components/canvas/HiveCanvasLayout.sty.js +1 -1
  251. package/charts/honeycomb/components/canvas/renderers/CanvasCircleRenderer.js +7 -2
  252. package/charts/honeycomb/components/canvas/renderers/CanvasHexagonRenderer.js +9 -5
  253. package/charts/honeycomb/components/canvas/renderers/CanvasSquareRenderer.js +7 -2
  254. package/charts/honeycomb/components/canvas/utils/draw-label-and-value.d.ts +2 -1
  255. package/charts/honeycomb/components/canvas/utils/draw-label-and-value.js +100 -20
  256. package/charts/honeycomb/components/canvas/utils/get-font-sizes.d.ts +5 -0
  257. package/charts/honeycomb/components/canvas/utils/get-font-sizes.js +52 -0
  258. package/charts/honeycomb/components/canvas/utils/get-truncation-method.d.ts +3 -1
  259. package/charts/honeycomb/components/canvas/utils/get-truncation-method.js +78 -8
  260. package/charts/honeycomb/components/canvas/utils/measure-node-text-content.d.ts +2 -1
  261. package/charts/honeycomb/components/canvas/utils/measure-node-text-content.js +13 -16
  262. package/charts/honeycomb/components/canvas/utils/render-text-to-canvas.d.ts +1 -1
  263. package/charts/honeycomb/components/canvas/utils/render-text-to-canvas.js +2 -2
  264. package/charts/honeycomb/components/canvas/utils/set-font-details-to-context.d.ts +1 -1
  265. package/charts/honeycomb/components/canvas/utils/set-font-details-to-context.js +11 -9
  266. package/charts/honeycomb/components/toolbar/HoneycombToolbar.js +1 -3
  267. package/charts/honeycomb/constants.d.ts +8 -4
  268. package/charts/honeycomb/constants.js +17 -13
  269. package/charts/honeycomb/context/honeycomb-color-scheme.context.d.ts +1 -1
  270. package/charts/honeycomb/context/honeycomb-filtered-color-scheme.context.d.ts +1 -1
  271. package/charts/honeycomb/context/honeycomb-text-size.context.d.ts +2 -0
  272. package/charts/{core/components/toolbar/utils/estimate-toolbar-width.js → honeycomb/context/honeycomb-text-size.context.js} +8 -15
  273. package/charts/honeycomb/hooks/use-honeycomb-chart-config.js +6 -1
  274. package/charts/honeycomb/hooks/use-honeycomb-color-scheme.context.d.ts +1 -1
  275. package/charts/honeycomb/hooks/use-honeycomb-filtered-color-scheme.d.ts +1 -1
  276. package/charts/honeycomb/hooks/use-honeycomb-text-size.d.ts +1 -0
  277. package/charts/honeycomb/hooks/use-honeycomb-text-size.js +25 -0
  278. package/charts/honeycomb/hooks/use-overlay-events.d.ts +4 -5
  279. package/charts/honeycomb/hooks/use-overlay-events.js +4 -7
  280. package/charts/honeycomb/store/selectors.d.ts +0 -1
  281. package/charts/honeycomb/store/selectors.js +0 -2
  282. package/charts/honeycomb/store/store.d.ts +1 -2
  283. package/charts/honeycomb/store/store.js +0 -13
  284. package/charts/honeycomb/types/honeycomb-config-properties.d.ts +8 -1
  285. package/charts/honeycomb/types/honeycomb-internal.d.ts +4 -1
  286. package/charts/honeycomb/types/honeycomb.d.ts +53 -10
  287. package/charts/honeycomb/types/state.d.ts +0 -4
  288. package/charts/honeycomb/types/state.js +0 -3
  289. package/charts/honeycomb/utils/build-honeycomb-config.d.ts +3 -2
  290. package/charts/honeycomb/utils/build-honeycomb-config.js +17 -4
  291. package/charts/honeycomb/utils/normalize-honeycomb-chart-data.d.ts +17 -0
  292. package/charts/honeycomb/utils/normalize-honeycomb-chart-data.js +39 -0
  293. package/charts/index.d.ts +6 -4
  294. package/charts/meter-bar/shared/components/meter-bar-layout/MeterBarLayout.css +15 -15
  295. package/charts/meter-bar/shared/components/meter-bar-layout/MeterBarLayout.sty.js +10 -10
  296. package/charts/meter-bar/shared/components/meter-bar-layout/slots/Icon/Icon.css +2 -2
  297. package/charts/meter-bar/shared/components/meter-bar-layout/slots/Icon/Icon.sty.js +1 -1
  298. package/charts/meter-bar/shared/components/meter-bar-layout/slots/Label/Label.css +1 -1
  299. package/charts/meter-bar/shared/components/meter-bar-layout/slots/Label/Label.sty.js +1 -1
  300. package/charts/meter-bar/shared/components/meter-bar-layout/slots/Max/Max.css +1 -1
  301. package/charts/meter-bar/shared/components/meter-bar-layout/slots/Max/Max.sty.js +1 -1
  302. package/charts/meter-bar/shared/components/meter-bar-layout/slots/Min/Min.css +1 -1
  303. package/charts/meter-bar/shared/components/meter-bar-layout/slots/Min/Min.sty.js +1 -1
  304. package/charts/meter-bar/shared/components/meter-bar-layout/slots/Value/Value.css +1 -1
  305. package/charts/meter-bar/shared/components/meter-bar-layout/slots/Value/Value.sty.js +1 -1
  306. package/charts/meter-bar/shared/components/meter-bar-plot/MeterBarPlot.css +1 -1
  307. package/charts/meter-bar/shared/components/meter-bar-plot/MeterBarPlot.sty.js +1 -1
  308. package/charts/meter-bar/shared/styles/element-size.css +4 -4
  309. package/charts/meter-bar/shared/styles/element-size.sty.js +1 -1
  310. package/charts/meter-bar/shared/styles.css +1 -1
  311. package/charts/meter-bar/shared/styles.sty.js +1 -1
  312. package/charts/meter-bar/single-meter-bar/components/MeterBarChartThresholds/MeterBarChartThresholds.css +1 -1
  313. package/charts/meter-bar/single-meter-bar/components/MeterBarChartThresholds/MeterBarChartThresholds.sty.js +1 -1
  314. package/charts/pie/DonutChart.d.ts +2 -3
  315. package/charts/pie/DonutChart.js +6 -13
  316. package/charts/pie/PieChart.d.ts +2 -3
  317. package/charts/pie/PieChart.js +8 -15
  318. package/charts/pie/components/InnerWrapper/components/InnerContainer/InnerContainer.css +1 -1
  319. package/charts/pie/components/InnerWrapper/components/InnerContainer/InnerContainer.sty.js +1 -1
  320. package/charts/pie/components/InnerWrapper/components/InnerDonut/InnerDonut.css +1 -1
  321. package/charts/pie/components/InnerWrapper/components/InnerDonut/InnerDonut.sty.js +1 -1
  322. package/charts/pie/components/PieChartOverlays/PieChartOverlays.css +1 -1
  323. package/charts/pie/components/PieChartOverlays/PieChartOverlays.js +3 -3
  324. package/charts/pie/components/PieChartOverlays/PieChartOverlays.sty.js +1 -1
  325. package/charts/pie/components/PieChartPlot/PieChartPlot.css +1 -1
  326. package/charts/pie/components/PieChartPlot/PieChartPlot.js +59 -54
  327. package/charts/pie/components/PieChartPlot/PieChartPlot.sty.js +1 -1
  328. package/charts/pie/components/PieChartSlice.js +15 -11
  329. package/charts/pie/constants.d.ts +1 -0
  330. package/charts/pie/constants.js +2 -0
  331. package/charts/pie/context/ChartConfigContext.d.ts +1 -0
  332. package/charts/pie/hooks/useNormalizedPieData.d.ts +7 -0
  333. package/charts/pie/hooks/useNormalizedPieData.js +38 -0
  334. package/charts/pie/hooks/useOverlayHandlers.d.ts +3 -2
  335. package/charts/pie/hooks/useOverlayHandlers.js +7 -5
  336. package/charts/pie/hooks/useSliceHandlers.d.ts +4 -3
  337. package/charts/pie/hooks/useSliceHandlers.js +29 -3
  338. package/charts/pie/types/pie-chart.config.d.ts +102 -37
  339. package/charts/pie/utils/group-slices-thinner-than-pad-angle.js +2 -1
  340. package/charts/pie/utils/normalize-pie-data.d.ts +29 -0
  341. package/charts/pie/utils/normalize-pie-data.js +38 -0
  342. package/charts/pie/utils/pie-config.js +2 -1
  343. package/charts/pie/utils/sanitize-toolbar-intents.d.ts +2 -0
  344. package/charts/{tree-map/hooks/useSetOverlayState.js → pie/utils/sanitize-toolbar-intents.js} +9 -18
  345. package/charts/single-value/SingleValue.css +1 -1
  346. package/charts/single-value/SingleValue.sty.js +1 -1
  347. package/charts/single-value-grid/SingleValueGrid.css +2 -2
  348. package/charts/single-value-grid/SingleValueGrid.sty.js +1 -1
  349. package/charts/single-value-grid/components/GlobalFontSizeVariables.css +1 -1
  350. package/charts/single-value-grid/components/GlobalFontSizeVariables.sty.js +1 -1
  351. package/charts/timeseries/TimeseriesChart.d.ts +1 -1
  352. package/charts/timeseries/TimeseriesChartInternal.d.ts +4 -0
  353. package/charts/timeseries/TimeseriesChartInternal.js +40 -21
  354. package/charts/timeseries/components/axes/TimeseriesTimeBottomAxisArea/TimeseriesTimeBottomAxisArea.css +2 -2
  355. package/charts/timeseries/components/axes/TimeseriesTimeBottomAxisArea/TimeseriesTimeBottomAxisArea.sty.js +1 -1
  356. package/charts/timeseries/components/overlays/TimeseriesOverlays.css +4 -4
  357. package/charts/timeseries/components/overlays/TimeseriesOverlays.sty.js +4 -4
  358. package/charts/timeseries/components/thresholds/ThresholdIndicators.css +2 -2
  359. package/charts/timeseries/components/thresholds/ThresholdIndicators.sty.js +2 -2
  360. package/charts/top-list/TopList.css +1 -1
  361. package/charts/top-list/TopList.js +9 -5
  362. package/charts/top-list/TopList.sty.js +1 -1
  363. package/charts/top-list/constants.d.ts +1 -4
  364. package/charts/top-list/constants.js +2 -1
  365. package/charts/top-list/types/top-list.d.ts +6 -0
  366. package/charts/tree-map/TreeMap.d.ts +2 -3
  367. package/charts/tree-map/TreeMap.js +10 -1
  368. package/charts/tree-map/components/TreeMapChartLayout.js +4 -4
  369. package/charts/tree-map/components/TreeMapLegend/TreeMapCategoricalLegend.js +3 -1
  370. package/charts/tree-map/components/TreeMapOverlay/TreeMapOverlay.css +1 -1
  371. package/charts/tree-map/components/TreeMapOverlay/TreeMapOverlay.js +2 -10
  372. package/charts/tree-map/components/TreeMapOverlay/TreeMapOverlay.sty.js +1 -1
  373. package/charts/tree-map/components/TreeMapToolbar/TreeMapToolbar.js +2 -4
  374. package/charts/tree-map/components/canvas/TreeMapSquareRenderer.js +4 -2
  375. package/charts/tree-map/constants.d.ts +4 -2
  376. package/charts/tree-map/constants.js +1 -2
  377. package/charts/tree-map/context/TextSizeContext.d.ts +3 -2
  378. package/charts/tree-map/hooks/useOverlayHandlers.d.ts +4 -5
  379. package/charts/tree-map/hooks/useOverlayHandlers.js +4 -7
  380. package/charts/tree-map/hooks/useTreeMapChartConfig.d.ts +2 -2
  381. package/charts/tree-map/hooks/useTreeMapChartHandlers.js +4 -1
  382. package/charts/tree-map/providers/TreeMapChartProviders.d.ts +2 -1
  383. package/charts/tree-map/providers/TreeMapChartProviders.js +1 -1
  384. package/charts/tree-map/store/selectors.d.ts +0 -1
  385. package/charts/tree-map/store/selectors.js +1 -3
  386. package/charts/tree-map/store/store.js +0 -3
  387. package/charts/tree-map/types/state.d.ts +0 -3
  388. package/charts/tree-map/types/treemap.d.ts +27 -10
  389. package/charts/tree-map/utils/build-labels.d.ts +1 -1
  390. package/charts/tree-map/utils/build-tree-map-chart-config.d.ts +2 -2
  391. package/charts/tree-map/utils/get-legend-interaction-props.d.ts +1 -1
  392. package/charts/tree-map/utils/get-legend-interaction-props.js +2 -2
  393. package/charts/tree-map/utils/to-hierarchical-props.d.ts +2 -0
  394. package/charts/tree-map/utils/to-hierarchical-props.js +106 -0
  395. package/charts/xy-chart/XYChart.js +22 -12
  396. package/charts/xy-chart/XYChartRoot.js +4 -2
  397. package/charts/xy-chart/components/axes/AxisArea.css +1 -1
  398. package/charts/xy-chart/components/axes/AxisArea.sty.js +1 -1
  399. package/charts/xy-chart/components/axes/AxisTickWithTruncation.css +3 -3
  400. package/charts/xy-chart/components/axes/AxisTickWithTruncation.sty.js +3 -3
  401. package/charts/xy-chart/components/axes/XTickWithTruncation.d.ts +1 -1
  402. package/charts/xy-chart/components/axes/XYChartLeftAxisArea.js +5 -1
  403. package/charts/xy-chart/components/axes/XYChartRightAxisArea.js +5 -1
  404. package/charts/xy-chart/components/axes/YTickWithTruncation.d.ts +1 -1
  405. package/charts/xy-chart/components/axes/hooks/useXTickOffset.d.ts +1 -1
  406. package/charts/xy-chart/components/axes/hooks/useYTickOffset.d.ts +1 -1
  407. package/charts/xy-chart/components/displays/BarDisplay/BarLabelOverlay.css +3 -3
  408. package/charts/xy-chart/components/displays/BarDisplay/BarLabelOverlay.sty.js +3 -3
  409. package/charts/xy-chart/components/legend/XYLegend/xy-legend.css +1 -1
  410. package/charts/xy-chart/components/legend/XYLegend/xy-legend.sty.js +1 -1
  411. package/charts/xy-chart/components/overlay/explore/HighlightedPointCanvas.d.ts +3 -2
  412. package/charts/xy-chart/components/overlay/explore/HighlightedPointCanvas.js +27 -5
  413. package/charts/xy-chart/components/overlay/explore/XYChartCrosshair.css +1 -1
  414. package/charts/xy-chart/components/overlay/explore/XYChartCrosshair.sty.js +1 -1
  415. package/charts/xy-chart/components/overlay/explore/XYChartExplore.css +2 -2
  416. package/charts/xy-chart/components/overlay/explore/XYChartExplore.sty.js +2 -2
  417. package/charts/xy-chart/components/overlay/explore/XYChartLinearPoint.js +12 -6
  418. package/charts/xy-chart/components/overlay/hooks/useOverlayEvents.js +4 -0
  419. package/charts/xy-chart/components/overlay/utils/draw-shape.d.ts +1 -0
  420. package/charts/xy-chart/components/overlay/utils/draw-shape.js +19 -0
  421. package/charts/xy-chart/components/thresholds/XYChartThresholdIndicators.css +1 -1
  422. package/charts/xy-chart/components/thresholds/XYChartThresholdIndicators.sty.js +1 -1
  423. package/charts/xy-chart/components/tooltip/HoveredPointTooltip/hooks/getHoveredPointTooltipBodyContent.js +2 -2
  424. package/charts/xy-chart/components/tooltip/SharedXYChartTooltip/SharedXYChartTooltip.js +23 -22
  425. package/charts/xy-chart/components/tooltip/utils/get-cached-separator.d.ts +12 -0
  426. package/charts/xy-chart/components/tooltip/utils/get-cached-separator.js +33 -0
  427. package/charts/xy-chart/components/tooltip/utils/get-tooltip-formatter.js +4 -2
  428. package/charts/xy-chart/components/tooltip/utils/tooltip-styles.css +5 -5
  429. package/charts/xy-chart/components/tooltip/utils/tooltip-styles.sty.js +4 -4
  430. package/charts/xy-chart/constants/defaults.d.ts +1 -0
  431. package/charts/xy-chart/constants/defaults.js +2 -0
  432. package/charts/xy-chart/context/XYChartOverlayPerformance.context.d.ts +17 -0
  433. package/charts/xy-chart/hooks/useBuildHoverGrid.d.ts +12 -0
  434. package/charts/xy-chart/hooks/useBuildHoverGrid.js +56 -0
  435. package/charts/xy-chart/hooks/useBuildOverlayStrategy.d.ts +16 -0
  436. package/charts/xy-chart/hooks/useBuildOverlayStrategy.js +102 -0
  437. package/charts/xy-chart/hooks/useXYChartDataProvider.js +10 -3
  438. package/charts/xy-chart/layout/XYChartLayout.css +2 -2
  439. package/charts/xy-chart/layout/XYChartLayout.sty.js +2 -2
  440. package/charts/xy-chart/providers/XYChartAnnotationsShownIndicatorsProvider.js +7 -9
  441. package/charts/xy-chart/providers/XYChartAxesTicksProvider.js +41 -24
  442. package/charts/xy-chart/providers/XYChartOverlayPerformanceProvider.js +11 -53
  443. package/charts/xy-chart/providers/XYChartScalesProvider.js +9 -2
  444. package/charts/xy-chart/types/xy-chart-props.d.ts +6 -0
  445. package/charts/xy-chart/utils/build-axis-id-to-min-bar-size.d.ts +2 -0
  446. package/charts/xy-chart/utils/build-axis-id-to-min-bar-size.js +46 -0
  447. package/charts/xy-chart/utils/build-sorted-entries.d.ts +40 -18
  448. package/charts/xy-chart/utils/build-sorted-entries.js +63 -10
  449. package/charts/xy-chart/utils/filter-out-of-range-ticks.d.ts +3 -0
  450. package/charts/xy-chart/utils/filter-out-of-range-ticks.js +46 -0
  451. package/charts/xy-chart/utils/generate-scales-by-axis-id.d.ts +1 -1
  452. package/charts/xy-chart/utils/generate-scales-by-axis-id.js +19 -3
  453. package/charts/xy-chart/utils/get-ticks-formatted-by-config.d.ts +5 -1
  454. package/charts/xy-chart/utils/get-ticks-formatted-by-config.js +11 -0
  455. package/charts/xy-chart/utils/query-hovered-grid.d.ts +31 -0
  456. package/charts/xy-chart/utils/query-hovered-grid.js +191 -0
  457. package/charts/xy-chart/utils/query-shared.d.ts +2 -2
  458. package/charts/xy-chart/utils/query-shared.js +53 -23
  459. package/charts/xy-chart-adoption/histogram/HistogramToXY.d.ts +1 -2
  460. package/charts/xy-chart-adoption/histogram/HistogramToXY.js +9 -45
  461. package/charts/xy-chart-adoption/histogram/transformer-annotations-to-xy.d.ts +1 -17
  462. package/charts/xy-chart-adoption/histogram/transformer-annotations-to-xy.js +18 -33
  463. package/charts/xy-chart-adoption/shared/types/legacy-props.d.ts +11 -0
  464. package/charts/xy-chart-adoption/shared/types/legacy-props.js +15 -0
  465. package/charts/xy-chart-adoption/shared/utils/render-xy-annotations.d.ts +27 -0
  466. package/charts/xy-chart-adoption/shared/utils/render-xy-annotations.js +88 -0
  467. package/charts/xy-chart-adoption/timeseries/TimeseriesToXY.d.ts +3 -0
  468. package/charts/xy-chart-adoption/timeseries/TimeseriesToXY.js +77 -27
  469. package/charts/xy-chart-adoption/timeseries/iterate-slots.d.ts +10 -0
  470. package/charts/xy-chart-adoption/timeseries/iterate-slots.js +36 -1
  471. package/charts/xy-chart-adoption/timeseries/resolve-value-representation.d.ts +6 -0
  472. package/charts/xy-chart-adoption/timeseries/resolve-value-representation.js +25 -0
  473. package/charts/xy-chart-adoption/timeseries/transformer-annotations-to-xy.d.ts +4 -0
  474. package/charts/xy-chart-adoption/timeseries/transformer-annotations-to-xy.js +53 -0
  475. package/charts/xy-chart-adoption/timeseries/transformer-data-to-xy.d.ts +8 -6
  476. package/charts/xy-chart-adoption/timeseries/transformer-data-to-xy.js +7 -6
  477. package/charts/xy-chart-adoption/timeseries/types/timeseries.d.ts +28 -5
  478. package/charts/xy-chart-adoption/timeseries/utils/build-buckets.d.ts +15 -0
  479. package/charts/xy-chart-adoption/timeseries/utils/build-buckets.js +78 -0
  480. package/charts/xy-chart-adoption/timeseries/utils/collect-annotations-slots.d.ts +15 -0
  481. package/charts/xy-chart-adoption/timeseries/utils/collect-annotations-slots.js +76 -0
  482. package/charts/xy-chart-adoption/timeseries/utils/map-axis-slots.d.ts +21 -0
  483. package/charts/xy-chart-adoption/timeseries/utils/map-axis-slots.js +61 -0
  484. package/charts/xy-chart-adoption/timeseries/utils/render-series.js +6 -0
  485. package/charts/xy-chart-adoption/timeseries/utils/resolve-gap-policy.d.ts +2 -0
  486. package/charts/xy-chart-adoption/timeseries/utils/resolve-gap-policy.js +34 -0
  487. package/content/accordion/Accordion.css +14 -14
  488. package/content/accordion/Accordion.sty.js +8 -8
  489. package/content/ai-loading-indicator/AiLoadingIndicator.css +12 -12
  490. package/content/ai-loading-indicator/AiLoadingIndicator.sty.js +4 -4
  491. package/content/ai-response/AiResponse.css +5 -5
  492. package/content/ai-response/AiResponse.sty.js +3 -2
  493. package/content/avatar/Avatar.css +13 -13
  494. package/content/avatar/Avatar.sty.js +4 -4
  495. package/content/avatar-group/AvatarGroup.css +3 -3
  496. package/content/avatar-group/AvatarGroup.sty.js +2 -2
  497. package/content/chip/BaseChip.css +40 -40
  498. package/content/chip/BaseChip.sty.js +5 -5
  499. package/content/chip/ChipContent.css +11 -11
  500. package/content/chip/ChipContent.sty.js +2 -2
  501. package/content/chip/ChipDeleteButton.css +19 -19
  502. package/content/chip/ChipDeleteButton.sty.js +4 -4
  503. package/content/chip/ChipKey.css +6 -6
  504. package/content/chip/ChipKey.sty.js +1 -1
  505. package/content/chip/GroupedChip.css +3 -3
  506. package/content/chip/GroupedChip.sty.js +3 -3
  507. package/content/chip-group/ChipGroup.css +4 -4
  508. package/content/chip-group/ChipGroup.d.ts +1 -1
  509. package/content/chip-group/ChipGroup.js +33 -49
  510. package/content/chip-group/ChipGroup.sty.js +1 -1
  511. package/content/chip-group/Control.css +4 -4
  512. package/content/chip-group/Control.sty.js +1 -1
  513. package/content/chip-group/chip-group-utils.d.ts +33 -0
  514. package/content/chip-group/chip-group-utils.js +52 -0
  515. package/content/chip-group/state/chip-group-state-reducer.d.ts +1 -1
  516. package/content/code-snippet/CodeHighlight.css +25 -26
  517. package/content/code-snippet/CodeHighlight.sty.d.ts +7 -2
  518. package/content/code-snippet/CodeHighlight.sty.js +10 -6
  519. package/content/code-snippet/CodeSnippet.css +31 -5
  520. package/content/code-snippet/CodeSnippet.d.ts +23 -8
  521. package/content/code-snippet/CodeSnippet.js +6 -2
  522. package/content/code-snippet/CodeSnippet.sty.d.ts +16 -0
  523. package/content/code-snippet/CodeSnippet.sty.js +8 -3
  524. package/content/empty-state/EmptyState.css +28 -28
  525. package/content/empty-state/EmptyState.sty.js +7 -7
  526. package/content/empty-state/empty-state-utils.js +2 -9
  527. package/content/empty-state/slot-components/Footer.css +1 -1
  528. package/content/empty-state/slot-components/Footer.sty.js +1 -1
  529. package/content/empty-state/slot-components/Visual.css +3 -3
  530. package/content/empty-state/slot-components/Visual.sty.js +1 -1
  531. package/content/expandable-text/ExpandableText.css +7 -7
  532. package/content/expandable-text/ExpandableText.sty.js +2 -2
  533. package/content/feature-highlight/FeatureHighlight.css +12 -12
  534. package/content/feature-highlight/FeatureHighlight.js +9 -5
  535. package/content/feature-highlight/FeatureHighlight.sty.js +3 -3
  536. package/content/health-indicator/styles.css +23 -23
  537. package/content/health-indicator/styles.sty.js +1 -1
  538. package/content/index.d.ts +1 -1
  539. package/content/information-overlay/InformationOverlay.css +25 -25
  540. package/content/information-overlay/InformationOverlay.sty.js +5 -5
  541. package/content/keyboard-shortcut/KeyboardShortcut.css +14 -14
  542. package/content/keyboard-shortcut/KeyboardShortcut.sty.js +2 -2
  543. package/content/markdown/Markdown.css +3 -3
  544. package/content/markdown/Markdown.sty.js +1 -1
  545. package/content/markdown/transformers/typography-mapping.css +9 -9
  546. package/content/markdown/transformers/typography-mapping.sty.js +6 -6
  547. package/content/microguide/Microguide.css +11 -11
  548. package/content/microguide/Microguide.sty.js +7 -7
  549. package/content/progress/ProgressBar.css +71 -71
  550. package/content/progress/ProgressBar.sty.js +5 -5
  551. package/content/progress/ProgressBarIcon.css +2 -2
  552. package/content/progress/ProgressBarIcon.sty.js +1 -1
  553. package/content/progress/ProgressBarLabel.css +3 -3
  554. package/content/progress/ProgressBarLabel.sty.js +1 -1
  555. package/content/progress/ProgressBarValue.css +5 -5
  556. package/content/progress/ProgressBarValue.sty.js +1 -1
  557. package/content/progress/ProgressCircle.css +40 -40
  558. package/content/progress/ProgressCircle.sty.js +5 -5
  559. package/content/release-phase-indicator/ReleasePhaseIndicator.d.ts +2 -2
  560. package/content/release-phase-indicator/ReleasePhaseIndicator.js +4 -2
  561. package/content/release-phase-indicator/messages.d.ts +5 -0
  562. package/content/release-phase-indicator/messages.js +5 -0
  563. package/content/shared-components/Visual.css +3 -3
  564. package/content/shared-components/Visual.sty.js +1 -1
  565. package/content/skeleton/Skeleton.css +7 -7
  566. package/content/skeleton/Skeleton.sty.js +5 -5
  567. package/content/terminology-overlay/TerminologyOverlay.css +4 -4
  568. package/content/terminology-overlay/TerminologyOverlay.sty.js +1 -1
  569. package/core/components/app-root/AppRoot.css +12 -2
  570. package/core/components/app-root/AppRoot.js +3 -2
  571. package/core/components/app-root/AppRoot.sty.js +1 -1
  572. package/core/components/app-root/visual-refresh-overrides.d.ts +6 -0
  573. package/core/components/app-root/visual-refresh-overrides.js +6 -0
  574. package/core/components/error-fallback/ErrorFallback.d.ts +8 -0
  575. package/{filters/filter-field → core/components}/error-fallback/messages.d.ts +0 -1
  576. package/{filters/filter-field → core/components}/error-fallback/messages.js +4 -4
  577. package/core/components/visually-hidden/VisuallyHidden.css +1 -1
  578. package/core/components/visually-hidden/VisuallyHidden.sty.js +1 -1
  579. package/core/dql/dql-common.js +6 -2
  580. package/core/hooks/useVisualRefreshEnabled.d.ts +4 -0
  581. package/core/hooks/useVisualRefreshEnabled.js +32 -0
  582. package/core/index.d.ts +3 -0
  583. package/core/index.js +6 -0
  584. package/core/sdk/app-state/AppStateContext.d.ts +26 -0
  585. package/{filters/filter-field/contexts/SavedAndRecentQueryClientContext.js → core/sdk/app-state/AppStateContext.js} +15 -7
  586. package/core/sdk/app-state/AppStateProvider.d.ts +24 -0
  587. package/core/sdk/app-state/AppStateProvider.js +97 -0
  588. package/core/sdk/app-state/app-state-store.d.ts +14 -0
  589. package/core/sdk/app-state/app-state-store.js +30 -0
  590. package/core/sdk/app-state/useAppState.d.ts +15 -0
  591. package/core/sdk/app-state/useAppState.js +40 -0
  592. package/core/sdk/app-state/useAppStateInternal.d.ts +28 -0
  593. package/core/sdk/app-state/useAppStateInternal.js +143 -0
  594. package/core/sdk/app-state/useAppStateValue.d.ts +28 -0
  595. package/core/sdk/app-state/useAppStateValue.js +32 -0
  596. package/core/sdk/sdk-logger.js +2 -2
  597. package/core/styles/defaultChartValues.css +1 -1
  598. package/core/styles/defaultChartValues.sty.js +1 -1
  599. package/core/styles/focusRing.css +66 -66
  600. package/core/styles/focusRing.sty.js +2 -2
  601. package/core/styles/focusRingStatic.css +34 -34
  602. package/core/styles/focusRingStatic.sty.js +1 -1
  603. package/core/styles/virtualFocus.css +2 -2
  604. package/core/styles/virtualFocus.sty.js +1 -1
  605. package/core/time/timeframeStore/actions/dateTimePicker.js +5 -4
  606. package/core/time/validation.d.ts +28 -3
  607. package/core/time/validation.js +49 -4
  608. package/core/types/form-control-props.d.ts +6 -0
  609. package/core/utils/colorUtils.css +60 -60
  610. package/core/utils/colorUtils.sty.js +2 -2
  611. package/core/utils/get-ticks.d.ts +29 -0
  612. package/core/utils/get-ticks.js +30 -0
  613. package/editors/base-code-editor/BaseCodeEditor.css +147 -135
  614. package/editors/base-code-editor/BaseCodeEditor.d.ts +51 -21
  615. package/editors/base-code-editor/BaseCodeEditor.js +149 -4
  616. package/editors/base-code-editor/BaseCodeEditor.sty.js +2 -2
  617. package/editors/base-code-editor/configuration/configure-format-keymap.d.ts +12 -0
  618. package/editors/base-code-editor/configuration/configure-format-keymap.js +40 -0
  619. package/editors/base-code-editor/configuration/configure-placeholder.d.ts +6 -1
  620. package/editors/base-code-editor/configuration/configure-placeholder.js +31 -2
  621. package/editors/base-code-editor/configuration/getDefaultConfigurations.js +103 -6
  622. package/editors/base-code-editor/configuration/language-extensions.d.ts +1 -1
  623. package/editors/base-code-editor/utils/key-maps.js +2 -0
  624. package/editors/code-editor/CodeEditor.d.ts +7 -69
  625. package/editors/code-editor/CodeEditor.js +23 -1
  626. package/editors/dql-editor/DQLEditor.d.ts +7 -69
  627. package/editors/dql-editor/DQLEditor.js +53 -3
  628. package/editors/dql-editor/actions-menu/ActionsMenu.css +23 -13
  629. package/editors/dql-editor/actions-menu/ActionsMenu.d.ts +7 -3
  630. package/editors/dql-editor/actions-menu/ActionsMenu.js +7 -1
  631. package/editors/dql-editor/actions-menu/ActionsMenu.sty.d.ts +16 -4
  632. package/editors/dql-editor/actions-menu/ActionsMenu.sty.js +5 -4
  633. package/editors/dql-editor/actions-menu/actions-menu-messages.d.ts +5 -0
  634. package/editors/dql-editor/actions-menu/actions-menu-messages.js +5 -0
  635. package/editors/dql-editor/dql/SuggestionPart.css +1 -1
  636. package/editors/dql-editor/dql/SuggestionPart.sty.js +1 -1
  637. package/editors/dql-editor/dql/SuggestionsInfoSection.css +7 -7
  638. package/editors/dql-editor/dql/SuggestionsInfoSection.js +10 -1
  639. package/editors/dql-editor/dql/SuggestionsInfoSection.sty.js +3 -3
  640. package/editors/dql-editor/dql/open-autocomplete.js +21 -3
  641. package/editors/dql-editor/dql/suggestion-autocompletions.js +3 -0
  642. package/editors/index.d.ts +1 -1
  643. package/esm/buttons/button/Button.css +15 -15
  644. package/esm/buttons/button/Button.js +5 -4
  645. package/esm/buttons/button/Button.js.map +2 -2
  646. package/esm/buttons/button/Button.sty.js +4 -4
  647. package/esm/buttons/button/Button.sty.js.map +1 -1
  648. package/esm/buttons/intent-button/IntentButton.css +1 -1
  649. package/esm/buttons/intent-button/IntentButton.sty.js +1 -1
  650. package/esm/buttons/intent-button/IntentButton.sty.js.map +1 -1
  651. package/esm/buttons/intent-button/IntentButtonWithResponse.js +2 -2
  652. package/esm/buttons/intent-button/IntentButtonWithResponse.js.map +2 -2
  653. package/esm/buttons/notify-button/NotifyButton.css +2 -2
  654. package/esm/buttons/notify-button/NotifyButton.sty.js +2 -2
  655. package/esm/buttons/notify-button/NotifyButton.sty.js.map +1 -1
  656. package/esm/buttons/run-query-button/RunQueryButton.js +7 -14
  657. package/esm/buttons/run-query-button/RunQueryButton.js.map +2 -2
  658. package/esm/charts/categorical-bar/components/interactions/hooks/useSeriesActionClickHandler.js +7 -1
  659. package/esm/charts/categorical-bar/components/interactions/hooks/useSeriesActionClickHandler.js.map +2 -2
  660. package/esm/charts/categorical-bar/components/interactions/overlays/CategoricalBarChartInspectOverlay.css +2 -2
  661. package/esm/charts/categorical-bar/components/interactions/overlays/CategoricalBarChartInspectOverlay.sty.js +2 -2
  662. package/esm/charts/categorical-bar/components/interactions/overlays/CategoricalBarChartInspectOverlay.sty.js.map +1 -1
  663. package/esm/charts/categorical-bar/hooks/store/state-setters.js +3 -1
  664. package/esm/charts/categorical-bar/hooks/store/state-setters.js.map +2 -2
  665. package/esm/charts/categorical-bar/layout/CategoricalGridLayout.js +1 -2
  666. package/esm/charts/categorical-bar/layout/CategoricalGridLayout.js.map +2 -2
  667. package/esm/charts/core/components/annotations/AnnotationsAtom.css +1 -1
  668. package/esm/charts/core/components/annotations/AnnotationsAtom.sty.js +1 -1
  669. package/esm/charts/core/components/annotations/AnnotationsAtom.sty.js.map +1 -1
  670. package/esm/charts/core/components/annotations/components/canvas/AnnotationsCanvasLayout.css +1 -1
  671. package/esm/charts/core/components/annotations/components/canvas/AnnotationsCanvasLayout.sty.js +1 -1
  672. package/esm/charts/core/components/annotations/components/canvas/AnnotationsCanvasLayout.sty.js.map +1 -1
  673. package/esm/charts/core/components/annotations/components/canvas/utils/calculate-marker-width-and-content.js +1 -2
  674. package/esm/charts/core/components/annotations/components/canvas/utils/calculate-marker-width-and-content.js.map +2 -2
  675. package/esm/charts/core/components/annotations/components/overlays/AnnotationsOverlays.css +1 -1
  676. package/esm/charts/core/components/annotations/components/overlays/AnnotationsOverlays.sty.js +1 -1
  677. package/esm/charts/core/components/annotations/components/overlays/AnnotationsOverlays.sty.js.map +1 -1
  678. package/esm/charts/core/components/annotations/components/overlays/AnnotationsScrollWrapper.css +1 -1
  679. package/esm/charts/core/components/annotations/components/overlays/AnnotationsScrollWrapper.sty.js +1 -1
  680. package/esm/charts/core/components/annotations/components/overlays/AnnotationsScrollWrapper.sty.js.map +1 -1
  681. package/esm/charts/core/components/annotations/utils/aggregate-markers-coords.js +20 -6
  682. package/esm/charts/core/components/annotations/utils/aggregate-markers-coords.js.map +2 -2
  683. package/esm/charts/core/components/annotations/utils/resolve-value-marker-hit-area.js +14 -0
  684. package/esm/charts/core/components/annotations/utils/resolve-value-marker-hit-area.js.map +7 -0
  685. package/esm/charts/core/components/axes/Axis.css +1 -1
  686. package/esm/charts/core/components/axes/Axis.js +2 -6
  687. package/esm/charts/core/components/axes/Axis.js.map +2 -2
  688. package/esm/charts/core/components/axes/Axis.sty.js +1 -1
  689. package/esm/charts/core/components/axes/Axis.sty.js.map +1 -1
  690. package/esm/charts/core/components/axes/AxisPrimitive.js +203 -0
  691. package/esm/charts/core/components/axes/AxisPrimitive.js.map +7 -0
  692. package/esm/charts/core/components/axes/components/CategoryBottomAxis.js +2 -2
  693. package/esm/charts/core/components/axes/components/CategoryBottomAxis.js.map +2 -2
  694. package/esm/charts/core/components/axes/components/CategoryLeftAxis.js +1 -1
  695. package/esm/charts/core/components/axes/components/CategoryLeftAxis.js.map +2 -2
  696. package/esm/charts/core/components/axes/components/PanningControls/PanningControls.css +16 -16
  697. package/esm/charts/core/components/axes/components/PanningControls/PanningControls.sty.js +2 -2
  698. package/esm/charts/core/components/axes/components/PanningControls/PanningControls.sty.js.map +1 -1
  699. package/esm/charts/core/components/axes/components/TickLabel.js.map +2 -2
  700. package/esm/charts/core/components/axes/components/TimeTableHeaderAxis.js +1 -1
  701. package/esm/charts/core/components/axes/components/TimeTableHeaderAxis.js.map +2 -2
  702. package/esm/charts/core/components/axes/components/ValueTableHeaderAxis.js +1 -1
  703. package/esm/charts/core/components/axes/components/ValueTableHeaderAxis.js.map +2 -2
  704. package/esm/charts/core/components/axes/constants.js +0 -2
  705. package/esm/charts/core/components/axes/constants.js.map +2 -2
  706. package/esm/charts/core/components/axes/types.js.map +2 -2
  707. package/esm/charts/core/components/axes/utils/get-tick-label-props.js +45 -4
  708. package/esm/charts/core/components/axes/utils/get-tick-label-props.js.map +2 -2
  709. package/esm/charts/core/components/chart-grid/ChartGrid.css +3 -3
  710. package/esm/charts/core/components/chart-grid/ChartGrid.sty.js +3 -3
  711. package/esm/charts/core/components/chart-grid/ChartGrid.sty.js.map +1 -1
  712. package/esm/charts/core/components/chart-grid/constants.js +15 -0
  713. package/esm/charts/core/components/chart-grid/constants.js.map +7 -0
  714. package/esm/charts/core/components/chart-layout/components/styles.css +15 -15
  715. package/esm/charts/core/components/chart-layout/components/styles.sty.js +4 -4
  716. package/esm/charts/core/components/chart-layout/components/styles.sty.js.map +1 -1
  717. package/esm/charts/core/components/chart-states/ChartState.css +4 -4
  718. package/esm/charts/core/components/chart-states/ChartState.sty.js +4 -4
  719. package/esm/charts/core/components/chart-states/ChartState.sty.js.map +1 -1
  720. package/esm/charts/core/components/crosshair/HorizontalCrosshair.js +6 -4
  721. package/esm/charts/core/components/crosshair/HorizontalCrosshair.js.map +2 -2
  722. package/esm/charts/core/components/crosshair/VerticalCrosshair.js +7 -5
  723. package/esm/charts/core/components/crosshair/VerticalCrosshair.js.map +2 -2
  724. package/esm/charts/core/components/crosshair/components/Magnifier.css +7 -7
  725. package/esm/charts/core/components/crosshair/components/Magnifier.sty.js +7 -7
  726. package/esm/charts/core/components/crosshair/components/Magnifier.sty.js.map +1 -1
  727. package/esm/charts/core/components/grid/Grid.js +1 -4
  728. package/esm/charts/core/components/grid/Grid.js.map +2 -2
  729. package/esm/charts/core/components/grid/GridColumns.js +9 -7
  730. package/esm/charts/core/components/grid/GridColumns.js.map +2 -2
  731. package/esm/charts/core/components/grid/GridLine.js +5 -4
  732. package/esm/charts/core/components/grid/GridLine.js.map +2 -2
  733. package/esm/charts/core/components/grid/GridLines.js.map +2 -2
  734. package/esm/charts/core/components/grid/GridRows.js +9 -7
  735. package/esm/charts/core/components/grid/GridRows.js.map +2 -2
  736. package/esm/charts/core/components/grid/utils/compute-grid-lines.js +17 -0
  737. package/esm/charts/core/components/grid/utils/compute-grid-lines.js.map +7 -0
  738. package/esm/charts/core/components/grid/utils/should-highlight-zero-line.js.map +1 -1
  739. package/esm/charts/core/components/interactions-overlay/InteractionsOverlay.css +5 -5
  740. package/esm/charts/core/components/interactions-overlay/InteractionsOverlay.sty.js +2 -2
  741. package/esm/charts/core/components/interactions-overlay/InteractionsOverlay.sty.js.map +1 -1
  742. package/esm/charts/core/components/legend/categorical/ChartLegend.css +1 -1
  743. package/esm/charts/core/components/legend/categorical/ChartLegend.sty.js +1 -1
  744. package/esm/charts/core/components/legend/categorical/ChartLegend.sty.js.map +1 -1
  745. package/esm/charts/core/components/legend/categorical/components/ChartLegendIcon/ChartLegendIcon.css +3 -3
  746. package/esm/charts/core/components/legend/categorical/components/ChartLegendIcon/ChartLegendIcon.sty.js +3 -3
  747. package/esm/charts/core/components/legend/categorical/components/ChartLegendIcon/ChartLegendIcon.sty.js.map +1 -1
  748. package/esm/charts/core/components/legend/categorical/components/ChartLegendItem/ChartLegendItem.css +17 -17
  749. package/esm/charts/core/components/legend/categorical/components/ChartLegendItem/ChartLegendItem.sty.js +6 -6
  750. package/esm/charts/core/components/legend/categorical/components/ChartLegendItem/ChartLegendItem.sty.js.map +1 -1
  751. package/esm/charts/core/components/legend/categorical/components/ChartLegendSeriesActions/ChartLegendSeriesActions.css +3 -3
  752. package/esm/charts/core/components/legend/categorical/components/ChartLegendSeriesActions/ChartLegendSeriesActions.sty.js +1 -1
  753. package/esm/charts/core/components/legend/categorical/components/ChartLegendSeriesActions/ChartLegendSeriesActions.sty.js.map +1 -1
  754. package/esm/charts/core/components/legend/categorical/components/ChartVirtualizedLegendGrid.css +8 -8
  755. package/esm/charts/core/components/legend/categorical/components/ChartVirtualizedLegendGrid.sty.js +4 -4
  756. package/esm/charts/core/components/legend/categorical/components/ChartVirtualizedLegendGrid.sty.js.map +1 -1
  757. package/esm/charts/core/components/legend/range/RangeLegend.css +3 -3
  758. package/esm/charts/core/components/legend/range/RangeLegend.sty.js +1 -1
  759. package/esm/charts/core/components/legend/range/RangeLegend.sty.js.map +1 -1
  760. package/esm/charts/core/components/legend/range/components/RangeLegendBoundaryLabel/RangeLegendBoundaryLabel.css +2 -2
  761. package/esm/charts/core/components/legend/range/components/RangeLegendBoundaryLabel/RangeLegendBoundaryLabel.sty.js +1 -1
  762. package/esm/charts/core/components/legend/range/components/RangeLegendBoundaryLabel/RangeLegendBoundaryLabel.sty.js.map +1 -1
  763. package/esm/charts/core/components/legend/range/components/RangeLegendItemLabel/RangeLegendItemLabel.css +1 -1
  764. package/esm/charts/core/components/legend/range/components/RangeLegendItemLabel/RangeLegendItemLabel.sty.js +1 -1
  765. package/esm/charts/core/components/legend/range/components/RangeLegendItemLabel/RangeLegendItemLabel.sty.js.map +1 -1
  766. package/esm/charts/core/components/legend/range/components/RangeLegendItemMarker/RangeLegendItemMarker.css +3 -3
  767. package/esm/charts/core/components/legend/range/components/RangeLegendItemMarker/RangeLegendItemMarker.sty.js +1 -1
  768. package/esm/charts/core/components/legend/range/components/RangeLegendItemMarker/RangeLegendItemMarker.sty.js.map +1 -1
  769. package/esm/charts/core/components/legend/range/components/RangeLegendMarkers/RangeLegendMarkers.css +3 -3
  770. package/esm/charts/core/components/legend/range/components/RangeLegendMarkers/RangeLegendMarkers.sty.js +1 -1
  771. package/esm/charts/core/components/legend/range/components/RangeLegendMarkers/RangeLegendMarkers.sty.js.map +1 -1
  772. package/esm/charts/core/components/legend/range/components/RangeLegendSegments/RangeLegendSegments.css +5 -5
  773. package/esm/charts/core/components/legend/range/components/RangeLegendSegments/RangeLegendSegments.sty.js +1 -1
  774. package/esm/charts/core/components/legend/range/components/RangeLegendSegments/RangeLegendSegments.sty.js.map +1 -1
  775. package/esm/charts/core/components/loader-overlay/LoaderOverlay.css +2 -2
  776. package/esm/charts/core/components/loader-overlay/LoaderOverlay.sty.js +2 -2
  777. package/esm/charts/core/components/loader-overlay/LoaderOverlay.sty.js.map +1 -1
  778. package/esm/charts/core/components/overlay-tooltip/components/DynamicTooltip.js +7 -3
  779. package/esm/charts/core/components/overlay-tooltip/components/DynamicTooltip.js.map +2 -2
  780. package/esm/charts/core/components/overlay-tooltip/components/TooltipPortal.js +7 -1
  781. package/esm/charts/core/components/overlay-tooltip/components/TooltipPortal.js.map +2 -2
  782. package/esm/charts/core/components/overlay-tooltip/components/global-actions/actions.css +4 -4
  783. package/esm/charts/core/components/overlay-tooltip/components/global-actions/actions.sty.js +2 -2
  784. package/esm/charts/core/components/overlay-tooltip/components/global-actions/actions.sty.js.map +1 -1
  785. package/esm/charts/core/components/overlay-tooltip/components/header/Header.css +6 -6
  786. package/esm/charts/core/components/overlay-tooltip/components/header/Header.sty.js +6 -6
  787. package/esm/charts/core/components/overlay-tooltip/components/header/Header.sty.js.map +1 -1
  788. package/esm/charts/core/components/overlay-tooltip/components/series/seriesSymbol.css +2 -2
  789. package/esm/charts/core/components/overlay-tooltip/components/series/seriesSymbol.sty.js +2 -2
  790. package/esm/charts/core/components/overlay-tooltip/components/series/seriesSymbol.sty.js.map +1 -1
  791. package/esm/charts/core/components/overlay-tooltip/tooltip.css +52 -52
  792. package/esm/charts/core/components/overlay-tooltip/tooltip.sty.js +39 -39
  793. package/esm/charts/core/components/overlay-tooltip/tooltip.sty.js.map +1 -1
  794. package/esm/charts/core/components/overlay-tooltip/useTooltipActions.js +8 -0
  795. package/esm/charts/core/components/overlay-tooltip/useTooltipActions.js.map +2 -2
  796. package/esm/charts/core/components/overlay-tooltip/utils/is-scroll-ignored.js +10 -0
  797. package/esm/charts/core/components/overlay-tooltip/utils/is-scroll-ignored.js.map +7 -0
  798. package/esm/charts/core/components/overlays/ChartOverlaysBorder.css +5 -5
  799. package/esm/charts/core/components/overlays/ChartOverlaysBorder.sty.js +5 -5
  800. package/esm/charts/core/components/overlays/ChartOverlaysBorder.sty.js.map +1 -1
  801. package/esm/charts/core/components/selection-area/SelectionArea.css +9 -9
  802. package/esm/charts/core/components/selection-area/SelectionArea.sty.js +4 -4
  803. package/esm/charts/core/components/selection-area/SelectionArea.sty.js.map +1 -1
  804. package/esm/charts/core/components/series-action/ChartActionsMenuAsync.js +3 -1
  805. package/esm/charts/core/components/series-action/ChartActionsMenuAsync.js.map +2 -2
  806. package/esm/charts/core/components/shape/BubbleShape/BubbleShape.css +5 -5
  807. package/esm/charts/core/components/shape/BubbleShape/BubbleShape.sty.js +3 -3
  808. package/esm/charts/core/components/shape/BubbleShape/BubbleShape.sty.js.map +1 -1
  809. package/esm/charts/core/components/shape/EmojiShape/EmojiShape.css +3 -3
  810. package/esm/charts/core/components/shape/EmojiShape/EmojiShape.sty.js +1 -1
  811. package/esm/charts/core/components/shape/EmojiShape/EmojiShape.sty.js.map +1 -1
  812. package/esm/charts/core/components/shape/IconShape/IconShape.css +3 -3
  813. package/esm/charts/core/components/shape/IconShape/IconShape.sty.js +1 -1
  814. package/esm/charts/core/components/shape/IconShape/IconShape.sty.js.map +1 -1
  815. package/esm/charts/core/components/shape/styles/DataPointShape.css +8 -8
  816. package/esm/charts/core/components/shape/styles/DataPointShape.sty.js +4 -4
  817. package/esm/charts/core/components/shape/styles/DataPointShape.sty.js.map +1 -1
  818. package/esm/charts/core/components/shared-chart-interactions/SharedChartInteractions.css +1 -1
  819. package/esm/charts/core/components/shared-chart-interactions/SharedChartInteractions.sty.js +1 -1
  820. package/esm/charts/core/components/shared-chart-interactions/SharedChartInteractions.sty.js.map +1 -1
  821. package/esm/charts/core/components/single-value-renderer/SingleValueRenderer.css +5 -5
  822. package/esm/charts/core/components/single-value-renderer/SingleValueRenderer.sty.js +5 -5
  823. package/esm/charts/core/components/single-value-renderer/SingleValueRenderer.sty.js.map +1 -1
  824. package/esm/charts/core/components/single-value-renderer/components/ContentGrid.css +1 -1
  825. package/esm/charts/core/components/single-value-renderer/components/ContentGrid.sty.js +1 -1
  826. package/esm/charts/core/components/single-value-renderer/components/ContentGrid.sty.js.map +1 -1
  827. package/esm/charts/core/components/single-value-renderer/components/Icon.css +3 -3
  828. package/esm/charts/core/components/single-value-renderer/components/Icon.sty.js +2 -2
  829. package/esm/charts/core/components/single-value-renderer/components/Icon.sty.js.map +1 -1
  830. package/esm/charts/core/components/single-value-renderer/components/Label.css +1 -1
  831. package/esm/charts/core/components/single-value-renderer/components/Label.sty.js +1 -1
  832. package/esm/charts/core/components/single-value-renderer/components/Label.sty.js.map +1 -1
  833. package/esm/charts/core/components/single-value-renderer/components/SingleValueToolbar.css +1 -1
  834. package/esm/charts/core/components/single-value-renderer/components/SingleValueToolbar.js +0 -1
  835. package/esm/charts/core/components/single-value-renderer/components/SingleValueToolbar.js.map +2 -2
  836. package/esm/charts/core/components/single-value-renderer/components/SingleValueToolbar.sty.js +1 -1
  837. package/esm/charts/core/components/single-value-renderer/components/SingleValueToolbar.sty.js.map +1 -1
  838. package/esm/charts/core/components/single-value-renderer/components/Value.css +5 -5
  839. package/esm/charts/core/components/single-value-renderer/components/Value.sty.js +3 -3
  840. package/esm/charts/core/components/single-value-renderer/components/Value.sty.js.map +1 -1
  841. package/esm/charts/core/components/single-value-renderer/components/trend/Trend.css +3 -3
  842. package/esm/charts/core/components/single-value-renderer/components/trend/Trend.sty.js +3 -3
  843. package/esm/charts/core/components/single-value-renderer/components/trend/Trend.sty.js.map +1 -1
  844. package/esm/charts/core/components/single-value-renderer/components/trend/components/Icon.css +2 -2
  845. package/esm/charts/core/components/single-value-renderer/components/trend/components/Icon.sty.js +1 -1
  846. package/esm/charts/core/components/single-value-renderer/components/trend/components/Icon.sty.js.map +1 -1
  847. package/esm/charts/core/components/sparkline-display/Sparkline.css +6 -6
  848. package/esm/charts/core/components/sparkline-display/Sparkline.sty.js +2 -2
  849. package/esm/charts/core/components/sparkline-display/Sparkline.sty.js.map +1 -1
  850. package/esm/charts/core/components/sparkline-display/SparklineContainer.js +6 -4
  851. package/esm/charts/core/components/sparkline-display/SparklineContainer.js.map +2 -2
  852. package/esm/charts/core/components/text-ellipsis/ChartTextEllipsis.css +7 -7
  853. package/esm/charts/core/components/text-ellipsis/ChartTextEllipsis.sty.js +3 -3
  854. package/esm/charts/core/components/text-ellipsis/ChartTextEllipsis.sty.js.map +1 -1
  855. package/esm/charts/core/components/threshold-bar/indicators/ThresholdIndicator.js +40 -21
  856. package/esm/charts/core/components/threshold-bar/indicators/ThresholdIndicator.js.map +2 -2
  857. package/esm/charts/core/components/threshold-bar/markers/CircleMarker.js +1 -2
  858. package/esm/charts/core/components/threshold-bar/markers/CircleMarker.js.map +2 -2
  859. package/esm/charts/core/components/threshold-bar/markers/PillMarker.js +1 -2
  860. package/esm/charts/core/components/threshold-bar/markers/PillMarker.js.map +2 -2
  861. package/esm/charts/core/components/threshold-bar/styles.css +9 -9
  862. package/esm/charts/core/components/threshold-bar/styles.sty.js +2 -2
  863. package/esm/charts/core/components/threshold-bar/styles.sty.js.map +1 -1
  864. package/esm/charts/core/components/toolbar/ChartToolbarRenderer.css +16 -16
  865. package/esm/charts/core/components/toolbar/ChartToolbarRenderer.js +16 -6
  866. package/esm/charts/core/components/toolbar/ChartToolbarRenderer.js.map +2 -2
  867. package/esm/charts/core/components/toolbar/ChartToolbarRenderer.sty.js +8 -8
  868. package/esm/charts/core/components/toolbar/ChartToolbarRenderer.sty.js.map +1 -1
  869. package/esm/charts/core/components/toolbar/components/ChartDataMenu.css +2 -2
  870. package/esm/charts/core/components/toolbar/components/ChartDataMenu.sty.js +1 -1
  871. package/esm/charts/core/components/toolbar/components/ChartDataMenu.sty.js.map +1 -1
  872. package/esm/charts/core/components/toolbar/components/Control.css +17 -17
  873. package/esm/charts/core/components/toolbar/components/Control.sty.js +5 -5
  874. package/esm/charts/core/components/toolbar/components/Control.sty.js.map +1 -1
  875. package/esm/charts/core/components/toolbar/components/ToolbarMenu.css +4 -4
  876. package/esm/charts/core/components/toolbar/components/ToolbarMenu.sty.js +2 -2
  877. package/esm/charts/core/components/toolbar/components/ToolbarMenu.sty.js.map +1 -1
  878. package/esm/charts/core/components/toolbar/types.js.map +1 -1
  879. package/esm/charts/core/components/tooltip/ChartTooltip/ChartTooltip.css +6 -6
  880. package/esm/charts/core/components/tooltip/ChartTooltip/ChartTooltip.sty.js +2 -2
  881. package/esm/charts/core/components/tooltip/ChartTooltip/ChartTooltip.sty.js.map +1 -1
  882. package/esm/charts/core/components/tooltip/ChartTooltip/components/ActionItem/ActionItem.css +8 -8
  883. package/esm/charts/core/components/tooltip/ChartTooltip/components/ActionItem/ActionItem.sty.js +3 -3
  884. package/esm/charts/core/components/tooltip/ChartTooltip/components/ActionItem/ActionItem.sty.js.map +1 -1
  885. package/esm/charts/core/components/tooltip/ChartTooltip/components/SeriesItem/SeriesItem.css +2 -2
  886. package/esm/charts/core/components/tooltip/ChartTooltip/components/SeriesItem/SeriesItem.sty.js +1 -1
  887. package/esm/charts/core/components/tooltip/ChartTooltip/components/SeriesItem/SeriesItem.sty.js.map +1 -1
  888. package/esm/charts/core/components/tooltip/ChartTooltip/components/TimeFrameHeader/TimeFrameHeader.css +1 -1
  889. package/esm/charts/core/components/tooltip/ChartTooltip/components/TimeFrameHeader/TimeFrameHeader.sty.js +1 -1
  890. package/esm/charts/core/components/tooltip/ChartTooltip/components/TimeFrameHeader/TimeFrameHeader.sty.js.map +1 -1
  891. package/esm/charts/core/components/tooltip/InteractiveChartTooltip/components/BasicChartTooltip/BasicChartTooltip.css +6 -6
  892. package/esm/charts/core/components/tooltip/InteractiveChartTooltip/components/BasicChartTooltip/BasicChartTooltip.sty.js +2 -2
  893. package/esm/charts/core/components/tooltip/InteractiveChartTooltip/components/BasicChartTooltip/BasicChartTooltip.sty.js.map +1 -1
  894. package/esm/charts/core/components/tooltip/InteractiveChartTooltip/components/InteractiveChartTooltip.css +7 -7
  895. package/esm/charts/core/components/tooltip/InteractiveChartTooltip/components/InteractiveChartTooltip.sty.js +6 -6
  896. package/esm/charts/core/components/tooltip/InteractiveChartTooltip/components/InteractiveChartTooltip.sty.js.map +1 -1
  897. package/esm/charts/core/components/tooltip/InteractiveChartTooltip/headers/HeaderTooltip.css +1 -1
  898. package/esm/charts/core/components/tooltip/InteractiveChartTooltip/headers/HeaderTooltip.sty.js +1 -1
  899. package/esm/charts/core/components/tooltip/InteractiveChartTooltip/headers/HeaderTooltip.sty.js.map +1 -1
  900. package/esm/charts/core/components/tooltip/section-components/TooltipFooter/TooltipFooter.css +1 -1
  901. package/esm/charts/core/components/tooltip/section-components/TooltipFooter/TooltipFooter.sty.js +1 -1
  902. package/esm/charts/core/components/tooltip/section-components/TooltipFooter/TooltipFooter.sty.js.map +1 -1
  903. package/esm/charts/core/components/tooltip/section-components/TooltipHeader/TooltipHeader.css +2 -2
  904. package/esm/charts/core/components/tooltip/section-components/TooltipHeader/TooltipHeader.sty.js +1 -1
  905. package/esm/charts/core/components/tooltip/section-components/TooltipHeader/TooltipHeader.sty.js.map +1 -1
  906. package/esm/charts/core/components/tooltip/section-components/TooltipInfoContent/TooltipInfoContent.css +1 -1
  907. package/esm/charts/core/components/tooltip/section-components/TooltipInfoContent/TooltipInfoContent.sty.js +1 -1
  908. package/esm/charts/core/components/tooltip/section-components/TooltipInfoContent/TooltipInfoContent.sty.js.map +1 -1
  909. package/esm/charts/core/components/tooltip/section-components/TooltipItem/TooltipItem.css +3 -3
  910. package/esm/charts/core/components/tooltip/section-components/TooltipItem/TooltipItem.sty.js +2 -2
  911. package/esm/charts/core/components/tooltip/section-components/TooltipItem/TooltipItem.sty.js.map +1 -1
  912. package/esm/charts/core/components/tooltip/section-components/TooltipSymbolContent/TooltipSymbolContent.css +1 -1
  913. package/esm/charts/core/components/tooltip/section-components/TooltipSymbolContent/TooltipSymbolContent.sty.js +1 -1
  914. package/esm/charts/core/components/tooltip/section-components/TooltipSymbolContent/TooltipSymbolContent.sty.js.map +1 -1
  915. package/esm/charts/core/components/tooltip/section-components/VirtualizedTooltipBody/VirtualizedTooltipBody.css +2 -2
  916. package/esm/charts/core/components/tooltip/section-components/VirtualizedTooltipBody/VirtualizedTooltipBody.sty.js +2 -2
  917. package/esm/charts/core/components/tooltip/section-components/VirtualizedTooltipBody/VirtualizedTooltipBody.sty.js.map +1 -1
  918. package/esm/charts/core/components/tooltip/shared/styles/SeriesBasedContent.css +12 -12
  919. package/esm/charts/core/components/tooltip/shared/styles/SeriesBasedContent.sty.js +7 -7
  920. package/esm/charts/core/components/tooltip/shared/styles/SeriesBasedContent.sty.js.map +1 -1
  921. package/esm/charts/core/components/tooltip/shared/styles/TooltipBody.css +1 -1
  922. package/esm/charts/core/components/tooltip/shared/styles/TooltipBody.sty.js +1 -1
  923. package/esm/charts/core/components/tooltip/shared/styles/TooltipBody.sty.js.map +1 -1
  924. package/esm/charts/core/components/tooltip-atoms/components/HeaderChipAtom/HeaderChipAtom.css +1 -1
  925. package/esm/charts/core/components/tooltip-atoms/components/HeaderChipAtom/HeaderChipAtom.sty.js +1 -1
  926. package/esm/charts/core/components/tooltip-atoms/components/HeaderChipAtom/HeaderChipAtom.sty.js.map +1 -1
  927. package/esm/charts/core/components/tooltip-atoms/components/styles.css +4 -4
  928. package/esm/charts/core/components/tooltip-atoms/components/styles.sty.js +4 -4
  929. package/esm/charts/core/components/tooltip-atoms/components/styles.sty.js.map +1 -1
  930. package/esm/charts/core/components/zoom/ZoomCursors.css +2 -2
  931. package/esm/charts/core/components/zoom/ZoomCursors.sty.js +3 -3
  932. package/esm/charts/core/components/zoom/ZoomCursors.sty.js.map +1 -1
  933. package/esm/charts/core/constants.js +2 -0
  934. package/esm/charts/core/constants.js.map +2 -2
  935. package/esm/charts/core/hooks/useOverlayEventHandlers.js +40 -20
  936. package/esm/charts/core/hooks/useOverlayEventHandlers.js.map +2 -2
  937. package/esm/charts/core/hooks/usePointerAndScrollResponsiveChartBounds.js +1 -1
  938. package/esm/charts/core/hooks/usePointerAndScrollResponsiveChartBounds.js.map +2 -2
  939. package/esm/charts/core/hooks/useThrottledCallbackOnScroll.js.map +1 -1
  940. package/esm/charts/core/types/chart-data.js +1 -0
  941. package/esm/charts/core/types/text-size.js +1 -0
  942. package/esm/charts/core/types/text-size.js.map +7 -0
  943. package/esm/charts/core/typographyStyles.css +1 -1
  944. package/esm/charts/core/typographyStyles.sty.js +1 -1
  945. package/esm/charts/core/typographyStyles.sty.js.map +1 -1
  946. package/esm/charts/core/utils/formatter-by-ticks.js +1 -1
  947. package/esm/charts/core/utils/formatter-by-ticks.js.map +2 -2
  948. package/esm/charts/core/utils/text-measure.js +38 -0
  949. package/esm/charts/core/utils/text-measure.js.map +7 -0
  950. package/esm/charts/gantt-chart/GanttChartLine.css +1 -1
  951. package/esm/charts/gantt-chart/GanttChartLine.sty.js +1 -1
  952. package/esm/charts/gantt-chart/GanttChartLine.sty.js.map +1 -1
  953. package/esm/charts/gantt-chart/components/GanttChartLineRenderer.css +1 -1
  954. package/esm/charts/gantt-chart/components/GanttChartLineRenderer.js +1 -2
  955. package/esm/charts/gantt-chart/components/GanttChartLineRenderer.js.map +2 -2
  956. package/esm/charts/gantt-chart/components/GanttChartLineRenderer.sty.js +1 -1
  957. package/esm/charts/gantt-chart/components/GanttChartLineRenderer.sty.js.map +1 -1
  958. package/esm/charts/gantt-chart/components/tooltip/GanttChartTooltip.css +1 -1
  959. package/esm/charts/gantt-chart/components/tooltip/GanttChartTooltip.sty.js +1 -1
  960. package/esm/charts/gantt-chart/components/tooltip/GanttChartTooltip.sty.js.map +1 -1
  961. package/esm/charts/gauge/components/GaugeChartLayout/GaugeChartLayout.css +1 -1
  962. package/esm/charts/gauge/components/GaugeChartLayout/GaugeChartLayout.sty.js +1 -1
  963. package/esm/charts/gauge/components/GaugeChartLayout/GaugeChartLayout.sty.js.map +1 -1
  964. package/esm/charts/gauge/components/GaugeChartLayout/GaugeChartToolbar.js +2 -2
  965. package/esm/charts/gauge/components/GaugeChartLayout/GaugeChartToolbar.js.map +2 -2
  966. package/esm/charts/gauge/components/GaugeLabel/GaugeLabel.css +6 -6
  967. package/esm/charts/gauge/components/GaugeLabel/GaugeLabel.sty.js +3 -3
  968. package/esm/charts/gauge/components/GaugeLabel/GaugeLabel.sty.js.map +1 -1
  969. package/esm/charts/gauge/components/GaugeLabelsWrapper/GaugeLabelsWrapper.css +3 -3
  970. package/esm/charts/gauge/components/GaugeLabelsWrapper/GaugeLabelsWrapper.sty.js +1 -1
  971. package/esm/charts/gauge/components/GaugeLabelsWrapper/GaugeLabelsWrapper.sty.js.map +1 -1
  972. package/esm/charts/gauge/components/GaugeLayoutOverlay/GaugeLayoutOverlay.css +4 -4
  973. package/esm/charts/gauge/components/GaugeLayoutOverlay/GaugeLayoutOverlay.js +29 -2
  974. package/esm/charts/gauge/components/GaugeLayoutOverlay/GaugeLayoutOverlay.js.map +2 -2
  975. package/esm/charts/gauge/components/GaugeLayoutOverlay/GaugeLayoutOverlay.sty.js +3 -3
  976. package/esm/charts/gauge/components/GaugeLayoutOverlay/GaugeLayoutOverlay.sty.js.map +1 -1
  977. package/esm/charts/gauge/components/GaugeResponsiveLabel/GaugeResponsiveLabel.css +2 -2
  978. package/esm/charts/gauge/components/GaugeResponsiveLabel/GaugeResponsiveLabel.sty.js +2 -2
  979. package/esm/charts/gauge/components/GaugeResponsiveLabel/GaugeResponsiveLabel.sty.js.map +1 -1
  980. package/esm/charts/histogram/HistogramChart.js +4 -5
  981. package/esm/charts/histogram/HistogramChart.js.map +2 -2
  982. package/esm/charts/histogram/HistogramChartInternal.js +20 -8
  983. package/esm/charts/histogram/HistogramChartInternal.js.map +2 -2
  984. package/esm/charts/histogram/components/axes/HistogramValueBottomAxisArea/HistogramValueBottomAxisArea.css +1 -1
  985. package/esm/charts/histogram/components/axes/HistogramValueBottomAxisArea/HistogramValueBottomAxisArea.sty.js +1 -1
  986. package/esm/charts/histogram/components/axes/HistogramValueBottomAxisArea/HistogramValueBottomAxisArea.sty.js.map +1 -1
  987. package/esm/charts/histogram/components/overlays/HistogramExplore/HistogramTooltip.css +1 -1
  988. package/esm/charts/histogram/components/overlays/HistogramExplore/HistogramTooltip.sty.js +1 -1
  989. package/esm/charts/histogram/components/overlays/HistogramExplore/HistogramTooltip.sty.js.map +1 -1
  990. package/esm/charts/histogram/components/overlays/HistogramOverlays.css +2 -2
  991. package/esm/charts/histogram/components/overlays/HistogramOverlays.sty.js +2 -2
  992. package/esm/charts/histogram/components/overlays/HistogramOverlays.sty.js.map +1 -1
  993. package/esm/charts/honeycomb/HoneycombChart.css +1 -1
  994. package/esm/charts/honeycomb/HoneycombChart.js +6 -3
  995. package/esm/charts/honeycomb/HoneycombChart.js.map +2 -2
  996. package/esm/charts/honeycomb/HoneycombChart.sty.js +1 -1
  997. package/esm/charts/honeycomb/HoneycombChart.sty.js.map +1 -1
  998. package/esm/charts/honeycomb/components/HiveOverlay.css +1 -1
  999. package/esm/charts/honeycomb/components/HiveOverlay.js +2 -10
  1000. package/esm/charts/honeycomb/components/HiveOverlay.js.map +2 -2
  1001. package/esm/charts/honeycomb/components/HiveOverlay.sty.js +1 -1
  1002. package/esm/charts/honeycomb/components/HiveOverlay.sty.js.map +1 -1
  1003. package/esm/charts/honeycomb/components/canvas/HiveCanvasLayout.css +1 -1
  1004. package/esm/charts/honeycomb/components/canvas/HiveCanvasLayout.sty.js +1 -1
  1005. package/esm/charts/honeycomb/components/canvas/HiveCanvasLayout.sty.js.map +1 -1
  1006. package/esm/charts/honeycomb/components/canvas/renderers/CanvasCircleRenderer.js +7 -2
  1007. package/esm/charts/honeycomb/components/canvas/renderers/CanvasCircleRenderer.js.map +2 -2
  1008. package/esm/charts/honeycomb/components/canvas/renderers/CanvasHexagonRenderer.js +9 -5
  1009. package/esm/charts/honeycomb/components/canvas/renderers/CanvasHexagonRenderer.js.map +2 -2
  1010. package/esm/charts/honeycomb/components/canvas/renderers/CanvasSquareRenderer.js +7 -2
  1011. package/esm/charts/honeycomb/components/canvas/renderers/CanvasSquareRenderer.js.map +2 -2
  1012. package/esm/charts/honeycomb/components/canvas/utils/draw-label-and-value.js +108 -21
  1013. package/esm/charts/honeycomb/components/canvas/utils/draw-label-and-value.js.map +2 -2
  1014. package/esm/charts/honeycomb/components/canvas/utils/get-font-sizes.js +39 -0
  1015. package/esm/charts/honeycomb/components/canvas/utils/get-font-sizes.js.map +7 -0
  1016. package/esm/charts/honeycomb/components/canvas/utils/get-truncation-method.js +82 -9
  1017. package/esm/charts/honeycomb/components/canvas/utils/get-truncation-method.js.map +2 -2
  1018. package/esm/charts/honeycomb/components/canvas/utils/measure-node-text-content.js +13 -16
  1019. package/esm/charts/honeycomb/components/canvas/utils/measure-node-text-content.js.map +2 -2
  1020. package/esm/charts/honeycomb/components/canvas/utils/render-text-to-canvas.js +2 -2
  1021. package/esm/charts/honeycomb/components/canvas/utils/render-text-to-canvas.js.map +2 -2
  1022. package/esm/charts/honeycomb/components/canvas/utils/set-font-details-to-context.js +11 -9
  1023. package/esm/charts/honeycomb/components/canvas/utils/set-font-details-to-context.js.map +2 -2
  1024. package/esm/charts/honeycomb/components/toolbar/HoneycombToolbar.js +1 -3
  1025. package/esm/charts/honeycomb/components/toolbar/HoneycombToolbar.js.map +2 -2
  1026. package/esm/charts/honeycomb/constants.js +17 -13
  1027. package/esm/charts/honeycomb/constants.js.map +2 -2
  1028. package/esm/charts/honeycomb/context/honeycomb-color-scheme.context.js.map +1 -1
  1029. package/esm/charts/honeycomb/context/honeycomb-filtered-color-scheme.context.js.map +1 -1
  1030. package/esm/charts/honeycomb/context/honeycomb-text-size.context.js +9 -0
  1031. package/esm/charts/honeycomb/context/honeycomb-text-size.context.js.map +7 -0
  1032. package/esm/charts/honeycomb/hooks/use-honeycomb-chart-config.js +6 -1
  1033. package/esm/charts/honeycomb/hooks/use-honeycomb-chart-config.js.map +2 -2
  1034. package/esm/charts/honeycomb/hooks/use-honeycomb-text-size.js +7 -0
  1035. package/esm/charts/honeycomb/hooks/use-honeycomb-text-size.js.map +7 -0
  1036. package/esm/charts/honeycomb/hooks/use-overlay-events.js +7 -8
  1037. package/esm/charts/honeycomb/hooks/use-overlay-events.js.map +2 -2
  1038. package/esm/charts/honeycomb/providers/honeycomb-base-scale.provider.js.map +2 -2
  1039. package/esm/charts/honeycomb/store/selectors.js +0 -2
  1040. package/esm/charts/honeycomb/store/selectors.js.map +2 -2
  1041. package/esm/charts/honeycomb/store/store.js +0 -13
  1042. package/esm/charts/honeycomb/store/store.js.map +2 -2
  1043. package/esm/charts/honeycomb/types/state.js +0 -3
  1044. package/esm/charts/honeycomb/types/state.js.map +2 -2
  1045. package/esm/charts/honeycomb/utils/build-honeycomb-config.js +19 -5
  1046. package/esm/charts/honeycomb/utils/build-honeycomb-config.js.map +2 -2
  1047. package/esm/charts/honeycomb/utils/normalize-honeycomb-chart-data.js +21 -0
  1048. package/esm/charts/honeycomb/utils/normalize-honeycomb-chart-data.js.map +7 -0
  1049. package/esm/charts/index.js.map +2 -2
  1050. package/esm/charts/meter-bar/shared/components/meter-bar-layout/MeterBarLayout.css +15 -15
  1051. package/esm/charts/meter-bar/shared/components/meter-bar-layout/MeterBarLayout.sty.js +10 -10
  1052. package/esm/charts/meter-bar/shared/components/meter-bar-layout/MeterBarLayout.sty.js.map +1 -1
  1053. package/esm/charts/meter-bar/shared/components/meter-bar-layout/slots/Icon/Icon.css +2 -2
  1054. package/esm/charts/meter-bar/shared/components/meter-bar-layout/slots/Icon/Icon.sty.js +1 -1
  1055. package/esm/charts/meter-bar/shared/components/meter-bar-layout/slots/Icon/Icon.sty.js.map +1 -1
  1056. package/esm/charts/meter-bar/shared/components/meter-bar-layout/slots/Label/Label.css +1 -1
  1057. package/esm/charts/meter-bar/shared/components/meter-bar-layout/slots/Label/Label.sty.js +1 -1
  1058. package/esm/charts/meter-bar/shared/components/meter-bar-layout/slots/Label/Label.sty.js.map +1 -1
  1059. package/esm/charts/meter-bar/shared/components/meter-bar-layout/slots/Max/Max.css +1 -1
  1060. package/esm/charts/meter-bar/shared/components/meter-bar-layout/slots/Max/Max.sty.js +1 -1
  1061. package/esm/charts/meter-bar/shared/components/meter-bar-layout/slots/Max/Max.sty.js.map +1 -1
  1062. package/esm/charts/meter-bar/shared/components/meter-bar-layout/slots/Min/Min.css +1 -1
  1063. package/esm/charts/meter-bar/shared/components/meter-bar-layout/slots/Min/Min.sty.js +1 -1
  1064. package/esm/charts/meter-bar/shared/components/meter-bar-layout/slots/Min/Min.sty.js.map +1 -1
  1065. package/esm/charts/meter-bar/shared/components/meter-bar-layout/slots/Value/Value.css +1 -1
  1066. package/esm/charts/meter-bar/shared/components/meter-bar-layout/slots/Value/Value.sty.js +1 -1
  1067. package/esm/charts/meter-bar/shared/components/meter-bar-layout/slots/Value/Value.sty.js.map +1 -1
  1068. package/esm/charts/meter-bar/shared/components/meter-bar-plot/MeterBarPlot.css +1 -1
  1069. package/esm/charts/meter-bar/shared/components/meter-bar-plot/MeterBarPlot.sty.js +1 -1
  1070. package/esm/charts/meter-bar/shared/components/meter-bar-plot/MeterBarPlot.sty.js.map +1 -1
  1071. package/esm/charts/meter-bar/shared/styles/element-size.css +4 -4
  1072. package/esm/charts/meter-bar/shared/styles/element-size.sty.js +1 -1
  1073. package/esm/charts/meter-bar/shared/styles/element-size.sty.js.map +1 -1
  1074. package/esm/charts/meter-bar/shared/styles.css +1 -1
  1075. package/esm/charts/meter-bar/shared/styles.sty.js +1 -1
  1076. package/esm/charts/meter-bar/shared/styles.sty.js.map +1 -1
  1077. package/esm/charts/meter-bar/single-meter-bar/components/MeterBarChartThresholds/MeterBarChartThresholds.css +1 -1
  1078. package/esm/charts/meter-bar/single-meter-bar/components/MeterBarChartThresholds/MeterBarChartThresholds.sty.js +1 -1
  1079. package/esm/charts/meter-bar/single-meter-bar/components/MeterBarChartThresholds/MeterBarChartThresholds.sty.js.map +1 -1
  1080. package/esm/charts/pie/DonutChart.js +5 -12
  1081. package/esm/charts/pie/DonutChart.js.map +2 -2
  1082. package/esm/charts/pie/PieChart.js +7 -14
  1083. package/esm/charts/pie/PieChart.js.map +2 -2
  1084. package/esm/charts/pie/components/InnerWrapper/components/InnerContainer/InnerContainer.css +1 -1
  1085. package/esm/charts/pie/components/InnerWrapper/components/InnerContainer/InnerContainer.sty.js +1 -1
  1086. package/esm/charts/pie/components/InnerWrapper/components/InnerContainer/InnerContainer.sty.js.map +1 -1
  1087. package/esm/charts/pie/components/InnerWrapper/components/InnerDonut/InnerDonut.css +1 -1
  1088. package/esm/charts/pie/components/InnerWrapper/components/InnerDonut/InnerDonut.sty.js +1 -1
  1089. package/esm/charts/pie/components/InnerWrapper/components/InnerDonut/InnerDonut.sty.js.map +1 -1
  1090. package/esm/charts/pie/components/PieChartOverlays/PieChartOverlays.css +1 -1
  1091. package/esm/charts/pie/components/PieChartOverlays/PieChartOverlays.js +3 -3
  1092. package/esm/charts/pie/components/PieChartOverlays/PieChartOverlays.js.map +2 -2
  1093. package/esm/charts/pie/components/PieChartOverlays/PieChartOverlays.sty.js +1 -1
  1094. package/esm/charts/pie/components/PieChartOverlays/PieChartOverlays.sty.js.map +1 -1
  1095. package/esm/charts/pie/components/PieChartPlot/PieChartPlot.css +1 -1
  1096. package/esm/charts/pie/components/PieChartPlot/PieChartPlot.js +65 -56
  1097. package/esm/charts/pie/components/PieChartPlot/PieChartPlot.js.map +3 -3
  1098. package/esm/charts/pie/components/PieChartPlot/PieChartPlot.sty.js +1 -1
  1099. package/esm/charts/pie/components/PieChartPlot/PieChartPlot.sty.js.map +1 -1
  1100. package/esm/charts/pie/components/PieChartSlice.js +15 -11
  1101. package/esm/charts/pie/components/PieChartSlice.js.map +2 -2
  1102. package/esm/charts/pie/constants.js +2 -0
  1103. package/esm/charts/pie/constants.js.map +2 -2
  1104. package/esm/charts/pie/context/ChartConfigContext.js.map +2 -2
  1105. package/esm/charts/pie/context/PieChartRawDataContext.js.map +2 -2
  1106. package/esm/charts/pie/hooks/useNormalizedPieData.js +20 -0
  1107. package/esm/charts/pie/hooks/useNormalizedPieData.js.map +7 -0
  1108. package/esm/charts/pie/hooks/useOverlayHandlers.js +7 -5
  1109. package/esm/charts/pie/hooks/useOverlayHandlers.js.map +2 -2
  1110. package/esm/charts/pie/hooks/useSliceHandlers.js +29 -3
  1111. package/esm/charts/pie/hooks/useSliceHandlers.js.map +2 -2
  1112. package/esm/charts/pie/providers/ChartProviders.js.map +2 -2
  1113. package/esm/charts/pie/types/pie-chart.config.js.map +2 -2
  1114. package/esm/charts/pie/utils/build-and-download-csv.js.map +2 -2
  1115. package/esm/charts/pie/utils/build-group-threshold.js.map +2 -2
  1116. package/esm/charts/pie/utils/build-slices.js.map +2 -2
  1117. package/esm/charts/pie/utils/format-csv.js.map +2 -2
  1118. package/esm/charts/pie/utils/group-slices-thinner-than-pad-angle.js +2 -1
  1119. package/esm/charts/pie/utils/group-slices-thinner-than-pad-angle.js.map +2 -2
  1120. package/esm/charts/pie/utils/normalize-pie-data.js +20 -0
  1121. package/esm/charts/pie/utils/normalize-pie-data.js.map +7 -0
  1122. package/esm/charts/pie/utils/pie-config.js +2 -1
  1123. package/esm/charts/pie/utils/pie-config.js.map +2 -2
  1124. package/esm/charts/pie/utils/sanitize-toolbar-intents.js +12 -0
  1125. package/esm/charts/pie/utils/sanitize-toolbar-intents.js.map +7 -0
  1126. package/esm/charts/single-value/SingleValue.css +1 -1
  1127. package/esm/charts/single-value/SingleValue.sty.js +1 -1
  1128. package/esm/charts/single-value/SingleValue.sty.js.map +1 -1
  1129. package/esm/charts/single-value-grid/SingleValueGrid.css +2 -2
  1130. package/esm/charts/single-value-grid/SingleValueGrid.sty.js +1 -1
  1131. package/esm/charts/single-value-grid/SingleValueGrid.sty.js.map +1 -1
  1132. package/esm/charts/single-value-grid/components/GlobalFontSizeVariables.css +1 -1
  1133. package/esm/charts/single-value-grid/components/GlobalFontSizeVariables.sty.js +1 -1
  1134. package/esm/charts/single-value-grid/components/GlobalFontSizeVariables.sty.js.map +1 -1
  1135. package/esm/charts/timeseries/TimeseriesChart.js.map +2 -2
  1136. package/esm/charts/timeseries/TimeseriesChartInternal.js +39 -17
  1137. package/esm/charts/timeseries/TimeseriesChartInternal.js.map +2 -2
  1138. package/esm/charts/timeseries/components/axes/TimeseriesTimeBottomAxisArea/TimeseriesTimeBottomAxisArea.css +2 -2
  1139. package/esm/charts/timeseries/components/axes/TimeseriesTimeBottomAxisArea/TimeseriesTimeBottomAxisArea.sty.js +1 -1
  1140. package/esm/charts/timeseries/components/axes/TimeseriesTimeBottomAxisArea/TimeseriesTimeBottomAxisArea.sty.js.map +1 -1
  1141. package/esm/charts/timeseries/components/overlays/TimeseriesOverlays.css +4 -4
  1142. package/esm/charts/timeseries/components/overlays/TimeseriesOverlays.sty.js +4 -4
  1143. package/esm/charts/timeseries/components/overlays/TimeseriesOverlays.sty.js.map +1 -1
  1144. package/esm/charts/timeseries/components/thresholds/ThresholdIndicators.css +2 -2
  1145. package/esm/charts/timeseries/components/thresholds/ThresholdIndicators.sty.js +2 -2
  1146. package/esm/charts/timeseries/components/thresholds/ThresholdIndicators.sty.js.map +1 -1
  1147. package/esm/charts/top-list/TopList.css +1 -1
  1148. package/esm/charts/top-list/TopList.js +11 -7
  1149. package/esm/charts/top-list/TopList.js.map +2 -2
  1150. package/esm/charts/top-list/TopList.sty.js +1 -1
  1151. package/esm/charts/top-list/TopList.sty.js.map +1 -1
  1152. package/esm/charts/top-list/constants.js +2 -1
  1153. package/esm/charts/top-list/constants.js.map +2 -2
  1154. package/esm/charts/tree-map/TreeMap.js +10 -1
  1155. package/esm/charts/tree-map/TreeMap.js.map +2 -2
  1156. package/esm/charts/tree-map/components/TreeMapChartLayout.js +4 -4
  1157. package/esm/charts/tree-map/components/TreeMapChartLayout.js.map +2 -2
  1158. package/esm/charts/tree-map/components/TreeMapLegend/TreeMapCategoricalLegend.js +3 -1
  1159. package/esm/charts/tree-map/components/TreeMapLegend/TreeMapCategoricalLegend.js.map +2 -2
  1160. package/esm/charts/tree-map/components/TreeMapOverlay/TreeMapOverlay.css +1 -1
  1161. package/esm/charts/tree-map/components/TreeMapOverlay/TreeMapOverlay.js +2 -10
  1162. package/esm/charts/tree-map/components/TreeMapOverlay/TreeMapOverlay.js.map +2 -2
  1163. package/esm/charts/tree-map/components/TreeMapOverlay/TreeMapOverlay.sty.js +1 -1
  1164. package/esm/charts/tree-map/components/TreeMapOverlay/TreeMapOverlay.sty.js.map +1 -1
  1165. package/esm/charts/tree-map/components/TreeMapToolbar/TreeMapToolbar.js +2 -4
  1166. package/esm/charts/tree-map/components/TreeMapToolbar/TreeMapToolbar.js.map +2 -2
  1167. package/esm/charts/tree-map/components/canvas/TreeMapSquareRenderer.js +5 -2
  1168. package/esm/charts/tree-map/components/canvas/TreeMapSquareRenderer.js.map +2 -2
  1169. package/esm/charts/tree-map/constants.js +1 -2
  1170. package/esm/charts/tree-map/constants.js.map +2 -2
  1171. package/esm/charts/tree-map/context/TextSizeContext.js.map +2 -2
  1172. package/esm/charts/tree-map/hooks/useOverlayHandlers.js +7 -8
  1173. package/esm/charts/tree-map/hooks/useOverlayHandlers.js.map +2 -2
  1174. package/esm/charts/tree-map/hooks/useTreeMapChartConfig.js.map +2 -2
  1175. package/esm/charts/tree-map/hooks/useTreeMapChartHandlers.js +4 -1
  1176. package/esm/charts/tree-map/hooks/useTreeMapChartHandlers.js.map +2 -2
  1177. package/esm/charts/tree-map/providers/TreeMapChartProviders.js +1 -1
  1178. package/esm/charts/tree-map/providers/TreeMapChartProviders.js.map +2 -2
  1179. package/esm/charts/tree-map/store/selectors.js +1 -3
  1180. package/esm/charts/tree-map/store/selectors.js.map +2 -2
  1181. package/esm/charts/tree-map/store/store.js +0 -3
  1182. package/esm/charts/tree-map/store/store.js.map +2 -2
  1183. package/esm/charts/tree-map/utils/build-labels.js.map +2 -2
  1184. package/esm/charts/tree-map/utils/build-tree-map-chart-config.js.map +2 -2
  1185. package/esm/charts/tree-map/utils/get-legend-interaction-props.js +2 -2
  1186. package/esm/charts/tree-map/utils/get-legend-interaction-props.js.map +2 -2
  1187. package/esm/charts/tree-map/utils/to-hierarchical-props.js +88 -0
  1188. package/esm/charts/tree-map/utils/to-hierarchical-props.js.map +7 -0
  1189. package/esm/charts/xy-chart/XYChart.js +25 -12
  1190. package/esm/charts/xy-chart/XYChart.js.map +2 -2
  1191. package/esm/charts/xy-chart/XYChartRoot.js +4 -2
  1192. package/esm/charts/xy-chart/XYChartRoot.js.map +2 -2
  1193. package/esm/charts/xy-chart/components/axes/AxisArea.css +1 -1
  1194. package/esm/charts/xy-chart/components/axes/AxisArea.sty.js +1 -1
  1195. package/esm/charts/xy-chart/components/axes/AxisArea.sty.js.map +1 -1
  1196. package/esm/charts/xy-chart/components/axes/AxisTickWithTruncation.css +3 -3
  1197. package/esm/charts/xy-chart/components/axes/AxisTickWithTruncation.sty.js +3 -3
  1198. package/esm/charts/xy-chart/components/axes/AxisTickWithTruncation.sty.js.map +1 -1
  1199. package/esm/charts/xy-chart/components/axes/XTickWithTruncation.js.map +2 -2
  1200. package/esm/charts/xy-chart/components/axes/XYChartLeftAxisArea.js +6 -2
  1201. package/esm/charts/xy-chart/components/axes/XYChartLeftAxisArea.js.map +2 -2
  1202. package/esm/charts/xy-chart/components/axes/XYChartRightAxisArea.js +6 -2
  1203. package/esm/charts/xy-chart/components/axes/XYChartRightAxisArea.js.map +2 -2
  1204. package/esm/charts/xy-chart/components/axes/YTickWithTruncation.js.map +2 -2
  1205. package/esm/charts/xy-chart/components/axes/hooks/useXTickOffset.js.map +2 -2
  1206. package/esm/charts/xy-chart/components/axes/hooks/useYTickOffset.js.map +2 -2
  1207. package/esm/charts/xy-chart/components/displays/BarDisplay/BarLabelOverlay.css +3 -3
  1208. package/esm/charts/xy-chart/components/displays/BarDisplay/BarLabelOverlay.sty.js +3 -3
  1209. package/esm/charts/xy-chart/components/displays/BarDisplay/BarLabelOverlay.sty.js.map +1 -1
  1210. package/esm/charts/xy-chart/components/legend/XYLegend/xy-legend.css +1 -1
  1211. package/esm/charts/xy-chart/components/legend/XYLegend/xy-legend.sty.js +1 -1
  1212. package/esm/charts/xy-chart/components/legend/XYLegend/xy-legend.sty.js.map +1 -1
  1213. package/esm/charts/xy-chart/components/overlay/explore/HighlightedPointCanvas.js +32 -6
  1214. package/esm/charts/xy-chart/components/overlay/explore/HighlightedPointCanvas.js.map +2 -2
  1215. package/esm/charts/xy-chart/components/overlay/explore/XYChartCrosshair.css +1 -1
  1216. package/esm/charts/xy-chart/components/overlay/explore/XYChartCrosshair.sty.js +1 -1
  1217. package/esm/charts/xy-chart/components/overlay/explore/XYChartCrosshair.sty.js.map +1 -1
  1218. package/esm/charts/xy-chart/components/overlay/explore/XYChartExplore.css +2 -2
  1219. package/esm/charts/xy-chart/components/overlay/explore/XYChartExplore.sty.js +2 -2
  1220. package/esm/charts/xy-chart/components/overlay/explore/XYChartExplore.sty.js.map +1 -1
  1221. package/esm/charts/xy-chart/components/overlay/explore/XYChartLinearPoint.js +12 -6
  1222. package/esm/charts/xy-chart/components/overlay/explore/XYChartLinearPoint.js.map +2 -2
  1223. package/esm/charts/xy-chart/components/overlay/hooks/useOverlayEvents.js +4 -0
  1224. package/esm/charts/xy-chart/components/overlay/hooks/useOverlayEvents.js.map +2 -2
  1225. package/esm/charts/xy-chart/components/overlay/utils/draw-shape.js +19 -0
  1226. package/esm/charts/xy-chart/components/overlay/utils/draw-shape.js.map +2 -2
  1227. package/esm/charts/xy-chart/components/thresholds/XYChartThresholdIndicators.css +1 -1
  1228. package/esm/charts/xy-chart/components/thresholds/XYChartThresholdIndicators.sty.js +1 -1
  1229. package/esm/charts/xy-chart/components/thresholds/XYChartThresholdIndicators.sty.js.map +1 -1
  1230. package/esm/charts/xy-chart/components/tooltip/HoveredPointTooltip/hooks/getHoveredPointTooltipBodyContent.js +2 -2
  1231. package/esm/charts/xy-chart/components/tooltip/HoveredPointTooltip/hooks/getHoveredPointTooltipBodyContent.js.map +2 -2
  1232. package/esm/charts/xy-chart/components/tooltip/SharedXYChartTooltip/SharedXYChartTooltip.js +23 -22
  1233. package/esm/charts/xy-chart/components/tooltip/SharedXYChartTooltip/SharedXYChartTooltip.js.map +2 -2
  1234. package/esm/charts/xy-chart/components/tooltip/utils/get-cached-separator.js +15 -0
  1235. package/esm/charts/xy-chart/components/tooltip/utils/get-cached-separator.js.map +7 -0
  1236. package/esm/charts/xy-chart/components/tooltip/utils/get-tooltip-formatter.js +4 -2
  1237. package/esm/charts/xy-chart/components/tooltip/utils/get-tooltip-formatter.js.map +2 -2
  1238. package/esm/charts/xy-chart/components/tooltip/utils/tooltip-styles.css +5 -5
  1239. package/esm/charts/xy-chart/components/tooltip/utils/tooltip-styles.sty.js +4 -4
  1240. package/esm/charts/xy-chart/components/tooltip/utils/tooltip-styles.sty.js.map +1 -1
  1241. package/esm/charts/xy-chart/constants/defaults.js +2 -0
  1242. package/esm/charts/xy-chart/constants/defaults.js.map +2 -2
  1243. package/esm/charts/xy-chart/context/XYChartOverlayPerformance.context.js.map +2 -2
  1244. package/esm/charts/xy-chart/hooks/useBuildHoverGrid.js +38 -0
  1245. package/esm/charts/xy-chart/hooks/useBuildHoverGrid.js.map +7 -0
  1246. package/esm/charts/xy-chart/hooks/useBuildOverlayStrategy.js +88 -0
  1247. package/esm/charts/xy-chart/hooks/useBuildOverlayStrategy.js.map +7 -0
  1248. package/esm/charts/xy-chart/hooks/useXYChartDataProvider.js +10 -3
  1249. package/esm/charts/xy-chart/hooks/useXYChartDataProvider.js.map +3 -3
  1250. package/esm/charts/xy-chart/layout/XYChartLayout.css +2 -2
  1251. package/esm/charts/xy-chart/layout/XYChartLayout.sty.js +2 -2
  1252. package/esm/charts/xy-chart/layout/XYChartLayout.sty.js.map +1 -1
  1253. package/esm/charts/xy-chart/providers/XYChartAnnotationsShownIndicatorsProvider.js +7 -9
  1254. package/esm/charts/xy-chart/providers/XYChartAnnotationsShownIndicatorsProvider.js.map +2 -2
  1255. package/esm/charts/xy-chart/providers/XYChartAxesTicksProvider.js +41 -24
  1256. package/esm/charts/xy-chart/providers/XYChartAxesTicksProvider.js.map +2 -2
  1257. package/esm/charts/xy-chart/providers/XYChartOverlayPerformanceProvider.js +16 -61
  1258. package/esm/charts/xy-chart/providers/XYChartOverlayPerformanceProvider.js.map +2 -2
  1259. package/esm/charts/xy-chart/providers/XYChartScalesProvider.js +9 -2
  1260. package/esm/charts/xy-chart/providers/XYChartScalesProvider.js.map +2 -2
  1261. package/esm/charts/xy-chart/utils/build-axis-id-to-min-bar-size.js +28 -0
  1262. package/esm/charts/xy-chart/utils/build-axis-id-to-min-bar-size.js.map +7 -0
  1263. package/esm/charts/xy-chart/utils/build-sorted-entries.js +63 -10
  1264. package/esm/charts/xy-chart/utils/build-sorted-entries.js.map +2 -2
  1265. package/esm/charts/xy-chart/utils/filter-out-of-range-ticks.js +28 -0
  1266. package/esm/charts/xy-chart/utils/filter-out-of-range-ticks.js.map +7 -0
  1267. package/esm/charts/xy-chart/utils/generate-scales-by-axis-id.js +19 -3
  1268. package/esm/charts/xy-chart/utils/generate-scales-by-axis-id.js.map +2 -2
  1269. package/esm/charts/xy-chart/utils/get-ticks-formatted-by-config.js +11 -0
  1270. package/esm/charts/xy-chart/utils/get-ticks-formatted-by-config.js.map +2 -2
  1271. package/esm/charts/xy-chart/utils/query-hovered-grid.js +176 -0
  1272. package/esm/charts/xy-chart/utils/query-hovered-grid.js.map +7 -0
  1273. package/esm/charts/xy-chart/utils/query-shared.js +53 -23
  1274. package/esm/charts/xy-chart/utils/query-shared.js.map +2 -2
  1275. package/esm/charts/xy-chart-adoption/histogram/HistogramToXY.js +11 -50
  1276. package/esm/charts/xy-chart-adoption/histogram/HistogramToXY.js.map +2 -2
  1277. package/esm/charts/xy-chart-adoption/histogram/transformer-annotations-to-xy.js +3 -18
  1278. package/esm/charts/xy-chart-adoption/histogram/transformer-annotations-to-xy.js.map +3 -3
  1279. package/esm/charts/xy-chart-adoption/shared/types/legacy-props.js +1 -0
  1280. package/esm/charts/xy-chart-adoption/shared/types/legacy-props.js.map +7 -0
  1281. package/esm/charts/xy-chart-adoption/shared/types/props.js.map +7 -0
  1282. package/esm/charts/xy-chart-adoption/shared/utils/render-xy-annotations.js +70 -0
  1283. package/esm/charts/xy-chart-adoption/shared/utils/render-xy-annotations.js.map +7 -0
  1284. package/esm/charts/xy-chart-adoption/timeseries/TimeseriesToXY.js +81 -27
  1285. package/esm/charts/xy-chart-adoption/timeseries/TimeseriesToXY.js.map +2 -2
  1286. package/esm/charts/xy-chart-adoption/timeseries/iterate-slots.js +36 -1
  1287. package/esm/charts/xy-chart-adoption/timeseries/iterate-slots.js.map +2 -2
  1288. package/esm/charts/xy-chart-adoption/timeseries/resolve-value-representation.js +7 -0
  1289. package/esm/charts/xy-chart-adoption/timeseries/resolve-value-representation.js.map +7 -0
  1290. package/esm/charts/xy-chart-adoption/timeseries/transformer-annotations-to-xy.js +35 -0
  1291. package/esm/charts/xy-chart-adoption/timeseries/transformer-annotations-to-xy.js.map +7 -0
  1292. package/esm/charts/xy-chart-adoption/timeseries/transformer-data-to-xy.js +7 -6
  1293. package/esm/charts/xy-chart-adoption/timeseries/transformer-data-to-xy.js.map +2 -2
  1294. package/esm/charts/xy-chart-adoption/timeseries/types/timeseries.js.map +2 -2
  1295. package/esm/charts/xy-chart-adoption/timeseries/utils/build-buckets.js +60 -0
  1296. package/esm/charts/xy-chart-adoption/timeseries/utils/build-buckets.js.map +7 -0
  1297. package/esm/charts/xy-chart-adoption/timeseries/utils/collect-annotations-slots.js +58 -0
  1298. package/esm/charts/xy-chart-adoption/timeseries/utils/collect-annotations-slots.js.map +7 -0
  1299. package/esm/charts/xy-chart-adoption/timeseries/utils/map-axis-slots.js +43 -0
  1300. package/esm/charts/xy-chart-adoption/timeseries/utils/map-axis-slots.js.map +7 -0
  1301. package/esm/charts/xy-chart-adoption/timeseries/utils/render-series.js +6 -0
  1302. package/esm/charts/xy-chart-adoption/timeseries/utils/render-series.js.map +2 -2
  1303. package/esm/charts/xy-chart-adoption/timeseries/utils/resolve-gap-policy.js +16 -0
  1304. package/esm/charts/xy-chart-adoption/timeseries/utils/resolve-gap-policy.js.map +7 -0
  1305. package/esm/content/accordion/Accordion.css +14 -14
  1306. package/esm/content/accordion/Accordion.sty.js +8 -8
  1307. package/esm/content/accordion/Accordion.sty.js.map +1 -1
  1308. package/esm/content/ai-loading-indicator/AiLoadingIndicator.css +12 -12
  1309. package/esm/content/ai-loading-indicator/AiLoadingIndicator.sty.js +4 -4
  1310. package/esm/content/ai-loading-indicator/AiLoadingIndicator.sty.js.map +1 -1
  1311. package/esm/content/ai-response/AiResponse.css +5 -5
  1312. package/esm/content/ai-response/AiResponse.sty.js +3 -2
  1313. package/esm/content/ai-response/AiResponse.sty.js.map +2 -2
  1314. package/esm/content/avatar/Avatar.css +13 -13
  1315. package/esm/content/avatar/Avatar.sty.js +4 -4
  1316. package/esm/content/avatar/Avatar.sty.js.map +1 -1
  1317. package/esm/content/avatar-group/AvatarGroup.css +3 -3
  1318. package/esm/content/avatar-group/AvatarGroup.sty.js +2 -2
  1319. package/esm/content/avatar-group/AvatarGroup.sty.js.map +1 -1
  1320. package/esm/content/chip/BaseChip.css +40 -40
  1321. package/esm/content/chip/BaseChip.sty.js +5 -5
  1322. package/esm/content/chip/BaseChip.sty.js.map +1 -1
  1323. package/esm/content/chip/ChipContent.css +11 -11
  1324. package/esm/content/chip/ChipContent.sty.js +2 -2
  1325. package/esm/content/chip/ChipContent.sty.js.map +1 -1
  1326. package/esm/content/chip/ChipDeleteButton.css +19 -19
  1327. package/esm/content/chip/ChipDeleteButton.sty.js +4 -4
  1328. package/esm/content/chip/ChipDeleteButton.sty.js.map +1 -1
  1329. package/esm/content/chip/ChipKey.css +6 -6
  1330. package/esm/content/chip/ChipKey.sty.js +1 -1
  1331. package/esm/content/chip/ChipKey.sty.js.map +1 -1
  1332. package/esm/content/chip/GroupedChip.css +3 -3
  1333. package/esm/content/chip/GroupedChip.sty.js +3 -3
  1334. package/esm/content/chip/GroupedChip.sty.js.map +1 -1
  1335. package/esm/content/chip-group/ChipGroup.css +4 -4
  1336. package/esm/content/chip-group/ChipGroup.js +36 -49
  1337. package/esm/content/chip-group/ChipGroup.js.map +2 -2
  1338. package/esm/content/chip-group/ChipGroup.sty.js +1 -1
  1339. package/esm/content/chip-group/ChipGroup.sty.js.map +1 -1
  1340. package/esm/content/chip-group/Control.css +4 -4
  1341. package/esm/content/chip-group/Control.sty.js +1 -1
  1342. package/esm/content/chip-group/Control.sty.js.map +1 -1
  1343. package/esm/content/chip-group/chip-group-utils.js +34 -0
  1344. package/esm/content/chip-group/chip-group-utils.js.map +7 -0
  1345. package/esm/content/chip-group/state/chip-group-state-reducer.js.map +1 -1
  1346. package/esm/content/code-snippet/CodeHighlight.css +25 -26
  1347. package/esm/content/code-snippet/CodeHighlight.sty.js +10 -6
  1348. package/esm/content/code-snippet/CodeHighlight.sty.js.map +2 -2
  1349. package/esm/content/code-snippet/CodeSnippet.css +31 -5
  1350. package/esm/content/code-snippet/CodeSnippet.js +6 -2
  1351. package/esm/content/code-snippet/CodeSnippet.js.map +2 -2
  1352. package/esm/content/code-snippet/CodeSnippet.sty.js +8 -3
  1353. package/esm/content/code-snippet/CodeSnippet.sty.js.map +2 -2
  1354. package/esm/content/empty-state/EmptyState.css +28 -28
  1355. package/esm/content/empty-state/EmptyState.sty.js +7 -7
  1356. package/esm/content/empty-state/EmptyState.sty.js.map +1 -1
  1357. package/esm/content/empty-state/empty-state-utils.js +2 -9
  1358. package/esm/content/empty-state/empty-state-utils.js.map +2 -2
  1359. package/esm/content/empty-state/slot-components/Footer.css +1 -1
  1360. package/esm/content/empty-state/slot-components/Footer.sty.js +1 -1
  1361. package/esm/content/empty-state/slot-components/Footer.sty.js.map +1 -1
  1362. package/esm/content/empty-state/slot-components/Visual.css +3 -3
  1363. package/esm/content/empty-state/slot-components/Visual.sty.js +1 -1
  1364. package/esm/content/empty-state/slot-components/Visual.sty.js.map +1 -1
  1365. package/esm/content/expandable-text/ExpandableText.css +7 -7
  1366. package/esm/content/expandable-text/ExpandableText.sty.js +2 -2
  1367. package/esm/content/expandable-text/ExpandableText.sty.js.map +1 -1
  1368. package/esm/content/feature-highlight/FeatureHighlight.css +12 -12
  1369. package/esm/content/feature-highlight/FeatureHighlight.js +9 -5
  1370. package/esm/content/feature-highlight/FeatureHighlight.js.map +2 -2
  1371. package/esm/content/feature-highlight/FeatureHighlight.sty.js +3 -3
  1372. package/esm/content/feature-highlight/FeatureHighlight.sty.js.map +1 -1
  1373. package/esm/content/health-indicator/styles.css +23 -23
  1374. package/esm/content/health-indicator/styles.sty.js +1 -1
  1375. package/esm/content/health-indicator/styles.sty.js.map +1 -1
  1376. package/esm/content/index.js.map +2 -2
  1377. package/esm/content/information-overlay/InformationOverlay.css +25 -25
  1378. package/esm/content/information-overlay/InformationOverlay.sty.js +5 -5
  1379. package/esm/content/information-overlay/InformationOverlay.sty.js.map +1 -1
  1380. package/esm/content/keyboard-shortcut/KeyboardShortcut.css +14 -14
  1381. package/esm/content/keyboard-shortcut/KeyboardShortcut.sty.js +2 -2
  1382. package/esm/content/keyboard-shortcut/KeyboardShortcut.sty.js.map +1 -1
  1383. package/esm/content/markdown/Markdown.css +3 -3
  1384. package/esm/content/markdown/Markdown.sty.js +1 -1
  1385. package/esm/content/markdown/Markdown.sty.js.map +1 -1
  1386. package/esm/content/markdown/transformers/typography-mapping.css +9 -9
  1387. package/esm/content/markdown/transformers/typography-mapping.sty.js +6 -6
  1388. package/esm/content/markdown/transformers/typography-mapping.sty.js.map +1 -1
  1389. package/esm/content/microguide/Microguide.css +11 -11
  1390. package/esm/content/microguide/Microguide.sty.js +7 -7
  1391. package/esm/content/microguide/Microguide.sty.js.map +1 -1
  1392. package/esm/content/progress/ProgressBar.css +71 -71
  1393. package/esm/content/progress/ProgressBar.sty.js +5 -5
  1394. package/esm/content/progress/ProgressBar.sty.js.map +1 -1
  1395. package/esm/content/progress/ProgressBarIcon.css +2 -2
  1396. package/esm/content/progress/ProgressBarIcon.sty.js +1 -1
  1397. package/esm/content/progress/ProgressBarIcon.sty.js.map +1 -1
  1398. package/esm/content/progress/ProgressBarLabel.css +3 -3
  1399. package/esm/content/progress/ProgressBarLabel.sty.js +1 -1
  1400. package/esm/content/progress/ProgressBarLabel.sty.js.map +1 -1
  1401. package/esm/content/progress/ProgressBarValue.css +5 -5
  1402. package/esm/content/progress/ProgressBarValue.sty.js +1 -1
  1403. package/esm/content/progress/ProgressBarValue.sty.js.map +1 -1
  1404. package/esm/content/progress/ProgressCircle.css +40 -40
  1405. package/esm/content/progress/ProgressCircle.sty.js +5 -5
  1406. package/esm/content/progress/ProgressCircle.sty.js.map +1 -1
  1407. package/esm/content/release-phase-indicator/ReleasePhaseIndicator.js +4 -2
  1408. package/esm/content/release-phase-indicator/ReleasePhaseIndicator.js.map +2 -2
  1409. package/esm/content/release-phase-indicator/messages.js +5 -0
  1410. package/esm/content/release-phase-indicator/messages.js.map +2 -2
  1411. package/esm/content/shared-components/Visual.css +3 -3
  1412. package/esm/content/shared-components/Visual.sty.js +1 -1
  1413. package/esm/content/shared-components/Visual.sty.js.map +1 -1
  1414. package/esm/content/skeleton/Skeleton.css +7 -7
  1415. package/esm/content/skeleton/Skeleton.sty.js +5 -5
  1416. package/esm/content/skeleton/Skeleton.sty.js.map +1 -1
  1417. package/esm/content/terminology-overlay/TerminologyOverlay.css +4 -4
  1418. package/esm/content/terminology-overlay/TerminologyOverlay.sty.js +1 -1
  1419. package/esm/content/terminology-overlay/TerminologyOverlay.sty.js.map +1 -1
  1420. package/esm/core/components/app-root/AppRoot.css +12 -2
  1421. package/esm/core/components/app-root/AppRoot.js +3 -2
  1422. package/esm/core/components/app-root/AppRoot.js.map +2 -2
  1423. package/esm/core/components/app-root/AppRoot.sty.js +1 -1
  1424. package/esm/core/components/app-root/AppRoot.sty.js.map +1 -1
  1425. package/esm/core/components/app-root/visual-refresh-overrides.js +6 -0
  1426. package/esm/core/components/app-root/visual-refresh-overrides.js.map +2 -2
  1427. package/esm/core/components/error-fallback/ErrorFallback.js.map +7 -0
  1428. package/esm/{filters/filter-field → core/components}/error-fallback/messages.js +4 -4
  1429. package/esm/core/components/error-fallback/messages.js.map +7 -0
  1430. package/esm/core/components/visually-hidden/VisuallyHidden.css +1 -1
  1431. package/esm/core/components/visually-hidden/VisuallyHidden.sty.js +1 -1
  1432. package/esm/core/components/visually-hidden/VisuallyHidden.sty.js.map +1 -1
  1433. package/esm/core/dql/dql-common.js +6 -2
  1434. package/esm/core/dql/dql-common.js.map +2 -2
  1435. package/esm/core/hooks/useVisualRefreshEnabled.js +14 -0
  1436. package/esm/core/hooks/useVisualRefreshEnabled.js.map +7 -0
  1437. package/esm/core/index.js +12 -0
  1438. package/esm/core/index.js.map +2 -2
  1439. package/esm/core/sdk/app-state/AppStateContext.js +27 -0
  1440. package/esm/core/sdk/app-state/AppStateContext.js.map +7 -0
  1441. package/esm/core/sdk/app-state/AppStateProvider.js +87 -0
  1442. package/esm/core/sdk/app-state/AppStateProvider.js.map +7 -0
  1443. package/esm/core/sdk/app-state/app-state-store.js +12 -0
  1444. package/esm/core/sdk/app-state/app-state-store.js.map +7 -0
  1445. package/esm/core/sdk/app-state/useAppState.js +26 -0
  1446. package/esm/core/sdk/app-state/useAppState.js.map +7 -0
  1447. package/esm/core/sdk/app-state/useAppStateInternal.js +125 -0
  1448. package/esm/core/sdk/app-state/useAppStateInternal.js.map +7 -0
  1449. package/esm/core/sdk/app-state/useAppStateValue.js +14 -0
  1450. package/esm/core/sdk/app-state/useAppStateValue.js.map +7 -0
  1451. package/esm/core/sdk/sdk-logger.js +2 -2
  1452. package/esm/core/styles/defaultChartValues.css +1 -1
  1453. package/esm/core/styles/defaultChartValues.sty.js +1 -1
  1454. package/esm/core/styles/defaultChartValues.sty.js.map +1 -1
  1455. package/esm/core/styles/focusRing.css +66 -66
  1456. package/esm/core/styles/focusRing.sty.js +2 -2
  1457. package/esm/core/styles/focusRing.sty.js.map +1 -1
  1458. package/esm/core/styles/focusRingStatic.css +34 -34
  1459. package/esm/core/styles/focusRingStatic.sty.js +1 -1
  1460. package/esm/core/styles/focusRingStatic.sty.js.map +1 -1
  1461. package/esm/core/styles/virtualFocus.css +2 -2
  1462. package/esm/core/styles/virtualFocus.sty.js +1 -1
  1463. package/esm/core/styles/virtualFocus.sty.js.map +1 -1
  1464. package/esm/core/time/timeframeStore/actions/dateTimePicker.js +5 -4
  1465. package/esm/core/time/timeframeStore/actions/dateTimePicker.js.map +2 -2
  1466. package/esm/core/time/validation.js +49 -4
  1467. package/esm/core/time/validation.js.map +2 -2
  1468. package/esm/core/utils/colorUtils.css +60 -60
  1469. package/esm/core/utils/colorUtils.sty.js +2 -2
  1470. package/esm/core/utils/colorUtils.sty.js.map +1 -1
  1471. package/esm/{charts/core → core}/utils/get-tick-value-as-number.js.map +1 -1
  1472. package/esm/core/utils/get-ticks.js +12 -0
  1473. package/esm/core/utils/get-ticks.js.map +7 -0
  1474. package/esm/editors/base-code-editor/BaseCodeEditor.css +147 -135
  1475. package/esm/editors/base-code-editor/BaseCodeEditor.js +151 -5
  1476. package/esm/editors/base-code-editor/BaseCodeEditor.js.map +2 -2
  1477. package/esm/editors/base-code-editor/BaseCodeEditor.sty.js +2 -2
  1478. package/esm/editors/base-code-editor/BaseCodeEditor.sty.js.map +1 -1
  1479. package/esm/editors/base-code-editor/configuration/configure-format-keymap.js +22 -0
  1480. package/esm/editors/base-code-editor/configuration/configure-format-keymap.js.map +7 -0
  1481. package/esm/editors/base-code-editor/configuration/configure-placeholder.js +34 -3
  1482. package/esm/editors/base-code-editor/configuration/configure-placeholder.js.map +2 -2
  1483. package/esm/editors/base-code-editor/configuration/getDefaultConfigurations.js +105 -7
  1484. package/esm/editors/base-code-editor/configuration/getDefaultConfigurations.js.map +3 -3
  1485. package/esm/editors/base-code-editor/utils/key-maps.js +2 -0
  1486. package/esm/editors/base-code-editor/utils/key-maps.js.map +2 -2
  1487. package/esm/editors/code-editor/CodeEditor.js +26 -2
  1488. package/esm/editors/code-editor/CodeEditor.js.map +2 -2
  1489. package/esm/editors/dql-editor/DQLEditor.js +57 -4
  1490. package/esm/editors/dql-editor/DQLEditor.js.map +2 -2
  1491. package/esm/editors/dql-editor/actions-menu/ActionsMenu.css +23 -13
  1492. package/esm/editors/dql-editor/actions-menu/ActionsMenu.js +8 -1
  1493. package/esm/editors/dql-editor/actions-menu/ActionsMenu.js.map +2 -2
  1494. package/esm/editors/dql-editor/actions-menu/ActionsMenu.sty.js +5 -4
  1495. package/esm/editors/dql-editor/actions-menu/ActionsMenu.sty.js.map +2 -2
  1496. package/esm/editors/dql-editor/actions-menu/actions-menu-messages.js +5 -0
  1497. package/esm/editors/dql-editor/actions-menu/actions-menu-messages.js.map +2 -2
  1498. package/esm/editors/dql-editor/dql/SuggestionPart.css +1 -1
  1499. package/esm/editors/dql-editor/dql/SuggestionPart.sty.js +1 -1
  1500. package/esm/editors/dql-editor/dql/SuggestionPart.sty.js.map +1 -1
  1501. package/esm/editors/dql-editor/dql/SuggestionsInfoSection.css +7 -7
  1502. package/esm/editors/dql-editor/dql/SuggestionsInfoSection.js +10 -1
  1503. package/esm/editors/dql-editor/dql/SuggestionsInfoSection.js.map +2 -2
  1504. package/esm/editors/dql-editor/dql/SuggestionsInfoSection.sty.js +3 -3
  1505. package/esm/editors/dql-editor/dql/SuggestionsInfoSection.sty.js.map +1 -1
  1506. package/esm/editors/dql-editor/dql/open-autocomplete.js +21 -3
  1507. package/esm/editors/dql-editor/dql/open-autocomplete.js.map +2 -2
  1508. package/esm/editors/dql-editor/dql/suggestion-autocompletions.js +3 -0
  1509. package/esm/editors/dql-editor/dql/suggestion-autocompletions.js.map +2 -2
  1510. package/esm/editors/index.js.map +2 -2
  1511. package/esm/filters/filter-field/FilterField.css +151 -119
  1512. package/esm/filters/filter-field/FilterField.js +78 -4
  1513. package/esm/filters/filter-field/FilterField.js.map +2 -2
  1514. package/esm/filters/filter-field/FilterField.sty.js +28 -28
  1515. package/esm/filters/filter-field/FilterField.sty.js.map +1 -1
  1516. package/esm/filters/filter-field/components/FilterFieldSuffixButtons.css +3 -3
  1517. package/esm/filters/filter-field/components/FilterFieldSuffixButtons.sty.js +3 -3
  1518. package/esm/filters/filter-field/components/FilterFieldSuffixButtons.sty.js.map +1 -1
  1519. package/esm/filters/filter-field/components/FilterStatement.css +13 -13
  1520. package/esm/filters/filter-field/components/FilterStatement.sty.js +6 -6
  1521. package/esm/filters/filter-field/components/FilterStatement.sty.js.map +1 -1
  1522. package/esm/filters/filter-field/hooks/recent-and-pinned/usePinnedFilterSuggestions.js +1 -1
  1523. package/esm/filters/filter-field/hooks/recent-and-pinned/usePinnedFilterSuggestions.js.map +2 -2
  1524. package/esm/filters/filter-field/hooks/recent-and-pinned/usePinnedFilters.js +35 -28
  1525. package/esm/filters/filter-field/hooks/recent-and-pinned/usePinnedFilters.js.map +2 -2
  1526. package/esm/filters/filter-field/hooks/recent-and-pinned/useRecentFilters.js +24 -22
  1527. package/esm/filters/filter-field/hooks/recent-and-pinned/useRecentFilters.js.map +2 -2
  1528. package/esm/filters/filter-field/hooks/useSuggestions.js +2 -7
  1529. package/esm/filters/filter-field/hooks/useSuggestions.js.map +2 -2
  1530. package/esm/filters/filter-field/state/recent-pinned-store.js +11 -51
  1531. package/esm/filters/filter-field/state/recent-pinned-store.js.map +2 -2
  1532. package/esm/filters/filter-field/suggestions/RecentPinnedSuggestionItem.css +9 -9
  1533. package/esm/filters/filter-field/suggestions/RecentPinnedSuggestionItem.sty.js +2 -2
  1534. package/esm/filters/filter-field/suggestions/RecentPinnedSuggestionItem.sty.js.map +1 -1
  1535. package/esm/filters/filter-field/suggestions/Suggestion.css +24 -24
  1536. package/esm/filters/filter-field/suggestions/Suggestion.sty.js +16 -16
  1537. package/esm/filters/filter-field/suggestions/Suggestion.sty.js.map +1 -1
  1538. package/esm/filters/filter-field/suggestions/SuggestionDetails.css +2 -2
  1539. package/esm/filters/filter-field/suggestions/SuggestionDetails.sty.js +2 -2
  1540. package/esm/filters/filter-field/suggestions/SuggestionDetails.sty.js.map +1 -1
  1541. package/esm/filters/filter-field/suggestions/SuggestionGroup.css +6 -6
  1542. package/esm/filters/filter-field/suggestions/SuggestionGroup.sty.js +3 -3
  1543. package/esm/filters/filter-field/suggestions/SuggestionGroup.sty.js.map +1 -1
  1544. package/esm/filters/filter-field/suggestions/SuggestionGroupLabel.css +1 -1
  1545. package/esm/filters/filter-field/suggestions/SuggestionGroupLabel.sty.js +1 -1
  1546. package/esm/filters/filter-field/suggestions/SuggestionGroupLabel.sty.js.map +1 -1
  1547. package/esm/filters/filter-field/suggestions/SuggestionPin.js +5 -9
  1548. package/esm/filters/filter-field/suggestions/SuggestionPin.js.map +2 -2
  1549. package/esm/filters/filter-field/suggestions/SuggestionTips.css +7 -7
  1550. package/esm/filters/filter-field/suggestions/SuggestionTips.sty.js +5 -5
  1551. package/esm/filters/filter-field/suggestions/SuggestionTips.sty.js.map +1 -1
  1552. package/esm/filters/filter-field/suggestions/SuggestionsOverlay.css +7 -7
  1553. package/esm/filters/filter-field/suggestions/SuggestionsOverlay.sty.js +5 -5
  1554. package/esm/filters/filter-field/suggestions/SuggestionsOverlay.sty.js.map +1 -1
  1555. package/esm/filters/segment-selector/SegmentSelector.css +4 -4
  1556. package/esm/filters/segment-selector/SegmentSelector.js +100 -9
  1557. package/esm/filters/segment-selector/SegmentSelector.js.map +2 -2
  1558. package/esm/filters/segment-selector/SegmentSelector.sty.js +4 -4
  1559. package/esm/filters/segment-selector/SegmentSelector.sty.js.map +1 -1
  1560. package/esm/filters/segment-selector/contexts/SegmentsUI/segmentValidationHelper.js +6 -3
  1561. package/esm/filters/segment-selector/contexts/SegmentsUI/segmentValidationHelper.js.map +2 -2
  1562. package/esm/filters/segment-selector/parts/EmptySegments.css +1 -1
  1563. package/esm/filters/segment-selector/parts/EmptySegments.sty.js +1 -1
  1564. package/esm/filters/segment-selector/parts/EmptySegments.sty.js.map +1 -1
  1565. package/esm/filters/segment-selector/parts/Overlay.css +8 -8
  1566. package/esm/filters/segment-selector/parts/Overlay.js +2 -1
  1567. package/esm/filters/segment-selector/parts/Overlay.js.map +2 -2
  1568. package/esm/filters/segment-selector/parts/Overlay.sty.js +8 -8
  1569. package/esm/filters/segment-selector/parts/Overlay.sty.js.map +1 -1
  1570. package/esm/filters/segment-selector/parts/ShowMorePanel/ShowMorePanel.css +4 -4
  1571. package/esm/filters/segment-selector/parts/ShowMorePanel/ShowMorePanel.sty.js +4 -4
  1572. package/esm/filters/segment-selector/parts/ShowMorePanel/ShowMorePanel.sty.js.map +1 -1
  1573. package/esm/filters/segment-selector/parts/segmentsPresets/SegmentsPresets.css +32 -32
  1574. package/esm/filters/segment-selector/parts/segmentsPresets/SegmentsPresets.sty.js +10 -10
  1575. package/esm/filters/segment-selector/parts/segmentsPresets/SegmentsPresets.sty.js.map +1 -1
  1576. package/esm/filters/segment-selector/parts/selectionBar/SegmentSelect.css +22 -22
  1577. package/esm/filters/segment-selector/parts/selectionBar/SegmentSelect.sty.js +7 -7
  1578. package/esm/filters/segment-selector/parts/selectionBar/SegmentSelect.sty.js.map +1 -1
  1579. package/esm/filters/segment-selector/parts/selectionBar/SegmentSelectorTrigger.css +1 -1
  1580. package/esm/filters/segment-selector/parts/selectionBar/SegmentSelectorTrigger.sty.js +1 -1
  1581. package/esm/filters/segment-selector/parts/selectionBar/SegmentSelectorTrigger.sty.js.map +1 -1
  1582. package/esm/filters/segment-selector/parts/selectionBar/SelectionBar.js +13 -10
  1583. package/esm/filters/segment-selector/parts/selectionBar/SelectionBar.js.map +2 -2
  1584. package/esm/filters/segment-selector/parts/selectionBar/ValueSelect.js +68 -27
  1585. package/esm/filters/segment-selector/parts/selectionBar/ValueSelect.js.map +2 -2
  1586. package/esm/filters/timeframe-selector/TimeframeSelector.css +2 -2
  1587. package/esm/filters/timeframe-selector/TimeframeSelector.js +4 -0
  1588. package/esm/filters/timeframe-selector/TimeframeSelector.js.map +2 -2
  1589. package/esm/filters/timeframe-selector/TimeframeSelector.sty.js +2 -2
  1590. package/esm/filters/timeframe-selector/TimeframeSelector.sty.js.map +1 -1
  1591. package/esm/filters/timeframe-selector/TimeframeSelectorRoot.js +181 -5
  1592. package/esm/filters/timeframe-selector/TimeframeSelectorRoot.js.map +2 -2
  1593. package/esm/filters/timeframe-selector/components/custom-timeframe-selector/CustomTimeframeSelector.css +4 -4
  1594. package/esm/filters/timeframe-selector/components/custom-timeframe-selector/CustomTimeframeSelector.sty.js +3 -3
  1595. package/esm/filters/timeframe-selector/components/custom-timeframe-selector/CustomTimeframeSelector.sty.js.map +1 -1
  1596. package/esm/filters/timeframe-selector/components/overlay/TimeframeSelectorOverlay.css +4 -4
  1597. package/esm/filters/timeframe-selector/components/overlay/TimeframeSelectorOverlay.sty.js +4 -4
  1598. package/esm/filters/timeframe-selector/components/overlay/TimeframeSelectorOverlay.sty.js.map +1 -1
  1599. package/esm/filters/timeframe-selector/components/presets/Presets.css +27 -27
  1600. package/esm/filters/timeframe-selector/components/presets/Presets.sty.js +11 -11
  1601. package/esm/filters/timeframe-selector/components/presets/Presets.sty.js.map +1 -1
  1602. package/esm/filters/timeframe-selector/components/trigger/Trigger.css +11 -11
  1603. package/esm/filters/timeframe-selector/components/trigger/Trigger.js +2 -2
  1604. package/esm/filters/timeframe-selector/components/trigger/Trigger.js.map +2 -2
  1605. package/esm/filters/timeframe-selector/components/trigger/Trigger.sty.js +4 -4
  1606. package/esm/filters/timeframe-selector/components/trigger/Trigger.sty.js.map +1 -1
  1607. package/esm/forms/_base-input/BaseInput.css +99 -99
  1608. package/esm/forms/_base-input/BaseInput.js +32 -5
  1609. package/esm/forms/_base-input/BaseInput.js.map +2 -2
  1610. package/esm/forms/_base-input/BaseInput.sty.js +11 -11
  1611. package/esm/forms/_base-input/BaseInput.sty.js.map +1 -1
  1612. package/esm/forms/_base-input/BaseInputContent.css +7 -7
  1613. package/esm/forms/_base-input/BaseInputContent.sty.js +1 -1
  1614. package/esm/forms/_base-input/BaseInputContent.sty.js.map +1 -1
  1615. package/esm/forms/calendar/Calendar.css +48 -48
  1616. package/esm/forms/calendar/Calendar.sty.js +12 -12
  1617. package/esm/forms/calendar/Calendar.sty.js.map +1 -1
  1618. package/esm/forms/calendar/CalendarRoot.js +69 -14
  1619. package/esm/forms/calendar/CalendarRoot.js.map +2 -2
  1620. package/esm/forms/calendar/components/CalendarItem.css +7 -7
  1621. package/esm/forms/calendar/components/CalendarItem.sty.js +4 -4
  1622. package/esm/forms/calendar/components/CalendarItem.sty.js.map +1 -1
  1623. package/esm/forms/calendar/components/CalendarOutlineIcon.css +8 -8
  1624. package/esm/forms/calendar/components/CalendarOutlineIcon.sty.js +5 -5
  1625. package/esm/forms/calendar/components/CalendarOutlineIcon.sty.js.map +1 -1
  1626. package/esm/forms/calendar/variables.sty.js +2 -2
  1627. package/esm/forms/calendar/variables.sty.js.map +1 -1
  1628. package/esm/forms/checkbox/Checkbox.css +20 -20
  1629. package/esm/forms/checkbox/Checkbox.js +35 -8
  1630. package/esm/forms/checkbox/Checkbox.js.map +2 -2
  1631. package/esm/forms/checkbox/Checkbox.sty.js +3 -3
  1632. package/esm/forms/checkbox/Checkbox.sty.js.map +1 -1
  1633. package/esm/forms/date-time-picker/DateSelector.js +2 -2
  1634. package/esm/forms/date-time-picker/DateSelector.js.map +2 -2
  1635. package/esm/forms/date-time-picker/DateTimePicker.css +75 -75
  1636. package/esm/forms/date-time-picker/DateTimePicker.js +9 -4
  1637. package/esm/forms/date-time-picker/DateTimePicker.js.map +2 -2
  1638. package/esm/forms/date-time-picker/DateTimePicker.sty.js +6 -6
  1639. package/esm/forms/date-time-picker/DateTimePicker.sty.js.map +1 -1
  1640. package/esm/forms/date-time-picker/DateTimePickerRoot.js +70 -3
  1641. package/esm/forms/date-time-picker/DateTimePickerRoot.js.map +2 -2
  1642. package/esm/forms/date-time-range-picker/DateRangeSelector.css +1 -1
  1643. package/esm/forms/date-time-range-picker/DateRangeSelector.js +3 -3
  1644. package/esm/forms/date-time-range-picker/DateRangeSelector.js.map +2 -2
  1645. package/esm/forms/date-time-range-picker/DateRangeSelector.sty.js +1 -1
  1646. package/esm/forms/date-time-range-picker/DateRangeSelector.sty.js.map +1 -1
  1647. package/esm/forms/date-time-range-picker/DateTimeInput.css +11 -11
  1648. package/esm/forms/date-time-range-picker/DateTimeInput.js +25 -3
  1649. package/esm/forms/date-time-range-picker/DateTimeInput.js.map +2 -2
  1650. package/esm/forms/date-time-range-picker/DateTimeInput.sty.js +3 -3
  1651. package/esm/forms/date-time-range-picker/DateTimeInput.sty.js.map +1 -1
  1652. package/esm/forms/date-time-range-picker/DateTimeRangePicker.css +27 -27
  1653. package/esm/forms/date-time-range-picker/DateTimeRangePicker.sty.js +4 -4
  1654. package/esm/forms/date-time-range-picker/DateTimeRangePicker.sty.js.map +1 -1
  1655. package/esm/forms/date-time-range-picker/DateTimeRangePickerRoot.js +111 -3
  1656. package/esm/forms/date-time-range-picker/DateTimeRangePickerRoot.js.map +2 -2
  1657. package/esm/forms/forms-core/components/field-set/FieldSet.css +2 -2
  1658. package/esm/forms/forms-core/components/field-set/FieldSet.sty.js +2 -2
  1659. package/esm/forms/forms-core/components/field-set/FieldSet.sty.js.map +1 -1
  1660. package/esm/forms/forms-core/components/form-field/FormField.sty.js +1 -1
  1661. package/esm/forms/forms-core/components/form-field/FormField.sty.js.map +1 -1
  1662. package/esm/forms/forms-core/components/form-field-messages/FormFieldMessageItem.css +5 -5
  1663. package/esm/forms/forms-core/components/form-field-messages/FormFieldMessageItem.js +9 -5
  1664. package/esm/forms/forms-core/components/form-field-messages/FormFieldMessageItem.js.map +2 -2
  1665. package/esm/forms/forms-core/components/form-field-messages/FormFieldMessageItem.sty.js +2 -2
  1666. package/esm/forms/forms-core/components/form-field-messages/FormFieldMessageItem.sty.js.map +1 -1
  1667. package/esm/forms/forms-core/components/form-field-messages/FormFieldMessages.sty.js +1 -1
  1668. package/esm/forms/forms-core/components/form-field-messages/FormFieldMessages.sty.js.map +1 -1
  1669. package/esm/forms/forms-core/components/label/Label.css +5 -5
  1670. package/esm/forms/forms-core/components/label/Label.sty.js +2 -2
  1671. package/esm/forms/forms-core/components/label/Label.sty.js.map +1 -1
  1672. package/esm/forms/forms-core/hooks/useFormFieldValidation.js +127 -48
  1673. package/esm/forms/forms-core/hooks/useFormFieldValidation.js.map +2 -2
  1674. package/esm/forms/forms-core/state/formfield-messages-state-reducer.js +10 -0
  1675. package/esm/forms/forms-core/state/formfield-messages-state-reducer.js.map +2 -2
  1676. package/esm/forms/hooks/useAutofillEvent.css +8 -8
  1677. package/esm/forms/hooks/useAutofillEvent.sty.js +4 -4
  1678. package/esm/forms/hooks/useAutofillEvent.sty.js.map +1 -1
  1679. package/esm/forms/index.js +10 -0
  1680. package/esm/forms/index.js.map +2 -2
  1681. package/esm/forms/number-input-v2/NumberInput.js +163 -18
  1682. package/esm/forms/number-input-v2/NumberInput.js.map +2 -2
  1683. package/esm/forms/number-input-v2/utils/validation.js.map +2 -2
  1684. package/esm/forms/radio/Radio.js +19 -3
  1685. package/esm/forms/radio/Radio.js.map +2 -2
  1686. package/esm/forms/radio/RadioGroup.js +42 -5
  1687. package/esm/forms/radio/RadioGroup.js.map +2 -2
  1688. package/esm/forms/radio/RadioGroupContext.js.map +2 -2
  1689. package/esm/forms/radio/styles.css +18 -18
  1690. package/esm/forms/radio/styles.sty.js +8 -8
  1691. package/esm/forms/radio/styles.sty.js.map +1 -1
  1692. package/esm/forms/search-input/SearchInput.css +2 -2
  1693. package/esm/forms/search-input/SearchInput.sty.js +1 -1
  1694. package/esm/forms/search-input/SearchInput.sty.js.map +1 -1
  1695. package/esm/forms/search-input/Stepper.css +5 -5
  1696. package/esm/forms/search-input/Stepper.sty.js +3 -3
  1697. package/esm/forms/search-input/Stepper.sty.js.map +1 -1
  1698. package/esm/forms/select/Select.js +74 -18
  1699. package/esm/forms/select/Select.js.map +2 -2
  1700. package/esm/forms/select/components/Control.js +3 -3
  1701. package/esm/forms/select/components/Control.js.map +2 -2
  1702. package/esm/forms/select/components/HiddenSelect.js +8 -6
  1703. package/esm/forms/select/components/HiddenSelect.js.map +2 -2
  1704. package/esm/forms/select/components/MenuList.js +6 -1
  1705. package/esm/forms/select/components/MenuList.js.map +2 -2
  1706. package/esm/forms/select/components/Option.js +12 -3
  1707. package/esm/forms/select/components/Option.js.map +2 -2
  1708. package/esm/forms/select/styles/Select.css +46 -46
  1709. package/esm/forms/select/styles/Select.sty.js +24 -24
  1710. package/esm/forms/select/styles/Select.sty.js.map +1 -1
  1711. package/esm/forms/shared-types.js.map +2 -2
  1712. package/esm/forms/spin-buttons/SpinButton.css +8 -8
  1713. package/esm/forms/spin-buttons/SpinButton.sty.js +2 -2
  1714. package/esm/forms/spin-buttons/SpinButton.sty.js.map +1 -1
  1715. package/esm/forms/switch/Switch.css +36 -36
  1716. package/esm/forms/switch/Switch.js +39 -6
  1717. package/esm/forms/switch/Switch.js.map +2 -2
  1718. package/esm/forms/switch/Switch.sty.js +5 -5
  1719. package/esm/forms/switch/Switch.sty.js.map +1 -1
  1720. package/esm/forms/text-area/TextArea.css +59 -59
  1721. package/esm/forms/text-area/TextArea.js +33 -2
  1722. package/esm/forms/text-area/TextArea.js.map +2 -2
  1723. package/esm/forms/text-area/TextArea.sty.js +3 -3
  1724. package/esm/forms/text-area/TextArea.sty.js.map +1 -1
  1725. package/esm/forms/text-input/TextInput.js.map +2 -2
  1726. package/esm/forms/toggle-button-group/Item.js +17 -3
  1727. package/esm/forms/toggle-button-group/Item.js.map +2 -2
  1728. package/esm/forms/toggle-button-group/ToggleButtonGroup.js +43 -7
  1729. package/esm/forms/toggle-button-group/ToggleButtonGroup.js.map +2 -2
  1730. package/esm/forms/toggle-button-group/contexts/ToggleButtonGroupContext.js.map +2 -2
  1731. package/esm/forms/toggle-button-group/styles.css +58 -58
  1732. package/esm/forms/toggle-button-group/styles.sty.js +15 -15
  1733. package/esm/forms/toggle-button-group/styles.sty.js.map +1 -1
  1734. package/esm/forms/validation/types.js +63 -0
  1735. package/esm/forms/validation/types.js.map +7 -0
  1736. package/esm/forms/validation/useCustomMessageEmitter.js +83 -0
  1737. package/esm/forms/validation/useCustomMessageEmitter.js.map +7 -0
  1738. package/esm/forms/validation/useValidationStateEmitter.js +31 -0
  1739. package/esm/forms/validation/useValidationStateEmitter.js.map +7 -0
  1740. package/esm/forms/validation/validation-builders.js +56 -0
  1741. package/esm/forms/validation/validation-builders.js.map +7 -0
  1742. package/esm/layouts/app-header/AppHeader.css +1 -1
  1743. package/esm/layouts/app-header/AppHeader.sty.js +1 -1
  1744. package/esm/layouts/app-header/AppHeader.sty.js.map +1 -1
  1745. package/esm/layouts/app-header/Logo.js +3 -1
  1746. package/esm/layouts/app-header/Logo.js.map +2 -2
  1747. package/esm/layouts/app-header/Navigation.css +9 -9
  1748. package/esm/layouts/app-header/Navigation.sty.js +5 -5
  1749. package/esm/layouts/app-header/Navigation.sty.js.map +1 -1
  1750. package/esm/layouts/app-header/action-group/ActionButton.css +17 -17
  1751. package/esm/layouts/app-header/action-group/ActionButton.sty.js +3 -3
  1752. package/esm/layouts/app-header/action-group/ActionButton.sty.js.map +1 -1
  1753. package/esm/layouts/app-header/action-group/ActionGroup.css +1 -1
  1754. package/esm/layouts/app-header/action-group/ActionGroup.sty.js +1 -1
  1755. package/esm/layouts/app-header/action-group/ActionGroup.sty.js.map +1 -1
  1756. package/esm/layouts/app-header/action-group/NavItem.css +4 -4
  1757. package/esm/layouts/app-header/action-group/NavItem.sty.js +3 -3
  1758. package/esm/layouts/app-header/action-group/NavItem.sty.js.map +1 -1
  1759. package/esm/layouts/app-header/app-icon/AppIcon.css +4 -4
  1760. package/esm/layouts/app-header/app-icon/AppIcon.sty.js +1 -1
  1761. package/esm/layouts/app-header/app-icon/AppIcon.sty.js.map +1 -1
  1762. package/esm/layouts/container/Container.css +5 -5
  1763. package/esm/layouts/container/Container.sty.js +1 -1
  1764. package/esm/layouts/container/Container.sty.js.map +1 -1
  1765. package/esm/layouts/divider/Divider.css +6 -6
  1766. package/esm/layouts/divider/Divider.sty.js +1 -1
  1767. package/esm/layouts/divider/Divider.sty.js.map +1 -1
  1768. package/esm/layouts/index.js.map +2 -2
  1769. package/esm/layouts/input-group/InputGroup.css +23 -23
  1770. package/esm/layouts/input-group/InputGroup.sty.js +1 -1
  1771. package/esm/layouts/input-group/InputGroup.sty.js.map +1 -1
  1772. package/esm/layouts/page/DetailView.css +3 -3
  1773. package/esm/layouts/page/DetailView.js.map +2 -2
  1774. package/esm/layouts/page/DetailView.sty.js +2 -2
  1775. package/esm/layouts/page/DetailView.sty.js.map +1 -1
  1776. package/esm/layouts/page/Header.css +2 -2
  1777. package/esm/layouts/page/Header.js.map +2 -2
  1778. package/esm/layouts/page/Header.sty.js +1 -1
  1779. package/esm/layouts/page/Header.sty.js.map +1 -1
  1780. package/esm/layouts/page/Main.css +6 -6
  1781. package/esm/layouts/page/Main.js.map +2 -2
  1782. package/esm/layouts/page/Main.sty.js +4 -4
  1783. package/esm/layouts/page/Main.sty.js.map +1 -1
  1784. package/esm/layouts/page/Page.css +2 -2
  1785. package/esm/layouts/page/Page.js.map +2 -2
  1786. package/esm/layouts/page/Page.sty.js +1 -1
  1787. package/esm/layouts/page/Page.sty.js.map +1 -1
  1788. package/esm/layouts/page/PanelControlButton.js.map +2 -2
  1789. package/esm/layouts/page/Sidebar.css +71 -22
  1790. package/esm/layouts/page/Sidebar.js +2 -0
  1791. package/esm/layouts/page/Sidebar.js.map +2 -2
  1792. package/esm/layouts/page/Sidebar.sty.js +8 -8
  1793. package/esm/layouts/page/Sidebar.sty.js.map +1 -1
  1794. package/esm/layouts/page/page-types.js.map +2 -2
  1795. package/esm/layouts/page/panel-types.js.map +2 -2
  1796. package/esm/layouts/page/panel.css +19 -19
  1797. package/esm/layouts/page/panel.sty.js +10 -10
  1798. package/esm/layouts/page/panel.sty.js.map +1 -1
  1799. package/esm/layouts/page-layout/PageLayout.css +10 -10
  1800. package/esm/layouts/page-layout/PageLayout.sty.js +6 -6
  1801. package/esm/layouts/page-layout/PageLayout.sty.js.map +1 -1
  1802. package/esm/layouts/page-layout/details-layout/DetailsControlBar.css +3 -3
  1803. package/esm/layouts/page-layout/details-layout/DetailsControlBar.sty.js +3 -3
  1804. package/esm/layouts/page-layout/details-layout/DetailsControlBar.sty.js.map +1 -1
  1805. package/esm/layouts/page-layout/details-layout/DetailsLayout.css +6 -6
  1806. package/esm/layouts/page-layout/details-layout/DetailsLayout.js +7 -15
  1807. package/esm/layouts/page-layout/details-layout/DetailsLayout.js.map +2 -2
  1808. package/esm/layouts/page-layout/details-layout/DetailsLayout.sty.js +5 -5
  1809. package/esm/layouts/page-layout/details-layout/DetailsLayout.sty.js.map +1 -1
  1810. package/esm/layouts/page-layout/details-layout/Overlay.css +18 -18
  1811. package/esm/layouts/page-layout/details-layout/Overlay.sty.js +4 -4
  1812. package/esm/layouts/page-layout/details-layout/Overlay.sty.js.map +1 -1
  1813. package/esm/layouts/page-layout/shared/portal-slots.js.map +1 -1
  1814. package/esm/layouts/page-layout/sidebar-layout/SidebarLayout.css +38 -38
  1815. package/esm/layouts/page-layout/sidebar-layout/SidebarLayout.sty.js +15 -15
  1816. package/esm/layouts/page-layout/sidebar-layout/SidebarLayout.sty.js.map +1 -1
  1817. package/esm/layouts/split-layout/SplitLayout.css +18 -18
  1818. package/esm/layouts/split-layout/SplitLayout.sty.js +7 -7
  1819. package/esm/layouts/split-layout/SplitLayout.sty.js.map +1 -1
  1820. package/esm/layouts/surface/Surface.css +39 -39
  1821. package/esm/layouts/surface/Surface.sty.js +2 -2
  1822. package/esm/layouts/surface/Surface.sty.js.map +1 -1
  1823. package/esm/layouts/surface/variables.sty.js +1 -1
  1824. package/esm/layouts/surface/variables.sty.js.map +1 -1
  1825. package/esm/layouts/title-bar/TitleBar.css +5 -5
  1826. package/esm/layouts/title-bar/TitleBar.sty.js +4 -4
  1827. package/esm/layouts/title-bar/TitleBar.sty.js.map +1 -1
  1828. package/esm/navigation/breadcrumbs/Breadcrumbs.css +9 -9
  1829. package/esm/navigation/breadcrumbs/Breadcrumbs.sty.js +5 -5
  1830. package/esm/navigation/breadcrumbs/Breadcrumbs.sty.js.map +1 -1
  1831. package/esm/navigation/menu/Content.js +2 -1
  1832. package/esm/navigation/menu/Content.js.map +2 -2
  1833. package/esm/navigation/menu/Item.js +8 -0
  1834. package/esm/navigation/menu/Item.js.map +2 -2
  1835. package/esm/navigation/menu/Menu.css +38 -15
  1836. package/esm/navigation/menu/Menu.sty.js +10 -8
  1837. package/esm/navigation/menu/Menu.sty.js.map +2 -2
  1838. package/esm/navigation/menu/Sub.js +19 -0
  1839. package/esm/navigation/menu/Sub.js.map +2 -2
  1840. package/esm/navigation/menu/SubContent.js +8 -1
  1841. package/esm/navigation/menu/SubContent.js.map +2 -2
  1842. package/esm/navigation/menu/SubTrigger.js +22 -7
  1843. package/esm/navigation/menu/SubTrigger.js.map +2 -2
  1844. package/esm/navigation/menu/contexts/MenuSubLevelContext.js +38 -0
  1845. package/esm/navigation/menu/contexts/MenuSubLevelContext.js.map +7 -0
  1846. package/esm/navigation/tabs/RenderTab.css +14 -14
  1847. package/esm/navigation/tabs/RenderTab.sty.js +3 -3
  1848. package/esm/navigation/tabs/RenderTab.sty.js.map +1 -1
  1849. package/esm/navigation/tabs/TabPanel.css +3 -3
  1850. package/esm/navigation/tabs/TabPanel.sty.js +2 -2
  1851. package/esm/navigation/tabs/TabPanel.sty.js.map +1 -1
  1852. package/esm/navigation/tabs/Tabs.css +9 -9
  1853. package/esm/navigation/tabs/Tabs.sty.js +5 -5
  1854. package/esm/navigation/tabs/Tabs.sty.js.map +1 -1
  1855. package/esm/notifications/notification-settings/NotificationSettings.css +1 -1
  1856. package/esm/notifications/notification-settings/NotificationSettings.sty.js +1 -1
  1857. package/esm/notifications/notification-settings/NotificationSettings.sty.js.map +1 -1
  1858. package/esm/notifications/notification-settings/components/CopyPermissionsButton.js +3 -7
  1859. package/esm/notifications/notification-settings/components/CopyPermissionsButton.js.map +2 -2
  1860. package/esm/notifications/notification-settings/components/ToggleButton.js +3 -1
  1861. package/esm/notifications/notification-settings/components/ToggleButton.js.map +2 -2
  1862. package/esm/notifications/toast/Toast.css +6 -6
  1863. package/esm/notifications/toast/Toast.sty.js +4 -4
  1864. package/esm/notifications/toast/Toast.sty.js.map +1 -1
  1865. package/esm/notifications/toast/ToastContainer.css +17 -17
  1866. package/esm/notifications/toast/ToastContainer.sty.js +1 -1
  1867. package/esm/notifications/toast/ToastContainer.sty.js.map +1 -1
  1868. package/esm/overlays/drawer/Drawer.css +9 -9
  1869. package/esm/overlays/drawer/Drawer.sty.js +5 -5
  1870. package/esm/overlays/drawer/Drawer.sty.js.map +1 -1
  1871. package/esm/overlays/modal/Modal.css +7 -7
  1872. package/esm/overlays/modal/Modal.sty.js +4 -4
  1873. package/esm/overlays/modal/Modal.sty.js.map +1 -1
  1874. package/esm/overlays/overlay/Overlay.css +1 -1
  1875. package/esm/overlays/overlay/Overlay.sty.js +1 -1
  1876. package/esm/overlays/overlay/Overlay.sty.js.map +1 -1
  1877. package/esm/overlays/sheet/Sheet.css +6 -6
  1878. package/esm/overlays/sheet/Sheet.sty.js +5 -5
  1879. package/esm/overlays/sheet/Sheet.sty.js.map +1 -1
  1880. package/esm/overlays/tooltip/tooltip.css +18 -18
  1881. package/esm/overlays/tooltip/tooltip.sty.js +3 -3
  1882. package/esm/overlays/tooltip/tooltip.sty.js.map +1 -1
  1883. package/esm/overlays/utils/popper-modifiers.js +7 -3
  1884. package/esm/overlays/utils/popper-modifiers.js.map +2 -2
  1885. package/esm/styles/colorUtils.css +60 -60
  1886. package/esm/styles/colorUtils.sty.js +2 -2
  1887. package/esm/styles/colorUtils.sty.js.map +1 -1
  1888. package/esm/styles/container.css +47 -47
  1889. package/esm/styles/container.sty.js +2 -2
  1890. package/esm/styles/container.sty.js.map +1 -1
  1891. package/esm/styles/ellipsis.css +1 -1
  1892. package/esm/styles/ellipsis.sty.js +1 -1
  1893. package/esm/styles/ellipsis.sty.js.map +1 -1
  1894. package/esm/styles/field.css +290 -290
  1895. package/esm/styles/field.sty.js +2 -2
  1896. package/esm/styles/field.sty.js.map +1 -1
  1897. package/esm/styles/screen-reader-only.css +1 -1
  1898. package/esm/styles/screen-reader-only.sty.js +1 -1
  1899. package/esm/styles/screen-reader-only.sty.js.map +1 -1
  1900. package/esm/styles/sprinkles.css +262 -262
  1901. package/esm/styles/sprinkles.sty.js +1 -1
  1902. package/esm/styles/sprinkles.sty.js.map +1 -1
  1903. package/esm/styles/textStyle.css +8 -8
  1904. package/esm/styles/textStyle.sty.js +1 -1
  1905. package/esm/styles/textStyle.sty.js.map +1 -1
  1906. package/esm/tables/DataTable/DataTable.css +2 -2
  1907. package/esm/tables/DataTable/DataTable.js +9 -3
  1908. package/esm/tables/DataTable/DataTable.js.map +2 -2
  1909. package/esm/tables/DataTable/DataTable.sty.js +7 -7
  1910. package/esm/tables/DataTable/DataTable.sty.js.map +1 -1
  1911. package/esm/tables/DataTable/components/Alignment.css +6 -6
  1912. package/esm/tables/DataTable/components/Alignment.sty.js +2 -2
  1913. package/esm/tables/DataTable/components/Alignment.sty.js.map +1 -1
  1914. package/esm/tables/DataTable/components/ColumnPinning/DataTablePinningShadowCells.css +6 -6
  1915. package/esm/tables/DataTable/components/ColumnPinning/DataTablePinningShadowCells.sty.js +3 -3
  1916. package/esm/tables/DataTable/components/ColumnPinning/DataTablePinningShadowCells.sty.js.map +1 -1
  1917. package/esm/tables/DataTable/components/DataTableBody.css +2 -2
  1918. package/esm/tables/DataTable/components/DataTableBody.sty.js +2 -2
  1919. package/esm/tables/DataTable/components/DataTableBody.sty.js.map +1 -1
  1920. package/esm/tables/DataTable/components/DataTableCell.css +103 -117
  1921. package/esm/tables/DataTable/components/DataTableCell.sty.js +5 -5
  1922. package/esm/tables/DataTable/components/DataTableCell.sty.js.map +1 -1
  1923. package/esm/tables/DataTable/components/DataTableDefaultCell.css +23 -23
  1924. package/esm/tables/DataTable/components/DataTableDefaultCell.sty.js +1 -1
  1925. package/esm/tables/DataTable/components/DataTableDefaultCell.sty.js.map +1 -1
  1926. package/esm/tables/DataTable/components/DataTableEmptyState.css +6 -6
  1927. package/esm/tables/DataTable/components/DataTableEmptyState.sty.js +2 -2
  1928. package/esm/tables/DataTable/components/DataTableEmptyState.sty.js.map +1 -1
  1929. package/esm/tables/DataTable/components/DataTableHeader.css +2 -2
  1930. package/esm/tables/DataTable/components/DataTableHeader.sty.js +2 -2
  1931. package/esm/tables/DataTable/components/DataTableHeader.sty.js.map +1 -1
  1932. package/esm/tables/DataTable/components/DataTableHeaderCell.css +64 -64
  1933. package/esm/tables/DataTable/components/DataTableHeaderCell.sty.js +23 -23
  1934. package/esm/tables/DataTable/components/DataTableHeaderCell.sty.js.map +1 -1
  1935. package/esm/tables/DataTable/components/DataTableRow.css +13 -13
  1936. package/esm/tables/DataTable/components/DataTableRow.sty.js +1 -1
  1937. package/esm/tables/DataTable/components/DataTableRow.sty.js.map +1 -1
  1938. package/esm/tables/DataTable/components/DataTableScrollShadow.css +10 -10
  1939. package/esm/tables/DataTable/components/DataTableScrollShadow.sty.js +2 -2
  1940. package/esm/tables/DataTable/components/DataTableScrollShadow.sty.js.map +1 -1
  1941. package/esm/tables/DataTable/components/DataTableVirtualizationContainer.css +21 -21
  1942. package/esm/tables/DataTable/components/DataTableVirtualizationContainer.sty.js +1 -1
  1943. package/esm/tables/DataTable/components/DataTableVirtualizationContainer.sty.js.map +1 -1
  1944. package/esm/tables/DataTable/components/SettingsModal/DataTableSettingsModal.css +6 -0
  1945. package/esm/tables/DataTable/components/SettingsModal/DataTableSettingsModal.js +51 -37
  1946. package/esm/tables/DataTable/components/SettingsModal/DataTableSettingsModal.js.map +2 -2
  1947. package/esm/tables/DataTable/components/SettingsModal/DataTableSettingsModal.sty.js +7 -0
  1948. package/esm/tables/DataTable/components/SettingsModal/DataTableSettingsModal.sty.js.map +7 -0
  1949. package/esm/tables/DataTable/components/TableActions/DataTableSelectionChip.css +5 -5
  1950. package/esm/tables/DataTable/components/TableActions/DataTableSelectionChip.sty.js +2 -2
  1951. package/esm/tables/DataTable/components/TableActions/DataTableSelectionChip.sty.js.map +1 -1
  1952. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/ColumnOrderSettings/ColumnOrderSettingsDragAndDrop.css +7 -7
  1953. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/ColumnOrderSettings/ColumnOrderSettingsDragAndDrop.sty.js +3 -3
  1954. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/ColumnOrderSettings/ColumnOrderSettingsDragAndDrop.sty.js.map +1 -1
  1955. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnSettingsModal.js +46 -7
  1956. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnSettingsModal.js.map +2 -2
  1957. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnVisibilitySettings.js +2 -1
  1958. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnVisibilitySettings.js.map +2 -2
  1959. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnsList.css +19 -7
  1960. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnsList.js +8 -3
  1961. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnsList.js.map +2 -2
  1962. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnsList.sty.js +3 -3
  1963. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnsList.sty.js.map +2 -2
  1964. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnsListItem.css +7 -7
  1965. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnsListItem.sty.js +3 -3
  1966. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnsListItem.sty.js.map +1 -1
  1967. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/DataTableVisibilityFilterControls.css +5 -5
  1968. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/DataTableVisibilityFilterControls.sty.js +3 -3
  1969. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/DataTableVisibilityFilterControls.sty.js.map +1 -1
  1970. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/column-settings-utils.js +72 -3
  1971. package/esm/tables/DataTable/components/Toolbar/ColumnSettings/column-settings-utils.js.map +3 -3
  1972. package/esm/tables/DataTable/components/Toolbar/DataTableToolbar.js +1 -0
  1973. package/esm/tables/DataTable/components/Toolbar/DataTableToolbar.js.map +2 -2
  1974. package/esm/tables/DataTable/components/Toolbar/Download/DataTableDownloadData.css +3 -3
  1975. package/esm/tables/DataTable/components/Toolbar/Download/DataTableDownloadData.sty.js +2 -2
  1976. package/esm/tables/DataTable/components/Toolbar/Download/DataTableDownloadData.sty.js.map +1 -1
  1977. package/esm/tables/DataTable/features/ColumnOrder/ColumnOrder.css +8 -8
  1978. package/esm/tables/DataTable/features/ColumnOrder/ColumnOrder.sty.js +4 -4
  1979. package/esm/tables/DataTable/features/ColumnOrder/ColumnOrder.sty.js.map +1 -1
  1980. package/esm/tables/DataTable/features/ColumnSizing/ColumnSizing.css +3 -3
  1981. package/esm/tables/DataTable/features/ColumnSizing/ColumnSizing.sty.js +1 -1
  1982. package/esm/tables/DataTable/features/ColumnSizing/ColumnSizing.sty.js.map +1 -1
  1983. package/esm/tables/DataTable/features/ColumnTypes/ColumnTypes.css +1 -1
  1984. package/esm/tables/DataTable/features/ColumnTypes/ColumnTypes.sty.js +1 -1
  1985. package/esm/tables/DataTable/features/ColumnTypes/ColumnTypes.sty.js.map +1 -1
  1986. package/esm/tables/DataTable/features/ColumnTypes/column-types-types.js.map +2 -2
  1987. package/esm/tables/DataTable/features/Download/Download.js +1 -1
  1988. package/esm/tables/DataTable/features/Download/Download.js.map +2 -2
  1989. package/esm/tables/DataTable/features/GanttChart/DataTableGanttAnnotationsIndicators.css +1 -1
  1990. package/esm/tables/DataTable/features/GanttChart/DataTableGanttAnnotationsIndicators.sty.js +1 -1
  1991. package/esm/tables/DataTable/features/GanttChart/DataTableGanttAnnotationsIndicators.sty.js.map +1 -1
  1992. package/esm/tables/DataTable/features/GanttChart/DataTableGanttChartCell.css +3 -3
  1993. package/esm/tables/DataTable/features/GanttChart/DataTableGanttChartCell.sty.js +2 -2
  1994. package/esm/tables/DataTable/features/GanttChart/DataTableGanttChartCell.sty.js.map +1 -1
  1995. package/esm/tables/DataTable/features/GanttChart/DataTableGanttChartGrid.css +1 -1
  1996. package/esm/tables/DataTable/features/GanttChart/DataTableGanttChartGrid.js +2 -2
  1997. package/esm/tables/DataTable/features/GanttChart/DataTableGanttChartGrid.js.map +2 -2
  1998. package/esm/tables/DataTable/features/GanttChart/DataTableGanttChartGrid.sty.js +1 -1
  1999. package/esm/tables/DataTable/features/GanttChart/DataTableGanttChartGrid.sty.js.map +1 -1
  2000. package/esm/tables/DataTable/features/GanttChart/DataTableGanttChartHeader.css +4 -4
  2001. package/esm/tables/DataTable/features/GanttChart/DataTableGanttChartHeader.sty.js +1 -1
  2002. package/esm/tables/DataTable/features/GanttChart/DataTableGanttChartHeader.sty.js.map +1 -1
  2003. package/esm/tables/DataTable/features/LoadingState/LoadingState.css +3 -3
  2004. package/esm/tables/DataTable/features/LoadingState/LoadingState.sty.js +3 -3
  2005. package/esm/tables/DataTable/features/LoadingState/LoadingState.sty.js.map +1 -1
  2006. package/esm/tables/DataTable/features/MeterBarChart/MeterBarChart.js.map +2 -2
  2007. package/esm/tables/DataTable/features/RowDetails/RowDetails.css +13 -13
  2008. package/esm/tables/DataTable/features/RowDetails/RowDetails.sty.js +3 -3
  2009. package/esm/tables/DataTable/features/RowDetails/RowDetails.sty.js.map +1 -1
  2010. package/esm/tables/DataTable/features/RowInteractivity/RowInteractivity.css +14 -14
  2011. package/esm/tables/DataTable/features/RowInteractivity/RowInteractivity.sty.js +1 -1
  2012. package/esm/tables/DataTable/features/RowInteractivity/RowInteractivity.sty.js.map +1 -1
  2013. package/esm/tables/DataTable/features/RowOrder/RowOrder.css +8 -8
  2014. package/esm/tables/DataTable/features/RowOrder/RowOrder.sty.js +3 -3
  2015. package/esm/tables/DataTable/features/RowOrder/RowOrder.sty.js.map +1 -1
  2016. package/esm/tables/DataTable/features/RowOrder/components/RowOrderingDragAndDropContext.js +1 -0
  2017. package/esm/tables/DataTable/features/RowOrder/components/RowOrderingDragAndDropContext.js.map +2 -2
  2018. package/esm/tables/DataTable/features/Sorting/Sorting.css +34 -34
  2019. package/esm/tables/DataTable/features/Sorting/Sorting.sty.js +3 -3
  2020. package/esm/tables/DataTable/features/Sorting/Sorting.sty.js.map +1 -1
  2021. package/esm/tables/DataTable/features/SubRows/SubRows.css +19 -19
  2022. package/esm/tables/DataTable/features/SubRows/SubRows.sty.js +5 -5
  2023. package/esm/tables/DataTable/features/SubRows/SubRows.sty.js.map +1 -1
  2024. package/esm/tables/DataTable/features/Thresholds/Thresholds.css +2 -2
  2025. package/esm/tables/DataTable/features/Thresholds/Thresholds.sty.js +3 -3
  2026. package/esm/tables/DataTable/features/Thresholds/Thresholds.sty.js.map +1 -1
  2027. package/esm/tables/DataTable/features/UserActions/RowActions.css +4 -4
  2028. package/esm/tables/DataTable/features/UserActions/RowActions.sty.js +1 -1
  2029. package/esm/tables/DataTable/features/UserActions/RowActions.sty.js.map +1 -1
  2030. package/esm/tables/DataTable/features/UserActions/UserActions.css +18 -18
  2031. package/esm/tables/DataTable/features/UserActions/UserActions.sty.js +2 -2
  2032. package/esm/tables/DataTable/features/UserActions/UserActions.sty.js.map +1 -1
  2033. package/esm/tables/DataTable/messages.js +22 -0
  2034. package/esm/tables/DataTable/messages.js.map +2 -2
  2035. package/esm/tables/SimpleTable/SimpleTable.css +27 -27
  2036. package/esm/tables/SimpleTable/SimpleTable.sty.js +1 -1
  2037. package/esm/tables/SimpleTable/SimpleTable.sty.js.map +1 -1
  2038. package/esm/tables/index.js.map +2 -2
  2039. package/esm/typography/block-quote/Blockquote.css +2 -2
  2040. package/esm/typography/block-quote/Blockquote.sty.js +1 -1
  2041. package/esm/typography/block-quote/Blockquote.sty.js.map +1 -1
  2042. package/esm/typography/code/Code.css +1 -1
  2043. package/esm/typography/code/Code.sty.js +1 -1
  2044. package/esm/typography/code/Code.sty.js.map +1 -1
  2045. package/esm/typography/emphasis/Emphasis.css +1 -1
  2046. package/esm/typography/emphasis/Emphasis.sty.js +1 -1
  2047. package/esm/typography/emphasis/Emphasis.sty.js.map +1 -1
  2048. package/esm/typography/external-link/ExternalLink.css +6 -6
  2049. package/esm/typography/external-link/ExternalLink.sty.js +1 -1
  2050. package/esm/typography/external-link/ExternalLink.sty.js.map +1 -1
  2051. package/esm/typography/heading/Heading.css +7 -7
  2052. package/esm/typography/heading/Heading.sty.js +1 -1
  2053. package/esm/typography/heading/Heading.sty.js.map +1 -1
  2054. package/esm/typography/highlight/Highlight.css +2 -2
  2055. package/esm/typography/highlight/Highlight.sty.js +1 -1
  2056. package/esm/typography/highlight/Highlight.sty.js.map +1 -1
  2057. package/esm/typography/link/Link.css +4 -4
  2058. package/esm/typography/link/Link.sty.js +1 -1
  2059. package/esm/typography/link/Link.sty.js.map +1 -1
  2060. package/esm/typography/list/List.css +4 -4
  2061. package/esm/typography/list/List.sty.js +2 -2
  2062. package/esm/typography/list/List.sty.js.map +1 -1
  2063. package/esm/typography/paragraph/Paragraph.css +3 -3
  2064. package/esm/typography/paragraph/Paragraph.sty.js +1 -1
  2065. package/esm/typography/paragraph/Paragraph.sty.js.map +1 -1
  2066. package/esm/typography/strikethrough/Strikethrough.css +1 -1
  2067. package/esm/typography/strikethrough/Strikethrough.sty.js +1 -1
  2068. package/esm/typography/strikethrough/Strikethrough.sty.js.map +1 -1
  2069. package/esm/typography/strong/Strong.css +1 -1
  2070. package/esm/typography/strong/Strong.sty.js +1 -1
  2071. package/esm/typography/strong/Strong.sty.js.map +1 -1
  2072. package/esm/typography/text/Text.css +3 -3
  2073. package/esm/typography/text/Text.sty.js +1 -1
  2074. package/esm/typography/text/Text.sty.js.map +1 -1
  2075. package/esm/typography/text-ellipsis/TextEllipsis.css +6 -6
  2076. package/esm/typography/text-ellipsis/TextEllipsis.sty.js +2 -2
  2077. package/esm/typography/text-ellipsis/TextEllipsis.sty.js.map +1 -1
  2078. package/filters/filter-field/FilterField.css +151 -119
  2079. package/filters/filter-field/FilterField.js +75 -4
  2080. package/filters/filter-field/FilterField.sty.js +28 -28
  2081. package/filters/filter-field/components/FilterFieldSuffixButtons.css +3 -3
  2082. package/filters/filter-field/components/FilterFieldSuffixButtons.sty.js +3 -3
  2083. package/filters/filter-field/components/FilterStatement.css +13 -13
  2084. package/filters/filter-field/components/FilterStatement.sty.js +6 -6
  2085. package/filters/filter-field/hooks/recent-and-pinned/usePinnedFilterSuggestions.js +1 -1
  2086. package/filters/filter-field/hooks/recent-and-pinned/usePinnedFilters.d.ts +10 -4
  2087. package/filters/filter-field/hooks/recent-and-pinned/usePinnedFilters.js +32 -26
  2088. package/filters/filter-field/hooks/recent-and-pinned/useRecentFilters.d.ts +2 -2
  2089. package/filters/filter-field/hooks/recent-and-pinned/useRecentFilters.js +22 -20
  2090. package/filters/filter-field/hooks/useSuggestions.d.ts +0 -1
  2091. package/filters/filter-field/hooks/useSuggestions.js +1 -6
  2092. package/filters/filter-field/state/recent-pinned-store.d.ts +11 -27
  2093. package/filters/filter-field/state/recent-pinned-store.js +11 -51
  2094. package/filters/filter-field/suggestions/RecentPinnedSuggestionItem.css +9 -9
  2095. package/filters/filter-field/suggestions/RecentPinnedSuggestionItem.sty.js +2 -2
  2096. package/filters/filter-field/suggestions/Suggestion.css +24 -24
  2097. package/filters/filter-field/suggestions/Suggestion.sty.js +16 -16
  2098. package/filters/filter-field/suggestions/SuggestionDetails.css +2 -2
  2099. package/filters/filter-field/suggestions/SuggestionDetails.sty.js +2 -2
  2100. package/filters/filter-field/suggestions/SuggestionGroup.css +6 -6
  2101. package/filters/filter-field/suggestions/SuggestionGroup.sty.js +3 -3
  2102. package/filters/filter-field/suggestions/SuggestionGroupLabel.css +1 -1
  2103. package/filters/filter-field/suggestions/SuggestionGroupLabel.sty.js +1 -1
  2104. package/filters/filter-field/suggestions/SuggestionPin.d.ts +3 -2
  2105. package/filters/filter-field/suggestions/SuggestionPin.js +5 -9
  2106. package/filters/filter-field/suggestions/SuggestionTips.css +7 -7
  2107. package/filters/filter-field/suggestions/SuggestionTips.sty.js +5 -5
  2108. package/filters/filter-field/suggestions/SuggestionsOverlay.css +7 -7
  2109. package/filters/filter-field/suggestions/SuggestionsOverlay.sty.js +5 -5
  2110. package/filters/segment-selector/SegmentSelector.css +4 -4
  2111. package/filters/segment-selector/SegmentSelector.js +91 -7
  2112. package/filters/segment-selector/SegmentSelector.sty.js +4 -4
  2113. package/filters/segment-selector/SegmentSelector.types.d.ts +10 -1
  2114. package/filters/segment-selector/contexts/SegmentsUI/segmentValidationHelper.d.ts +2 -2
  2115. package/filters/segment-selector/contexts/SegmentsUI/segmentValidationHelper.js +4 -3
  2116. package/filters/segment-selector/parts/EmptySegments.css +1 -1
  2117. package/filters/segment-selector/parts/EmptySegments.sty.js +1 -1
  2118. package/filters/segment-selector/parts/Overlay.css +8 -8
  2119. package/filters/segment-selector/parts/Overlay.js +2 -1
  2120. package/filters/segment-selector/parts/Overlay.sty.js +8 -8
  2121. package/filters/segment-selector/parts/ShowMorePanel/ShowMorePanel.css +4 -4
  2122. package/filters/segment-selector/parts/ShowMorePanel/ShowMorePanel.sty.js +4 -4
  2123. package/filters/segment-selector/parts/segmentsPresets/SegmentsPresets.css +32 -32
  2124. package/filters/segment-selector/parts/segmentsPresets/SegmentsPresets.sty.js +10 -10
  2125. package/filters/segment-selector/parts/selectionBar/SegmentSelect.css +22 -22
  2126. package/filters/segment-selector/parts/selectionBar/SegmentSelect.sty.js +7 -7
  2127. package/filters/segment-selector/parts/selectionBar/SegmentSelectorTrigger.css +1 -1
  2128. package/filters/segment-selector/parts/selectionBar/SegmentSelectorTrigger.sty.js +1 -1
  2129. package/filters/segment-selector/parts/selectionBar/SelectionBar.js +11 -10
  2130. package/filters/segment-selector/parts/selectionBar/ValueSelect.js +66 -27
  2131. package/filters/timeframe-selector/TimeframeSelector.css +2 -2
  2132. package/filters/timeframe-selector/TimeframeSelector.js +4 -0
  2133. package/filters/timeframe-selector/TimeframeSelector.sty.js +2 -2
  2134. package/filters/timeframe-selector/TimeframeSelectorRoot.js +177 -4
  2135. package/filters/timeframe-selector/components/custom-timeframe-selector/CustomTimeframeSelector.css +4 -4
  2136. package/filters/timeframe-selector/components/custom-timeframe-selector/CustomTimeframeSelector.sty.js +3 -3
  2137. package/filters/timeframe-selector/components/overlay/TimeframeSelectorOverlay.css +4 -4
  2138. package/filters/timeframe-selector/components/overlay/TimeframeSelectorOverlay.sty.js +4 -4
  2139. package/filters/timeframe-selector/components/presets/Presets.css +27 -27
  2140. package/filters/timeframe-selector/components/presets/Presets.sty.js +11 -11
  2141. package/filters/timeframe-selector/components/trigger/Trigger.css +11 -11
  2142. package/filters/timeframe-selector/components/trigger/Trigger.js +2 -2
  2143. package/filters/timeframe-selector/components/trigger/Trigger.sty.js +4 -4
  2144. package/forms/_base-input/BaseInput.css +99 -99
  2145. package/forms/_base-input/BaseInput.js +28 -4
  2146. package/forms/_base-input/BaseInput.sty.js +11 -11
  2147. package/forms/_base-input/BaseInputContent.css +7 -7
  2148. package/forms/_base-input/BaseInputContent.sty.js +1 -1
  2149. package/forms/_base-input/base-input.types.d.ts +6 -0
  2150. package/forms/calendar/Calendar.css +48 -48
  2151. package/forms/calendar/Calendar.sty.js +12 -12
  2152. package/forms/calendar/CalendarRoot.d.ts +2 -2
  2153. package/forms/calendar/CalendarRoot.js +65 -14
  2154. package/forms/calendar/components/CalendarItem.css +7 -7
  2155. package/forms/calendar/components/CalendarItem.sty.js +4 -4
  2156. package/forms/calendar/components/CalendarOutlineIcon.css +8 -8
  2157. package/forms/calendar/components/CalendarOutlineIcon.sty.js +5 -5
  2158. package/forms/calendar/variables.sty.js +2 -2
  2159. package/forms/checkbox/Checkbox.css +20 -20
  2160. package/forms/checkbox/Checkbox.js +31 -7
  2161. package/forms/checkbox/Checkbox.sty.js +3 -3
  2162. package/forms/date-time-picker/DateSelector.js +2 -2
  2163. package/forms/date-time-picker/DateTimePicker.css +75 -75
  2164. package/forms/date-time-picker/DateTimePicker.js +9 -4
  2165. package/forms/date-time-picker/DateTimePicker.sty.js +6 -6
  2166. package/forms/date-time-picker/DateTimePickerRoot.js +67 -3
  2167. package/forms/date-time-range-picker/DateRangeSelector.css +1 -1
  2168. package/forms/date-time-range-picker/DateRangeSelector.js +2 -2
  2169. package/forms/date-time-range-picker/DateRangeSelector.sty.js +1 -1
  2170. package/forms/date-time-range-picker/DateTimeInput.css +11 -11
  2171. package/forms/date-time-range-picker/DateTimeInput.js +25 -3
  2172. package/forms/date-time-range-picker/DateTimeInput.sty.js +3 -3
  2173. package/forms/date-time-range-picker/DateTimeRangePicker.css +27 -27
  2174. package/forms/date-time-range-picker/DateTimeRangePicker.sty.js +4 -4
  2175. package/forms/date-time-range-picker/DateTimeRangePickerRoot.js +105 -2
  2176. package/forms/forms-core/components/field-set/FieldSet.css +2 -2
  2177. package/forms/forms-core/components/field-set/FieldSet.sty.js +2 -2
  2178. package/forms/forms-core/components/form-field/FormField.sty.js +1 -1
  2179. package/forms/forms-core/components/form-field-messages/FormFieldMessageItem.css +5 -5
  2180. package/forms/forms-core/components/form-field-messages/FormFieldMessageItem.js +9 -5
  2181. package/forms/forms-core/components/form-field-messages/FormFieldMessageItem.sty.js +2 -2
  2182. package/forms/forms-core/components/form-field-messages/FormFieldMessages.sty.js +1 -1
  2183. package/forms/forms-core/components/label/Label.css +5 -5
  2184. package/forms/forms-core/components/label/Label.sty.js +2 -2
  2185. package/forms/forms-core/hooks/useFormFieldValidation.d.ts +24 -6
  2186. package/forms/forms-core/hooks/useFormFieldValidation.js +122 -47
  2187. package/forms/forms-core/state/formfield-messages-state-reducer.d.ts +1 -0
  2188. package/forms/forms-core/state/formfield-messages-state-reducer.js +10 -0
  2189. package/forms/forms-core/types/formfield-messages.types.d.ts +2 -0
  2190. package/forms/hooks/useAutofillEvent.css +8 -8
  2191. package/forms/hooks/useAutofillEvent.sty.js +4 -4
  2192. package/forms/index.d.ts +2 -0
  2193. package/forms/index.js +5 -0
  2194. package/forms/number-input-v2/NumberInput.js +159 -18
  2195. package/forms/number-input-v2/utils/validation.d.ts +2 -1
  2196. package/forms/radio/Radio.js +19 -3
  2197. package/forms/radio/RadioGroup.js +42 -5
  2198. package/forms/radio/RadioGroupContext.d.ts +6 -0
  2199. package/forms/radio/styles.css +18 -18
  2200. package/forms/radio/styles.sty.js +8 -8
  2201. package/forms/search-input/SearchInput.css +2 -2
  2202. package/forms/search-input/SearchInput.sty.js +1 -1
  2203. package/forms/search-input/Stepper.css +5 -5
  2204. package/forms/search-input/Stepper.sty.js +3 -3
  2205. package/forms/select/Select.js +69 -17
  2206. package/forms/select/components/Control.d.ts +1 -1
  2207. package/forms/select/components/Control.js +2 -2
  2208. package/forms/select/components/HiddenSelect.js +8 -6
  2209. package/forms/select/components/MenuList.d.ts +2 -0
  2210. package/forms/select/components/MenuList.js +6 -1
  2211. package/forms/select/components/Option.js +12 -3
  2212. package/forms/select/styles/Select.css +46 -46
  2213. package/forms/select/styles/Select.sty.js +24 -24
  2214. package/forms/shared-types.d.ts +8 -0
  2215. package/forms/spin-buttons/SpinButton.css +8 -8
  2216. package/forms/spin-buttons/SpinButton.sty.js +2 -2
  2217. package/forms/switch/Switch.css +36 -36
  2218. package/forms/switch/Switch.js +35 -5
  2219. package/forms/switch/Switch.sty.js +5 -5
  2220. package/forms/text-area/TextArea.css +59 -59
  2221. package/forms/text-area/TextArea.js +29 -1
  2222. package/forms/text-area/TextArea.sty.js +3 -3
  2223. package/forms/text-input/TextInput.d.ts +1 -1
  2224. package/forms/toggle-button-group/Item.js +17 -3
  2225. package/forms/toggle-button-group/ToggleButtonGroup.js +43 -7
  2226. package/forms/toggle-button-group/contexts/ToggleButtonGroupContext.d.ts +3 -0
  2227. package/forms/toggle-button-group/styles.css +58 -58
  2228. package/forms/toggle-button-group/styles.sty.js +15 -15
  2229. package/forms/validation/types.d.ts +122 -0
  2230. package/forms/validation/types.js +81 -0
  2231. package/forms/validation/useCustomMessageEmitter.d.ts +9 -0
  2232. package/forms/validation/useCustomMessageEmitter.js +98 -0
  2233. package/forms/validation/useValidationStateEmitter.d.ts +7 -0
  2234. package/forms/validation/useValidationStateEmitter.js +49 -0
  2235. package/forms/validation/validation-builders.d.ts +17 -0
  2236. package/forms/validation/validation-builders.js +69 -0
  2237. package/lang/en.json +168 -12
  2238. package/lang/uncompiled/en.json +1113 -1064
  2239. package/layouts/app-header/AppHeader.css +1 -1
  2240. package/layouts/app-header/AppHeader.sty.js +1 -1
  2241. package/layouts/app-header/Logo.d.ts +4 -4
  2242. package/layouts/app-header/Navigation.css +9 -9
  2243. package/layouts/app-header/Navigation.sty.js +5 -5
  2244. package/layouts/app-header/action-group/ActionButton.css +17 -17
  2245. package/layouts/app-header/action-group/ActionButton.sty.js +3 -3
  2246. package/layouts/app-header/action-group/ActionGroup.css +1 -1
  2247. package/layouts/app-header/action-group/ActionGroup.sty.js +1 -1
  2248. package/layouts/app-header/action-group/NavItem.css +4 -4
  2249. package/layouts/app-header/action-group/NavItem.sty.js +3 -3
  2250. package/layouts/app-header/app-icon/AppIcon.css +4 -4
  2251. package/layouts/app-header/app-icon/AppIcon.sty.js +1 -1
  2252. package/layouts/container/Container.css +5 -5
  2253. package/layouts/container/Container.sty.js +1 -1
  2254. package/layouts/divider/Divider.css +6 -6
  2255. package/layouts/divider/Divider.sty.js +1 -1
  2256. package/layouts/input-group/InputGroup.css +23 -23
  2257. package/layouts/input-group/InputGroup.sty.js +1 -1
  2258. package/layouts/page/DetailView.css +3 -3
  2259. package/layouts/page/DetailView.d.ts +17 -4
  2260. package/layouts/page/DetailView.sty.js +2 -2
  2261. package/layouts/page/Header.css +2 -2
  2262. package/layouts/page/Header.d.ts +5 -1
  2263. package/layouts/page/Header.sty.js +1 -1
  2264. package/layouts/page/Main.css +6 -6
  2265. package/layouts/page/Main.d.ts +5 -1
  2266. package/layouts/page/Main.sty.js +4 -4
  2267. package/layouts/page/Page.css +2 -2
  2268. package/layouts/page/Page.d.ts +5 -1
  2269. package/layouts/page/Page.sty.js +1 -1
  2270. package/layouts/page/PanelControlButton.d.ts +5 -1
  2271. package/layouts/page/Sidebar.css +71 -22
  2272. package/layouts/page/Sidebar.d.ts +17 -4
  2273. package/layouts/page/Sidebar.js +2 -0
  2274. package/layouts/page/Sidebar.sty.js +8 -8
  2275. package/layouts/page/page-types.d.ts +14 -3
  2276. package/layouts/page/panel-types.d.ts +3 -0
  2277. package/layouts/page/panel.css +19 -19
  2278. package/layouts/page/panel.sty.js +10 -10
  2279. package/layouts/page-layout/PageLayout.css +10 -10
  2280. package/layouts/page-layout/PageLayout.d.ts +1 -1
  2281. package/layouts/page-layout/PageLayout.sty.js +6 -6
  2282. package/layouts/page-layout/details-layout/DetailsControlBar.css +3 -3
  2283. package/layouts/page-layout/details-layout/DetailsControlBar.sty.js +3 -3
  2284. package/layouts/page-layout/details-layout/DetailsLayout.css +6 -6
  2285. package/layouts/page-layout/details-layout/DetailsLayout.js +7 -15
  2286. package/layouts/page-layout/details-layout/DetailsLayout.sty.js +5 -5
  2287. package/layouts/page-layout/details-layout/Overlay.css +18 -18
  2288. package/layouts/page-layout/details-layout/Overlay.sty.js +4 -4
  2289. package/layouts/page-layout/details-layout/slots.d.ts +1 -1
  2290. package/layouts/page-layout/shared/portal-slots.d.ts +1 -1
  2291. package/layouts/page-layout/shared/slot-config.d.ts +1 -1
  2292. package/layouts/page-layout/sidebar-layout/SidebarLayout.css +38 -38
  2293. package/layouts/page-layout/sidebar-layout/SidebarLayout.sty.js +15 -15
  2294. package/layouts/split-layout/SplitLayout.css +18 -18
  2295. package/layouts/split-layout/SplitLayout.sty.js +7 -7
  2296. package/layouts/surface/Surface.css +39 -39
  2297. package/layouts/surface/Surface.sty.js +2 -2
  2298. package/layouts/surface/variables.sty.js +1 -1
  2299. package/layouts/title-bar/TitleBar.css +5 -5
  2300. package/layouts/title-bar/TitleBar.sty.js +4 -4
  2301. package/migrations/3.2.0/codemods/rename-app-header-deprecated-members.js +1 -1
  2302. package/migrations/3.2.0/codeshift-migration.js +1 -1
  2303. package/migrations/3.2.0/dt-app-migration.js +100 -100
  2304. package/navigation/breadcrumbs/Breadcrumbs.css +9 -9
  2305. package/navigation/breadcrumbs/Breadcrumbs.sty.js +5 -5
  2306. package/navigation/menu/Content.js +2 -1
  2307. package/navigation/menu/Item.js +7 -0
  2308. package/navigation/menu/Menu.css +38 -15
  2309. package/navigation/menu/Menu.sty.d.ts +1 -0
  2310. package/navigation/menu/Menu.sty.js +10 -8
  2311. package/navigation/menu/Sub.js +16 -0
  2312. package/navigation/menu/SubContent.js +8 -1
  2313. package/navigation/menu/SubTrigger.js +17 -5
  2314. package/navigation/menu/contexts/MenuSubLevelContext.d.ts +11 -0
  2315. package/navigation/menu/contexts/MenuSubLevelContext.js +51 -0
  2316. package/navigation/tabs/RenderTab.css +14 -14
  2317. package/navigation/tabs/RenderTab.sty.js +3 -3
  2318. package/navigation/tabs/TabPanel.css +3 -3
  2319. package/navigation/tabs/TabPanel.sty.js +2 -2
  2320. package/navigation/tabs/Tabs.css +9 -9
  2321. package/navigation/tabs/Tabs.sty.js +5 -5
  2322. package/notifications/notification-settings/NotificationSettings.css +1 -1
  2323. package/notifications/notification-settings/NotificationSettings.sty.js +1 -1
  2324. package/notifications/notification-settings/components/CopyPermissionsButton.js +3 -7
  2325. package/notifications/notification-settings/components/ToggleButton.js +3 -1
  2326. package/notifications/toast/Toast.css +6 -6
  2327. package/notifications/toast/Toast.sty.js +4 -4
  2328. package/notifications/toast/ToastContainer.css +17 -17
  2329. package/notifications/toast/ToastContainer.sty.js +1 -1
  2330. package/overlays/drawer/Drawer.css +9 -9
  2331. package/overlays/drawer/Drawer.sty.js +5 -5
  2332. package/overlays/modal/Modal.css +7 -7
  2333. package/overlays/modal/Modal.sty.js +4 -4
  2334. package/overlays/overlay/Overlay.css +1 -1
  2335. package/overlays/overlay/Overlay.sty.js +1 -1
  2336. package/overlays/sheet/Sheet.css +6 -6
  2337. package/overlays/sheet/Sheet.sty.js +5 -5
  2338. package/overlays/tooltip/tooltip.css +18 -18
  2339. package/overlays/tooltip/tooltip.sty.js +3 -3
  2340. package/overlays/utils/popper-modifiers.js +7 -3
  2341. package/package.json +9 -10
  2342. package/styles/colorUtils.css +60 -60
  2343. package/styles/colorUtils.sty.js +2 -2
  2344. package/styles/container.css +47 -47
  2345. package/styles/container.sty.js +2 -2
  2346. package/styles/ellipsis.css +1 -1
  2347. package/styles/ellipsis.sty.js +1 -1
  2348. package/styles/field.css +290 -290
  2349. package/styles/field.sty.js +2 -2
  2350. package/styles/screen-reader-only.css +1 -1
  2351. package/styles/screen-reader-only.sty.js +1 -1
  2352. package/styles/sprinkles.css +262 -262
  2353. package/styles/sprinkles.sty.js +1 -1
  2354. package/styles/textStyle.css +8 -8
  2355. package/styles/textStyle.sty.js +1 -1
  2356. package/tables/DataTable/DataTable.css +2 -2
  2357. package/tables/DataTable/DataTable.d.ts +1 -1
  2358. package/tables/DataTable/DataTable.js +9 -3
  2359. package/tables/DataTable/DataTable.sty.js +7 -7
  2360. package/tables/DataTable/components/Alignment.css +6 -6
  2361. package/tables/DataTable/components/Alignment.sty.js +2 -2
  2362. package/tables/DataTable/components/ColumnPinning/DataTablePinningShadowCells.css +6 -6
  2363. package/tables/DataTable/components/ColumnPinning/DataTablePinningShadowCells.sty.js +3 -3
  2364. package/tables/DataTable/components/DataTableBody.css +2 -2
  2365. package/tables/DataTable/components/DataTableBody.sty.js +2 -2
  2366. package/tables/DataTable/components/DataTableCell.css +103 -117
  2367. package/tables/DataTable/components/DataTableCell.sty.js +5 -5
  2368. package/tables/DataTable/components/DataTableDefaultCell.css +23 -23
  2369. package/tables/DataTable/components/DataTableDefaultCell.sty.js +1 -1
  2370. package/tables/DataTable/components/DataTableEmptyState.css +6 -6
  2371. package/tables/DataTable/components/DataTableEmptyState.sty.js +2 -2
  2372. package/tables/DataTable/components/DataTableHeader.css +2 -2
  2373. package/tables/DataTable/components/DataTableHeader.sty.js +2 -2
  2374. package/tables/DataTable/components/DataTableHeaderCell.css +64 -64
  2375. package/tables/DataTable/components/DataTableHeaderCell.sty.js +23 -23
  2376. package/tables/DataTable/components/DataTableRow.css +13 -13
  2377. package/tables/DataTable/components/DataTableRow.sty.js +1 -1
  2378. package/tables/DataTable/components/DataTableScrollShadow.css +10 -10
  2379. package/tables/DataTable/components/DataTableScrollShadow.sty.js +2 -2
  2380. package/tables/DataTable/components/DataTableVirtualizationContainer.css +21 -21
  2381. package/tables/DataTable/components/DataTableVirtualizationContainer.sty.js +1 -1
  2382. package/tables/DataTable/components/SettingsModal/DataTableSettingsModal.css +6 -0
  2383. package/tables/DataTable/components/SettingsModal/DataTableSettingsModal.d.ts +3 -1
  2384. package/tables/DataTable/components/SettingsModal/DataTableSettingsModal.js +61 -37
  2385. package/tables/DataTable/components/SettingsModal/DataTableSettingsModal.sty.d.ts +1 -0
  2386. package/tables/DataTable/components/SettingsModal/DataTableSettingsModal.sty.js +25 -0
  2387. package/tables/DataTable/components/TableActions/DataTableSelectionChip.css +5 -5
  2388. package/tables/DataTable/components/TableActions/DataTableSelectionChip.sty.js +2 -2
  2389. package/tables/DataTable/components/Toolbar/ColumnSettings/ColumnOrderSettings/ColumnOrderSettingsDragAndDrop.css +7 -7
  2390. package/tables/DataTable/components/Toolbar/ColumnSettings/ColumnOrderSettings/ColumnOrderSettingsDragAndDrop.sty.js +3 -3
  2391. package/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnSettingsModal.d.ts +5 -1
  2392. package/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnSettingsModal.js +42 -5
  2393. package/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnVisibilitySettings.d.ts +1 -1
  2394. package/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnVisibilitySettings.js +2 -1
  2395. package/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnsList.css +19 -7
  2396. package/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnsList.d.ts +4 -0
  2397. package/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnsList.js +8 -3
  2398. package/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnsList.sty.d.ts +6 -6
  2399. package/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnsList.sty.js +3 -3
  2400. package/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnsListItem.css +7 -7
  2401. package/tables/DataTable/components/Toolbar/ColumnSettings/DataTableColumnsListItem.sty.js +3 -3
  2402. package/tables/DataTable/components/Toolbar/ColumnSettings/DataTableVisibilityFilterControls.css +5 -5
  2403. package/tables/DataTable/components/Toolbar/ColumnSettings/DataTableVisibilityFilterControls.sty.js +3 -3
  2404. package/tables/DataTable/components/Toolbar/ColumnSettings/column-settings-types.d.ts +5 -1
  2405. package/tables/DataTable/components/Toolbar/ColumnSettings/column-settings-utils.d.ts +31 -2
  2406. package/tables/DataTable/components/Toolbar/ColumnSettings/column-settings-utils.js +72 -3
  2407. package/tables/DataTable/components/Toolbar/DataTableToolbar.d.ts +5 -1
  2408. package/tables/DataTable/components/Toolbar/DataTableToolbar.js +1 -0
  2409. package/tables/DataTable/components/Toolbar/Download/DataTableDownloadData.css +3 -3
  2410. package/tables/DataTable/components/Toolbar/Download/DataTableDownloadData.sty.js +2 -2
  2411. package/tables/DataTable/features/ColumnOrder/ColumnOrder.css +8 -8
  2412. package/tables/DataTable/features/ColumnOrder/ColumnOrder.sty.js +4 -4
  2413. package/tables/DataTable/features/ColumnSizing/ColumnSizing.css +3 -3
  2414. package/tables/DataTable/features/ColumnSizing/ColumnSizing.sty.js +1 -1
  2415. package/tables/DataTable/features/ColumnTypes/ColumnTypes.css +1 -1
  2416. package/tables/DataTable/features/ColumnTypes/ColumnTypes.sty.js +1 -1
  2417. package/tables/DataTable/features/ColumnTypes/column-types-types.d.ts +2 -1
  2418. package/tables/DataTable/features/ColumnVisibility/column-visibility-types.d.ts +17 -0
  2419. package/tables/DataTable/features/Download/Download.js +1 -1
  2420. package/tables/DataTable/features/GanttChart/DataTableGanttAnnotationsIndicators.css +1 -1
  2421. package/tables/DataTable/features/GanttChart/DataTableGanttAnnotationsIndicators.sty.js +1 -1
  2422. package/tables/DataTable/features/GanttChart/DataTableGanttChartCell.css +3 -3
  2423. package/tables/DataTable/features/GanttChart/DataTableGanttChartCell.sty.js +2 -2
  2424. package/tables/DataTable/features/GanttChart/DataTableGanttChartGrid.css +1 -1
  2425. package/tables/DataTable/features/GanttChart/DataTableGanttChartGrid.js +3 -3
  2426. package/tables/DataTable/features/GanttChart/DataTableGanttChartGrid.sty.js +1 -1
  2427. package/tables/DataTable/features/GanttChart/DataTableGanttChartHeader.css +4 -4
  2428. package/tables/DataTable/features/GanttChart/DataTableGanttChartHeader.sty.js +1 -1
  2429. package/tables/DataTable/features/LoadingState/LoadingState.css +3 -3
  2430. package/tables/DataTable/features/LoadingState/LoadingState.sty.js +3 -3
  2431. package/tables/DataTable/features/RowDetails/RowDetails.css +13 -13
  2432. package/tables/DataTable/features/RowDetails/RowDetails.sty.js +3 -3
  2433. package/tables/DataTable/features/RowInteractivity/RowInteractivity.css +14 -14
  2434. package/tables/DataTable/features/RowInteractivity/RowInteractivity.sty.js +1 -1
  2435. package/tables/DataTable/features/RowOrder/RowOrder.css +8 -8
  2436. package/tables/DataTable/features/RowOrder/RowOrder.sty.js +3 -3
  2437. package/tables/DataTable/features/RowOrder/components/RowOrderingDragAndDropContext.js +1 -0
  2438. package/tables/DataTable/features/Sorting/Sorting.css +34 -34
  2439. package/tables/DataTable/features/Sorting/Sorting.sty.js +3 -3
  2440. package/tables/DataTable/features/SubRows/SubRows.css +19 -19
  2441. package/tables/DataTable/features/SubRows/SubRows.sty.js +5 -5
  2442. package/tables/DataTable/features/Thresholds/Thresholds.css +2 -2
  2443. package/tables/DataTable/features/Thresholds/Thresholds.sty.js +3 -3
  2444. package/tables/DataTable/features/UserActions/RowActions.css +4 -4
  2445. package/tables/DataTable/features/UserActions/RowActions.sty.js +1 -1
  2446. package/tables/DataTable/features/UserActions/UserActions.css +18 -18
  2447. package/tables/DataTable/features/UserActions/UserActions.sty.js +2 -2
  2448. package/tables/DataTable/messages.d.ts +20 -0
  2449. package/tables/DataTable/messages.js +22 -0
  2450. package/tables/DataTable/public.api.d.ts +5 -3
  2451. package/tables/SimpleTable/SimpleTable.css +27 -27
  2452. package/tables/SimpleTable/SimpleTable.sty.js +1 -1
  2453. package/tables/index.d.ts +1 -1
  2454. package/typography/block-quote/Blockquote.css +2 -2
  2455. package/typography/block-quote/Blockquote.sty.js +1 -1
  2456. package/typography/code/Code.css +1 -1
  2457. package/typography/code/Code.sty.js +1 -1
  2458. package/typography/emphasis/Emphasis.css +1 -1
  2459. package/typography/emphasis/Emphasis.sty.js +1 -1
  2460. package/typography/external-link/ExternalLink.css +6 -6
  2461. package/typography/external-link/ExternalLink.sty.js +1 -1
  2462. package/typography/heading/Heading.css +7 -7
  2463. package/typography/heading/Heading.sty.js +1 -1
  2464. package/typography/highlight/Highlight.css +2 -2
  2465. package/typography/highlight/Highlight.sty.js +1 -1
  2466. package/typography/link/Link.css +4 -4
  2467. package/typography/link/Link.sty.js +1 -1
  2468. package/typography/list/List.css +4 -4
  2469. package/typography/list/List.sty.js +2 -2
  2470. package/typography/paragraph/Paragraph.css +3 -3
  2471. package/typography/paragraph/Paragraph.sty.js +1 -1
  2472. package/typography/strikethrough/Strikethrough.css +1 -1
  2473. package/typography/strikethrough/Strikethrough.sty.js +1 -1
  2474. package/typography/strong/Strong.css +1 -1
  2475. package/typography/strong/Strong.sty.js +1 -1
  2476. package/typography/text/Text.css +3 -3
  2477. package/typography/text/Text.sty.js +1 -1
  2478. package/typography/text-ellipsis/TextEllipsis.css +6 -6
  2479. package/typography/text-ellipsis/TextEllipsis.sty.js +2 -2
  2480. package/charts/core/components/toolbar/utils/estimate-toolbar-width.d.ts +0 -8
  2481. package/charts/honeycomb/components/canvas/utils/define-text-to-render.d.ts +0 -3
  2482. package/charts/honeycomb/components/canvas/utils/define-text-to-render.js +0 -34
  2483. package/charts/tree-map/hooks/useSetOverlayState.d.ts +0 -3
  2484. package/charts/tree-map/utils/text-measure.d.ts +0 -15
  2485. package/content/ai-response/tests/AiResponse-animation.spec.d.ts +0 -1
  2486. package/content/ai-response/tests/AiResponse-animation.spec.js +0 -281
  2487. package/content/ai-response/tests/AiResponse-reduced-motion.spec.d.ts +0 -1
  2488. package/content/ai-response/tests/AiResponse-reduced-motion.spec.js +0 -253
  2489. package/content/ai-response/tests/vite-helpers.d.ts +0 -8
  2490. package/content/ai-response/tests/vite-helpers.js +0 -66
  2491. package/esm/charts/core/components/toolbar/utils/estimate-toolbar-width.js +0 -16
  2492. package/esm/charts/core/components/toolbar/utils/estimate-toolbar-width.js.map +0 -7
  2493. package/esm/charts/honeycomb/components/canvas/utils/define-text-to-render.js +0 -19
  2494. package/esm/charts/honeycomb/components/canvas/utils/define-text-to-render.js.map +0 -7
  2495. package/esm/charts/tree-map/hooks/useSetOverlayState.js +0 -21
  2496. package/esm/charts/tree-map/hooks/useSetOverlayState.js.map +0 -7
  2497. package/esm/charts/tree-map/utils/text-measure.js +0 -41
  2498. package/esm/charts/tree-map/utils/text-measure.js.map +0 -7
  2499. package/esm/content/ai-response/tests/AiResponse-animation.spec.js +0 -295
  2500. package/esm/content/ai-response/tests/AiResponse-animation.spec.js.map +0 -7
  2501. package/esm/content/ai-response/tests/AiResponse-reduced-motion.spec.js +0 -258
  2502. package/esm/content/ai-response/tests/AiResponse-reduced-motion.spec.js.map +0 -7
  2503. package/esm/content/ai-response/tests/vite-helpers.js +0 -50
  2504. package/esm/content/ai-response/tests/vite-helpers.js.map +0 -7
  2505. package/esm/filters/filter-field/contexts/SavedAndRecentQueryClientContext.js +0 -19
  2506. package/esm/filters/filter-field/contexts/SavedAndRecentQueryClientContext.js.map +0 -7
  2507. package/esm/filters/filter-field/error-fallback/ErrorFallback.js.map +0 -7
  2508. package/esm/filters/filter-field/error-fallback/messages.js.map +0 -7
  2509. package/esm/filters/filter-field/hooks/recent-and-pinned/usePersistedFilter.js +0 -163
  2510. package/esm/filters/filter-field/hooks/recent-and-pinned/usePersistedFilter.js.map +0 -7
  2511. package/esm/filters/filter-field/hooks/recent-and-pinned/useRecentFiltersStore.js +0 -25
  2512. package/esm/filters/filter-field/hooks/recent-and-pinned/useRecentFiltersStore.js.map +0 -7
  2513. package/filters/filter-field/contexts/SavedAndRecentQueryClientContext.d.ts +0 -6
  2514. package/filters/filter-field/error-fallback/ErrorFallback.d.ts +0 -7
  2515. package/filters/filter-field/hooks/recent-and-pinned/usePersistedFilter.d.ts +0 -12
  2516. package/filters/filter-field/hooks/recent-and-pinned/usePersistedFilter.js +0 -176
  2517. package/filters/filter-field/hooks/recent-and-pinned/useRecentFiltersStore.d.ts +0 -6
  2518. package/filters/filter-field/hooks/recent-and-pinned/useRecentFiltersStore.js +0 -39
  2519. /package/charts/xy-chart-adoption/{types → shared/types}/props.d.ts +0 -0
  2520. /package/charts/xy-chart-adoption/{types → shared/types}/props.js +0 -0
  2521. /package/{filters/filter-field → core/components}/error-fallback/ErrorFallback.js +0 -0
  2522. /package/{charts/core → core}/utils/get-tick-value-as-number.d.ts +0 -0
  2523. /package/{charts/core → core}/utils/get-tick-value-as-number.js +0 -0
  2524. /package/esm/charts/{xy-chart-adoption/types/props.js.map → core/types/chart-data.js.map} +0 -0
  2525. /package/esm/charts/xy-chart-adoption/{types → shared/types}/props.js +0 -0
  2526. /package/esm/{filters/filter-field → core/components}/error-fallback/ErrorFallback.js +0 -0
  2527. /package/esm/{charts/core → core}/utils/get-tick-value-as-number.js +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/charts/tree-map/hooks/useTreeMapChartHandlers.ts"],
4
- "sourcesContent": ["import { useCallback } from 'react';\n\nimport type { LegendItem } from '../../core/components/legend/categorical/types/legend.js';\nimport { useSetState } from '../store/selectors.js';\nimport type { TreeMapState } from '../types/state.js';\n\n/**\n * Hook that generates the corresponding handlers to interact with the Treemap\n * @returns Handlers to interact with the Treemap nodes\n */\nexport function useTreeMapHandlers() {\n const setState = useSetState();\n const onLegendItemHover = useCallback(\n (item: LegendItem | undefined): void => {\n setState((prev: TreeMapState) => ({\n ...prev,\n highlightedItem: item,\n }));\n },\n [setState],\n );\n const onLegendItemClick = useCallback(\n (items: LegendItem[]): void => {\n setState((prev: TreeMapState) => ({\n ...prev,\n groupsSelected: items,\n }));\n },\n [setState],\n );\n\n return { onLegendItemHover, onLegendItemClick };\n}\n"],
5
- "mappings": "AAAA,SAAS,mBAAmB;AAG5B,SAAS,mBAAmB;AAOrB,SAAS,qBAAqB;AACnC,QAAM,WAAW,YAAY;AAC7B,QAAM,oBAAoB;AAAA,IACxB,CAAC,SAAuC;AACtC,eAAS,CAAC,UAAwB;AAAA,QAChC,GAAG;AAAA,QACH,iBAAiB;AAAA,MACnB,EAAE;AAAA,IACJ;AAAA,IACA,CAAC,QAAQ;AAAA,EACX;AACA,QAAM,oBAAoB;AAAA,IACxB,CAAC,UAA8B;AAC7B,eAAS,CAAC,UAAwB;AAAA,QAChC,GAAG;AAAA,QACH,gBAAgB;AAAA,MAClB,EAAE;AAAA,IACJ;AAAA,IACA,CAAC,QAAQ;AAAA,EACX;AAEA,SAAO,EAAE,mBAAmB,kBAAkB;AAChD;",
4
+ "sourcesContent": ["import { useCallback } from 'react';\n\nimport type { LegendItem } from '../../core/components/legend/categorical/types/legend.js';\nimport { useTooltipReducer } from '../../core/components/overlay-tooltip/useTooltipReducer.js';\nimport { useSetState } from '../store/selectors.js';\nimport type { TreeMapState } from '../types/state.js';\n\n/**\n * Hook that generates the corresponding handlers to interact with the Treemap\n * @returns Handlers to interact with the Treemap nodes\n */\nexport function useTreeMapHandlers() {\n const setState = useSetState();\n const dispatch = useTooltipReducer();\n\n const onLegendItemHover = useCallback(\n (item: LegendItem | undefined): void => {\n setState((prev: TreeMapState) => ({\n ...prev,\n highlightedItem: item,\n }));\n },\n [setState],\n );\n\n const onLegendItemClick = useCallback(\n (items: LegendItem[]): void => {\n dispatch({ type: 'RESET_TOOLTIP' })();\n setState((prev: TreeMapState) => ({\n ...prev,\n groupsSelected: items,\n }));\n },\n [setState, dispatch],\n );\n\n return { onLegendItemHover, onLegendItemClick };\n}\n"],
5
+ "mappings": "AAAA,SAAS,mBAAmB;AAG5B,SAAS,yBAAyB;AAClC,SAAS,mBAAmB;AAOrB,SAAS,qBAAqB;AACnC,QAAM,WAAW,YAAY;AAC7B,QAAM,WAAW,kBAAkB;AAEnC,QAAM,oBAAoB;AAAA,IACxB,CAAC,SAAuC;AACtC,eAAS,CAAC,UAAwB;AAAA,QAChC,GAAG;AAAA,QACH,iBAAiB;AAAA,MACnB,EAAE;AAAA,IACJ;AAAA,IACA,CAAC,QAAQ;AAAA,EACX;AAEA,QAAM,oBAAoB;AAAA,IACxB,CAAC,UAA8B;AAC7B,eAAS,EAAE,MAAM,gBAAgB,CAAC,EAAE;AACpC,eAAS,CAAC,UAAwB;AAAA,QAChC,GAAG;AAAA,QACH,gBAAgB;AAAA,MAClB,EAAE;AAAA,IACJ;AAAA,IACA,CAAC,UAAU,QAAQ;AAAA,EACrB;AAEA,SAAO,EAAE,mBAAmB,kBAAkB;AAChD;",
6
6
  "names": []
7
7
  }
@@ -45,7 +45,7 @@ const TreeMapChartProviders = (props) => {
45
45
  ChartSeriesActionContext.Provider,
46
46
  {
47
47
  value: {
48
- // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error, @typescript-eslint/ban-ts-comment
48
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
49
49
  // @ts-ignore Strict mode transition - needs to be investigated
50
50
  chartSeriesActions: seriesActions
51
51
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/charts/tree-map/providers/TreeMapChartProviders.tsx"],
4
- "sourcesContent": ["import { useMemo, type PropsWithChildren } from 'react';\n\nimport type { Unit } from '@dynatrace-sdk/units';\n\nimport { StoreProvider } from './StoreProvider.js';\nimport type { TruncationMode } from '../../../typography/text-ellipsis/TextEllipsis.js';\nimport { ChartSeriesActionContext } from '../../core/components/series-action/ChartSeriesActionContext.js';\nimport { ColorRuleContext } from '../../core/context/ColorRuleContext.js';\nimport type {\n ColorPalette,\n CustomColorPalette,\n} from '../../core/types/color-palette.js';\nimport { ColorRuleProps } from '../../core/types/color-rule.js';\nimport type { ColoredRange } from '../../core/types/colored-range.js';\nimport type { LegendProps } from '../../core/types/legend.js';\nimport type { SeriesActionsTemplate } from '../../core/types/series-actions-template.js';\nimport type { ChartToolbarConfig } from '../../core/types/toolbar.js';\nimport { ChartLegendContext } from '../context/ChartLegendContext.js';\nimport { ColorPaletteContext } from '../context/ColorPaletteContext.js';\nimport { FormatterContext } from '../context/FormatterContext.js';\nimport { LabelsDisplayContext } from '../context/LabelsDisplayContext.js';\nimport { MinMaxConfigContext } from '../context/MinMaxConfigContext.js';\nimport { NameAccessorContext } from '../context/NameAccessorContext.js';\nimport { TextSizeContext } from '../context/TextSizeContext.js';\nimport { ToolbarContext } from '../context/ToolbarContext.js';\nimport { TreeMapRawDataContext } from '../context/TreeMapRawDataContext.js';\nimport {\n DEFAULT_CUSTOM_TOOLTIP_CONFIG,\n TreeMapCustomTooltipContext,\n} from '../contexts/TreeMapCustomTooltipContext.js';\nimport type { TreeMapFormatter } from '../types/internal.js';\nimport type { TreeMapCustomTooltipConfig } from '../types/treemap-chart.config.js';\nimport type {\n LabelsDisplay,\n NameAccessor,\n TreeMapData,\n TreeMapLeafNode,\n} from '../types/treemap.js';\n\ninterface TreeMapChartProvidersProps extends PropsWithChildren {\n data: TreeMapData;\n seriesActions?: (node: TreeMapLeafNode) => SeriesActionsTemplate;\n formatter: TreeMapFormatter;\n truncationMode: TruncationMode;\n legend: LegendProps;\n toolbar?: ChartToolbarConfig;\n labelsDisplay: LabelsDisplay;\n nameAccessor?: NameAccessor;\n colorPalette: ColorPalette | CustomColorPalette | ColoredRange[];\n min?: 'data-min' | number;\n max?: 'data-max' | number;\n colorRules?: ColorRuleProps[];\n unit?: string | Unit;\n textSize: number | 'auto';\n tooltip?: TreeMapCustomTooltipConfig;\n}\n\nexport const TreeMapChartProviders = (props: TreeMapChartProvidersProps) => {\n const {\n data,\n seriesActions,\n formatter,\n truncationMode,\n legend,\n toolbar,\n labelsDisplay,\n nameAccessor,\n colorPalette,\n min: configMin,\n max: configMax,\n children,\n colorRules = [],\n unit,\n textSize,\n tooltip,\n } = props;\n\n const min = configMin === 'data-min' ? undefined : configMin;\n const max = configMax === 'data-max' ? undefined : configMax;\n\n const memoizedRawData = useMemo(\n () => ({ ...data, unit: unit ?? data.unit }),\n [data, unit],\n );\n\n return (\n <ColorRuleContext.Provider value={colorRules}>\n <TreeMapRawDataContext.Provider value={memoizedRawData}>\n <ChartSeriesActionContext.Provider\n value={{\n // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error, @typescript-eslint/ban-ts-comment\n // @ts-ignore Strict mode transition - needs to be investigated\n chartSeriesActions: seriesActions,\n }}\n >\n <FormatterContext.Provider\n value={{\n formatter,\n truncationMode,\n }}\n >\n <ColorPaletteContext.Provider value={colorPalette}>\n <ChartLegendContext.Provider value={legend}>\n <NameAccessorContext.Provider value={nameAccessor}>\n <ToolbarContext.Provider value={toolbar}>\n <LabelsDisplayContext.Provider value={labelsDisplay}>\n <TextSizeContext.Provider value={textSize}>\n <MinMaxConfigContext.Provider value={{ min, max }}>\n <TreeMapCustomTooltipContext.Provider\n value={tooltip ?? DEFAULT_CUSTOM_TOOLTIP_CONFIG}\n >\n <StoreProvider>{children}</StoreProvider>\n </TreeMapCustomTooltipContext.Provider>\n </MinMaxConfigContext.Provider>\n </TextSizeContext.Provider>\n </LabelsDisplayContext.Provider>\n </ToolbarContext.Provider>\n </NameAccessorContext.Provider>\n </ChartLegendContext.Provider>\n </ColorPaletteContext.Provider>\n </FormatterContext.Provider>\n </ChartSeriesActionContext.Provider>\n </TreeMapRawDataContext.Provider>\n </ColorRuleContext.Provider>\n );\n};\n\nTreeMapChartProviders['displayName'] = 'TreeMapChartProviders';\n"],
5
- "mappings": "AA+G4B;AA/G5B,SAAS,eAAuC;AAIhD,SAAS,qBAAqB;AAE9B,SAAS,gCAAgC;AACzC,SAAS,wBAAwB;AAUjC,SAAS,0BAA0B;AACnC,SAAS,2BAA2B;AACpC,SAAS,wBAAwB;AACjC,SAAS,4BAA4B;AACrC,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC,SAAS,uBAAuB;AAChC,SAAS,sBAAsB;AAC/B,SAAS,6BAA6B;AACtC;AAAA,EACE;AAAA,EACA;AAAA,OACK;AA4BA,MAAM,wBAAwB,CAAC,UAAsC;AAC1E,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,KAAK;AAAA,IACL,KAAK;AAAA,IACL;AAAA,IACA,aAAa,CAAC;AAAA,IACd;AAAA,IACA;AAAA,IACA;AAAA,EACF,IAAI;AAEJ,QAAM,MAAM,cAAc,aAAa,SAAY;AACnD,QAAM,MAAM,cAAc,aAAa,SAAY;AAEnD,QAAM,kBAAkB;AAAA,IACtB,OAAO,EAAE,GAAG,MAAM,MAAM,QAAQ,KAAK,KAAK;AAAA,IAC1C,CAAC,MAAM,IAAI;AAAA,EACb;AAEA,SACE,oBAAC,iBAAiB,UAAjB,EAA0B,OAAO,YAChC,8BAAC,sBAAsB,UAAtB,EAA+B,OAAO,iBACrC;AAAA,IAAC,yBAAyB;AAAA,IAAzB;AAAA,MACC,OAAO;AAAA;AAAA;AAAA,QAGL,oBAAoB;AAAA,MACtB;AAAA,MAEA;AAAA,QAAC,iBAAiB;AAAA,QAAjB;AAAA,UACC,OAAO;AAAA,YACL;AAAA,YACA;AAAA,UACF;AAAA,UAEA,8BAAC,oBAAoB,UAApB,EAA6B,OAAO,cACnC,8BAAC,mBAAmB,UAAnB,EAA4B,OAAO,QAClC,8BAAC,oBAAoB,UAApB,EAA6B,OAAO,cACnC,8BAAC,eAAe,UAAf,EAAwB,OAAO,SAC9B,8BAAC,qBAAqB,UAArB,EAA8B,OAAO,eACpC,8BAAC,gBAAgB,UAAhB,EAAyB,OAAO,UAC/B,8BAAC,oBAAoB,UAApB,EAA6B,OAAO,EAAE,KAAK,IAAI,GAC9C;AAAA,YAAC,4BAA4B;AAAA,YAA5B;AAAA,cACC,OAAO,WAAW;AAAA,cAElB,8BAAC,iBAAe,UAAS;AAAA;AAAA,UAC3B,GACF,GACF,GACF,GACF,GACF,GACF,GACF;AAAA;AAAA,MACF;AAAA;AAAA,EACF,GACF,GACF;AAEJ;AAEA,sBAAsB,aAAa,IAAI;",
4
+ "sourcesContent": ["import { useMemo, type PropsWithChildren } from 'react';\n\nimport type { Unit } from '@dynatrace-sdk/units';\n\nimport { StoreProvider } from './StoreProvider.js';\nimport type { TruncationMode } from '../../../typography/text-ellipsis/TextEllipsis.js';\nimport { ChartSeriesActionContext } from '../../core/components/series-action/ChartSeriesActionContext.js';\nimport { ColorRuleContext } from '../../core/context/ColorRuleContext.js';\nimport type {\n ColorPalette,\n CustomColorPalette,\n} from '../../core/types/color-palette.js';\nimport { ColorRuleProps } from '../../core/types/color-rule.js';\nimport type { ColoredRange } from '../../core/types/colored-range.js';\nimport type { LegendProps } from '../../core/types/legend.js';\nimport type { SeriesActionsTemplate } from '../../core/types/series-actions-template.js';\nimport type { TextSize } from '../../core/types/text-size.js';\nimport type { ChartToolbarConfig } from '../../core/types/toolbar.js';\nimport { ChartLegendContext } from '../context/ChartLegendContext.js';\nimport { ColorPaletteContext } from '../context/ColorPaletteContext.js';\nimport { FormatterContext } from '../context/FormatterContext.js';\nimport { LabelsDisplayContext } from '../context/LabelsDisplayContext.js';\nimport { MinMaxConfigContext } from '../context/MinMaxConfigContext.js';\nimport { NameAccessorContext } from '../context/NameAccessorContext.js';\nimport { TextSizeContext } from '../context/TextSizeContext.js';\nimport { ToolbarContext } from '../context/ToolbarContext.js';\nimport { TreeMapRawDataContext } from '../context/TreeMapRawDataContext.js';\nimport {\n DEFAULT_CUSTOM_TOOLTIP_CONFIG,\n TreeMapCustomTooltipContext,\n} from '../contexts/TreeMapCustomTooltipContext.js';\nimport type { TreeMapFormatter } from '../types/internal.js';\nimport type { TreeMapCustomTooltipConfig } from '../types/treemap-chart.config.js';\nimport type {\n LabelsDisplay,\n NameAccessor,\n TreeMapData,\n TreeMapLeafNode,\n} from '../types/treemap.js';\n\ninterface TreeMapChartProvidersProps extends PropsWithChildren {\n data: TreeMapData;\n seriesActions?: (node: TreeMapLeafNode) => SeriesActionsTemplate;\n formatter: TreeMapFormatter;\n truncationMode: TruncationMode;\n legend: LegendProps;\n toolbar?: ChartToolbarConfig;\n labelsDisplay: LabelsDisplay;\n nameAccessor?: NameAccessor;\n colorPalette: ColorPalette | CustomColorPalette | ColoredRange[];\n min?: 'data-min' | number;\n max?: 'data-max' | number;\n colorRules?: ColorRuleProps[];\n unit?: string | Unit;\n textSize: TextSize;\n tooltip?: TreeMapCustomTooltipConfig;\n}\n\nexport const TreeMapChartProviders = (props: TreeMapChartProvidersProps) => {\n const {\n data,\n seriesActions,\n formatter,\n truncationMode,\n legend,\n toolbar,\n labelsDisplay,\n nameAccessor,\n colorPalette,\n min: configMin,\n max: configMax,\n children,\n colorRules = [],\n unit,\n textSize,\n tooltip,\n } = props;\n\n const min = configMin === 'data-min' ? undefined : configMin;\n const max = configMax === 'data-max' ? undefined : configMax;\n\n const memoizedRawData = useMemo(\n () => ({ ...data, unit: unit ?? data.unit }),\n [data, unit],\n );\n\n return (\n <ColorRuleContext.Provider value={colorRules}>\n <TreeMapRawDataContext.Provider value={memoizedRawData}>\n <ChartSeriesActionContext.Provider\n value={{\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore Strict mode transition - needs to be investigated\n chartSeriesActions: seriesActions,\n }}\n >\n <FormatterContext.Provider\n value={{\n formatter,\n truncationMode,\n }}\n >\n <ColorPaletteContext.Provider value={colorPalette}>\n <ChartLegendContext.Provider value={legend}>\n <NameAccessorContext.Provider value={nameAccessor}>\n <ToolbarContext.Provider value={toolbar}>\n <LabelsDisplayContext.Provider value={labelsDisplay}>\n <TextSizeContext.Provider value={textSize}>\n <MinMaxConfigContext.Provider value={{ min, max }}>\n <TreeMapCustomTooltipContext.Provider\n value={tooltip ?? DEFAULT_CUSTOM_TOOLTIP_CONFIG}\n >\n <StoreProvider>{children}</StoreProvider>\n </TreeMapCustomTooltipContext.Provider>\n </MinMaxConfigContext.Provider>\n </TextSizeContext.Provider>\n </LabelsDisplayContext.Provider>\n </ToolbarContext.Provider>\n </NameAccessorContext.Provider>\n </ChartLegendContext.Provider>\n </ColorPaletteContext.Provider>\n </FormatterContext.Provider>\n </ChartSeriesActionContext.Provider>\n </TreeMapRawDataContext.Provider>\n </ColorRuleContext.Provider>\n );\n};\n\nTreeMapChartProviders['displayName'] = 'TreeMapChartProviders';\n"],
5
+ "mappings": "AAgH4B;AAhH5B,SAAS,eAAuC;AAIhD,SAAS,qBAAqB;AAE9B,SAAS,gCAAgC;AACzC,SAAS,wBAAwB;AAWjC,SAAS,0BAA0B;AACnC,SAAS,2BAA2B;AACpC,SAAS,wBAAwB;AACjC,SAAS,4BAA4B;AACrC,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC,SAAS,uBAAuB;AAChC,SAAS,sBAAsB;AAC/B,SAAS,6BAA6B;AACtC;AAAA,EACE;AAAA,EACA;AAAA,OACK;AA4BA,MAAM,wBAAwB,CAAC,UAAsC;AAC1E,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,KAAK;AAAA,IACL,KAAK;AAAA,IACL;AAAA,IACA,aAAa,CAAC;AAAA,IACd;AAAA,IACA;AAAA,IACA;AAAA,EACF,IAAI;AAEJ,QAAM,MAAM,cAAc,aAAa,SAAY;AACnD,QAAM,MAAM,cAAc,aAAa,SAAY;AAEnD,QAAM,kBAAkB;AAAA,IACtB,OAAO,EAAE,GAAG,MAAM,MAAM,QAAQ,KAAK,KAAK;AAAA,IAC1C,CAAC,MAAM,IAAI;AAAA,EACb;AAEA,SACE,oBAAC,iBAAiB,UAAjB,EAA0B,OAAO,YAChC,8BAAC,sBAAsB,UAAtB,EAA+B,OAAO,iBACrC;AAAA,IAAC,yBAAyB;AAAA,IAAzB;AAAA,MACC,OAAO;AAAA;AAAA;AAAA,QAGL,oBAAoB;AAAA,MACtB;AAAA,MAEA;AAAA,QAAC,iBAAiB;AAAA,QAAjB;AAAA,UACC,OAAO;AAAA,YACL;AAAA,YACA;AAAA,UACF;AAAA,UAEA,8BAAC,oBAAoB,UAApB,EAA6B,OAAO,cACnC,8BAAC,mBAAmB,UAAnB,EAA4B,OAAO,QAClC,8BAAC,oBAAoB,UAApB,EAA6B,OAAO,cACnC,8BAAC,eAAe,UAAf,EAAwB,OAAO,SAC9B,8BAAC,qBAAqB,UAArB,EAA8B,OAAO,eACpC,8BAAC,gBAAgB,UAAhB,EAAyB,OAAO,UAC/B,8BAAC,oBAAoB,UAApB,EAA6B,OAAO,EAAE,KAAK,IAAI,GAC9C;AAAA,YAAC,4BAA4B;AAAA,YAA5B;AAAA,cACC,OAAO,WAAW;AAAA,cAElB,8BAAC,iBAAe,UAAS;AAAA;AAAA,UAC3B,GACF,GACF,GACF,GACF,GACF,GACF,GACF;AAAA;AAAA,MACF;AAAA;AAAA,EACF,GACF,GACF;AAEJ;AAEA,sBAAsB,aAAa,IAAI;",
6
6
  "names": []
7
7
  }
@@ -11,7 +11,6 @@ const useHighlightedState = () => useSelector((state) => state.highlightedItem);
11
11
  const useGroupsSelectedState = () => useSelector((state) => state.groupsSelected);
12
12
  const useLeafNodesState = () => useSelector((state) => state.hierarchyLeafNodes);
13
13
  const useClusterNodesState = () => useSelector((state) => state.hierarchyClusterNodes);
14
- const useTreeMapToolbarVisibleState = () => useSelector((state) => state.overlay.toolbarVisible);
15
14
  const useColorMap = () => useSelector((state) => state.colorMap);
16
15
  export {
17
16
  useClusterNodesState,
@@ -21,7 +20,6 @@ export {
21
20
  useLeafNodesState,
22
21
  useSelector,
23
22
  useSetState,
24
- useTreeMapState,
25
- useTreeMapToolbarVisibleState
23
+ useTreeMapState
26
24
  };
27
25
  //# sourceMappingURL=selectors.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/charts/tree-map/store/selectors.ts"],
4
- "sourcesContent": ["import { useContext } from 'react';\n\nimport { TreeMapStateContext } from './store.js';\nimport { useStoreSelector } from '../../../core/store/selector.js';\nimport { TreeMapState } from '../types/state.js';\n\nexport const useSelector = <T>(selector: (state: TreeMapState) => T): T =>\n useStoreSelector<T, TreeMapState>(TreeMapStateContext, selector);\n\nexport const useSetState = (): typeof setState => {\n const { setState } = useContext(TreeMapStateContext);\n\n return setState;\n};\n\nexport const useTreeMapState = () =>\n useSelector((state: TreeMapState) => state);\n\nexport const useHighlightedState = () =>\n useSelector((state: TreeMapState) => state.highlightedItem);\n\nexport const useGroupsSelectedState = () =>\n useSelector((state: TreeMapState) => state.groupsSelected);\n\nexport const useLeafNodesState = () =>\n useSelector((state: TreeMapState) => state.hierarchyLeafNodes);\n\nexport const useClusterNodesState = () =>\n useSelector((state: TreeMapState) => state.hierarchyClusterNodes);\n\nexport const useTreeMapToolbarVisibleState = () =>\n useSelector((state: TreeMapState) => state.overlay.toolbarVisible);\n\nexport const useColorMap = () =>\n useSelector((state: TreeMapState) => state.colorMap);\n"],
5
- "mappings": "AAAA,SAAS,kBAAkB;AAE3B,SAAS,2BAA2B;AACpC,SAAS,wBAAwB;AAG1B,MAAM,cAAc,CAAI,aAC7B,iBAAkC,qBAAqB,QAAQ;AAE1D,MAAM,cAAc,MAAuB;AAChD,QAAM,EAAE,SAAS,IAAI,WAAW,mBAAmB;AAEnD,SAAO;AACT;AAEO,MAAM,kBAAkB,MAC7B,YAAY,CAAC,UAAwB,KAAK;AAErC,MAAM,sBAAsB,MACjC,YAAY,CAAC,UAAwB,MAAM,eAAe;AAErD,MAAM,yBAAyB,MACpC,YAAY,CAAC,UAAwB,MAAM,cAAc;AAEpD,MAAM,oBAAoB,MAC/B,YAAY,CAAC,UAAwB,MAAM,kBAAkB;AAExD,MAAM,uBAAuB,MAClC,YAAY,CAAC,UAAwB,MAAM,qBAAqB;AAE3D,MAAM,gCAAgC,MAC3C,YAAY,CAAC,UAAwB,MAAM,QAAQ,cAAc;AAE5D,MAAM,cAAc,MACzB,YAAY,CAAC,UAAwB,MAAM,QAAQ;",
4
+ "sourcesContent": ["import { useContext } from 'react';\n\nimport { TreeMapStateContext } from './store.js';\nimport { useStoreSelector } from '../../../core/store/selector.js';\nimport { TreeMapState } from '../types/state.js';\n\nexport const useSelector = <T>(selector: (state: TreeMapState) => T): T =>\n useStoreSelector<T, TreeMapState>(TreeMapStateContext, selector);\n\nexport const useSetState = (): typeof setState => {\n const { setState } = useContext(TreeMapStateContext);\n\n return setState;\n};\n\nexport const useTreeMapState = () =>\n useSelector((state: TreeMapState) => state);\n\nexport const useHighlightedState = () =>\n useSelector((state: TreeMapState) => state.highlightedItem);\n\nexport const useGroupsSelectedState = () =>\n useSelector((state: TreeMapState) => state.groupsSelected);\n\nexport const useLeafNodesState = () =>\n useSelector((state: TreeMapState) => state.hierarchyLeafNodes);\n\nexport const useClusterNodesState = () =>\n useSelector((state: TreeMapState) => state.hierarchyClusterNodes);\n\nexport const useColorMap = () =>\n useSelector((state: TreeMapState) => state.colorMap);\n"],
5
+ "mappings": "AAAA,SAAS,kBAAkB;AAE3B,SAAS,2BAA2B;AACpC,SAAS,wBAAwB;AAG1B,MAAM,cAAc,CAAI,aAC7B,iBAAkC,qBAAqB,QAAQ;AAE1D,MAAM,cAAc,MAAuB;AAChD,QAAM,EAAE,SAAS,IAAI,WAAW,mBAAmB;AAEnD,SAAO;AACT;AAEO,MAAM,kBAAkB,MAC7B,YAAY,CAAC,UAAwB,KAAK;AAErC,MAAM,sBAAsB,MACjC,YAAY,CAAC,UAAwB,MAAM,eAAe;AAErD,MAAM,yBAAyB,MACpC,YAAY,CAAC,UAAwB,MAAM,cAAc;AAEpD,MAAM,oBAAoB,MAC/B,YAAY,CAAC,UAAwB,MAAM,kBAAkB;AAExD,MAAM,uBAAuB,MAClC,YAAY,CAAC,UAAwB,MAAM,qBAAqB;AAE3D,MAAM,cAAc,MACzB,YAAY,CAAC,UAAwB,MAAM,QAAQ;",
6
6
  "names": []
7
7
  }
@@ -3,9 +3,6 @@ import { createStore } from "../../../core/store/store.js";
3
3
  const initialTreeMapState = {
4
4
  groupsSelected: [],
5
5
  highlightedItem: void 0,
6
- overlay: {
7
- toolbarVisible: false
8
- },
9
6
  hierarchyLeafNodes: [],
10
7
  hierarchyClusterNodes: [],
11
8
  colorMap: /* @__PURE__ */ new Map()
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/charts/tree-map/store/store.ts"],
4
- "sourcesContent": ["import { createContext, useContext } from 'react';\n\nimport { Store, createStore } from '../../../core/store/store.js';\nimport { TreeMapState } from '../types/state.js';\n\nexport const initialTreeMapState: TreeMapState = {\n groupsSelected: [],\n highlightedItem: undefined,\n overlay: {\n toolbarVisible: false,\n },\n hierarchyLeafNodes: [],\n hierarchyClusterNodes: [],\n colorMap: new Map(),\n};\n\nexport const TreeMapStateContext = createContext<Store<TreeMapState>>(\n createStore<TreeMapState>(initialTreeMapState),\n);\n\nexport const useSetState = () => {\n const { setState } = useContext(TreeMapStateContext);\n\n return setState;\n};\n"],
5
- "mappings": "AAAA,SAAS,eAAe,kBAAkB;AAE1C,SAAgB,mBAAmB;AAG5B,MAAM,sBAAoC;AAAA,EAC/C,gBAAgB,CAAC;AAAA,EACjB,iBAAiB;AAAA,EACjB,SAAS;AAAA,IACP,gBAAgB;AAAA,EAClB;AAAA,EACA,oBAAoB,CAAC;AAAA,EACrB,uBAAuB,CAAC;AAAA,EACxB,UAAU,oBAAI,IAAI;AACpB;AAEO,MAAM,sBAAsB;AAAA,EACjC,YAA0B,mBAAmB;AAC/C;AAEO,MAAM,cAAc,MAAM;AAC/B,QAAM,EAAE,SAAS,IAAI,WAAW,mBAAmB;AAEnD,SAAO;AACT;",
4
+ "sourcesContent": ["import { createContext, useContext } from 'react';\n\nimport { Store, createStore } from '../../../core/store/store.js';\nimport { TreeMapState } from '../types/state.js';\n\nexport const initialTreeMapState: TreeMapState = {\n groupsSelected: [],\n highlightedItem: undefined,\n hierarchyLeafNodes: [],\n hierarchyClusterNodes: [],\n colorMap: new Map(),\n};\n\nexport const TreeMapStateContext = createContext<Store<TreeMapState>>(\n createStore<TreeMapState>(initialTreeMapState),\n);\n\nexport const useSetState = () => {\n const { setState } = useContext(TreeMapStateContext);\n\n return setState;\n};\n"],
5
+ "mappings": "AAAA,SAAS,eAAe,kBAAkB;AAE1C,SAAgB,mBAAmB;AAG5B,MAAM,sBAAoC;AAAA,EAC/C,gBAAgB,CAAC;AAAA,EACjB,iBAAiB;AAAA,EACjB,oBAAoB,CAAC;AAAA,EACrB,uBAAuB,CAAC;AAAA,EACxB,UAAU,oBAAI,IAAI;AACpB;AAEO,MAAM,sBAAsB;AAAA,EACjC,YAA0B,mBAAmB;AAC/C;AAEO,MAAM,cAAc,MAAM;AAC/B,QAAM,EAAE,SAAS,IAAI,WAAW,mBAAmB;AAEnD,SAAO;AACT;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/charts/tree-map/utils/build-labels.ts"],
4
- "sourcesContent": ["import { ELLIPSIS_CHARACTER } from '../../../typography/utils.js';\nimport {\n truncateString,\n type TruncationPriority,\n} from '../../core/components/text-ellipsis/truncate-string.js';\nimport {\n AUTO_TEXT_SIZE_PRESETS,\n DEFAULT_FONT_WEIGHT,\n DEFAULT_LABEL_FONTSIZE,\n DEFAULT_LABEL_PADDING,\n INCREASED_FONT_WEIGHT,\n} from '../constants.js';\nimport type { TextMeasurer } from './text-measure.js';\nimport type { TruncationMode } from '../../../typography/text-ellipsis/TextEllipsis.js';\nimport { LabelLayout } from '../types/canvas.js';\nimport type { TreeMapRect } from '../types/treemap.js';\n\nexport interface TreeMapLabel {\n text: string;\n fontConfig: FontConfig;\n position: { x: number; y: number };\n}\n\ninterface FontConfig {\n fontSize: number;\n fontWeight: number;\n lineHeight: number;\n}\n\ninterface LabelsConfig {\n name: string;\n value: string;\n withValueOnly: boolean;\n textSize: 'auto' | number;\n truncationMode: TruncationMode;\n}\n\n/**\n * Builds the list of labels to render inside a tree-map node.\n * Delegates to either a value-only or a name+value layout based on `labelsConfig.withValueOnly`.\n * @param labelsConfig - display configuration including name, value, truncation mode, and text size.\n * @param treemapRect - bounding rectangle of the tree-map node.\n * @param textMeasurer - function used to measure rendered text width at a given font size.\n * @returns An array of `TreeMapLabel` objects ready for canvas rendering.\n */\nexport const buildLabels = (\n labelsConfig: LabelsConfig,\n treemapRect: TreeMapRect,\n textMeasurer: TextMeasurer,\n): TreeMapLabel[] => {\n const { withValueOnly } = labelsConfig;\n const { width, height } = treemapRect;\n const textTruncator = getTextTruncator(textMeasurer);\n const availableWidth = width - DEFAULT_LABEL_PADDING * 2;\n const labelPosition = getLabelPosition(treemapRect);\n const labelsRect: TreeMapRect = {\n ...labelPosition,\n width: availableWidth,\n height,\n };\n\n if (withValueOnly) {\n return buildValueLabel(\n labelsConfig,\n labelsRect,\n textMeasurer,\n textTruncator,\n );\n }\n\n return buildNameValueLabels(\n labelsConfig,\n labelsRect,\n textMeasurer,\n textTruncator,\n );\n};\n\ntype TextTruncator = (\n text: string,\n fontSize: number,\n availableWidth: number,\n truncationMode: TruncationMode,\n priority: TruncationPriority,\n) => string;\n\n/**\n * Creates a `TextTruncator` function bound to the given text measurer.\n * @internal\n * @param measureText - function that returns the rendered pixel width of a string at a given font size.\n * @returns A `TextTruncator` that truncates text to fit within an available width.\n */\nconst getTextTruncator = (measureText: TextMeasurer): TextTruncator => {\n return (\n text: string,\n fontSize: number,\n availableWidth: number,\n truncationMode: TruncationMode,\n priority: TruncationPriority,\n ) => {\n const measure = (t: string) => measureText(t, fontSize);\n\n return truncateString(\n text,\n availableWidth,\n {},\n truncationMode,\n priority,\n measure,\n );\n };\n};\n\n/**\n * Computes the centered label position within a tree-map node rectangle.\n * @internal\n * @param treemapRect - bounding rectangle of the tree-map node.\n * @returns The `{ x, y }` canvas coordinates for the label origin.\n */\nconst getLabelPosition = ({ width, height, x, y }: TreeMapRect) => {\n const { centerX, centerY } = getRectCenter(width, height);\n return { x: x + centerX, y: y + centerY };\n};\n\n/**\n * Returns the center of the node.\n * @internal\n * @param height - height of the node.\n * @param width - width of the node.\n */\nconst getRectCenter = (width: number, height: number) => ({\n centerX: width / 2,\n centerY: height / 2,\n});\n\n/**\n * Builds a single bold label containing only the value text.\n * Truncates the text when it exceeds the available width.\n * @internal\n * @param labelsConfig - display configuration providing the value, text size, and truncation mode.\n * @param labelRect - bounding rectangle available for the label.\n * @param measureText - function used to measure rendered text width.\n * @param truncateText - function used to truncate text to a given width.\n * @returns A single-element `TreeMapLabel` array.\n */\nconst buildValueLabel = (\n labelsConfig: LabelsConfig,\n labelRect: TreeMapRect,\n measureText: TextMeasurer,\n truncateText: TextTruncator,\n) => {\n const { value, textSize, truncationMode } = labelsConfig;\n const { width, x, y } = labelRect;\n const fontConfig = getFontConfig(value, textSize, width, measureText);\n const valueWidth = measureText(value, fontConfig.fontSize);\n const boldFontConfig = getBoldFontConfig(fontConfig);\n const text =\n valueWidth > width\n ? getTruncatedText(\n width,\n value,\n fontConfig.fontSize,\n truncationMode,\n truncateText,\n )\n : value;\n\n return [createLabel(text, boldFontConfig, { x, y })];\n};\n\n/**\n * Derives a `FontConfig` for the given text and available width.\n * When `textSize` is `'auto'`, the largest fitting preset size is selected.\n * @internal\n * @param text - the string that needs to fit within `availableWidth`.\n * @param textSize - explicit font size in pixels, or `'auto'` for automatic sizing.\n * @param availableWidth - maximum pixel width the text must fit in.\n * @param measureText - function used to measure rendered text width.\n * @returns A `FontConfig` with `fontSize`, `lineHeight`, and default `fontWeight`.\n */\nconst getFontConfig = (\n text: string,\n textSize: 'auto' | number,\n availableWidth: number,\n measureText: TextMeasurer,\n): FontConfig => {\n const fontSize =\n textSize === 'auto'\n ? getAutoFontSize(text, availableWidth, measureText)\n : textSize;\n const lineHeight = fontSize * 1.25;\n\n return { fontSize, lineHeight, fontWeight: DEFAULT_FONT_WEIGHT };\n};\n\n/**\n * Selects the largest font size from `AUTO_TEXT_SIZE_PRESETS` at which `text` fits within `availableWidth`.\n * Falls back to `DEFAULT_LABEL_FONTSIZE` when no preset fits.\n * @internal\n * @param text - the string to measure.\n * @param availableWidth - maximum pixel width the text must fit in.\n * @param measureText - function used to measure rendered text width.\n * @returns The chosen font size in pixels.\n */\nconst getAutoFontSize = (\n text: string,\n availableWidth: number,\n measureText: TextMeasurer,\n): number => {\n return (\n AUTO_TEXT_SIZE_PRESETS.find((fontSize) => {\n const valueWidth = measureText(text, fontSize);\n return valueWidth <= availableWidth;\n }) ?? DEFAULT_LABEL_FONTSIZE\n );\n};\n\n/**\n * Returns a copy of `fontConfig` with the font weight increased to `INCREASED_FONT_WEIGHT`.\n * @internal\n * @param fontConfig - base font configuration to derive from.\n * @returns A new `FontConfig` with a heavier font weight.\n */\nconst getBoldFontConfig = (fontConfig: FontConfig) => {\n return { ...fontConfig, fontWeight: INCREASED_FONT_WEIGHT };\n};\n\n/**\n * Truncates `value` to fit within `availableWidth` at the given `fontSize`.\n * Returns an empty string when truncation produces only an ellipsis character.\n * @internal\n * @param availableWidth - maximum pixel width allowed for the text.\n * @param value - the string to truncate.\n * @param fontSize - font size in pixels used when measuring.\n * @param truncationMode - strategy controlling where the ellipsis is inserted.\n * @param truncateText - the bound truncation function.\n * @returns The truncated string, or an empty string if nothing meaningful remains.\n */\nconst getTruncatedText = (\n availableWidth: number,\n value: string,\n fontSize: number,\n truncationMode: TruncationMode,\n truncateText: TextTruncator,\n): string => {\n const truncatedText = truncateText(\n value,\n fontSize,\n availableWidth,\n truncationMode,\n 'start',\n );\n\n return truncatedText === ELLIPSIS_CHARACTER ? '' : truncatedText;\n};\n\n/**\n * Builds one or two labels for a node that displays both a name and a value.\n * Chooses a layout (multi-line, inline, name-only, ellipsis, or fallback) based\n * on the available space and measured text widths.\n * @internal\n * @param labelsConfig - display configuration providing name, value, text size, and truncation mode.\n * @param labelsRect - bounding rectangle available for the labels.\n * @param measureText - function used to measure rendered text width.\n * @param truncateText - function used to truncate text to a given width.\n * @returns An array of `TreeMapLabel` objects (0\u20132 items).\n */\nconst buildNameValueLabels = (\n labelsConfig: LabelsConfig,\n labelsRect: TreeMapRect,\n measureText: TextMeasurer,\n truncateText: TextTruncator,\n) => {\n const { name, value, textSize } = labelsConfig;\n const { width, height } = labelsRect;\n const referenceText = getLongestText(name, value);\n const fontConfig = getFontConfig(referenceText, textSize, width, measureText);\n\n const nameWidth = measureText(name, fontConfig.fontSize);\n const valueWidth = measureText(value, fontConfig.fontSize);\n const spaceWidth = measureText(' ', fontConfig.fontSize);\n const inlineHeight = getInlineHeight(fontConfig.lineHeight);\n\n const labelMeasurements = {\n inlineHeight,\n multiLineHeight: inlineHeight * 2,\n nameWidth,\n valueWidth,\n nameValueWidth: nameWidth + spaceWidth + valueWidth,\n };\n const layout = determineLabelLayout(labelMeasurements, width, height);\n\n return buildLabelsForLayout(\n labelsConfig,\n labelsRect,\n layout,\n fontConfig,\n truncateText,\n );\n};\n\n/**\n * Computes the total height of a single-line label by adding the default padding to the line height.\n * @internal\n * @param lineHeight - the line height in pixels derived from the font size.\n * @returns The total label height in pixels.\n */\nconst getInlineHeight = (lineHeight: number) =>\n lineHeight + DEFAULT_LABEL_PADDING;\n\n/**\n * Returns whichever of the two strings has the greater character count.\n * @internal\n * @param a - first string.\n * @param b - second string.\n * @returns The longer string (`a` when lengths are equal).\n */\nconst getLongestText = (a: string, b: string): string => {\n return a.length > b.length ? a : b;\n};\n\ninterface LabelMeasurements {\n inlineHeight: number;\n multiLineHeight: number;\n nameWidth: number;\n valueWidth: number;\n nameValueWidth: number;\n}\n\n/**\n * Determines the best `LabelLayout` variant for the available space.\n * Priority order: `Multi` \u2192 `Inline` \u2192 `Name` \u2192 `Ellipsis` \u2192 `Fallback`.\n * @internal\n * @param measurements - pre-computed width and height metrics for the label text.\n * @param availableWidth - pixel width available for label rendering.\n * @param containerHeight - pixel height available for label rendering.\n * @returns The most detailed `LabelLayout` that fits within the given dimensions.\n */\nconst determineLabelLayout = (\n measurements: LabelMeasurements,\n availableWidth: number,\n containerHeight: number,\n): LabelLayout => {\n const { multiLineHeight, inlineHeight, nameValueWidth, nameWidth } =\n measurements;\n\n if (multiLineHeight <= containerHeight) {\n return LabelLayout.Multi;\n }\n\n if (inlineHeight > containerHeight) {\n return LabelLayout.Fallback;\n }\n\n if (nameValueWidth <= availableWidth) {\n return LabelLayout.Inline;\n }\n\n if (nameWidth <= availableWidth) {\n return LabelLayout.Name;\n }\n\n return LabelLayout.Ellipsis;\n};\n\n/**\n * Produces the final `TreeMapLabel` array for a given `LabelLayout`.\n * Each layout variant determines how many labels are created and how they are positioned.\n * @internal\n * @param labelsConfig - display configuration providing name, value, and truncation mode.\n * @param labelsRect - bounding rectangle used to compute label positions.\n * @param layout - the layout variant selected by `determineLabelLayout`.\n * @param fontConfig - base font configuration shared by all labels in this node.\n * @param truncateText - function used to truncate text in the `Ellipsis` layout.\n * @returns An array of `TreeMapLabel` objects (0\u20132 items depending on the layout).\n */\nconst buildLabelsForLayout = (\n labelsConfig: LabelsConfig,\n labelsRect: TreeMapRect,\n layout: LabelLayout,\n fontConfig: FontConfig,\n truncateText: TextTruncator,\n): TreeMapLabel[] => {\n const { name, value, truncationMode } = labelsConfig;\n const { width, x, y } = labelsRect;\n const labelPosition = { x, y };\n\n switch (layout) {\n case LabelLayout.Multi: {\n const offsetY = getInlineHeight(fontConfig.lineHeight) / 2;\n const boldFontConfig = getBoldFontConfig(fontConfig);\n const truncatedName = getTruncatedText(\n width,\n name,\n fontConfig.fontSize,\n truncationMode,\n truncateText,\n );\n const truncatedValue = getTruncatedText(\n width,\n value,\n fontConfig.fontSize,\n truncationMode,\n truncateText,\n );\n\n return [\n createLabel(truncatedName, fontConfig, {\n x: x,\n y: y - offsetY,\n }),\n createLabel(truncatedValue, boldFontConfig, {\n x: x,\n y: y + offsetY,\n }),\n ];\n }\n\n case LabelLayout.Inline:\n return [createLabel(`${name} ${value}`, fontConfig, labelPosition)];\n\n case LabelLayout.Name:\n return [createLabel(name, fontConfig, labelPosition)];\n\n case LabelLayout.Ellipsis: {\n const truncatedText = getTruncatedText(\n width,\n name,\n fontConfig.fontSize,\n truncationMode,\n truncateText,\n );\n\n return [createLabel(truncatedText, fontConfig, labelPosition)];\n }\n\n case LabelLayout.Fallback:\n default:\n return [];\n }\n};\n\n/**\n * Constructs a `TreeMapLabel` from its constituent parts.\n * @internal\n * @param text - the string to render.\n * @param fontConfig - font size, weight, and line height for this label.\n * @param position - canvas `{ x, y }` coordinates for the label origin.\n * @returns A fully formed `TreeMapLabel` object.\n */\nconst createLabel = (\n text: string,\n fontConfig: FontConfig,\n position: { x: number; y: number },\n): TreeMapLabel => {\n return { text, fontConfig, position };\n};\n"],
5
- "mappings": "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",
4
+ "sourcesContent": ["import type { TruncationMode } from '../../../typography/text-ellipsis/TextEllipsis.js';\nimport { ELLIPSIS_CHARACTER } from '../../../typography/utils.js';\nimport {\n truncateString,\n type TruncationPriority,\n} from '../../core/components/text-ellipsis/truncate-string.js';\nimport type { TextMeasurer } from '../../core/utils/text-measure.js';\nimport {\n AUTO_TEXT_SIZE_PRESETS,\n DEFAULT_FONT_WEIGHT,\n DEFAULT_LABEL_FONTSIZE,\n DEFAULT_LABEL_PADDING,\n INCREASED_FONT_WEIGHT,\n} from '../constants.js';\nimport { LabelLayout } from '../types/canvas.js';\nimport type { TreeMapRect } from '../types/treemap.js';\n\nexport interface TreeMapLabel {\n text: string;\n fontConfig: FontConfig;\n position: { x: number; y: number };\n}\n\ninterface FontConfig {\n fontSize: number;\n fontWeight: number;\n lineHeight: number;\n}\n\ninterface LabelsConfig {\n name: string;\n value: string;\n withValueOnly: boolean;\n textSize: 'auto' | number;\n truncationMode: TruncationMode;\n}\n\n/**\n * Builds the list of labels to render inside a tree-map node.\n * Delegates to either a value-only or a name+value layout based on `labelsConfig.withValueOnly`.\n * @param labelsConfig - display configuration including name, value, truncation mode, and text size.\n * @param treemapRect - bounding rectangle of the tree-map node.\n * @param textMeasurer - function used to measure rendered text width at a given font size.\n * @returns An array of `TreeMapLabel` objects ready for canvas rendering.\n */\nexport const buildLabels = (\n labelsConfig: LabelsConfig,\n treemapRect: TreeMapRect,\n textMeasurer: TextMeasurer,\n): TreeMapLabel[] => {\n const { withValueOnly } = labelsConfig;\n const { width, height } = treemapRect;\n const textTruncator = getTextTruncator(textMeasurer);\n const availableWidth = width - DEFAULT_LABEL_PADDING * 2;\n const labelPosition = getLabelPosition(treemapRect);\n const labelsRect: TreeMapRect = {\n ...labelPosition,\n width: availableWidth,\n height,\n };\n\n if (withValueOnly) {\n return buildValueLabel(\n labelsConfig,\n labelsRect,\n textMeasurer,\n textTruncator,\n );\n }\n\n return buildNameValueLabels(\n labelsConfig,\n labelsRect,\n textMeasurer,\n textTruncator,\n );\n};\n\ntype TextTruncator = (\n text: string,\n fontSize: number,\n availableWidth: number,\n truncationMode: TruncationMode,\n priority: TruncationPriority,\n) => string;\n\n/**\n * Creates a `TextTruncator` function bound to the given text measurer.\n * @internal\n * @param measureText - function that returns the rendered pixel width of a string at a given font size.\n * @returns A `TextTruncator` that truncates text to fit within an available width.\n */\nconst getTextTruncator = (measureText: TextMeasurer): TextTruncator => {\n return (\n text: string,\n fontSize: number,\n availableWidth: number,\n truncationMode: TruncationMode,\n priority: TruncationPriority,\n ) => {\n const measure = (t: string) => measureText(t, fontSize);\n\n return truncateString(\n text,\n availableWidth,\n {},\n truncationMode,\n priority,\n measure,\n );\n };\n};\n\n/**\n * Computes the centered label position within a tree-map node rectangle.\n * @internal\n * @param treemapRect - bounding rectangle of the tree-map node.\n * @returns The `{ x, y }` canvas coordinates for the label origin.\n */\nconst getLabelPosition = ({ width, height, x, y }: TreeMapRect) => {\n const { centerX, centerY } = getRectCenter(width, height);\n return { x: x + centerX, y: y + centerY };\n};\n\n/**\n * Returns the center of the node.\n * @internal\n * @param height - height of the node.\n * @param width - width of the node.\n */\nconst getRectCenter = (width: number, height: number) => ({\n centerX: width / 2,\n centerY: height / 2,\n});\n\n/**\n * Builds a single bold label containing only the value text.\n * Truncates the text when it exceeds the available width.\n * @internal\n * @param labelsConfig - display configuration providing the value, text size, and truncation mode.\n * @param labelRect - bounding rectangle available for the label.\n * @param measureText - function used to measure rendered text width.\n * @param truncateText - function used to truncate text to a given width.\n * @returns A single-element `TreeMapLabel` array.\n */\nconst buildValueLabel = (\n labelsConfig: LabelsConfig,\n labelRect: TreeMapRect,\n measureText: TextMeasurer,\n truncateText: TextTruncator,\n) => {\n const { value, textSize, truncationMode } = labelsConfig;\n const { width, x, y } = labelRect;\n const fontConfig = getFontConfig(value, textSize, width, measureText);\n const valueWidth = measureText(value, fontConfig.fontSize);\n const boldFontConfig = getBoldFontConfig(fontConfig);\n const text =\n valueWidth > width\n ? getTruncatedText(\n width,\n value,\n fontConfig.fontSize,\n truncationMode,\n truncateText,\n )\n : value;\n\n return [createLabel(text, boldFontConfig, { x, y })];\n};\n\n/**\n * Derives a `FontConfig` for the given text and available width.\n * When `textSize` is `'auto'`, the largest fitting preset size is selected.\n * @internal\n * @param text - the string that needs to fit within `availableWidth`.\n * @param textSize - explicit font size in pixels, or `'auto'` for automatic sizing.\n * @param availableWidth - maximum pixel width the text must fit in.\n * @param measureText - function used to measure rendered text width.\n * @returns A `FontConfig` with `fontSize`, `lineHeight`, and default `fontWeight`.\n */\nconst getFontConfig = (\n text: string,\n textSize: 'auto' | number,\n availableWidth: number,\n measureText: TextMeasurer,\n): FontConfig => {\n const fontSize =\n textSize === 'auto'\n ? getAutoFontSize(text, availableWidth, measureText)\n : textSize;\n const lineHeight = fontSize * 1.25;\n\n return { fontSize, lineHeight, fontWeight: DEFAULT_FONT_WEIGHT };\n};\n\n/**\n * Selects the largest font size from `AUTO_TEXT_SIZE_PRESETS` at which `text` fits within `availableWidth`.\n * Falls back to `DEFAULT_LABEL_FONTSIZE` when no preset fits.\n * @internal\n * @param text - the string to measure.\n * @param availableWidth - maximum pixel width the text must fit in.\n * @param measureText - function used to measure rendered text width.\n * @returns The chosen font size in pixels.\n */\nconst getAutoFontSize = (\n text: string,\n availableWidth: number,\n measureText: TextMeasurer,\n): number => {\n return (\n AUTO_TEXT_SIZE_PRESETS.find((fontSize) => {\n const valueWidth = measureText(text, fontSize);\n return valueWidth <= availableWidth;\n }) ?? DEFAULT_LABEL_FONTSIZE\n );\n};\n\n/**\n * Returns a copy of `fontConfig` with the font weight increased to `INCREASED_FONT_WEIGHT`.\n * @internal\n * @param fontConfig - base font configuration to derive from.\n * @returns A new `FontConfig` with a heavier font weight.\n */\nconst getBoldFontConfig = (fontConfig: FontConfig) => {\n return { ...fontConfig, fontWeight: INCREASED_FONT_WEIGHT };\n};\n\n/**\n * Truncates `value` to fit within `availableWidth` at the given `fontSize`.\n * Returns an empty string when truncation produces only an ellipsis character.\n * @internal\n * @param availableWidth - maximum pixel width allowed for the text.\n * @param value - the string to truncate.\n * @param fontSize - font size in pixels used when measuring.\n * @param truncationMode - strategy controlling where the ellipsis is inserted.\n * @param truncateText - the bound truncation function.\n * @returns The truncated string, or an empty string if nothing meaningful remains.\n */\nconst getTruncatedText = (\n availableWidth: number,\n value: string,\n fontSize: number,\n truncationMode: TruncationMode,\n truncateText: TextTruncator,\n): string => {\n const truncatedText = truncateText(\n value,\n fontSize,\n availableWidth,\n truncationMode,\n 'start',\n );\n\n return truncatedText === ELLIPSIS_CHARACTER ? '' : truncatedText;\n};\n\n/**\n * Builds one or two labels for a node that displays both a name and a value.\n * Chooses a layout (multi-line, inline, name-only, ellipsis, or fallback) based\n * on the available space and measured text widths.\n * @internal\n * @param labelsConfig - display configuration providing name, value, text size, and truncation mode.\n * @param labelsRect - bounding rectangle available for the labels.\n * @param measureText - function used to measure rendered text width.\n * @param truncateText - function used to truncate text to a given width.\n * @returns An array of `TreeMapLabel` objects (0\u20132 items).\n */\nconst buildNameValueLabels = (\n labelsConfig: LabelsConfig,\n labelsRect: TreeMapRect,\n measureText: TextMeasurer,\n truncateText: TextTruncator,\n) => {\n const { name, value, textSize } = labelsConfig;\n const { width, height } = labelsRect;\n const referenceText = getLongestText(name, value);\n const fontConfig = getFontConfig(referenceText, textSize, width, measureText);\n\n const nameWidth = measureText(name, fontConfig.fontSize);\n const valueWidth = measureText(value, fontConfig.fontSize);\n const spaceWidth = measureText(' ', fontConfig.fontSize);\n const inlineHeight = getInlineHeight(fontConfig.lineHeight);\n\n const labelMeasurements = {\n inlineHeight,\n multiLineHeight: inlineHeight * 2,\n nameWidth,\n valueWidth,\n nameValueWidth: nameWidth + spaceWidth + valueWidth,\n };\n const layout = determineLabelLayout(labelMeasurements, width, height);\n\n return buildLabelsForLayout(\n labelsConfig,\n labelsRect,\n layout,\n fontConfig,\n truncateText,\n );\n};\n\n/**\n * Computes the total height of a single-line label by adding the default padding to the line height.\n * @internal\n * @param lineHeight - the line height in pixels derived from the font size.\n * @returns The total label height in pixels.\n */\nconst getInlineHeight = (lineHeight: number) =>\n lineHeight + DEFAULT_LABEL_PADDING;\n\n/**\n * Returns whichever of the two strings has the greater character count.\n * @internal\n * @param a - first string.\n * @param b - second string.\n * @returns The longer string (`a` when lengths are equal).\n */\nconst getLongestText = (a: string, b: string): string => {\n return a.length > b.length ? a : b;\n};\n\ninterface LabelMeasurements {\n inlineHeight: number;\n multiLineHeight: number;\n nameWidth: number;\n valueWidth: number;\n nameValueWidth: number;\n}\n\n/**\n * Determines the best `LabelLayout` variant for the available space.\n * Priority order: `Multi` \u2192 `Inline` \u2192 `Name` \u2192 `Ellipsis` \u2192 `Fallback`.\n * @internal\n * @param measurements - pre-computed width and height metrics for the label text.\n * @param availableWidth - pixel width available for label rendering.\n * @param containerHeight - pixel height available for label rendering.\n * @returns The most detailed `LabelLayout` that fits within the given dimensions.\n */\nconst determineLabelLayout = (\n measurements: LabelMeasurements,\n availableWidth: number,\n containerHeight: number,\n): LabelLayout => {\n const { multiLineHeight, inlineHeight, nameValueWidth, nameWidth } =\n measurements;\n\n if (multiLineHeight <= containerHeight) {\n return LabelLayout.Multi;\n }\n\n if (inlineHeight > containerHeight) {\n return LabelLayout.Fallback;\n }\n\n if (nameValueWidth <= availableWidth) {\n return LabelLayout.Inline;\n }\n\n if (nameWidth <= availableWidth) {\n return LabelLayout.Name;\n }\n\n return LabelLayout.Ellipsis;\n};\n\n/**\n * Produces the final `TreeMapLabel` array for a given `LabelLayout`.\n * Each layout variant determines how many labels are created and how they are positioned.\n * @internal\n * @param labelsConfig - display configuration providing name, value, and truncation mode.\n * @param labelsRect - bounding rectangle used to compute label positions.\n * @param layout - the layout variant selected by `determineLabelLayout`.\n * @param fontConfig - base font configuration shared by all labels in this node.\n * @param truncateText - function used to truncate text in the `Ellipsis` layout.\n * @returns An array of `TreeMapLabel` objects (0\u20132 items depending on the layout).\n */\nconst buildLabelsForLayout = (\n labelsConfig: LabelsConfig,\n labelsRect: TreeMapRect,\n layout: LabelLayout,\n fontConfig: FontConfig,\n truncateText: TextTruncator,\n): TreeMapLabel[] => {\n const { name, value, truncationMode } = labelsConfig;\n const { width, x, y } = labelsRect;\n const labelPosition = { x, y };\n\n switch (layout) {\n case LabelLayout.Multi: {\n const offsetY = getInlineHeight(fontConfig.lineHeight) / 2;\n const boldFontConfig = getBoldFontConfig(fontConfig);\n const truncatedName = getTruncatedText(\n width,\n name,\n fontConfig.fontSize,\n truncationMode,\n truncateText,\n );\n const truncatedValue = getTruncatedText(\n width,\n value,\n fontConfig.fontSize,\n truncationMode,\n truncateText,\n );\n\n return [\n createLabel(truncatedName, fontConfig, {\n x: x,\n y: y - offsetY,\n }),\n createLabel(truncatedValue, boldFontConfig, {\n x: x,\n y: y + offsetY,\n }),\n ];\n }\n\n case LabelLayout.Inline:\n return [createLabel(`${name} ${value}`, fontConfig, labelPosition)];\n\n case LabelLayout.Name:\n return [createLabel(name, fontConfig, labelPosition)];\n\n case LabelLayout.Ellipsis: {\n const truncatedText = getTruncatedText(\n width,\n name,\n fontConfig.fontSize,\n truncationMode,\n truncateText,\n );\n\n return [createLabel(truncatedText, fontConfig, labelPosition)];\n }\n\n case LabelLayout.Fallback:\n default:\n return [];\n }\n};\n\n/**\n * Constructs a `TreeMapLabel` from its constituent parts.\n * @internal\n * @param text - the string to render.\n * @param fontConfig - font size, weight, and line height for this label.\n * @param position - canvas `{ x, y }` coordinates for the label origin.\n * @returns A fully formed `TreeMapLabel` object.\n */\nconst createLabel = (\n text: string,\n fontConfig: FontConfig,\n position: { x: number; y: number },\n): TreeMapLabel => {\n return { text, fontConfig, position };\n};\n"],
5
+ "mappings": "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",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/charts/tree-map/utils/build-tree-map-chart-config.ts"],
4
- "sourcesContent": ["import { isUndefined, merge } from 'lodash-es';\n\nimport { isValidColorRule } from '../../core/slots/ColorRule.js';\nimport type { ChartToolbarProps } from '../../core/types/toolbar.js';\nimport { defaultUnitFormatter } from '../../core/utils/defaultUnitFormatter.js';\nimport { isValidLegendPosition } from '../../core/utils/is-valid-legend-position.js';\nimport { defaultTreeMapConfig } from '../defaults.js';\nimport type {\n TreemapChartLegendConfig,\n TreeMapChartSlots,\n TreeMapChartToolbarConfig,\n TreeMapConfig,\n TreeMapContextConfig,\n} from '../types/treemap-chart.config.js';\nimport type { TreeMapProps } from '../types/treemap.js';\n\nconst validateToolbarContextConfig = (\n contextConfig: TreeMapChartToolbarConfig | undefined,\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n) => !isUndefined(contextConfig) && contextConfig.downloadData?.enabled;\n\nconst getToolbarConfiguration = (\n contextConfig?: TreeMapChartToolbarConfig,\n slots?: Partial<ChartToolbarProps>,\n) => {\n const hasValidToolbarConfig =\n validateToolbarContextConfig(contextConfig) || !isUndefined(slots);\n\n return hasValidToolbarConfig ? merge({}, contextConfig, slots) : undefined;\n};\n\n/**\n * Builds a LegendConfiguration based on context and slots\n *\n * @param contextLegendConfig - legend config context\n * @param slotsLegendConfig - legend config props\n */\nexport function getLegendConfiguration(\n contextLegendConfig?: TreemapChartLegendConfig,\n slotsLegendConfig?: TreemapChartLegendConfig,\n): TreemapChartLegendConfig {\n let legend = merge(\n {},\n defaultTreeMapConfig.legend,\n contextLegendConfig,\n slotsLegendConfig,\n );\n\n const position =\n legend.position && isValidLegendPosition(legend.position)\n ? legend.position\n : defaultTreeMapConfig.legend.position;\n\n legend = {\n ...legend,\n position,\n };\n\n return legend;\n}\n\n/**\n * Build treemap chart configuration.\n *\n * @param props - config from props\n * @param config - config from context\n * @param slots - config from components slots\n * @returns TreeMapConfig\n */\nexport const buildTreeMapChartConfig = (\n props: TreeMapProps,\n config: TreeMapContextConfig,\n slots: TreeMapChartSlots,\n): TreeMapConfig => {\n const colorPalette =\n props.colorPalette ??\n config.colorPalette ??\n defaultTreeMapConfig.colorPalette;\n\n const formatter =\n props.formatter ??\n config.formatter ??\n defaultUnitFormatter(props.unit ?? props.data?.unit);\n\n const truncationMode =\n props.truncationMode ??\n config.truncationMode ??\n defaultTreeMapConfig.truncationMode;\n\n const loading =\n props.loading ?? config.loading ?? defaultTreeMapConfig.loading;\n\n const labelsDisplay =\n props.labelsDisplay ??\n config.labelsDisplay ??\n defaultTreeMapConfig.labelsDisplay;\n\n const nameAccessor =\n props.nameAccessor ??\n config.nameAccessor ??\n defaultTreeMapConfig.nameAccessor;\n\n const min = props.min ?? config.min;\n const max = props.max ?? config.max;\n\n const legend = getLegendConfiguration(config.legend, slots.legend);\n\n const toolbar = getToolbarConfiguration(config.toolbar, slots.toolbar);\n\n const colorRules = (config.colorRules ?? [])\n .filter(isValidColorRule)\n .concat(slots.colorRules?.filter(isValidColorRule) ?? []);\n\n const textSize =\n props.textSize ?? config.textSize ?? defaultTreeMapConfig.textSize;\n\n return {\n colorPalette,\n formatter,\n truncationMode,\n loading,\n legend,\n toolbar,\n labelsDisplay,\n nameAccessor,\n min,\n max,\n colorRules,\n textSize,\n tooltip: slots.tooltip ?? config.tooltip,\n };\n};\n"],
5
- "mappings": "AAAA,SAAS,aAAa,aAAa;AAEnC,SAAS,wBAAwB;AAEjC,SAAS,4BAA4B;AACrC,SAAS,6BAA6B;AACtC,SAAS,4BAA4B;AAUrC,MAAM,+BAA+B,CACnC,kBAEG,CAAC,YAAY,aAAa,KAAK,cAAc,cAAc;AAEhE,MAAM,0BAA0B,CAC9B,eACA,UACG;AACH,QAAM,wBACJ,6BAA6B,aAAa,KAAK,CAAC,YAAY,KAAK;AAEnE,SAAO,wBAAwB,MAAM,CAAC,GAAG,eAAe,KAAK,IAAI;AACnE;AAQO,SAAS,uBACd,qBACA,mBAC0B;AAC1B,MAAI,SAAS;AAAA,IACX,CAAC;AAAA,IACD,qBAAqB;AAAA,IACrB;AAAA,IACA;AAAA,EACF;AAEA,QAAM,WACJ,OAAO,YAAY,sBAAsB,OAAO,QAAQ,IACpD,OAAO,WACP,qBAAqB,OAAO;AAElC,WAAS;AAAA,IACP,GAAG;AAAA,IACH;AAAA,EACF;AAEA,SAAO;AACT;AAUO,MAAM,0BAA0B,CACrC,OACA,QACA,UACkB;AAClB,QAAM,eACJ,MAAM,gBACN,OAAO,gBACP,qBAAqB;AAEvB,QAAM,YACJ,MAAM,aACN,OAAO,aACP,qBAAqB,MAAM,QAAQ,MAAM,MAAM,IAAI;AAErD,QAAM,iBACJ,MAAM,kBACN,OAAO,kBACP,qBAAqB;AAEvB,QAAM,UACJ,MAAM,WAAW,OAAO,WAAW,qBAAqB;AAE1D,QAAM,gBACJ,MAAM,iBACN,OAAO,iBACP,qBAAqB;AAEvB,QAAM,eACJ,MAAM,gBACN,OAAO,gBACP,qBAAqB;AAEvB,QAAM,MAAM,MAAM,OAAO,OAAO;AAChC,QAAM,MAAM,MAAM,OAAO,OAAO;AAEhC,QAAM,SAAS,uBAAuB,OAAO,QAAQ,MAAM,MAAM;AAEjE,QAAM,UAAU,wBAAwB,OAAO,SAAS,MAAM,OAAO;AAErE,QAAM,cAAc,OAAO,cAAc,CAAC,GACvC,OAAO,gBAAgB,EACvB,OAAO,MAAM,YAAY,OAAO,gBAAgB,KAAK,CAAC,CAAC;AAE1D,QAAM,WACJ,MAAM,YAAY,OAAO,YAAY,qBAAqB;AAE5D,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,SAAS,MAAM,WAAW,OAAO;AAAA,EACnC;AACF;",
4
+ "sourcesContent": ["import { isUndefined, merge } from 'lodash-es';\n\nimport { isValidColorRule } from '../../core/slots/ColorRule.js';\nimport type { ChartToolbarProps } from '../../core/types/toolbar.js';\nimport { defaultUnitFormatter } from '../../core/utils/defaultUnitFormatter.js';\nimport { isValidLegendPosition } from '../../core/utils/is-valid-legend-position.js';\nimport { defaultTreeMapConfig } from '../defaults.js';\nimport type {\n TreemapChartLegendConfig,\n TreeMapChartSlots,\n TreeMapChartToolbarConfig,\n TreeMapConfig,\n TreeMapContextConfig,\n} from '../types/treemap-chart.config.js';\nimport type { TreeMapHierarchicalProps } from '../types/treemap.js';\n\nconst validateToolbarContextConfig = (\n contextConfig: TreeMapChartToolbarConfig | undefined,\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n) => !isUndefined(contextConfig) && contextConfig.downloadData?.enabled;\n\nconst getToolbarConfiguration = (\n contextConfig?: TreeMapChartToolbarConfig,\n slots?: Partial<ChartToolbarProps>,\n) => {\n const hasValidToolbarConfig =\n validateToolbarContextConfig(contextConfig) || !isUndefined(slots);\n\n return hasValidToolbarConfig ? merge({}, contextConfig, slots) : undefined;\n};\n\n/**\n * Builds a LegendConfiguration based on context and slots\n *\n * @param contextLegendConfig - legend config context\n * @param slotsLegendConfig - legend config props\n */\nexport function getLegendConfiguration(\n contextLegendConfig?: TreemapChartLegendConfig,\n slotsLegendConfig?: TreemapChartLegendConfig,\n): TreemapChartLegendConfig {\n let legend = merge(\n {},\n defaultTreeMapConfig.legend,\n contextLegendConfig,\n slotsLegendConfig,\n );\n\n const position =\n legend.position && isValidLegendPosition(legend.position)\n ? legend.position\n : defaultTreeMapConfig.legend.position;\n\n legend = {\n ...legend,\n position,\n };\n\n return legend;\n}\n\n/**\n * Build treemap chart configuration.\n *\n * @param props - config from props\n * @param config - config from context\n * @param slots - config from components slots\n * @returns TreeMapConfig\n */\nexport const buildTreeMapChartConfig = (\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n props: TreeMapHierarchicalProps,\n config: TreeMapContextConfig,\n slots: TreeMapChartSlots,\n): TreeMapConfig => {\n const colorPalette =\n props.colorPalette ??\n config.colorPalette ??\n defaultTreeMapConfig.colorPalette;\n\n const formatter =\n props.formatter ??\n config.formatter ??\n defaultUnitFormatter(props.unit ?? props.data?.unit);\n\n const truncationMode =\n props.truncationMode ??\n config.truncationMode ??\n defaultTreeMapConfig.truncationMode;\n\n const loading =\n props.loading ?? config.loading ?? defaultTreeMapConfig.loading;\n\n const labelsDisplay =\n props.labelsDisplay ??\n config.labelsDisplay ??\n defaultTreeMapConfig.labelsDisplay;\n\n const nameAccessor =\n props.nameAccessor ??\n config.nameAccessor ??\n defaultTreeMapConfig.nameAccessor;\n\n const min = props.min ?? config.min;\n const max = props.max ?? config.max;\n\n const legend = getLegendConfiguration(config.legend, slots.legend);\n\n const toolbar = getToolbarConfiguration(config.toolbar, slots.toolbar);\n\n const colorRules = (config.colorRules ?? [])\n .filter(isValidColorRule)\n .concat(slots.colorRules?.filter(isValidColorRule) ?? []);\n\n const textSize =\n props.textSize ?? config.textSize ?? defaultTreeMapConfig.textSize;\n\n return {\n colorPalette,\n formatter,\n truncationMode,\n loading,\n legend,\n toolbar,\n labelsDisplay,\n nameAccessor,\n min,\n max,\n colorRules,\n textSize,\n tooltip: slots.tooltip ?? config.tooltip,\n };\n};\n"],
5
+ "mappings": "AAAA,SAAS,aAAa,aAAa;AAEnC,SAAS,wBAAwB;AAEjC,SAAS,4BAA4B;AACrC,SAAS,6BAA6B;AACtC,SAAS,4BAA4B;AAUrC,MAAM,+BAA+B,CACnC,kBAEG,CAAC,YAAY,aAAa,KAAK,cAAc,cAAc;AAEhE,MAAM,0BAA0B,CAC9B,eACA,UACG;AACH,QAAM,wBACJ,6BAA6B,aAAa,KAAK,CAAC,YAAY,KAAK;AAEnE,SAAO,wBAAwB,MAAM,CAAC,GAAG,eAAe,KAAK,IAAI;AACnE;AAQO,SAAS,uBACd,qBACA,mBAC0B;AAC1B,MAAI,SAAS;AAAA,IACX,CAAC;AAAA,IACD,qBAAqB;AAAA,IACrB;AAAA,IACA;AAAA,EACF;AAEA,QAAM,WACJ,OAAO,YAAY,sBAAsB,OAAO,QAAQ,IACpD,OAAO,WACP,qBAAqB,OAAO;AAElC,WAAS;AAAA,IACP,GAAG;AAAA,IACH;AAAA,EACF;AAEA,SAAO;AACT;AAUO,MAAM,0BAA0B,CAErC,OACA,QACA,UACkB;AAClB,QAAM,eACJ,MAAM,gBACN,OAAO,gBACP,qBAAqB;AAEvB,QAAM,YACJ,MAAM,aACN,OAAO,aACP,qBAAqB,MAAM,QAAQ,MAAM,MAAM,IAAI;AAErD,QAAM,iBACJ,MAAM,kBACN,OAAO,kBACP,qBAAqB;AAEvB,QAAM,UACJ,MAAM,WAAW,OAAO,WAAW,qBAAqB;AAE1D,QAAM,gBACJ,MAAM,iBACN,OAAO,iBACP,qBAAqB;AAEvB,QAAM,eACJ,MAAM,gBACN,OAAO,gBACP,qBAAqB;AAEvB,QAAM,MAAM,MAAM,OAAO,OAAO;AAChC,QAAM,MAAM,MAAM,OAAO,OAAO;AAEhC,QAAM,SAAS,uBAAuB,OAAO,QAAQ,MAAM,MAAM;AAEjE,QAAM,UAAU,wBAAwB,OAAO,SAAS,MAAM,OAAO;AAErE,QAAM,cAAc,OAAO,cAAc,CAAC,GACvC,OAAO,gBAAgB,EACvB,OAAO,MAAM,YAAY,OAAO,gBAAgB,KAAK,CAAC,CAAC;AAE1D,QAAM,WACJ,MAAM,YAAY,OAAO,YAAY,qBAAqB;AAE5D,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,SAAS,MAAM,WAAW,OAAO;AAAA,EACnC;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,8 +1,8 @@
1
- function getLegendInteractionProps(isPinned, isLoading, hasNameAccessor, legendActions, onHover, onClick) {
1
+ function getLegendInteractionProps(isPinned, isLoading, hasValueNameAccessor, legendActions, onHover, onClick) {
2
2
  if (isPinned || isLoading) {
3
3
  return { interactionsDisabled: true };
4
4
  }
5
- if (hasNameAccessor) {
5
+ if (hasValueNameAccessor) {
6
6
  return {
7
7
  onHover,
8
8
  interactionsDisabled: true
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/charts/tree-map/utils/get-legend-interaction-props.ts"],
4
- "sourcesContent": ["import type { LegendItem } from '../../core/components/legend/categorical/types/legend.js';\nimport type { SeriesActions } from '../../core/types/series-actions-template.js';\n\nexport function getLegendInteractionProps(\n isPinned: boolean,\n isLoading: boolean,\n hasNameAccessor: boolean,\n legendActions: SeriesActions<LegendItem>,\n onHover: (hoveredSeries?: LegendItem) => void,\n onClick: (visibleSlices: LegendItem[]) => void,\n) {\n if (isPinned || isLoading) {\n return { interactionsDisabled: true };\n }\n\n if (hasNameAccessor) {\n return {\n onHover: onHover,\n interactionsDisabled: true,\n };\n }\n\n return {\n onSeriesAction: legendActions,\n onHover: onHover,\n onClick: onClick,\n interactionsDisabled: false,\n };\n}\n"],
5
- "mappings": "AAGO,SAAS,0BACd,UACA,WACA,iBACA,eACA,SACA,SACA;AACA,MAAI,YAAY,WAAW;AACzB,WAAO,EAAE,sBAAsB,KAAK;AAAA,EACtC;AAEA,MAAI,iBAAiB;AACnB,WAAO;AAAA,MACL;AAAA,MACA,sBAAsB;AAAA,IACxB;AAAA,EACF;AAEA,SAAO;AAAA,IACL,gBAAgB;AAAA,IAChB;AAAA,IACA;AAAA,IACA,sBAAsB;AAAA,EACxB;AACF;",
4
+ "sourcesContent": ["import type { LegendItem } from '../../core/components/legend/categorical/types/legend.js';\nimport type { SeriesActions } from '../../core/types/series-actions-template.js';\n\nexport function getLegendInteractionProps(\n isPinned: boolean,\n isLoading: boolean,\n hasValueNameAccessor: boolean,\n legendActions: SeriesActions<LegendItem>,\n onHover: (hoveredSeries?: LegendItem) => void,\n onClick: (visibleSlices: LegendItem[]) => void,\n) {\n if (isPinned || isLoading) {\n return { interactionsDisabled: true };\n }\n\n if (hasValueNameAccessor) {\n return {\n onHover: onHover,\n interactionsDisabled: true,\n };\n }\n\n return {\n onSeriesAction: legendActions,\n onHover: onHover,\n onClick: onClick,\n interactionsDisabled: false,\n };\n}\n"],
5
+ "mappings": "AAGO,SAAS,0BACd,UACA,WACA,sBACA,eACA,SACA,SACA;AACA,MAAI,YAAY,WAAW;AACzB,WAAO,EAAE,sBAAsB,KAAK;AAAA,EACtC;AAEA,MAAI,sBAAsB;AACxB,WAAO;AAAA,MACL;AAAA,MACA,sBAAsB;AAAA,IACxB;AAAA,EACF;AAEA,SAAO;AAAA,IACL,gBAAgB;AAAA,IAChB;AAAA,IACA;AAAA,IACA,sBAAsB;AAAA,EACxB;AACF;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,88 @@
1
+ const toHierarchicalProps = (props) => {
2
+ const { data, valueAccessor, nameAccessor, groupBy, ...rest } = props;
3
+ const { rootKey, clusterKey, leafKey } = resolveGroupKeys(groupBy);
4
+ const rootName = resolveRootName(data, rootKey);
5
+ const clusterMap = buildClusterMap(data, valueAccessor, clusterKey, leafKey);
6
+ const nodes = buildClusterNodes(clusterMap);
7
+ const tree = buildRootNode(nodes, rootName);
8
+ return {
9
+ ...rest,
10
+ data: { tree },
11
+ nameAccessor: resolveNameAccessor(data, nameAccessor)
12
+ };
13
+ };
14
+ const resolveNameAccessor = (data, nameAccessor) => {
15
+ if (nameAccessor === void 0) {
16
+ return void 0;
17
+ }
18
+ return typeof data[0]?.[nameAccessor] === "number" ? "value" : "name";
19
+ };
20
+ const resolveGroupKeys = (groupBy) => {
21
+ const groups = Array.isArray(groupBy) ? groupBy.slice(0, 3) : [groupBy];
22
+ const hasRoot = groups.length >= 3;
23
+ return {
24
+ rootKey: hasRoot ? groups[0] : void 0,
25
+ clusterKey: hasRoot ? groups[1] : groups[0],
26
+ leafKey: groups.length >= 2 ? groups.at(-1) : void 0
27
+ };
28
+ };
29
+ const buildRootNode = (nodes, rootName) => ({
30
+ nodes,
31
+ value: nodes.reduce((sum, n) => sum + n.value, 0),
32
+ ...rootName === void 0 ? {} : { name: rootName }
33
+ });
34
+ const buildClusterNodes = (clusterMap) => Array.from(clusterMap.entries()).map(([name, { leaves, value }]) => ({
35
+ name,
36
+ value,
37
+ ...leaves.length > 0 ? { nodes: leaves } : {}
38
+ }));
39
+ const buildClusterMap = (data, valueAccessor, clusterKey, leafKey) => {
40
+ const clusterMap = /* @__PURE__ */ new Map();
41
+ for (const dp of data) {
42
+ const rawValue = dp[valueAccessor];
43
+ if (typeof rawValue !== "number") {
44
+ continue;
45
+ }
46
+ const clusterName = toSafeString(dp[clusterKey]);
47
+ let cluster = clusterMap.get(clusterName);
48
+ if (!cluster) {
49
+ cluster = {
50
+ leaves: [],
51
+ value: 0
52
+ };
53
+ clusterMap.set(clusterName, cluster);
54
+ }
55
+ cluster.value += rawValue;
56
+ if (leafKey === void 0) {
57
+ continue;
58
+ }
59
+ const leafName = toSafeString(dp[leafKey]);
60
+ cluster.leaves.push({ name: leafName, value: rawValue });
61
+ }
62
+ return clusterMap;
63
+ };
64
+ const resolveRootName = (data, rootKey) => {
65
+ if (rootKey === void 0) {
66
+ return void 0;
67
+ }
68
+ const rootNameValue = data.find(
69
+ (dp) => dp[rootKey] !== null && dp[rootKey] !== void 0
70
+ )?.[rootKey];
71
+ if (rootNameValue === null || rootNameValue === void 0) {
72
+ return void 0;
73
+ }
74
+ return toSafeString(rootNameValue);
75
+ };
76
+ const toSafeString = (value) => {
77
+ if (typeof value === "string") {
78
+ return value;
79
+ }
80
+ if (typeof value === "number" || typeof value === "boolean") {
81
+ return `${value}`;
82
+ }
83
+ return "";
84
+ };
85
+ export {
86
+ toHierarchicalProps
87
+ };
88
+ //# sourceMappingURL=to-hierarchical-props.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/charts/tree-map/utils/to-hierarchical-props.ts"],
4
+ "sourcesContent": ["import type {\n NameAccessor,\n TreeMapClusterNode,\n TreeMapFlatProps,\n TreeMapHierarchicalProps,\n TreeMapLeafNode,\n TreeMapRootNode,\n} from '../types/treemap.js';\n\nexport const toHierarchicalProps = (\n props: TreeMapFlatProps,\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n): TreeMapHierarchicalProps => {\n const { data, valueAccessor, nameAccessor, groupBy, ...rest } = props;\n\n const { rootKey, clusterKey, leafKey } = resolveGroupKeys(groupBy);\n const rootName = resolveRootName(data, rootKey);\n\n const clusterMap = buildClusterMap(data, valueAccessor, clusterKey, leafKey);\n\n const nodes: TreeMapClusterNode[] = buildClusterNodes(clusterMap);\n const tree = buildRootNode(nodes, rootName);\n\n return {\n ...rest,\n data: { tree },\n nameAccessor: resolveNameAccessor(data, nameAccessor),\n };\n};\n\nconst resolveNameAccessor = (\n data: Record<string, unknown>[],\n nameAccessor: string | undefined,\n): NameAccessor | undefined => {\n if (nameAccessor === undefined) {\n return undefined;\n }\n return typeof data[0]?.[nameAccessor] === 'number' ? 'value' : 'name';\n};\n\nconst resolveGroupKeys = (groupBy: string | string[]) => {\n const groups = Array.isArray(groupBy) ? groupBy.slice(0, 3) : [groupBy];\n const hasRoot = groups.length >= 3;\n\n return {\n rootKey: hasRoot ? groups[0] : undefined,\n clusterKey: hasRoot ? groups[1] : groups[0],\n leafKey: groups.length >= 2 ? groups.at(-1) : undefined,\n };\n};\n\nconst buildRootNode = (\n nodes: TreeMapClusterNode[],\n rootName: string | undefined,\n): TreeMapRootNode => ({\n nodes,\n value: nodes.reduce((sum, n) => sum + n.value, 0),\n ...(rootName === undefined ? {} : { name: rootName }),\n});\n\nconst buildClusterNodes = (\n clusterMap: Map<string, { leaves: TreeMapLeafNode[]; value: number }>,\n): TreeMapClusterNode[] =>\n Array.from(clusterMap.entries()).map(([name, { leaves, value }]) => ({\n name,\n value,\n ...(leaves.length > 0 ? { nodes: leaves } : {}),\n }));\n\nconst buildClusterMap = (\n data: Record<string, unknown>[],\n valueAccessor: string,\n clusterKey: string,\n leafKey: string | undefined,\n) => {\n const clusterMap = new Map<\n string,\n { leaves: TreeMapLeafNode[]; value: number }\n >();\n\n for (const dp of data) {\n const rawValue = dp[valueAccessor];\n if (typeof rawValue !== 'number') {\n continue;\n }\n\n const clusterName = toSafeString(dp[clusterKey]);\n\n let cluster = clusterMap.get(clusterName);\n if (!cluster) {\n cluster = {\n leaves: [] as TreeMapLeafNode[],\n value: 0,\n };\n clusterMap.set(clusterName, cluster);\n }\n\n cluster.value += rawValue;\n\n if (leafKey === undefined) {\n continue;\n }\n const leafName = toSafeString(dp[leafKey]);\n cluster.leaves.push({ name: leafName, value: rawValue });\n }\n\n return clusterMap;\n};\n\nconst resolveRootName = (\n data: Record<string, unknown>[],\n rootKey: string | undefined,\n): string | undefined => {\n if (rootKey === undefined) {\n return undefined;\n }\n\n const rootNameValue = data.find(\n (dp) => dp[rootKey] !== null && dp[rootKey] !== undefined,\n )?.[rootKey];\n\n if (rootNameValue === null || rootNameValue === undefined) {\n return undefined;\n }\n\n return toSafeString(rootNameValue);\n};\n\nconst toSafeString = (value: unknown): string => {\n if (typeof value === 'string') {\n return value;\n }\n if (typeof value === 'number' || typeof value === 'boolean') {\n return `${value}`;\n }\n return '';\n};\n"],
5
+ "mappings": "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",
6
+ "names": []
7
+ }
@@ -35,6 +35,10 @@ import { useMergeRefs } from "../../core/hooks/useMergeRefs.js";
35
35
  import { defaultChartSize } from "../../core/styles/defaultChartValues.sty.js";
36
36
  import { getAnnotationsVisibleArea } from "../core/components/annotations/utils/get-annotations-visible-area.js";
37
37
  import { ChartGrid } from "../core/components/chart-grid/ChartGridRoot.js";
38
+ import {
39
+ shouldShowAnnotations,
40
+ shouldShowAxes
41
+ } from "../core/components/chart-grid/constants.js";
38
42
  import { useChartLayoutLoading } from "../core/components/chart-layout/hooks/useChartLayoutLoading.js";
39
43
  import { useGraphSize } from "../core/components/chart-layout/hooks/useGraphSize.js";
40
44
  import { ChartLoaderOverlay } from "../core/components/chart-loader-overlay/ChartLoaderOverlay.js";
@@ -65,7 +69,20 @@ const XYChart = forwardRef(
65
69
  annotationsConfig?.fixedTracks,
66
70
  hiddenTracks.length
67
71
  );
68
- const annotationsAreaHeight = annotationsVisibleArea + (tracksQuantity - hiddenTracks.length > 0 ? ANNOTATIONS_PADDING_BOTTOM : 0);
72
+ const hasVisibleAnnotationTracks = tracksQuantity - hiddenTracks.length > 0;
73
+ const annotationsPadding = hasVisibleAnnotationTracks ? ANNOTATIONS_PADDING_BOTTOM : 0;
74
+ const annotationsAreaHeight = annotationsVisibleArea + annotationsPadding;
75
+ const showAnnotations = shouldShowAnnotations(
76
+ chartGridHeight,
77
+ tracksQuantity
78
+ );
79
+ const showAxes = shouldShowAxes(chartGridHeight);
80
+ const gridAnnotationsHeight = showAnnotations ? annotationsAreaHeight : 0;
81
+ const computedGridTemplateRows = showAxes ? gridTemplateRows(
82
+ bottomAxisMaxSize,
83
+ topAxisMaxSize,
84
+ gridAnnotationsHeight
85
+ ) : "0px 0px 1fr 1px";
69
86
  return /* @__PURE__ */ jsx(
70
87
  "div",
71
88
  {
@@ -86,11 +103,7 @@ const XYChart = forwardRef(
86
103
  leftAxisMaxSize,
87
104
  rightAxisMaxSize
88
105
  ),
89
- gridTemplateRows: gridTemplateRows(
90
- bottomAxisMaxSize,
91
- topAxisMaxSize,
92
- annotationsAreaHeight
93
- ),
106
+ gridTemplateRows: computedGridTemplateRows,
94
107
  ref: chartAndForwardedRef,
95
108
  children: /* @__PURE__ */ jsx(XYChartTooltipContext.Provider, { value: config.tooltip, children: /* @__PURE__ */ jsx(XYChartSelectConfigContext.Provider, { value: config.select, children: /* @__PURE__ */ jsx(XYChartProviders, { children: /* @__PURE__ */ jsxs(
96
109
  XYChartImperativeHandlerBuilder,
@@ -99,17 +112,17 @@ const XYChart = forwardRef(
99
112
  containerRef: chartRef,
100
113
  config,
101
114
  children: [
102
- /* @__PURE__ */ jsx(XYChartTopAxisArea, {}),
103
- /* @__PURE__ */ jsx(XYChartBottomAxisArea, {}),
104
- /* @__PURE__ */ jsx(XYChartLeftAxisArea, {}),
105
- /* @__PURE__ */ jsx(XYChartRightAxisArea, {}),
106
- !!tracksQuantity && /* @__PURE__ */ jsx(XYChartAnnotationsArea, {}),
115
+ showAxes && /* @__PURE__ */ jsx(XYChartTopAxisArea, {}),
116
+ showAxes && /* @__PURE__ */ jsx(XYChartBottomAxisArea, {}),
117
+ showAxes && /* @__PURE__ */ jsx(XYChartLeftAxisArea, {}),
118
+ showAxes && /* @__PURE__ */ jsx(XYChartRightAxisArea, {}),
119
+ showAnnotations && /* @__PURE__ */ jsx(XYChartAnnotationsArea, {}),
107
120
  /* @__PURE__ */ jsxs(ChartGrid.PlotArea, { children: [
108
121
  /* @__PURE__ */ jsx(XYChartGridLayout, {}),
109
122
  /* @__PURE__ */ jsx(XYChartLayout, {}),
110
123
  /* @__PURE__ */ jsx(BarLabelLayout, {}),
111
124
  /* @__PURE__ */ jsx(XYChartAxisBorder, {}),
112
- /* @__PURE__ */ jsx(XYChartAnnotationsIndicators, {}),
125
+ showAnnotations && /* @__PURE__ */ jsx(XYChartAnnotationsIndicators, {}),
113
126
  /* @__PURE__ */ jsx(
114
127
  ChartLoaderOverlay,
115
128
  {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/charts/xy-chart/XYChart.tsx"],
4
- "sourcesContent": ["import { forwardRef, type PropsWithChildren, useRef } from 'react';\n\nimport { XYChartImperativeHandlerBuilder } from './builders/XYChartImperativeHandlerBuilder.js';\nimport { XYChartAnnotationsArea } from './components/annotations/XYChartAnnotationsArea.js';\nimport { XYChartAnnotationsIndicators } from './components/annotations/XYChartAnnotationsIndicators.js';\nimport { XYChartBottomAxisArea } from './components/axes/XYChartBottomAxisArea.js';\nimport { XYChartLeftAxisArea } from './components/axes/XYChartLeftAxisArea.js';\nimport { XYChartRightAxisArea } from './components/axes/XYChartRightAxisArea.js';\nimport { XYChartTopAxisArea } from './components/axes/XYChartTopAxisArea.js';\nimport { BarLabelLayout } from './components/displays/BarDisplay/BarLabelLayout.js';\nimport { XYChartGridLayout } from './components/layout/XYChartGridLayout.js';\nimport { XYChartOverlay } from './components/overlay/XYChartOverlay.js';\nimport { XYChartThresholdArea } from './components/thresholds/XYChartThresholdArea.js';\nimport {\n ANNOTATIONS_PADDING_BOTTOM,\n XY_CHART_ARIA_LABEL,\n} from './constants/defaults.js';\nimport { XYChartSelectConfigContext } from './context/XYChartSelectConfig.context.js';\nimport { XYChartTooltipContext } from './context/XYChartTooltip.context.js';\nimport { useVisibleAxesConfig } from './hooks/useVisibleAxesConfig.js';\nimport { useXYChartAnnotationsConfig } from './hooks/useXYChartAnnotationsConfig.js';\nimport { useXYChartAnnotationsData } from './hooks/useXYChartAnnotationsData.js';\nimport { useXYChartAnnotationsHiddenTracks } from './hooks/useXYChartAnnotationsHiddenTracks.js';\nimport { useXYChartData } from './hooks/useXYChartData.js';\nimport { XYChartAxisBorder } from './layout/XYChartAxisBorder.js';\nimport { XYChartLayout } from './layout/XYChartLayout.js';\nimport { XYChartProviders } from './providers/XYChartProviders.js';\nimport { XYChartRef } from './types/xy-chart.js';\nimport { getPaddingByAxes } from './utils/get-padding-by-axes.js';\nimport {\n gridTemplateAreas,\n gridTemplateColumns,\n gridTemplateRows,\n} from './utils/grid-templates.js';\nimport type { XYChartConfig } from './utils/xy-chart-configuration.js';\nimport { useMergeRefs } from '../../core/hooks/useMergeRefs.js';\nimport { defaultChartSize } from '../../core/styles/defaultChartValues.sty.js';\nimport { getAnnotationsVisibleArea } from '../core/components/annotations/utils/get-annotations-visible-area.js';\nimport { ChartGrid } from '../core/components/chart-grid/ChartGridRoot.js';\nimport { useChartLayoutLoading } from '../core/components/chart-layout/hooks/useChartLayoutLoading.js';\nimport { useGraphSize } from '../core/components/chart-layout/hooks/useGraphSize.js';\nimport { ChartLoaderOverlay } from '../core/components/chart-loader-overlay/ChartLoaderOverlay.js';\n\ninterface XYChartProps {\n config: XYChartConfig;\n}\n\nexport const XYChart = forwardRef<XYChartRef, PropsWithChildren<XYChartProps>>(\n ({ config }, forwardedRef) => {\n const loading = useChartLayoutLoading();\n const { width, height } = useGraphSize();\n const chartRef = useRef<HTMLDivElement>(null);\n const chartAndForwardedRef = useMergeRefs<XYChartRef | HTMLDivElement>([\n forwardedRef,\n chartRef,\n ]);\n const { top, bottom, left, right } = useVisibleAxesConfig();\n const { axesMetadata } = useXYChartData();\n\n const topAxisMaxSize = top?.tickLabelMaxSize;\n const bottomAxisMaxSize = bottom?.tickLabelMaxSize;\n const leftAxisMaxSize = left?.tickLabelMaxSize;\n const rightAxisMaxSize = right?.tickLabelMaxSize;\n const paddings = getPaddingByAxes({ top, bottom, left, right });\n const chartGridHeight = height - paddings.vertical();\n const chartGridWidth = width - paddings.horizontal();\n\n const annotationsData = useXYChartAnnotationsData();\n const annotationsConfig = useXYChartAnnotationsConfig();\n const tracksQuantity = annotationsData?.size ?? 0;\n const hiddenTracks = useXYChartAnnotationsHiddenTracks();\n\n const annotationsVisibleArea = getAnnotationsVisibleArea(\n tracksQuantity,\n annotationsConfig?.fixedTracks,\n hiddenTracks.length,\n );\n\n const annotationsAreaHeight =\n annotationsVisibleArea +\n (tracksQuantity - hiddenTracks.length > 0\n ? ANNOTATIONS_PADDING_BOTTOM\n : 0);\n\n return (\n <div\n className={defaultChartSize}\n style={{\n paddingTop: paddings.top,\n paddingLeft: paddings.left,\n }}\n aria-label={XY_CHART_ARIA_LABEL}\n role=\"img\"\n >\n <ChartGrid\n width={chartGridWidth}\n height={chartGridHeight}\n gridTemplateAreas={gridTemplateAreas}\n gridTemplateColumns={gridTemplateColumns(\n leftAxisMaxSize,\n rightAxisMaxSize,\n )}\n gridTemplateRows={gridTemplateRows(\n bottomAxisMaxSize,\n topAxisMaxSize,\n annotationsAreaHeight,\n )}\n ref={chartAndForwardedRef}\n >\n <XYChartTooltipContext.Provider value={config.tooltip}>\n <XYChartSelectConfigContext.Provider value={config.select}>\n <XYChartProviders>\n <XYChartImperativeHandlerBuilder\n chartRef={forwardedRef}\n containerRef={chartRef}\n config={config}\n >\n <XYChartTopAxisArea />\n <XYChartBottomAxisArea />\n <XYChartLeftAxisArea />\n <XYChartRightAxisArea />\n\n {!!tracksQuantity && <XYChartAnnotationsArea />}\n <ChartGrid.PlotArea>\n <XYChartGridLayout />\n <XYChartLayout />\n <BarLabelLayout />\n <XYChartAxisBorder />\n <XYChartAnnotationsIndicators />\n <ChartLoaderOverlay\n loading={loading}\n zoomEnabled={axesMetadata.isZoomEnabled}\n >\n <XYChartOverlay />\n </ChartLoaderOverlay>\n </ChartGrid.PlotArea>\n <XYChartThresholdArea />\n </XYChartImperativeHandlerBuilder>\n </XYChartProviders>\n </XYChartSelectConfigContext.Provider>\n </XYChartTooltipContext.Provider>\n </ChartGrid>\n </div>\n );\n },\n);\n\n(XYChart as typeof XYChart & { displayName: string }).displayName = 'XYChart';\n"],
5
- "mappings": "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",
4
+ "sourcesContent": ["import { forwardRef, type PropsWithChildren, useRef } from 'react';\n\nimport { XYChartImperativeHandlerBuilder } from './builders/XYChartImperativeHandlerBuilder.js';\nimport { XYChartAnnotationsArea } from './components/annotations/XYChartAnnotationsArea.js';\nimport { XYChartAnnotationsIndicators } from './components/annotations/XYChartAnnotationsIndicators.js';\nimport { XYChartBottomAxisArea } from './components/axes/XYChartBottomAxisArea.js';\nimport { XYChartLeftAxisArea } from './components/axes/XYChartLeftAxisArea.js';\nimport { XYChartRightAxisArea } from './components/axes/XYChartRightAxisArea.js';\nimport { XYChartTopAxisArea } from './components/axes/XYChartTopAxisArea.js';\nimport { BarLabelLayout } from './components/displays/BarDisplay/BarLabelLayout.js';\nimport { XYChartGridLayout } from './components/layout/XYChartGridLayout.js';\nimport { XYChartOverlay } from './components/overlay/XYChartOverlay.js';\nimport { XYChartThresholdArea } from './components/thresholds/XYChartThresholdArea.js';\nimport {\n ANNOTATIONS_PADDING_BOTTOM,\n XY_CHART_ARIA_LABEL,\n} from './constants/defaults.js';\nimport { XYChartSelectConfigContext } from './context/XYChartSelectConfig.context.js';\nimport { XYChartTooltipContext } from './context/XYChartTooltip.context.js';\nimport { useVisibleAxesConfig } from './hooks/useVisibleAxesConfig.js';\nimport { useXYChartAnnotationsConfig } from './hooks/useXYChartAnnotationsConfig.js';\nimport { useXYChartAnnotationsData } from './hooks/useXYChartAnnotationsData.js';\nimport { useXYChartAnnotationsHiddenTracks } from './hooks/useXYChartAnnotationsHiddenTracks.js';\nimport { useXYChartData } from './hooks/useXYChartData.js';\nimport { XYChartAxisBorder } from './layout/XYChartAxisBorder.js';\nimport { XYChartLayout } from './layout/XYChartLayout.js';\nimport { XYChartProviders } from './providers/XYChartProviders.js';\nimport { XYChartRef } from './types/xy-chart.js';\nimport { getPaddingByAxes } from './utils/get-padding-by-axes.js';\nimport {\n gridTemplateAreas,\n gridTemplateColumns,\n gridTemplateRows,\n} from './utils/grid-templates.js';\nimport type { XYChartConfig } from './utils/xy-chart-configuration.js';\nimport { useMergeRefs } from '../../core/hooks/useMergeRefs.js';\nimport { defaultChartSize } from '../../core/styles/defaultChartValues.sty.js';\nimport { getAnnotationsVisibleArea } from '../core/components/annotations/utils/get-annotations-visible-area.js';\nimport { ChartGrid } from '../core/components/chart-grid/ChartGridRoot.js';\nimport {\n shouldShowAnnotations,\n shouldShowAxes,\n} from '../core/components/chart-grid/constants.js';\nimport { useChartLayoutLoading } from '../core/components/chart-layout/hooks/useChartLayoutLoading.js';\nimport { useGraphSize } from '../core/components/chart-layout/hooks/useGraphSize.js';\nimport { ChartLoaderOverlay } from '../core/components/chart-loader-overlay/ChartLoaderOverlay.js';\n\ninterface XYChartProps {\n config: XYChartConfig;\n}\n\nexport const XYChart = forwardRef<XYChartRef, PropsWithChildren<XYChartProps>>(\n ({ config }, forwardedRef) => {\n const loading = useChartLayoutLoading();\n const { width, height } = useGraphSize();\n const chartRef = useRef<HTMLDivElement>(null);\n const chartAndForwardedRef = useMergeRefs<XYChartRef | HTMLDivElement>([\n forwardedRef,\n chartRef,\n ]);\n const { top, bottom, left, right } = useVisibleAxesConfig();\n const { axesMetadata } = useXYChartData();\n\n const topAxisMaxSize = top?.tickLabelMaxSize;\n const bottomAxisMaxSize = bottom?.tickLabelMaxSize;\n const leftAxisMaxSize = left?.tickLabelMaxSize;\n const rightAxisMaxSize = right?.tickLabelMaxSize;\n const paddings = getPaddingByAxes({ top, bottom, left, right });\n const chartGridHeight = height - paddings.vertical();\n const chartGridWidth = width - paddings.horizontal();\n\n const annotationsData = useXYChartAnnotationsData();\n const annotationsConfig = useXYChartAnnotationsConfig();\n const tracksQuantity = annotationsData?.size ?? 0;\n const hiddenTracks = useXYChartAnnotationsHiddenTracks();\n\n const annotationsVisibleArea = getAnnotationsVisibleArea(\n tracksQuantity,\n annotationsConfig?.fixedTracks,\n hiddenTracks.length,\n );\n\n const hasVisibleAnnotationTracks = tracksQuantity - hiddenTracks.length > 0;\n const annotationsPadding = hasVisibleAnnotationTracks\n ? ANNOTATIONS_PADDING_BOTTOM\n : 0;\n const annotationsAreaHeight = annotationsVisibleArea + annotationsPadding;\n\n const showAnnotations = shouldShowAnnotations(\n chartGridHeight,\n tracksQuantity,\n );\n\n const showAxes = shouldShowAxes(chartGridHeight);\n\n const gridAnnotationsHeight = showAnnotations ? annotationsAreaHeight : 0;\n const computedGridTemplateRows = showAxes\n ? gridTemplateRows(\n bottomAxisMaxSize,\n topAxisMaxSize,\n gridAnnotationsHeight,\n )\n : '0px 0px 1fr 1px';\n\n return (\n <div\n className={defaultChartSize}\n style={{\n paddingTop: paddings.top,\n paddingLeft: paddings.left,\n }}\n aria-label={XY_CHART_ARIA_LABEL}\n role=\"img\"\n >\n <ChartGrid\n width={chartGridWidth}\n height={chartGridHeight}\n gridTemplateAreas={gridTemplateAreas}\n gridTemplateColumns={gridTemplateColumns(\n leftAxisMaxSize,\n rightAxisMaxSize,\n )}\n gridTemplateRows={computedGridTemplateRows}\n ref={chartAndForwardedRef}\n >\n <XYChartTooltipContext.Provider value={config.tooltip}>\n <XYChartSelectConfigContext.Provider value={config.select}>\n <XYChartProviders>\n <XYChartImperativeHandlerBuilder\n chartRef={forwardedRef}\n containerRef={chartRef}\n config={config}\n >\n {showAxes && <XYChartTopAxisArea />}\n {showAxes && <XYChartBottomAxisArea />}\n {showAxes && <XYChartLeftAxisArea />}\n {showAxes && <XYChartRightAxisArea />}\n\n {showAnnotations && <XYChartAnnotationsArea />}\n <ChartGrid.PlotArea>\n <XYChartGridLayout />\n <XYChartLayout />\n <BarLabelLayout />\n <XYChartAxisBorder />\n {showAnnotations && <XYChartAnnotationsIndicators />}\n <ChartLoaderOverlay\n loading={loading}\n zoomEnabled={axesMetadata.isZoomEnabled}\n >\n <XYChartOverlay />\n </ChartLoaderOverlay>\n </ChartGrid.PlotArea>\n <XYChartThresholdArea />\n </XYChartImperativeHandlerBuilder>\n </XYChartProviders>\n </XYChartSelectConfigContext.Provider>\n </XYChartTooltipContext.Provider>\n </ChartGrid>\n </div>\n );\n },\n);\n\n(XYChart as typeof XYChart & { displayName: string }).displayName = 'XYChart';\n"],
5
+ "mappings": "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",
6
6
  "names": []
7
7
  }
@@ -68,7 +68,9 @@ const XYChartRoot = /* @__PURE__ */ forwardRef((props, ref) => {
68
68
  className,
69
69
  __downloadDataCallback: downloadDataCallback,
70
70
  "data-dtrum-mask": dataDtrumMask,
71
- "data-dtrum-allow": dataDtrumAllow
71
+ "data-dtrum-allow": dataDtrumAllow,
72
+ // @ts-expect-error - We want to allow overriding data-dt-component as we use the component internally in other Strato components, but it should not appear in the public API.
73
+ "data-dt-component": componentName = COMPONENT_NAME_BEHAVIOURAL_TRACKING
72
74
  } = props;
73
75
  const [behaviorTrackingProps] = useBehavioralTrackingProps(props);
74
76
  const slots = iterateSlots(props.children);
@@ -130,7 +132,7 @@ const XYChartRoot = /* @__PURE__ */ forwardRef((props, ref) => {
130
132
  "data-dtrum-mask": dataDtrumMask,
131
133
  "data-dtrum-allow": dataDtrumAllow,
132
134
  ...behaviorTrackingProps,
133
- "data-dt-component": COMPONENT_NAME_BEHAVIOURAL_TRACKING,
135
+ "data-dt-component": componentName,
134
136
  children: [
135
137
  /* @__PURE__ */ jsx(ChartLayout.Graph, { children: /* @__PURE__ */ jsx(
136
138
  XYChartInternal,