@elliemae/ds-dataviz 3.80.0-next.65 → 3.80.0-next.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/constants/index.js +73 -0
- package/dist/cjs/constants/index.js.map +7 -0
- package/dist/cjs/graphs/Chart/Chart.js +6 -1
- package/dist/cjs/graphs/Chart/Chart.js.map +2 -2
- package/dist/cjs/graphs/Chart/ChartContext.js.map +2 -2
- package/dist/cjs/graphs/Chart/SingleStackedBar/SingleStackedBar.js +36 -24
- package/dist/cjs/graphs/Chart/SingleStackedBar/SingleStackedBar.js.map +3 -3
- package/dist/cjs/graphs/Chart/SingleStackedBar/styles.js +12 -5
- package/dist/cjs/graphs/Chart/SingleStackedBar/styles.js.map +2 -2
- package/dist/cjs/graphs/Chart/config/chartInteractionStore.js +98 -0
- package/dist/cjs/graphs/Chart/config/chartInteractionStore.js.map +7 -0
- package/dist/cjs/graphs/Chart/config/useChart.js +56 -40
- package/dist/cjs/graphs/Chart/config/useChart.js.map +2 -2
- package/dist/cjs/graphs/Chart/config/useChartDescription.js +62 -0
- package/dist/cjs/graphs/Chart/config/useChartDescription.js.map +7 -0
- package/dist/cjs/graphs/Chart/config/useEntranceAnimation.js +141 -0
- package/dist/cjs/graphs/Chart/config/useEntranceAnimation.js.map +7 -0
- package/dist/cjs/graphs/Chart/config/useGetters.js +10 -0
- package/dist/cjs/graphs/Chart/config/useGetters.js.map +2 -2
- package/dist/cjs/graphs/Chart/config/useInternalMargins.js +25 -5
- package/dist/cjs/graphs/Chart/config/useInternalMargins.js.map +2 -2
- package/dist/cjs/graphs/Chart/config/useKeyboardNavigation.js +35 -51
- package/dist/cjs/graphs/Chart/config/useKeyboardNavigation.js.map +2 -2
- package/dist/cjs/graphs/Chart/config/useScales.js +200 -67
- package/dist/cjs/graphs/Chart/config/useScales.js.map +2 -2
- package/dist/cjs/graphs/Chart/config/useValidateProps.js +53 -4
- package/dist/cjs/graphs/Chart/config/useValidateProps.js.map +2 -2
- package/dist/cjs/graphs/Chart/config/useValueAxisTransition.js +128 -0
- package/dist/cjs/graphs/Chart/config/useValueAxisTransition.js.map +7 -0
- package/dist/cjs/graphs/Chart/config/useWheelScroll.js +111 -0
- package/dist/cjs/graphs/Chart/config/useWheelScroll.js.map +7 -0
- package/dist/cjs/graphs/Chart/helpers/alignedTicks.js +56 -0
- package/dist/cjs/graphs/Chart/helpers/alignedTicks.js.map +7 -0
- package/dist/cjs/graphs/Chart/helpers/barPath.js +53 -0
- package/dist/cjs/graphs/Chart/helpers/barPath.js.map +7 -0
- package/dist/cjs/graphs/Chart/{react-desc-prop-types.js → helpers/dataInView.js} +26 -27
- package/dist/cjs/graphs/Chart/helpers/dataInView.js.map +7 -0
- package/dist/cjs/graphs/Chart/helpers/index.js +34 -0
- package/dist/cjs/graphs/Chart/helpers/index.js.map +2 -2
- package/dist/cjs/graphs/Chart/{SingleStackedBar/exported-related/theming.js → helpers/logAxis.js} +13 -9
- package/dist/cjs/graphs/Chart/helpers/logAxis.js.map +7 -0
- package/dist/cjs/graphs/Chart/helpers/tickRotation.js +54 -0
- package/dist/cjs/graphs/Chart/helpers/tickRotation.js.map +7 -0
- package/dist/cjs/graphs/Chart/helpers/timeTicks.js +56 -0
- package/dist/cjs/graphs/Chart/helpers/timeTicks.js.map +7 -0
- package/dist/cjs/graphs/Chart/helpers/trend.js +45 -0
- package/dist/cjs/graphs/Chart/helpers/trend.js.map +7 -0
- package/dist/cjs/graphs/Chart/{SingleStackedBar/exported-related/index.js → helpers/useSerieDimming.js} +20 -6
- package/dist/cjs/graphs/Chart/helpers/useSerieDimming.js.map +7 -0
- package/dist/cjs/graphs/Chart/helpers/useUniqueData.js +15 -18
- package/dist/cjs/graphs/Chart/helpers/useUniqueData.js.map +2 -2
- package/dist/cjs/graphs/Chart/helpers/useVirtualizedSeries.js +12 -5
- package/dist/cjs/graphs/Chart/helpers/useVirtualizedSeries.js.map +2 -2
- package/dist/cjs/graphs/Chart/{DataTestIds.js → helpers/zeroLine.js} +12 -9
- package/dist/cjs/graphs/Chart/helpers/zeroLine.js.map +7 -0
- package/dist/cjs/graphs/Chart/parts/A11yRegion.js +8 -2
- package/dist/cjs/graphs/Chart/parts/A11yRegion.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Axis/Axis.js +40 -4
- package/dist/cjs/graphs/Chart/parts/Axis/Axis.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Axis/AxisBottom.js +18 -4
- package/dist/cjs/graphs/Chart/parts/Axis/AxisBottom.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Axis/AxisLeft.js +14 -6
- package/dist/cjs/graphs/Chart/parts/Axis/AxisLeft.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Axis/AxisRight.js +14 -4
- package/dist/cjs/graphs/Chart/parts/Axis/AxisRight.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Axis/GridLine.js +15 -1
- package/dist/cjs/graphs/Chart/parts/Axis/GridLine.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Axis/Tick.js +10 -4
- package/dist/cjs/graphs/Chart/parts/Axis/Tick.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Axis/useTickTransition.js +170 -0
- package/dist/cjs/graphs/Chart/parts/Axis/useTickTransition.js.map +7 -0
- package/dist/cjs/graphs/Chart/parts/ChartContainer.js +41 -19
- package/dist/cjs/graphs/Chart/parts/ChartContainer.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/FocusableRegion.js +6 -3
- package/dist/cjs/graphs/Chart/parts/FocusableRegion.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/HoverBand.js +86 -0
- package/dist/cjs/graphs/Chart/parts/HoverBand.js.map +7 -0
- package/dist/cjs/graphs/Chart/parts/Labels/Label.js +12 -1
- package/dist/cjs/graphs/Chart/parts/Labels/Label.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Labels/index.js +12 -4
- package/dist/cjs/graphs/Chart/parts/Labels/index.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Legend/BottomLegend.js +6 -3
- package/dist/cjs/graphs/Chart/parts/Legend/BottomLegend.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Legend/LeftLegend.js +2 -6
- package/dist/cjs/graphs/Chart/parts/Legend/LeftLegend.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Legend/LegendItem.js +91 -9
- package/dist/cjs/graphs/Chart/parts/Legend/LegendItem.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Legend/RightLegend.js +3 -4
- package/dist/cjs/graphs/Chart/parts/Legend/RightLegend.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Legend/TopLegend.js +8 -6
- package/dist/cjs/graphs/Chart/parts/Legend/TopLegend.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Scrapper/Scrapper.js +29 -3
- package/dist/cjs/graphs/Chart/parts/Scrapper/Scrapper.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Scrapper/ScrapperLine.js +82 -55
- package/dist/cjs/graphs/Chart/parts/Scrapper/ScrapperLine.js.map +3 -3
- package/dist/cjs/graphs/Chart/parts/Scrapper/VerticalScrapper.js +14 -6
- package/dist/cjs/graphs/Chart/parts/Scrapper/VerticalScrapper.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Scrapper/VerticalScrapperLine.js +67 -43
- package/dist/cjs/graphs/Chart/parts/Scrapper/VerticalScrapperLine.js.map +2 -2
- package/dist/cjs/graphs/Chart/{SingleStackedBar/exported-related/data-test-ids.js → parts/ScreenReaderText.js} +17 -7
- package/dist/cjs/graphs/Chart/parts/ScreenReaderText.js.map +7 -0
- package/dist/cjs/graphs/Chart/parts/Scroller/BlurMask.js +14 -9
- package/dist/cjs/graphs/Chart/parts/Scroller/BlurMask.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Scroller/Controllers.js +152 -49
- package/dist/cjs/graphs/Chart/parts/Scroller/Controllers.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Scroller/ScrollBarX.js +22 -6
- package/dist/cjs/graphs/Chart/parts/Scroller/ScrollBarX.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Scroller/ScrollBarY.js +13 -6
- package/dist/cjs/graphs/Chart/parts/Scroller/ScrollBarY.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Scroller/ScrollableContainerX.js +42 -35
- package/dist/cjs/graphs/Chart/parts/Scroller/ScrollableContainerX.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/Scroller/ScrollableContainerY.js +9 -4
- package/dist/cjs/graphs/Chart/parts/Scroller/ScrollableContainerY.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/SeriesFactory.js +39 -30
- package/dist/cjs/graphs/Chart/parts/SeriesFactory.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/TrendHighlight.js +57 -19
- package/dist/cjs/graphs/Chart/parts/TrendHighlight.js.map +2 -2
- package/dist/cjs/graphs/Chart/parts/ZeroLine.js +66 -0
- package/dist/cjs/graphs/Chart/parts/ZeroLine.js.map +7 -0
- package/dist/cjs/graphs/Chart/scales/index.js +50 -20
- package/dist/cjs/graphs/Chart/scales/index.js.map +3 -3
- package/dist/cjs/graphs/Chart/series/Area.js +76 -9
- package/dist/cjs/graphs/Chart/series/Area.js.map +2 -2
- package/dist/cjs/graphs/Chart/series/Bars.js +3 -1
- package/dist/cjs/graphs/Chart/series/Bars.js.map +2 -2
- package/dist/cjs/graphs/Chart/series/HorizontalBars.js +4 -1
- package/dist/cjs/graphs/Chart/series/HorizontalBars.js.map +2 -2
- package/dist/cjs/graphs/Chart/series/HorizontalStackedBars.js +14 -7
- package/dist/cjs/graphs/Chart/series/HorizontalStackedBars.js.map +2 -2
- package/dist/cjs/graphs/Chart/series/Line.js +9 -7
- package/dist/cjs/graphs/Chart/series/Line.js.map +2 -2
- package/dist/cjs/graphs/Chart/series/Point.js +114 -128
- package/dist/cjs/graphs/Chart/series/Point.js.map +3 -3
- package/dist/cjs/graphs/Chart/series/Points.js +8 -2
- package/dist/cjs/graphs/Chart/series/Points.js.map +2 -2
- package/dist/cjs/graphs/Chart/series/Rect.js +133 -122
- package/dist/cjs/graphs/Chart/series/Rect.js.map +3 -3
- package/dist/cjs/graphs/Chart/series/StackedBar.js +14 -6
- package/dist/cjs/graphs/Chart/series/StackedBar.js.map +2 -2
- package/dist/cjs/graphs/Chart/styles.js +65 -34
- package/dist/cjs/graphs/Chart/styles.js.map +2 -2
- package/dist/cjs/graphs/constants.js +24 -9
- package/dist/cjs/graphs/constants.js.map +2 -2
- package/dist/cjs/index.js +17 -6
- package/dist/cjs/index.js.map +3 -3
- package/dist/cjs/react-desc-prop-types.js +150 -0
- package/dist/cjs/react-desc-prop-types.js.map +7 -0
- package/dist/cjs/typescript-testing/slot-props.js +69 -0
- package/dist/cjs/typescript-testing/slot-props.js.map +7 -0
- package/dist/cjs/typescript-testing/typescript-data-viz-valid.js +34 -2
- package/dist/cjs/typescript-testing/typescript-data-viz-valid.js.map +2 -2
- package/dist/cjs/typescript-testing/typescript-single-stacked-bar-valid.js +93 -0
- package/dist/cjs/typescript-testing/typescript-single-stacked-bar-valid.js.map +7 -0
- package/dist/esm/constants/index.js +43 -0
- package/dist/esm/constants/index.js.map +7 -0
- package/dist/esm/graphs/Chart/Chart.js +6 -1
- package/dist/esm/graphs/Chart/Chart.js.map +2 -2
- package/dist/esm/graphs/Chart/ChartContext.js.map +2 -2
- package/dist/esm/graphs/Chart/SingleStackedBar/SingleStackedBar.js +40 -23
- package/dist/esm/graphs/Chart/SingleStackedBar/SingleStackedBar.js.map +2 -2
- package/dist/esm/graphs/Chart/SingleStackedBar/styles.js +12 -5
- package/dist/esm/graphs/Chart/SingleStackedBar/styles.js.map +2 -2
- package/dist/esm/graphs/Chart/config/chartInteractionStore.js +68 -0
- package/dist/esm/graphs/Chart/config/chartInteractionStore.js.map +7 -0
- package/dist/esm/graphs/Chart/config/useChart.js +58 -42
- package/dist/esm/graphs/Chart/config/useChart.js.map +2 -2
- package/dist/esm/graphs/Chart/config/useChartDescription.js +32 -0
- package/dist/esm/graphs/Chart/config/useChartDescription.js.map +7 -0
- package/dist/esm/graphs/Chart/config/useEntranceAnimation.js +111 -0
- package/dist/esm/graphs/Chart/config/useEntranceAnimation.js.map +7 -0
- package/dist/esm/graphs/Chart/config/useGetters.js +10 -0
- package/dist/esm/graphs/Chart/config/useGetters.js.map +2 -2
- package/dist/esm/graphs/Chart/config/useInternalMargins.js +26 -6
- package/dist/esm/graphs/Chart/config/useInternalMargins.js.map +2 -2
- package/dist/esm/graphs/Chart/config/useKeyboardNavigation.js +35 -51
- package/dist/esm/graphs/Chart/config/useKeyboardNavigation.js.map +2 -2
- package/dist/esm/graphs/Chart/config/useScales.js +202 -69
- package/dist/esm/graphs/Chart/config/useScales.js.map +2 -2
- package/dist/esm/graphs/Chart/config/useValidateProps.js +53 -4
- package/dist/esm/graphs/Chart/config/useValidateProps.js.map +2 -2
- package/dist/esm/graphs/Chart/config/useValueAxisTransition.js +98 -0
- package/dist/esm/graphs/Chart/config/useValueAxisTransition.js.map +7 -0
- package/dist/esm/graphs/Chart/config/useWheelScroll.js +81 -0
- package/dist/esm/graphs/Chart/config/useWheelScroll.js.map +7 -0
- package/dist/esm/graphs/Chart/helpers/alignedTicks.js +26 -0
- package/dist/esm/graphs/Chart/helpers/alignedTicks.js.map +7 -0
- package/dist/esm/graphs/Chart/helpers/barPath.js +23 -0
- package/dist/esm/graphs/Chart/helpers/barPath.js.map +7 -0
- package/dist/esm/graphs/Chart/helpers/dataInView.js +28 -0
- package/dist/esm/graphs/Chart/helpers/dataInView.js.map +7 -0
- package/dist/esm/graphs/Chart/helpers/index.js +34 -0
- package/dist/esm/graphs/Chart/helpers/index.js.map +2 -2
- package/dist/esm/graphs/Chart/helpers/logAxis.js +14 -0
- package/dist/esm/graphs/Chart/helpers/logAxis.js.map +7 -0
- package/dist/esm/graphs/Chart/helpers/tickRotation.js +24 -0
- package/dist/esm/graphs/Chart/helpers/tickRotation.js.map +7 -0
- package/dist/esm/graphs/Chart/helpers/timeTicks.js +26 -0
- package/dist/esm/graphs/Chart/helpers/timeTicks.js.map +7 -0
- package/dist/esm/graphs/Chart/helpers/trend.js +15 -0
- package/dist/esm/graphs/Chart/helpers/trend.js.map +7 -0
- package/dist/esm/graphs/Chart/helpers/useSerieDimming.js +15 -0
- package/dist/esm/graphs/Chart/helpers/useSerieDimming.js.map +7 -0
- package/dist/esm/graphs/Chart/helpers/useUniqueData.js +15 -18
- package/dist/esm/graphs/Chart/helpers/useUniqueData.js.map +2 -2
- package/dist/esm/graphs/Chart/helpers/useVirtualizedSeries.js +12 -5
- package/dist/esm/graphs/Chart/helpers/useVirtualizedSeries.js.map +2 -2
- package/dist/esm/graphs/Chart/helpers/zeroLine.js +13 -0
- package/dist/esm/graphs/Chart/helpers/zeroLine.js.map +7 -0
- package/dist/esm/graphs/Chart/parts/A11yRegion.js +7 -1
- package/dist/esm/graphs/Chart/parts/A11yRegion.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Axis/Axis.js +40 -4
- package/dist/esm/graphs/Chart/parts/Axis/Axis.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Axis/AxisBottom.js +18 -4
- package/dist/esm/graphs/Chart/parts/Axis/AxisBottom.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Axis/AxisLeft.js +14 -6
- package/dist/esm/graphs/Chart/parts/Axis/AxisLeft.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Axis/AxisRight.js +14 -4
- package/dist/esm/graphs/Chart/parts/Axis/AxisRight.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Axis/GridLine.js +16 -2
- package/dist/esm/graphs/Chart/parts/Axis/GridLine.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Axis/Tick.js +11 -5
- package/dist/esm/graphs/Chart/parts/Axis/Tick.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Axis/useTickTransition.js +140 -0
- package/dist/esm/graphs/Chart/parts/Axis/useTickTransition.js.map +7 -0
- package/dist/esm/graphs/Chart/parts/ChartContainer.js +41 -19
- package/dist/esm/graphs/Chart/parts/ChartContainer.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/FocusableRegion.js +7 -4
- package/dist/esm/graphs/Chart/parts/FocusableRegion.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/HoverBand.js +56 -0
- package/dist/esm/graphs/Chart/parts/HoverBand.js.map +7 -0
- package/dist/esm/graphs/Chart/parts/Labels/Label.js +12 -1
- package/dist/esm/graphs/Chart/parts/Labels/Label.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Labels/index.js +12 -4
- package/dist/esm/graphs/Chart/parts/Labels/index.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Legend/BottomLegend.js +7 -4
- package/dist/esm/graphs/Chart/parts/Legend/BottomLegend.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Legend/LeftLegend.js +3 -7
- package/dist/esm/graphs/Chart/parts/Legend/LeftLegend.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Legend/LegendItem.js +91 -9
- package/dist/esm/graphs/Chart/parts/Legend/LegendItem.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Legend/RightLegend.js +4 -5
- package/dist/esm/graphs/Chart/parts/Legend/RightLegend.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Legend/TopLegend.js +9 -7
- package/dist/esm/graphs/Chart/parts/Legend/TopLegend.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Scrapper/Scrapper.js +29 -3
- package/dist/esm/graphs/Chart/parts/Scrapper/Scrapper.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Scrapper/ScrapperLine.js +83 -56
- package/dist/esm/graphs/Chart/parts/Scrapper/ScrapperLine.js.map +3 -3
- package/dist/esm/graphs/Chart/parts/Scrapper/VerticalScrapper.js +14 -6
- package/dist/esm/graphs/Chart/parts/Scrapper/VerticalScrapper.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Scrapper/VerticalScrapperLine.js +68 -44
- package/dist/esm/graphs/Chart/parts/Scrapper/VerticalScrapperLine.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/ScreenReaderText.js +18 -0
- package/dist/esm/graphs/Chart/parts/ScreenReaderText.js.map +7 -0
- package/dist/esm/graphs/Chart/parts/Scroller/BlurMask.js +14 -9
- package/dist/esm/graphs/Chart/parts/Scroller/BlurMask.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Scroller/Controllers.js +154 -51
- package/dist/esm/graphs/Chart/parts/Scroller/Controllers.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Scroller/ScrollBarX.js +22 -6
- package/dist/esm/graphs/Chart/parts/Scroller/ScrollBarX.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Scroller/ScrollBarY.js +13 -6
- package/dist/esm/graphs/Chart/parts/Scroller/ScrollBarY.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Scroller/ScrollableContainerX.js +43 -36
- package/dist/esm/graphs/Chart/parts/Scroller/ScrollableContainerX.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/Scroller/ScrollableContainerY.js +10 -5
- package/dist/esm/graphs/Chart/parts/Scroller/ScrollableContainerY.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/SeriesFactory.js +40 -31
- package/dist/esm/graphs/Chart/parts/SeriesFactory.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/TrendHighlight.js +58 -20
- package/dist/esm/graphs/Chart/parts/TrendHighlight.js.map +2 -2
- package/dist/esm/graphs/Chart/parts/ZeroLine.js +36 -0
- package/dist/esm/graphs/Chart/parts/ZeroLine.js.map +7 -0
- package/dist/esm/graphs/Chart/scales/index.js +51 -21
- package/dist/esm/graphs/Chart/scales/index.js.map +3 -3
- package/dist/esm/graphs/Chart/series/Area.js +77 -10
- package/dist/esm/graphs/Chart/series/Area.js.map +2 -2
- package/dist/esm/graphs/Chart/series/Bars.js +3 -1
- package/dist/esm/graphs/Chart/series/Bars.js.map +2 -2
- package/dist/esm/graphs/Chart/series/HorizontalBars.js +4 -1
- package/dist/esm/graphs/Chart/series/HorizontalBars.js.map +2 -2
- package/dist/esm/graphs/Chart/series/HorizontalStackedBars.js +15 -8
- package/dist/esm/graphs/Chart/series/HorizontalStackedBars.js.map +2 -2
- package/dist/esm/graphs/Chart/series/Line.js +9 -7
- package/dist/esm/graphs/Chart/series/Line.js.map +2 -2
- package/dist/esm/graphs/Chart/series/Point.js +120 -130
- package/dist/esm/graphs/Chart/series/Point.js.map +3 -3
- package/dist/esm/graphs/Chart/series/Points.js +8 -2
- package/dist/esm/graphs/Chart/series/Points.js.map +2 -2
- package/dist/esm/graphs/Chart/series/Rect.js +134 -123
- package/dist/esm/graphs/Chart/series/Rect.js.map +3 -3
- package/dist/esm/graphs/Chart/series/StackedBar.js +15 -7
- package/dist/esm/graphs/Chart/series/StackedBar.js.map +2 -2
- package/dist/esm/graphs/Chart/styles.js +66 -35
- package/dist/esm/graphs/Chart/styles.js.map +2 -2
- package/dist/esm/graphs/constants.js +25 -10
- package/dist/esm/graphs/constants.js.map +2 -2
- package/dist/esm/index.js +19 -7
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/react-desc-prop-types.js +125 -0
- package/dist/esm/react-desc-prop-types.js.map +7 -0
- package/dist/esm/typescript-testing/slot-props.js +46 -0
- package/dist/esm/typescript-testing/slot-props.js.map +7 -0
- package/dist/esm/typescript-testing/typescript-data-viz-valid.js +35 -3
- package/dist/esm/typescript-testing/typescript-data-viz-valid.js.map +2 -2
- package/dist/esm/typescript-testing/typescript-single-stacked-bar-valid.js +70 -0
- package/dist/esm/typescript-testing/typescript-single-stacked-bar-valid.js.map +7 -0
- package/dist/types/constants/index.d.ts +42 -0
- package/dist/types/graphs/Chart/Chart.d.ts +4 -2
- package/dist/types/graphs/Chart/ChartContext.d.ts +9 -11
- package/dist/types/graphs/Chart/SingleStackedBar/SingleStackedBar.d.ts +1 -1
- package/dist/types/graphs/Chart/config/chartInteractionStore.d.ts +32 -0
- package/dist/types/graphs/Chart/config/useChart.d.ts +9 -11
- package/dist/types/graphs/Chart/config/useChartDescription.d.ts +5 -0
- package/dist/types/graphs/Chart/config/useEntranceAnimation.d.ts +16 -0
- package/dist/types/graphs/Chart/config/useGetters.d.ts +1 -1
- package/dist/types/graphs/Chart/config/useInternalMargins.d.ts +4 -1
- package/dist/types/graphs/Chart/config/useKeyboardNavigation.d.ts +1 -1
- package/dist/types/graphs/Chart/config/useScales.d.ts +8 -2
- package/dist/types/graphs/Chart/config/useValidateProps.d.ts +7 -1
- package/dist/types/graphs/Chart/config/useValueAxisTransition.d.ts +6 -0
- package/dist/types/graphs/Chart/config/useWheelScroll.d.ts +2 -0
- package/dist/types/graphs/Chart/helpers/alignedTicks.d.ts +1 -0
- package/dist/types/graphs/Chart/helpers/barPath.d.ts +11 -0
- package/dist/types/graphs/Chart/helpers/dataInView.d.ts +6 -0
- package/dist/types/graphs/Chart/helpers/index.d.ts +10 -1
- package/dist/types/graphs/Chart/helpers/logAxis.d.ts +8 -0
- package/dist/types/graphs/Chart/helpers/tickRotation.d.ts +2 -0
- package/dist/types/graphs/Chart/helpers/timeTicks.d.ts +2 -0
- package/dist/types/graphs/Chart/helpers/trend.d.ts +3 -0
- package/dist/types/graphs/Chart/helpers/useSerieDimming.d.ts +3 -0
- package/dist/types/graphs/Chart/helpers/useUniqueData.d.ts +1 -1
- package/dist/types/graphs/Chart/helpers/useVirtualizedSeries.d.ts +1 -1
- package/dist/types/graphs/Chart/helpers/zeroLine.d.ts +2 -0
- package/dist/types/graphs/Chart/parts/Axis/Axis.d.ts +4 -1
- package/dist/types/graphs/Chart/parts/Axis/Tick.d.ts +1 -0
- package/dist/types/graphs/Chart/parts/Axis/useTickTransition.d.ts +24 -0
- package/dist/types/graphs/Chart/parts/HoverBand.d.ts +2 -0
- package/dist/types/graphs/Chart/parts/Labels/Label.d.ts +3 -0
- package/dist/types/graphs/Chart/parts/Scrapper/ScrapperLine.d.ts +11 -1
- package/dist/types/graphs/Chart/parts/Scrapper/VerticalScrapperLine.d.ts +6 -7
- package/dist/types/graphs/Chart/parts/ScreenReaderText.d.ts +5 -0
- package/dist/types/graphs/Chart/parts/TrendHighlight.d.ts +3 -2
- package/dist/types/graphs/Chart/parts/ZeroLine.d.ts +2 -0
- package/dist/types/graphs/Chart/scales/index.d.ts +10 -3
- package/dist/types/graphs/Chart/series/Area.d.ts +1 -1
- package/dist/types/graphs/Chart/series/Bars.d.ts +1 -1
- package/dist/types/graphs/Chart/series/HorizontalBars.d.ts +1 -1
- package/dist/types/graphs/Chart/series/HorizontalStackedBars.d.ts +1 -1
- package/dist/types/graphs/Chart/series/Line.d.ts +1 -1
- package/dist/types/graphs/Chart/series/Point.d.ts +3 -2
- package/dist/types/graphs/Chart/series/Points.d.ts +1 -1
- package/dist/types/graphs/Chart/series/Rect.d.ts +3 -2
- package/dist/types/graphs/Chart/series/StackedBar.d.ts +1 -1
- package/dist/types/graphs/Chart/styles.d.ts +18 -5
- package/dist/types/graphs/constants.d.ts +13 -1
- package/dist/types/index.d.ts +6 -1
- package/dist/types/react-desc-prop-types.d.ts +228 -0
- package/package.json +8 -7
- package/dist/cjs/graphs/Chart/DataTestIds.js.map +0 -7
- package/dist/cjs/graphs/Chart/SingleStackedBar/exported-related/data-test-ids.js.map +0 -7
- package/dist/cjs/graphs/Chart/SingleStackedBar/exported-related/index.js.map +0 -7
- package/dist/cjs/graphs/Chart/SingleStackedBar/exported-related/theming.js.map +0 -7
- package/dist/cjs/graphs/Chart/SingleStackedBar/index.js +0 -31
- package/dist/cjs/graphs/Chart/SingleStackedBar/index.js.map +0 -7
- package/dist/cjs/graphs/Chart/SingleStackedBar/react-desc-prop-types.js +0 -51
- package/dist/cjs/graphs/Chart/SingleStackedBar/react-desc-prop-types.js.map +0 -7
- package/dist/cjs/graphs/Chart/index.js +0 -33
- package/dist/cjs/graphs/Chart/index.js.map +0 -7
- package/dist/cjs/graphs/Chart/react-desc-prop-types.js.map +0 -7
- package/dist/cjs/graphs/index.js +0 -31
- package/dist/cjs/graphs/index.js.map +0 -7
- package/dist/esm/graphs/Chart/DataTestIds.js +0 -10
- package/dist/esm/graphs/Chart/DataTestIds.js.map +0 -7
- package/dist/esm/graphs/Chart/SingleStackedBar/exported-related/data-test-ids.js +0 -8
- package/dist/esm/graphs/Chart/SingleStackedBar/exported-related/data-test-ids.js.map +0 -7
- package/dist/esm/graphs/Chart/SingleStackedBar/exported-related/index.js +0 -4
- package/dist/esm/graphs/Chart/SingleStackedBar/exported-related/index.js.map +0 -7
- package/dist/esm/graphs/Chart/SingleStackedBar/exported-related/theming.js +0 -10
- package/dist/esm/graphs/Chart/SingleStackedBar/exported-related/theming.js.map +0 -7
- package/dist/esm/graphs/Chart/SingleStackedBar/index.js +0 -4
- package/dist/esm/graphs/Chart/SingleStackedBar/index.js.map +0 -7
- package/dist/esm/graphs/Chart/SingleStackedBar/react-desc-prop-types.js +0 -21
- package/dist/esm/graphs/Chart/SingleStackedBar/react-desc-prop-types.js.map +0 -7
- package/dist/esm/graphs/Chart/index.js +0 -6
- package/dist/esm/graphs/Chart/index.js.map +0 -7
- package/dist/esm/graphs/Chart/react-desc-prop-types.js +0 -29
- package/dist/esm/graphs/Chart/react-desc-prop-types.js.map +0 -7
- package/dist/esm/graphs/index.js +0 -4
- package/dist/esm/graphs/index.js.map +0 -7
- package/dist/types/graphs/Chart/DataTestIds.d.ts +0 -5
- package/dist/types/graphs/Chart/SingleStackedBar/exported-related/data-test-ids.d.ts +0 -3
- package/dist/types/graphs/Chart/SingleStackedBar/exported-related/index.d.ts +0 -2
- package/dist/types/graphs/Chart/SingleStackedBar/exported-related/theming.d.ts +0 -4
- package/dist/types/graphs/Chart/SingleStackedBar/index.d.ts +0 -3
- package/dist/types/graphs/Chart/SingleStackedBar/react-desc-prop-types.d.ts +0 -44
- package/dist/types/graphs/Chart/index.d.ts +0 -4
- package/dist/types/graphs/Chart/react-desc-prop-types.d.ts +0 -510
- package/dist/types/graphs/index.d.ts +0 -2
|
@@ -33,142 +33,129 @@ __export(Point_exports, {
|
|
|
33
33
|
module.exports = __toCommonJS(Point_exports);
|
|
34
34
|
var React = __toESM(require("react"));
|
|
35
35
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
36
|
-
var import_react = require("react");
|
|
36
|
+
var import_react = __toESM(require("react"));
|
|
37
|
+
var import_ds_system = require("@elliemae/ds-system");
|
|
37
38
|
var import_ChartContext = require("../ChartContext.js");
|
|
39
|
+
var import_chartInteractionStore = require("../config/chartInteractionStore.js");
|
|
38
40
|
var import_constants = require("../../constants.js");
|
|
39
41
|
var import_FocusableRegion = require("../parts/FocusableRegion.js");
|
|
40
|
-
var
|
|
41
|
-
var
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
y,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
return
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
return
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"aria-label": `${datum.serie} ${xAxis.label || ""} ${xValueFormatted} ${finalYAxis?.label || ""} ${yValueFormatted}`,
|
|
87
|
-
role: "img"
|
|
88
|
-
};
|
|
89
|
-
if (import_constants.LINE.POINT_STYLE.DIAMOND === pointStyle) {
|
|
90
|
-
const squareEdge = pointRadius * 2;
|
|
91
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { transform: "rotate(45)", children: [
|
|
92
|
-
isFocused ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
93
|
-
"rect",
|
|
94
|
-
{
|
|
95
|
-
x: -pointRadius - import_constants.FOCUS_RING.STROKE_WIDTH,
|
|
96
|
-
y: -pointRadius - import_constants.FOCUS_RING.STROKE_WIDTH,
|
|
97
|
-
width: squareEdge + import_constants.FOCUS_RING.STROKE_WIDTH * 2,
|
|
98
|
-
height: squareEdge + import_constants.FOCUS_RING.STROKE_WIDTH * 2,
|
|
99
|
-
fill: "none",
|
|
100
|
-
stroke: import_constants.FOCUS_RING.COLOR,
|
|
101
|
-
strokeWidth: import_constants.FOCUS_RING.STROKE_WIDTH
|
|
42
|
+
var import_styles = require("../styles.js");
|
|
43
|
+
var import_helpers = require("../helpers/index.js");
|
|
44
|
+
var import_trend = require("../helpers/trend.js");
|
|
45
|
+
const Point = import_react.default.memo(
|
|
46
|
+
({ x, y, xValue, yValue, name, pointStyle, pointRadius, id, opacity, datum, previousDatum }) => {
|
|
47
|
+
const {
|
|
48
|
+
getXScaleValue,
|
|
49
|
+
getYValue,
|
|
50
|
+
getYValueFormatted,
|
|
51
|
+
getXValueFormatted,
|
|
52
|
+
setActivePoint,
|
|
53
|
+
getOwnerProps,
|
|
54
|
+
containerRef,
|
|
55
|
+
props: { scrapper, TooltipRenderer, withTrendHighlight, y2Axis, yAxis, xAxis }
|
|
56
|
+
} = (0, import_react.useContext)(import_ChartContext.ChartContext);
|
|
57
|
+
const theme = (0, import_react.useContext)(import_ds_system.ThemeContext);
|
|
58
|
+
const surfaceColor = theme?.colors?.neutral?.["000"] ?? "#FFFFFF";
|
|
59
|
+
const focusRingColor = theme?.colors?.brand?.["700"] ?? import_constants.FOCUS_RING.COLOR;
|
|
60
|
+
const finalYAxis = datum.scale === "y2" ? y2Axis : yAxis;
|
|
61
|
+
const yValueFormatted = getYValueFormatted(datum);
|
|
62
|
+
const xValueFormatted = getXValueFormatted(datum);
|
|
63
|
+
const trendLabel = withTrendHighlight && previousDatum ? (0, import_trend.getTrendLabel)(
|
|
64
|
+
getYValue(previousDatum),
|
|
65
|
+
getYValue(datum),
|
|
66
|
+
getXValueFormatted(previousDatum) ?? ""
|
|
67
|
+
) : null;
|
|
68
|
+
const isActivePoint = (0, import_chartInteractionStore.useChartInteraction)((state) => state.activePoint?.key === id);
|
|
69
|
+
const isUnderScrapper = (0, import_chartInteractionStore.useChartInteraction)((state) => {
|
|
70
|
+
if (scrapper?.type === import_constants.SCRAPPER.TYPE_HORIZONTAL) return y === (0, import_chartInteractionStore.getPointerScrapperPosY)(state);
|
|
71
|
+
if (scrapper?.type === import_constants.SCRAPPER.TYPE_VERTICAL)
|
|
72
|
+
return x === (state.activePoint ? getXScaleValue(state.activePoint) : (0, import_chartInteractionStore.getPointerScrapperPosX)(state));
|
|
73
|
+
return false;
|
|
74
|
+
});
|
|
75
|
+
const isFocused = isActivePoint || isUnderScrapper;
|
|
76
|
+
const point = (0, import_react.useMemo)(() => {
|
|
77
|
+
const radius = pointRadius || (isFocused ? import_constants.LINE.DEFAULT_POINT_RADIUS : 0);
|
|
78
|
+
const ringProps = { stroke: surfaceColor, strokeWidth: import_constants.MARKS.MARKER_RING * 2, paintOrder: "stroke" };
|
|
79
|
+
const focusRingProps = { fill: "none", stroke: focusRingColor, strokeWidth: import_constants.FOCUS_RING.STROKE_WIDTH };
|
|
80
|
+
const focusDistance = import_constants.MARKS.MARKER_RING + import_constants.FOCUS_RING.STROKE_WIDTH / 2;
|
|
81
|
+
const commonProps = {
|
|
82
|
+
tabIndex: -1,
|
|
83
|
+
ref: (_ref) => {
|
|
84
|
+
if (isActivePoint && containerRef?.contains(document.activeElement)) {
|
|
85
|
+
_ref?.focus();
|
|
102
86
|
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
87
|
+
},
|
|
88
|
+
"aria-label": [
|
|
89
|
+
(0, import_helpers.getDatumLabel)([datum.serie, xAxis.label, xValueFormatted, finalYAxis?.label, yValueFormatted]),
|
|
90
|
+
trendLabel
|
|
91
|
+
].filter(Boolean).join(", "),
|
|
92
|
+
role: "img"
|
|
93
|
+
};
|
|
94
|
+
if (import_constants.LINE.POINT_STYLE.DIAMOND === pointStyle || import_constants.LINE.POINT_STYLE.SQUARE === pointStyle) {
|
|
95
|
+
const squareEdge = radius * 2;
|
|
96
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { transform: import_constants.LINE.POINT_STYLE.DIAMOND === pointStyle ? "rotate(45)" : void 0, children: [
|
|
97
|
+
isFocused ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
98
|
+
"rect",
|
|
99
|
+
{
|
|
100
|
+
x: -radius - focusDistance,
|
|
101
|
+
y: -radius - focusDistance,
|
|
102
|
+
width: squareEdge + focusDistance * 2,
|
|
103
|
+
height: squareEdge + focusDistance * 2,
|
|
104
|
+
rx: 1 + focusDistance,
|
|
105
|
+
...focusRingProps
|
|
106
|
+
}
|
|
107
|
+
) : null,
|
|
108
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
109
|
+
"rect",
|
|
110
|
+
{
|
|
111
|
+
...commonProps,
|
|
112
|
+
...ringProps,
|
|
113
|
+
x: -radius,
|
|
114
|
+
y: -radius,
|
|
115
|
+
width: squareEdge,
|
|
116
|
+
height: squareEdge,
|
|
117
|
+
rx: 1
|
|
118
|
+
}
|
|
119
|
+
)
|
|
120
|
+
] });
|
|
121
|
+
}
|
|
109
122
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
|
110
|
-
isFocused ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
111
|
-
|
|
112
|
-
{
|
|
113
|
-
x: -pointRadius - import_constants.FOCUS_RING.STROKE_WIDTH,
|
|
114
|
-
y: -pointRadius - import_constants.FOCUS_RING.STROKE_WIDTH,
|
|
115
|
-
width: squareEdge + import_constants.FOCUS_RING.STROKE_WIDTH * 2,
|
|
116
|
-
height: squareEdge + import_constants.FOCUS_RING.STROKE_WIDTH * 2,
|
|
117
|
-
fill: "none",
|
|
118
|
-
stroke: import_constants.FOCUS_RING.COLOR,
|
|
119
|
-
strokeWidth: import_constants.FOCUS_RING.STROKE_WIDTH
|
|
120
|
-
}
|
|
121
|
-
) : null,
|
|
122
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { ...commonProps, x: -pointRadius, y: -pointRadius, width: squareEdge, height: squareEdge })
|
|
123
|
+
isFocused ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { r: radius + focusDistance, ...focusRingProps }) : null,
|
|
124
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { ...commonProps, ...ringProps, r: radius, opacity })
|
|
123
125
|
] });
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
opacity,
|
|
149
|
-
pointRadius,
|
|
150
|
-
pointStyle,
|
|
151
|
-
xAxis.label,
|
|
152
|
-
xValueFormatted,
|
|
153
|
-
yValueFormatted
|
|
154
|
-
]);
|
|
155
|
-
const handleMouseEnter = (0, import_react.useCallback)(() => {
|
|
156
|
-
if (!scrapper) setActivePoint(datum);
|
|
157
|
-
}, [datum, scrapper, setActivePoint]);
|
|
158
|
-
const handleOnMouseLeave = (0, import_react.useCallback)(() => {
|
|
159
|
-
if (!scrapper) setActivePoint(null);
|
|
160
|
-
}, [scrapper, setActivePoint]);
|
|
161
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
162
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
163
|
-
"g",
|
|
126
|
+
}, [
|
|
127
|
+
datum.serie,
|
|
128
|
+
finalYAxis?.label,
|
|
129
|
+
isActivePoint,
|
|
130
|
+
isFocused,
|
|
131
|
+
opacity,
|
|
132
|
+
pointRadius,
|
|
133
|
+
pointStyle,
|
|
134
|
+
xAxis.label,
|
|
135
|
+
xValueFormatted,
|
|
136
|
+
yValueFormatted,
|
|
137
|
+
trendLabel,
|
|
138
|
+
surfaceColor,
|
|
139
|
+
focusRingColor,
|
|
140
|
+
containerRef
|
|
141
|
+
]);
|
|
142
|
+
const handleMouseEnter = (0, import_react.useCallback)(() => {
|
|
143
|
+
if (!scrapper) setActivePoint(datum);
|
|
144
|
+
}, [datum, scrapper, setActivePoint]);
|
|
145
|
+
const handleOnMouseLeave = (0, import_react.useCallback)(() => {
|
|
146
|
+
if (!scrapper) setActivePoint(null);
|
|
147
|
+
}, [scrapper, setActivePoint]);
|
|
148
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
149
|
+
import_styles.StyledPointGroup,
|
|
164
150
|
{
|
|
165
|
-
"data-testid": import_DataTestIds.DataVizDataTestIds.POINT,
|
|
166
151
|
onMouseEnter: handleMouseEnter,
|
|
167
152
|
onMouseLeave: handleOnMouseLeave,
|
|
168
153
|
transform: `translate(${x},${y})`,
|
|
154
|
+
getOwnerProps,
|
|
155
|
+
getOwnerPropsArguments: () => ({ datum }),
|
|
169
156
|
children: [
|
|
170
157
|
point,
|
|
171
|
-
|
|
158
|
+
isActivePoint && TooltipRenderer && !scrapper ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
172
159
|
import_FocusableRegion.FocusableRegion,
|
|
173
160
|
{
|
|
174
161
|
id,
|
|
@@ -180,8 +167,7 @@ const Point = ({
|
|
|
180
167
|
) : null
|
|
181
168
|
]
|
|
182
169
|
}
|
|
183
|
-
)
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
};
|
|
170
|
+
);
|
|
171
|
+
}
|
|
172
|
+
);
|
|
187
173
|
//# sourceMappingURL=Point.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/graphs/Chart/series/Point.tsx", "../../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable complexity */\nimport React, { useContext, useCallback, useMemo } from 'react';\nimport { ChartContext } from '../ChartContext.js';\nimport { FOCUS_RING, SCRAPPER, LINE } from '../../constants.js';\nimport { FocusableRegion } from '../parts/FocusableRegion.js';\nimport {
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
|
6
|
-
"names": []
|
|
4
|
+
"sourcesContent": ["/* eslint-disable complexity */\nimport React, { useContext, useCallback, useMemo } from 'react';\nimport { ThemeContext } from '@elliemae/ds-system';\nimport { ChartContext } from '../ChartContext.js';\nimport {\n getPointerScrapperPosX,\n getPointerScrapperPosY,\n useChartInteraction,\n} from '../config/chartInteractionStore.js';\nimport { FOCUS_RING, SCRAPPER, LINE, MARKS } from '../../constants.js';\nimport { FocusableRegion } from '../parts/FocusableRegion.js';\nimport { StyledPointGroup } from '../styles.js';\nimport { getDatumLabel } from '../helpers/index.js';\nimport { getTrendLabel } from '../helpers/trend.js';\nimport type { DSChartT } from '../../../react-desc-prop-types.js';\ninterface PointProps {\n x: number;\n y: number;\n xValue: number;\n yValue: number;\n name: string;\n pointStyle: string;\n pointRadius: number;\n id: string;\n opacity: number;\n datum: DSChartT.InternalDatum;\n // the point of the series before this one, on a line or an area\n previousDatum?: DSChartT.InternalDatum;\n color: string;\n}\n\n// Memoized: a scrollable chart renders the points in view, and when its window moves (every quarter of the view) the\n// series render again with the points of the new window. The points that stay in it keep their props (the same datum,\n// the same position), so they skip the render: without the memo a window step rendered every point again, about 800\n// of them and 60 to 90ms on two years of daily data, a stutter of the wheel scroll every few steps.\nexport const Point = React.memo<PointProps>(\n ({ x, y, xValue, yValue, name, pointStyle, pointRadius, id, opacity, datum, previousDatum }) => {\n const {\n getXScaleValue,\n getYValue,\n getYValueFormatted,\n getXValueFormatted,\n setActivePoint,\n getOwnerProps,\n containerRef,\n props: { scrapper, TooltipRenderer, withTrendHighlight, y2Axis, yAxis, xAxis },\n } = useContext(ChartContext);\n const theme = useContext(ThemeContext);\n const surfaceColor = theme?.colors?.neutral?.['000'] ?? '#FFFFFF';\n const focusRingColor = theme?.colors?.brand?.['700'] ?? FOCUS_RING.COLOR;\n const finalYAxis = datum.scale === 'y2' ? y2Axis : yAxis;\n const yValueFormatted = getYValueFormatted(datum);\n const xValueFormatted = getXValueFormatted(datum);\n // with withTrendHighlight a screen reader hears the change the highlight shows: \"up 13 from Tuesday\"\n const trendLabel =\n withTrendHighlight && previousDatum\n ? getTrendLabel(\n getYValue(previousDatum) as number,\n getYValue(datum) as number,\n getXValueFormatted(previousDatum) ?? '',\n )\n : null;\n // its own slices of the hover state: a hover re-renders this point only when it becomes active (as the active point\n // or under the scrapper line) or stops being so\n const isActivePoint = useChartInteraction((state) => state.activePoint?.key === id);\n // a vertical scrapper follows the active point of the keyboard, and the pointer otherwise (see VerticalScrapper)\n const isUnderScrapper = useChartInteraction((state) => {\n if (scrapper?.type === SCRAPPER.TYPE_HORIZONTAL) return y === getPointerScrapperPosY(state);\n if (scrapper?.type === SCRAPPER.TYPE_VERTICAL)\n return x === (state.activePoint ? getXScaleValue(state.activePoint) : getPointerScrapperPosX(state));\n return false;\n });\n const isFocused = isActivePoint || isUnderScrapper;\n\n const point = useMemo(() => {\n // a focused point is drawn even on the series that hide their points\n const radius = pointRadius || (isFocused ? LINE.DEFAULT_POINT_RADIUS : 0);\n // the surface ring keeps a marker legible where it crosses a line or another marker; painted under the fill\n const ringProps = { stroke: surfaceColor, strokeWidth: MARKS.MARKER_RING * 2, paintOrder: 'stroke' };\n const focusRingProps = { fill: 'none', stroke: focusRingColor, strokeWidth: FOCUS_RING.STROKE_WIDTH };\n // the focus ring sits right outside the surface ring\n const focusDistance = MARKS.MARKER_RING + FOCUS_RING.STROKE_WIDTH / 2;\n const commonProps = {\n tabIndex: -1,\n ref: (_ref: SVGElement | null) => {\n // the keyboard focus follows the active point only while it is already in the chart: hovering a point must not\n // pull the focus away from the rest of the page, and the other points the scrapper lights do not take it\n if (isActivePoint && containerRef?.contains(document.activeElement)) {\n _ref?.focus();\n }\n },\n 'aria-label': [\n getDatumLabel([datum.serie, xAxis.label, xValueFormatted, finalYAxis?.label, yValueFormatted]),\n trendLabel,\n ]\n .filter(Boolean)\n .join(', '),\n role: 'img',\n };\n if (LINE.POINT_STYLE.DIAMOND === pointStyle || LINE.POINT_STYLE.SQUARE === pointStyle) {\n const squareEdge = radius * 2;\n return (\n <g transform={LINE.POINT_STYLE.DIAMOND === pointStyle ? 'rotate(45)' : undefined}>\n {isFocused ? (\n <rect\n x={-radius - focusDistance}\n y={-radius - focusDistance}\n width={squareEdge + focusDistance * 2}\n height={squareEdge + focusDistance * 2}\n rx={1 + focusDistance}\n {...focusRingProps}\n ></rect>\n ) : null}\n <rect\n {...commonProps}\n {...ringProps}\n x={-radius}\n y={-radius}\n width={squareEdge}\n height={squareEdge}\n rx={1}\n ></rect>\n </g>\n );\n }\n\n return (\n <g>\n {isFocused ? <circle r={radius + focusDistance} {...focusRingProps}></circle> : null}\n <circle {...commonProps} {...ringProps} r={radius} opacity={opacity}></circle>\n </g>\n );\n }, [\n datum.serie,\n finalYAxis?.label,\n isActivePoint,\n isFocused,\n opacity,\n pointRadius,\n pointStyle,\n xAxis.label,\n xValueFormatted,\n yValueFormatted,\n trendLabel,\n surfaceColor,\n focusRingColor,\n containerRef,\n ]);\n\n const handleMouseEnter = useCallback(() => {\n if (!scrapper) setActivePoint(datum);\n }, [datum, scrapper, setActivePoint]);\n\n const handleOnMouseLeave = useCallback(() => {\n if (!scrapper) setActivePoint(null);\n }, [scrapper, setActivePoint]);\n return (\n <StyledPointGroup\n onMouseEnter={handleMouseEnter}\n onMouseLeave={handleOnMouseLeave}\n transform={`translate(${x},${y})`}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={() => ({ datum })}\n >\n {point}\n {/* with a scrapper, its tooltip shows every series of the position, this one included */}\n {isActivePoint && TooltipRenderer && !scrapper ? (\n <FocusableRegion\n id={id}\n width={(pointRadius ?? 3) * 4}\n height={(pointRadius ?? 3) * 4}\n style={{ transform: `translate(-${pointRadius ?? 3}px, -${pointRadius ?? 3}px)` }}\n content={<TooltipRenderer data={[{ name, yValue, xValue, datum }]} />}\n />\n ) : null}\n </StyledPointGroup>\n );\n },\n);\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADsGb;AArGV,mBAAwD;AACxD,uBAA6B;AAC7B,0BAA6B;AAC7B,mCAIO;AACP,uBAAkD;AAClD,6BAAgC;AAChC,oBAAiC;AACjC,qBAA8B;AAC9B,mBAA8B;AAsBvB,MAAM,QAAQ,aAAAA,QAAM;AAAA,EACzB,CAAC,EAAE,GAAG,GAAG,QAAQ,QAAQ,MAAM,YAAY,aAAa,IAAI,SAAS,OAAO,cAAc,MAAM;AAC9F,UAAM;AAAA,MACJ;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,OAAO,EAAE,UAAU,iBAAiB,oBAAoB,QAAQ,OAAO,MAAM;AAAA,IAC/E,QAAI,yBAAW,gCAAY;AAC3B,UAAM,YAAQ,yBAAW,6BAAY;AACrC,UAAM,eAAe,OAAO,QAAQ,UAAU,KAAK,KAAK;AACxD,UAAM,iBAAiB,OAAO,QAAQ,QAAQ,KAAK,KAAK,4BAAW;AACnE,UAAM,aAAa,MAAM,UAAU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AA,QAC9B;AAAA,QACA,wBAAwB,OAAO,EAAE,MAAM;AAAA,QAEtC;AAAA;AAAA,UAEA,iBAAiB,mBAAmB,CAAC,WACpC;AAAA,YAAC;AAAA;AAAA,cACC;AAAA,cACA,QAAQ,eAAe,KAAK;AAAA,cAC5B,SAAS,eAAe,KAAK;AAAA,cAC7B,OAAO,EAAE,WAAW,cAAc,eAAe,CAAC,QAAQ,eAAe,CAAC,MAAM;AAAA,cAChF,SAAS,4CAAC,mBAAgB,MAAM,CAAC,EAAE,MAAM,QAAQ,QAAQ,MAAM,CAAC,GAAG;AAAA;AAAA,UACrE,IACE;AAAA;AAAA;AAAA,IACN;AAAA,EAEJ;AACF;",
|
|
6
|
+
"names": ["React"]
|
|
7
7
|
}
|
|
@@ -36,6 +36,7 @@ var import_jsx_runtime = require("react/jsx-runtime");
|
|
|
36
36
|
var import_react = require("react");
|
|
37
37
|
var import_Point = require("./Point.js");
|
|
38
38
|
var import_ChartContext = require("../ChartContext.js");
|
|
39
|
+
var import_useSerieDimming = require("../helpers/useSerieDimming.js");
|
|
39
40
|
var import_helpers = require("../helpers/index.js");
|
|
40
41
|
const Points = ({ serie }) => {
|
|
41
42
|
const {
|
|
@@ -50,8 +51,12 @@ const Points = ({ serie }) => {
|
|
|
50
51
|
} = (0, import_react.useContext)(import_ChartContext.ChartContext);
|
|
51
52
|
const finalYScale = serie.scale === "y2" ? getY2ScaleValue : getYScaleValue;
|
|
52
53
|
const opacity = (0, import_react.useMemo)(() => types === "scatter" ? 0.8 : 1, [types]);
|
|
54
|
+
const isPointSerie = serie.type === "point" || types === "scatter" && !serie.type;
|
|
55
|
+
const dimmedStyle = (0, import_useSerieDimming.useSerieDimming)(serie.name);
|
|
56
|
+
const rootStyle = isPointSerie ? dimmedStyle : void 0;
|
|
57
|
+
const hasTrend = serie.type === "line" || serie.type === "area";
|
|
53
58
|
return (0, import_react.useMemo)(
|
|
54
|
-
() => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("g", { fill: colorScale(serie.name), children: serie.data.map((point, i) => {
|
|
59
|
+
() => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("g", { fill: colorScale(serie.name), style: rootStyle, children: serie.data.map((point, i) => {
|
|
55
60
|
const { pointRadius = 0, pointStyle = "" } = serie;
|
|
56
61
|
const serieWithStackedValues = (0, import_helpers.getStackedData)(stackedData, serie);
|
|
57
62
|
const deltaY = serieWithStackedValues ? serieWithStackedValues[i][0] : 0;
|
|
@@ -72,12 +77,13 @@ const Points = ({ serie }) => {
|
|
|
72
77
|
pointStyle,
|
|
73
78
|
name: serie.name,
|
|
74
79
|
datum: point,
|
|
80
|
+
previousDatum: hasTrend ? serie.data[i - 1] : void 0,
|
|
75
81
|
color: colorScale(serie.name)
|
|
76
82
|
},
|
|
77
83
|
`${point.key}-p`
|
|
78
84
|
);
|
|
79
85
|
}) }),
|
|
80
|
-
[colorScale, finalYScale, getXScaleValue, getXValue, getYValue, opacity, serie, stackedData]
|
|
86
|
+
[colorScale, finalYScale, getXScaleValue, getXValue, getYValue, hasTrend, opacity, rootStyle, serie, stackedData]
|
|
81
87
|
);
|
|
82
88
|
};
|
|
83
89
|
//# sourceMappingURL=Points.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/graphs/Chart/series/Points.tsx", "../../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable complexity */\nimport React, { useMemo, useContext } from 'react';\nimport { Point } from './Point.js';\nimport { ChartContext } from '../ChartContext.js';\nimport { getStackedData } from '../helpers/index.js';\nimport type { DSChartT } from '
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
|
4
|
+
"sourcesContent": ["/* eslint-disable complexity */\nimport React, { useMemo, useContext } from 'react';\nimport { Point } from './Point.js';\nimport { ChartContext } from '../ChartContext.js';\nimport { useSerieDimming } from '../helpers/useSerieDimming.js';\nimport { getStackedData } from '../helpers/index.js';\nimport type { DSChartT } from '../../../react-desc-prop-types.js';\n\nexport const Points: React.ComponentType<DSChartT.SerieComponentT> = ({ serie }) => {\n const {\n colorScale,\n getXValue,\n getYValue,\n getY2ScaleValue,\n getYScaleValue,\n getXScaleValue,\n stackedData,\n props: { types },\n } = useContext(ChartContext);\n const finalYScale = serie.scale === 'y2' ? getY2ScaleValue : getYScaleValue;\n\n const opacity = useMemo(() => (types === 'scatter' ? 0.8 : 1), [types]);\n // the points of a line or an area step back with the root of their series; a point series dims its own root\n const isPointSerie = serie.type === 'point' || (types === 'scatter' && !serie.type);\n const dimmedStyle = useSerieDimming(serie.name);\n const rootStyle = isPointSerie ? dimmedStyle : undefined;\n const hasTrend = serie.type === 'line' || serie.type === 'area';\n return useMemo(\n () => (\n <g fill={colorScale(serie.name) as string} style={rootStyle}>\n {serie.data.map((point, i) => {\n const { pointRadius = 0, pointStyle = '' } = serie;\n // we need to recalculate the height with stacked data if is an AREA STACKED ELEMENT\n const serieWithStackedValues = getStackedData(stackedData, serie);\n const deltaY = serieWithStackedValues ? serieWithStackedValues[i][0] : 0;\n const x = getXValue(point) as number;\n const y = getYValue(point) as number;\n const xPosition = getXScaleValue(point) ?? 0;\n const yPosition = finalYScale(y + deltaY);\n return (\n <Point\n pointRadius={pointRadius}\n id={point.key}\n opacity={opacity}\n x={xPosition}\n y={yPosition}\n xValue={x}\n yValue={y}\n pointStyle={pointStyle}\n name={serie.name}\n datum={point}\n // the point the line comes from, for the change a screen reader hears with withTrendHighlight\n previousDatum={hasTrend ? serie.data[i - 1] : undefined}\n key={`${point.key}-p`}\n color={colorScale(serie.name) as string}\n />\n );\n })}\n </g>\n ),\n [colorScale, finalYScale, getXScaleValue, getXValue, getYValue, hasTrend, opacity, rootStyle, serie, stackedData],\n );\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;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