@semcore/d3-chart 16.0.2-prerelease.4 → 16.0.3-prerelease.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.
- package/CHANGELOG.md +8 -0
- package/README.md +1 -50
- package/lib/cjs/AnimatedClipPath.js +13 -13
- package/lib/cjs/AnimatedClipPath.js.map +1 -1
- package/lib/cjs/Area.js +29 -27
- package/lib/cjs/Area.js.map +1 -1
- package/lib/cjs/Axis.js +97 -101
- package/lib/cjs/Axis.js.map +1 -1
- package/lib/cjs/Bar.js +31 -32
- package/lib/cjs/Bar.js.map +1 -1
- package/lib/cjs/Bubble.js +26 -27
- package/lib/cjs/Bubble.js.map +1 -1
- package/lib/cjs/CompactHorizontalBar.js +65 -68
- package/lib/cjs/CompactHorizontalBar.js.map +1 -1
- package/lib/cjs/Donut.js +94 -95
- package/lib/cjs/Donut.js.map +1 -1
- package/lib/cjs/Dots.js +36 -34
- package/lib/cjs/Dots.js.map +1 -1
- package/lib/cjs/GroupBar.js +16 -16
- package/lib/cjs/GroupBar.js.map +1 -1
- package/lib/cjs/HorizontalBar.js +30 -31
- package/lib/cjs/HorizontalBar.js.map +1 -1
- package/lib/cjs/Hover.js +27 -33
- package/lib/cjs/Hover.js.map +1 -1
- package/lib/cjs/Line.js +23 -23
- package/lib/cjs/Line.js.map +1 -1
- package/lib/cjs/Pattern.js +13 -11
- package/lib/cjs/Pattern.js.map +1 -1
- package/lib/cjs/Plot.js +26 -27
- package/lib/cjs/Plot.js.map +1 -1
- package/lib/cjs/Radar.js +125 -132
- package/lib/cjs/Radar.js.map +1 -1
- package/lib/cjs/RadialTree.js +164 -145
- package/lib/cjs/RadialTree.js.map +1 -1
- package/lib/cjs/Reference.js +47 -49
- package/lib/cjs/Reference.js.map +1 -1
- package/lib/cjs/ResponsiveContainer.js +19 -20
- package/lib/cjs/ResponsiveContainer.js.map +1 -1
- package/lib/cjs/ScatterPlot.js +24 -25
- package/lib/cjs/ScatterPlot.js.map +1 -1
- package/lib/cjs/StackBar.js +20 -23
- package/lib/cjs/StackBar.js.map +1 -1
- package/lib/cjs/StackedArea.js +14 -15
- package/lib/cjs/StackedArea.js.map +1 -1
- package/lib/cjs/Tooltip.js +34 -35
- package/lib/cjs/Tooltip.js.map +1 -1
- package/lib/cjs/Venn.js +28 -29
- package/lib/cjs/Venn.js.map +1 -1
- package/lib/cjs/a11y/DataAccessibilityTable.js +2 -3
- package/lib/cjs/a11y/DataAccessibilityTable.js.map +1 -1
- package/lib/cjs/a11y/PlotA11yModule.js +11 -12
- package/lib/cjs/a11y/PlotA11yModule.js.map +1 -1
- package/lib/cjs/a11y/PlotA11yView.js +10 -11
- package/lib/cjs/a11y/PlotA11yView.js.map +1 -1
- package/lib/cjs/a11y/bezier.js +1 -2
- package/lib/cjs/a11y/bezier.js.map +1 -1
- package/lib/cjs/a11y/focus.js +4 -5
- package/lib/cjs/a11y/focus.js.map +1 -1
- package/lib/cjs/a11y/hints.js +5 -8
- package/lib/cjs/a11y/hints.js.map +1 -1
- package/lib/cjs/a11y/insights.js +63 -64
- package/lib/cjs/a11y/insights.js.map +1 -1
- package/lib/cjs/a11y/intl.js +1 -2
- package/lib/cjs/a11y/intl.js.map +1 -1
- package/lib/cjs/a11y/locale.js +4 -5
- package/lib/cjs/a11y/locale.js.map +1 -1
- package/lib/cjs/a11y/serialize.js +15 -17
- package/lib/cjs/a11y/serialize.js.map +1 -1
- package/lib/cjs/a11y/summarize.js +1 -2
- package/lib/cjs/a11y/summarize.js.map +1 -1
- package/lib/cjs/a11y/translations/module/__intergalactic-dynamic-locales.js +4 -5
- package/lib/cjs/a11y/translations/module/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/cjs/a11y/translations/view/__intergalactic-dynamic-locales.js +4 -5
- package/lib/cjs/a11y/translations/view/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/cjs/color.js +2 -3
- package/lib/cjs/color.js.map +1 -1
- package/lib/cjs/component/Chart/AbstractChart.js +43 -46
- package/lib/cjs/component/Chart/AbstractChart.js.map +1 -1
- package/lib/cjs/component/Chart/AbstractChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/AreaChart.js +17 -20
- package/lib/cjs/component/Chart/AreaChart.js.map +1 -1
- package/lib/cjs/component/Chart/AreaChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/BarChart.js +17 -21
- package/lib/cjs/component/Chart/BarChart.js.map +1 -1
- package/lib/cjs/component/Chart/BarChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/BubbleChart.js +18 -19
- package/lib/cjs/component/Chart/BubbleChart.js.map +1 -1
- package/lib/cjs/component/Chart/BubbleChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/CigaretteChart.js +19 -23
- package/lib/cjs/component/Chart/CigaretteChart.js.map +1 -1
- package/lib/cjs/component/Chart/CigaretteChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/CompactHorizontalBarChart.js +13 -14
- package/lib/cjs/component/Chart/CompactHorizontalBarChart.js.map +1 -1
- package/lib/cjs/component/Chart/CompactHorizontalBarChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/DonutChart.js +13 -14
- package/lib/cjs/component/Chart/DonutChart.js.map +1 -1
- package/lib/cjs/component/Chart/DonutChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/HistogramChart.js +15 -16
- package/lib/cjs/component/Chart/HistogramChart.js.map +1 -1
- package/lib/cjs/component/Chart/HistogramChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/LineChart.js +17 -18
- package/lib/cjs/component/Chart/LineChart.js.map +1 -1
- package/lib/cjs/component/Chart/LineChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/RadarChart.js +14 -17
- package/lib/cjs/component/Chart/RadarChart.js.map +1 -1
- package/lib/cjs/component/Chart/RadarChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/ScatterPlotChart.js +14 -15
- package/lib/cjs/component/Chart/ScatterPlotChart.js.map +1 -1
- package/lib/cjs/component/Chart/ScatterPlotChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/VennChart.js +12 -13
- package/lib/cjs/component/Chart/VennChart.js.map +1 -1
- package/lib/cjs/component/Chart/VennChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/index.js +7 -8
- package/lib/cjs/component/Chart/index.js.map +1 -1
- package/lib/cjs/component/ChartLegend/BaseLegend.js +42 -20
- package/lib/cjs/component/ChartLegend/BaseLegend.js.map +1 -1
- package/lib/cjs/component/ChartLegend/BaseLegend.type.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +20 -20
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.type.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +79 -67
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.type.js +1 -2
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +18 -18
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.type.js.map +1 -1
- package/lib/cjs/component/ChartLegend/index.js +1 -2
- package/lib/cjs/component/ChartLegend/index.js.map +1 -1
- package/lib/cjs/component/Cigarette/Cigarette.js +18 -19
- package/lib/cjs/component/Cigarette/Cigarette.js.map +1 -1
- package/lib/cjs/component/StackGroupBar/StackGroupBar.js +22 -26
- package/lib/cjs/component/StackGroupBar/StackGroupBar.js.map +1 -1
- package/lib/cjs/component/StackGroupBar/StackGroupBar.type.js.map +1 -1
- package/lib/cjs/component/SvgElement.js +21 -0
- package/lib/cjs/component/SvgElement.js.map +1 -0
- package/lib/cjs/createElement.d.js.map +1 -1
- package/lib/cjs/createElement.js +7 -8
- package/lib/cjs/createElement.js.map +1 -1
- package/lib/cjs/index.js +9 -2
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/translations/__intergalactic-dynamic-locales.js +4 -5
- package/lib/cjs/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/cjs/types/Area.d.js.map +1 -1
- package/lib/cjs/types/Axis.d.js.map +1 -1
- package/lib/cjs/types/Bar.d.js.map +1 -1
- package/lib/cjs/types/Bubble.d.js.map +1 -1
- package/lib/cjs/types/ClipPath.d.js.map +1 -1
- package/lib/cjs/types/CompactHorizontalBar.d.js.map +1 -1
- package/lib/cjs/types/Donut.d.js.map +1 -1
- package/lib/cjs/types/GroupBar.d.js.map +1 -1
- package/lib/cjs/types/HorizontalBar.d.js.map +1 -1
- package/lib/cjs/types/Hover.d.js.map +1 -1
- package/lib/cjs/types/Line.d.js.map +1 -1
- package/lib/cjs/types/Plot.d.js.map +1 -1
- package/lib/cjs/types/Radar.d.js.map +1 -1
- package/lib/cjs/types/Reference.d.js.map +1 -1
- package/lib/cjs/types/ResponsiveContainer.d.js.map +1 -1
- package/lib/cjs/types/ScatterPlot.d.js.map +1 -1
- package/lib/cjs/types/StackBar.d.js.map +1 -1
- package/lib/cjs/types/StackedArea.d.js.map +1 -1
- package/lib/cjs/types/Tooltip.d.js.map +1 -1
- package/lib/cjs/types/Venn.d.js.map +1 -1
- package/lib/cjs/types/context.d.js.map +1 -1
- package/lib/cjs/types/index.d.js +2 -2
- package/lib/cjs/types/index.d.js.map +1 -1
- package/lib/cjs/utils.js +31 -52
- package/lib/cjs/utils.js.map +1 -1
- package/lib/es6/AnimatedClipPath.js +11 -10
- package/lib/es6/AnimatedClipPath.js.map +1 -1
- package/lib/es6/Area.js +27 -24
- package/lib/es6/Area.js.map +1 -1
- package/lib/es6/Axis.js +96 -98
- package/lib/es6/Axis.js.map +1 -1
- package/lib/es6/Bar.js +28 -27
- package/lib/es6/Bar.js.map +1 -1
- package/lib/es6/Bubble.js +24 -24
- package/lib/es6/Bubble.js.map +1 -1
- package/lib/es6/CompactHorizontalBar.js +63 -65
- package/lib/es6/CompactHorizontalBar.js.map +1 -1
- package/lib/es6/Donut.js +92 -92
- package/lib/es6/Donut.js.map +1 -1
- package/lib/es6/Dots.js +36 -33
- package/lib/es6/Dots.js.map +1 -1
- package/lib/es6/GroupBar.js +14 -13
- package/lib/es6/GroupBar.js.map +1 -1
- package/lib/es6/HorizontalBar.js +27 -26
- package/lib/es6/HorizontalBar.js.map +1 -1
- package/lib/es6/Hover.js +24 -28
- package/lib/es6/Hover.js.map +1 -1
- package/lib/es6/Line.js +20 -19
- package/lib/es6/Line.js.map +1 -1
- package/lib/es6/Pattern.js +4 -2
- package/lib/es6/Pattern.js.map +1 -1
- package/lib/es6/Plot.js +25 -25
- package/lib/es6/Plot.js.map +1 -1
- package/lib/es6/Radar.js +122 -128
- package/lib/es6/Radar.js.map +1 -1
- package/lib/es6/RadialTree.js +162 -142
- package/lib/es6/RadialTree.js.map +1 -1
- package/lib/es6/Reference.js +44 -43
- package/lib/es6/Reference.js.map +1 -1
- package/lib/es6/ResponsiveContainer.js +17 -17
- package/lib/es6/ResponsiveContainer.js.map +1 -1
- package/lib/es6/ScatterPlot.js +22 -22
- package/lib/es6/ScatterPlot.js.map +1 -1
- package/lib/es6/StackBar.js +17 -19
- package/lib/es6/StackBar.js.map +1 -1
- package/lib/es6/StackedArea.js +12 -12
- package/lib/es6/StackedArea.js.map +1 -1
- package/lib/es6/Tooltip.js +33 -33
- package/lib/es6/Tooltip.js.map +1 -1
- package/lib/es6/Venn.js +26 -26
- package/lib/es6/Venn.js.map +1 -1
- package/lib/es6/a11y/DataAccessibilityTable.js.map +1 -1
- package/lib/es6/a11y/PlotA11yModule.js +11 -11
- package/lib/es6/a11y/PlotA11yModule.js.map +1 -1
- package/lib/es6/a11y/PlotA11yView.js +9 -9
- package/lib/es6/a11y/PlotA11yView.js.map +1 -1
- package/lib/es6/a11y/bezier.js.map +1 -1
- package/lib/es6/a11y/focus.js +3 -3
- package/lib/es6/a11y/focus.js.map +1 -1
- package/lib/es6/a11y/hints.js +1 -1
- package/lib/es6/a11y/hints.js.map +1 -1
- package/lib/es6/a11y/insights.js +61 -61
- package/lib/es6/a11y/insights.js.map +1 -1
- package/lib/es6/a11y/intl.js.map +1 -1
- package/lib/es6/a11y/locale.js +2 -2
- package/lib/es6/a11y/locale.js.map +1 -1
- package/lib/es6/a11y/serialize.js +14 -13
- package/lib/es6/a11y/serialize.js.map +1 -1
- package/lib/es6/a11y/summarize.js.map +1 -1
- package/lib/es6/a11y/translations/module/__intergalactic-dynamic-locales.js +2 -2
- package/lib/es6/a11y/translations/module/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/es6/a11y/translations/view/__intergalactic-dynamic-locales.js +2 -2
- package/lib/es6/a11y/translations/view/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/es6/color.js +1 -1
- package/lib/es6/color.js.map +1 -1
- package/lib/es6/component/Chart/AbstractChart.js +40 -41
- package/lib/es6/component/Chart/AbstractChart.js.map +1 -1
- package/lib/es6/component/Chart/AbstractChart.type.js.map +1 -1
- package/lib/es6/component/Chart/AreaChart.js +16 -16
- package/lib/es6/component/Chart/AreaChart.js.map +1 -1
- package/lib/es6/component/Chart/AreaChart.type.js.map +1 -1
- package/lib/es6/component/Chart/BarChart.js +15 -17
- package/lib/es6/component/Chart/BarChart.js.map +1 -1
- package/lib/es6/component/Chart/BarChart.type.js.map +1 -1
- package/lib/es6/component/Chart/BubbleChart.js +17 -15
- package/lib/es6/component/Chart/BubbleChart.js.map +1 -1
- package/lib/es6/component/Chart/BubbleChart.type.js.map +1 -1
- package/lib/es6/component/Chart/CigaretteChart.js +17 -17
- package/lib/es6/component/Chart/CigaretteChart.js.map +1 -1
- package/lib/es6/component/Chart/CigaretteChart.type.js.map +1 -1
- package/lib/es6/component/Chart/CompactHorizontalBarChart.js +11 -10
- package/lib/es6/component/Chart/CompactHorizontalBarChart.js.map +1 -1
- package/lib/es6/component/Chart/CompactHorizontalBarChart.type.js.map +1 -1
- package/lib/es6/component/Chart/DonutChart.js +12 -10
- package/lib/es6/component/Chart/DonutChart.js.map +1 -1
- package/lib/es6/component/Chart/DonutChart.type.js.map +1 -1
- package/lib/es6/component/Chart/HistogramChart.js +14 -12
- package/lib/es6/component/Chart/HistogramChart.js.map +1 -1
- package/lib/es6/component/Chart/HistogramChart.type.js.map +1 -1
- package/lib/es6/component/Chart/LineChart.js +15 -14
- package/lib/es6/component/Chart/LineChart.js.map +1 -1
- package/lib/es6/component/Chart/LineChart.type.js.map +1 -1
- package/lib/es6/component/Chart/RadarChart.js +12 -13
- package/lib/es6/component/Chart/RadarChart.js.map +1 -1
- package/lib/es6/component/Chart/RadarChart.type.js.map +1 -1
- package/lib/es6/component/Chart/ScatterPlotChart.js +13 -11
- package/lib/es6/component/Chart/ScatterPlotChart.js.map +1 -1
- package/lib/es6/component/Chart/ScatterPlotChart.type.js.map +1 -1
- package/lib/es6/component/Chart/VennChart.js +10 -9
- package/lib/es6/component/Chart/VennChart.js.map +1 -1
- package/lib/es6/component/Chart/VennChart.type.js.map +1 -1
- package/lib/es6/component/Chart/index.js +6 -6
- package/lib/es6/component/Chart/index.js.map +1 -1
- package/lib/es6/component/ChartLegend/BaseLegend.js +40 -17
- package/lib/es6/component/ChartLegend/BaseLegend.js.map +1 -1
- package/lib/es6/component/ChartLegend/BaseLegend.type.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +18 -17
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.type.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +77 -64
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +16 -15
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.type.js.map +1 -1
- package/lib/es6/component/ChartLegend/index.js.map +1 -1
- package/lib/es6/component/Cigarette/Cigarette.js +16 -16
- package/lib/es6/component/Cigarette/Cigarette.js.map +1 -1
- package/lib/es6/component/StackGroupBar/StackGroupBar.js +20 -21
- package/lib/es6/component/StackGroupBar/StackGroupBar.js.map +1 -1
- package/lib/es6/component/StackGroupBar/StackGroupBar.type.js.map +1 -1
- package/lib/es6/component/SvgElement.js +14 -0
- package/lib/es6/component/SvgElement.js.map +1 -0
- package/lib/es6/createElement.d.js.map +1 -1
- package/lib/es6/createElement.js +5 -5
- package/lib/es6/createElement.js.map +1 -1
- package/lib/es6/index.js +1 -0
- package/lib/es6/index.js.map +1 -1
- package/lib/es6/translations/__intergalactic-dynamic-locales.js +2 -2
- package/lib/es6/translations/__intergalactic-dynamic-locales.js.map +1 -1
- package/lib/es6/types/Area.d.js.map +1 -1
- package/lib/es6/types/Axis.d.js.map +1 -1
- package/lib/es6/types/Bar.d.js.map +1 -1
- package/lib/es6/types/Bubble.d.js.map +1 -1
- package/lib/es6/types/ClipPath.d.js.map +1 -1
- package/lib/es6/types/CompactHorizontalBar.d.js.map +1 -1
- package/lib/es6/types/Donut.d.js.map +1 -1
- package/lib/es6/types/GroupBar.d.js.map +1 -1
- package/lib/es6/types/HorizontalBar.d.js.map +1 -1
- package/lib/es6/types/Hover.d.js.map +1 -1
- package/lib/es6/types/Line.d.js.map +1 -1
- package/lib/es6/types/Plot.d.js.map +1 -1
- package/lib/es6/types/Radar.d.js.map +1 -1
- package/lib/es6/types/Reference.d.js.map +1 -1
- package/lib/es6/types/ResponsiveContainer.d.js.map +1 -1
- package/lib/es6/types/ScatterPlot.d.js.map +1 -1
- package/lib/es6/types/StackBar.d.js.map +1 -1
- package/lib/es6/types/StackedArea.d.js.map +1 -1
- package/lib/es6/types/Tooltip.d.js.map +1 -1
- package/lib/es6/types/Venn.d.js.map +1 -1
- package/lib/es6/types/context.d.js.map +1 -1
- package/lib/es6/types/index.d.js +1 -0
- package/lib/es6/types/index.d.js.map +1 -1
- package/lib/es6/utils.js +11 -13
- package/lib/es6/utils.js.map +1 -1
- package/lib/esm/AnimatedClipPath.mjs +10 -7
- package/lib/esm/Area.mjs +30 -25
- package/lib/esm/Axis.mjs +67 -67
- package/lib/esm/Bar.mjs +31 -28
- package/lib/esm/Bubble.mjs +28 -26
- package/lib/esm/CompactHorizontalBar.mjs +61 -60
- package/lib/esm/Donut.mjs +50 -49
- package/lib/esm/Dots.mjs +32 -27
- package/lib/esm/GroupBar.mjs +14 -11
- package/lib/esm/HorizontalBar.mjs +30 -27
- package/lib/esm/Hover.mjs +28 -30
- package/lib/esm/Line.mjs +23 -20
- package/lib/esm/Pattern.mjs +1 -1
- package/lib/esm/Plot.mjs +27 -25
- package/lib/esm/Radar.mjs +90 -94
- package/lib/esm/RadialTree.mjs +86 -86
- package/lib/esm/Reference.mjs +34 -31
- package/lib/esm/ResponsiveContainer.mjs +19 -17
- package/lib/esm/ScatterPlot.mjs +26 -24
- package/lib/esm/StackBar.mjs +17 -17
- package/lib/esm/StackedArea.mjs +13 -11
- package/lib/esm/Tooltip.mjs +35 -33
- package/lib/esm/Venn.mjs +29 -27
- package/lib/esm/a11y/DataAccessibilityTable.mjs +2 -2
- package/lib/esm/a11y/PlotA11yModule.mjs +8 -8
- package/lib/esm/a11y/PlotA11yView.mjs +9 -9
- package/lib/esm/a11y/focus.mjs +3 -3
- package/lib/esm/a11y/hints.mjs +1 -1
- package/lib/esm/a11y/insights.mjs +77 -78
- package/lib/esm/a11y/intl.mjs +1 -1
- package/lib/esm/a11y/locale.mjs +2 -2
- package/lib/esm/a11y/serialize.mjs +12 -12
- package/lib/esm/a11y/translations/module/__intergalactic-dynamic-locales.mjs +2 -2
- package/lib/esm/a11y/translations/view/__intergalactic-dynamic-locales.mjs +2 -2
- package/lib/esm/component/Chart/AbstractChart.mjs +38 -37
- package/lib/esm/component/Chart/AreaChart.mjs +19 -15
- package/lib/esm/component/Chart/BarChart.mjs +20 -17
- package/lib/esm/component/Chart/BubbleChart.mjs +16 -13
- package/lib/esm/component/Chart/CigaretteChart.mjs +24 -17
- package/lib/esm/component/Chart/CompactHorizontalBarChart.mjs +18 -10
- package/lib/esm/component/Chart/DonutChart.mjs +13 -10
- package/lib/esm/component/Chart/HistogramChart.mjs +18 -12
- package/lib/esm/component/Chart/LineChart.mjs +18 -12
- package/lib/esm/component/Chart/RadarChart.mjs +19 -12
- package/lib/esm/component/Chart/ScatterPlotChart.mjs +14 -11
- package/lib/esm/component/Chart/VennChart.mjs +12 -9
- package/lib/esm/component/Chart/index.mjs +6 -6
- package/lib/esm/component/ChartLegend/BaseLegend.mjs +42 -17
- package/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +21 -18
- package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +67 -56
- package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +23 -20
- package/lib/esm/component/Cigarette/Cigarette.mjs +18 -16
- package/lib/esm/component/StackGroupBar/StackGroupBar.mjs +20 -19
- package/lib/esm/component/SvgElement.mjs +14 -0
- package/lib/esm/createElement.mjs +5 -5
- package/lib/esm/index.mjs +2 -0
- package/lib/esm/translations/__intergalactic-dynamic-locales.mjs +2 -2
- package/lib/esm/utils.mjs +8 -8
- package/lib/types/Area.d.ts +7 -6
- package/lib/types/Axis.d.ts +4 -3
- package/lib/types/Bar.d.ts +7 -6
- package/lib/types/Bubble.d.ts +6 -5
- package/lib/types/ClipPath.d.ts +4 -3
- package/lib/types/CompactHorizontalBar.d.ts +7 -8
- package/lib/types/Donut.d.ts +6 -5
- package/lib/types/GroupBar.d.ts +6 -6
- package/lib/types/HorizontalBar.d.ts +7 -6
- package/lib/types/Hover.d.ts +8 -8
- package/lib/types/Line.d.ts +7 -6
- package/lib/types/Pattern.d.ts +51 -51
- package/lib/types/Plot.d.ts +10 -9
- package/lib/types/Radar.d.ts +8 -7
- package/lib/types/RadialTree.d.ts +9 -54
- package/lib/types/Reference.d.ts +5 -4
- package/lib/types/ResponsiveContainer.d.ts +5 -4
- package/lib/types/ScatterPlot.d.ts +6 -5
- package/lib/types/StackBar.d.ts +7 -6
- package/lib/types/StackedArea.d.ts +6 -5
- package/lib/types/Tooltip.d.ts +14 -12
- package/lib/types/Venn.d.ts +7 -6
- package/lib/types/a11y/DataAccessibilityTable.d.ts +2 -2
- package/lib/types/a11y/PlotA11yModule.d.ts +1 -1
- package/lib/types/a11y/hints.d.ts +5 -5
- package/lib/types/a11y/insights.d.ts +1 -1
- package/lib/types/a11y/intl.d.ts +1 -1
- package/lib/types/a11y/serialize.d.ts +7 -7
- package/lib/types/a11y/summarize.d.ts +2 -2
- package/lib/types/component/Chart/AbstractChart.d.ts +6 -6
- package/lib/types/component/Chart/AbstractChart.type.d.ts +27 -27
- package/lib/types/component/Chart/AreaChart.d.ts +1 -1
- package/lib/types/component/Chart/AreaChart.type.d.ts +6 -6
- package/lib/types/component/Chart/BarChart.d.ts +1 -1
- package/lib/types/component/Chart/BarChart.type.d.ts +6 -6
- package/lib/types/component/Chart/BubbleChart.d.ts +1 -1
- package/lib/types/component/Chart/BubbleChart.type.d.ts +4 -4
- package/lib/types/component/Chart/CigaretteChart.d.ts +1 -1
- package/lib/types/component/Chart/CigaretteChart.type.d.ts +4 -4
- package/lib/types/component/Chart/CompactHorizontalBarChart.d.ts +1 -1
- package/lib/types/component/Chart/CompactHorizontalBarChart.type.d.ts +5 -5
- package/lib/types/component/Chart/DonutChart.d.ts +1 -1
- package/lib/types/component/Chart/DonutChart.type.d.ts +5 -5
- package/lib/types/component/Chart/HistogramChart.d.ts +1 -1
- package/lib/types/component/Chart/HistogramChart.type.d.ts +4 -4
- package/lib/types/component/Chart/LineChart.d.ts +1 -1
- package/lib/types/component/Chart/LineChart.type.d.ts +7 -7
- package/lib/types/component/Chart/RadarChart.d.ts +1 -1
- package/lib/types/component/Chart/RadarChart.type.d.ts +4 -4
- package/lib/types/component/Chart/ScatterPlotChart.d.ts +1 -1
- package/lib/types/component/Chart/ScatterPlotChart.type.d.ts +5 -5
- package/lib/types/component/Chart/VennChart.d.ts +1 -1
- package/lib/types/component/Chart/VennChart.type.d.ts +4 -4
- package/lib/types/component/ChartLegend/BaseLegend.d.ts +6 -4
- package/lib/types/component/ChartLegend/BaseLegend.type.d.ts +4 -5
- package/lib/types/component/ChartLegend/LegendFlex/LegendFlex.d.ts +1 -1
- package/lib/types/component/ChartLegend/LegendFlex/LegendFlex.type.d.ts +4 -5
- package/lib/types/component/ChartLegend/LegendItem/LegendItem.d.ts +1 -1
- package/lib/types/component/ChartLegend/LegendItem/LegendItem.type.d.ts +17 -10
- package/lib/types/component/ChartLegend/LegendTable/LegendTable.d.ts +1 -1
- package/lib/types/component/ChartLegend/LegendTable/LegendTable.type.d.ts +5 -5
- package/lib/types/component/StackGroupBar/StackGroupBar.d.ts +1 -1
- package/lib/types/component/StackGroupBar/StackGroupBar.type.d.ts +3 -4
- package/lib/types/component/SvgElement.d.ts +10 -0
- package/lib/types/index.d.ts +2 -1
- package/lib/types/utils.d.ts +6 -6
- package/package.json +22 -23
package/lib/types/Pattern.d.ts
CHANGED
|
@@ -30,288 +30,288 @@ declare const defaultPatterns: {
|
|
|
30
30
|
starSmall: {
|
|
31
31
|
fill: {
|
|
32
32
|
viewBox: string;
|
|
33
|
-
children: JSX.Element;
|
|
33
|
+
children: React.JSX.Element;
|
|
34
34
|
};
|
|
35
35
|
symbol: {
|
|
36
36
|
viewBox: string;
|
|
37
37
|
size: [number, number];
|
|
38
|
-
children: JSX.Element;
|
|
38
|
+
children: React.JSX.Element;
|
|
39
39
|
};
|
|
40
40
|
dasharray: string;
|
|
41
41
|
};
|
|
42
42
|
romb: {
|
|
43
43
|
fill: {
|
|
44
44
|
viewBox: string;
|
|
45
|
-
children: JSX.Element;
|
|
45
|
+
children: React.JSX.Element;
|
|
46
46
|
};
|
|
47
47
|
symbol: {
|
|
48
48
|
viewBox: string;
|
|
49
49
|
size: [number, number];
|
|
50
|
-
children: JSX.Element;
|
|
50
|
+
children: React.JSX.Element;
|
|
51
51
|
};
|
|
52
52
|
dasharray: string;
|
|
53
53
|
};
|
|
54
54
|
circleOutline: {
|
|
55
55
|
fill: {
|
|
56
56
|
viewBox: string;
|
|
57
|
-
children: JSX.Element;
|
|
57
|
+
children: React.JSX.Element;
|
|
58
58
|
};
|
|
59
59
|
symbol: {
|
|
60
60
|
viewBox: string;
|
|
61
61
|
size: [number, number];
|
|
62
|
-
children: JSX.Element;
|
|
62
|
+
children: React.JSX.Element;
|
|
63
63
|
};
|
|
64
64
|
dasharray: string;
|
|
65
65
|
};
|
|
66
66
|
triangleDown: {
|
|
67
67
|
fill: {
|
|
68
68
|
viewBox: string;
|
|
69
|
-
children: JSX.Element;
|
|
69
|
+
children: React.JSX.Element;
|
|
70
70
|
};
|
|
71
71
|
symbol: {
|
|
72
72
|
viewBox: string;
|
|
73
73
|
size: [number, number];
|
|
74
|
-
children: JSX.Element;
|
|
74
|
+
children: React.JSX.Element;
|
|
75
75
|
};
|
|
76
76
|
dasharray: string;
|
|
77
77
|
};
|
|
78
78
|
rombOutline: {
|
|
79
79
|
fill: {
|
|
80
80
|
viewBox: string;
|
|
81
|
-
children: JSX.Element;
|
|
81
|
+
children: React.JSX.Element;
|
|
82
82
|
};
|
|
83
83
|
symbol: {
|
|
84
84
|
viewBox: string;
|
|
85
85
|
size: [number, number];
|
|
86
|
-
children: JSX.Element;
|
|
86
|
+
children: React.JSX.Element;
|
|
87
87
|
};
|
|
88
88
|
dasharray: string;
|
|
89
89
|
};
|
|
90
90
|
square: {
|
|
91
91
|
fill: {
|
|
92
92
|
viewBox: string;
|
|
93
|
-
children: JSX.Element;
|
|
93
|
+
children: React.JSX.Element;
|
|
94
94
|
};
|
|
95
95
|
symbol: {
|
|
96
96
|
viewBox: string;
|
|
97
97
|
size: [number, number];
|
|
98
|
-
children: JSX.Element;
|
|
98
|
+
children: React.JSX.Element;
|
|
99
99
|
};
|
|
100
100
|
dasharray: string;
|
|
101
101
|
};
|
|
102
102
|
trees: {
|
|
103
103
|
fill: {
|
|
104
104
|
viewBox: string;
|
|
105
|
-
children: JSX.Element;
|
|
105
|
+
children: React.JSX.Element;
|
|
106
106
|
};
|
|
107
107
|
symbol: {
|
|
108
108
|
viewBox: string;
|
|
109
109
|
size: [number, number];
|
|
110
|
-
children: JSX.Element;
|
|
110
|
+
children: React.JSX.Element;
|
|
111
111
|
};
|
|
112
112
|
dasharray: string;
|
|
113
113
|
};
|
|
114
114
|
wave: {
|
|
115
115
|
fill: {
|
|
116
116
|
viewBox: string;
|
|
117
|
-
children: JSX.Element;
|
|
117
|
+
children: React.JSX.Element;
|
|
118
118
|
};
|
|
119
119
|
symbol: {
|
|
120
120
|
viewBox: string;
|
|
121
121
|
size: [number, number];
|
|
122
|
-
children: JSX.Element;
|
|
122
|
+
children: React.JSX.Element;
|
|
123
123
|
};
|
|
124
124
|
dasharray: string;
|
|
125
125
|
};
|
|
126
126
|
star: {
|
|
127
127
|
fill: {
|
|
128
128
|
viewBox: string;
|
|
129
|
-
children: JSX.Element;
|
|
129
|
+
children: React.JSX.Element;
|
|
130
130
|
};
|
|
131
131
|
symbol: {
|
|
132
132
|
viewBox: string;
|
|
133
133
|
size: [number, number];
|
|
134
|
-
children: JSX.Element;
|
|
134
|
+
children: React.JSX.Element;
|
|
135
135
|
};
|
|
136
136
|
dasharray: string;
|
|
137
137
|
};
|
|
138
138
|
cogwheel: {
|
|
139
139
|
fill: {
|
|
140
140
|
viewBox: string;
|
|
141
|
-
children: JSX.Element;
|
|
141
|
+
children: React.JSX.Element;
|
|
142
142
|
};
|
|
143
143
|
symbol: {
|
|
144
144
|
viewBox: string;
|
|
145
145
|
size: [number, number];
|
|
146
|
-
children: JSX.Element;
|
|
146
|
+
children: React.JSX.Element;
|
|
147
147
|
};
|
|
148
148
|
dasharray: string;
|
|
149
149
|
};
|
|
150
150
|
crossesDiagonal: {
|
|
151
151
|
fill: {
|
|
152
152
|
viewBox: string;
|
|
153
|
-
children: JSX.Element;
|
|
153
|
+
children: React.JSX.Element;
|
|
154
154
|
};
|
|
155
155
|
symbol: {
|
|
156
156
|
viewBox: string;
|
|
157
157
|
size: [number, number];
|
|
158
|
-
children: JSX.Element;
|
|
158
|
+
children: React.JSX.Element;
|
|
159
159
|
};
|
|
160
160
|
dasharray: string;
|
|
161
161
|
};
|
|
162
162
|
triangleOutline: {
|
|
163
163
|
fill: {
|
|
164
164
|
viewBox: string;
|
|
165
|
-
children: JSX.Element;
|
|
165
|
+
children: React.JSX.Element;
|
|
166
166
|
};
|
|
167
167
|
symbol: {
|
|
168
168
|
viewBox: string;
|
|
169
169
|
size: [number, number];
|
|
170
|
-
children: JSX.Element;
|
|
170
|
+
children: React.JSX.Element;
|
|
171
171
|
};
|
|
172
172
|
dasharray: string;
|
|
173
173
|
};
|
|
174
174
|
chain: {
|
|
175
175
|
fill: {
|
|
176
176
|
viewBox: string;
|
|
177
|
-
children: JSX.Element;
|
|
177
|
+
children: React.JSX.Element;
|
|
178
178
|
};
|
|
179
179
|
symbol: {
|
|
180
180
|
viewBox: string;
|
|
181
181
|
size: [number, number];
|
|
182
|
-
children: JSX.Element;
|
|
182
|
+
children: React.JSX.Element;
|
|
183
183
|
};
|
|
184
184
|
dasharray: string;
|
|
185
185
|
};
|
|
186
186
|
squama: {
|
|
187
187
|
fill: {
|
|
188
188
|
viewBox: string;
|
|
189
|
-
children: JSX.Element;
|
|
189
|
+
children: React.JSX.Element;
|
|
190
190
|
};
|
|
191
191
|
symbol: {
|
|
192
192
|
viewBox: string;
|
|
193
193
|
size: [number, number];
|
|
194
|
-
children: JSX.Element;
|
|
194
|
+
children: React.JSX.Element;
|
|
195
195
|
};
|
|
196
196
|
dasharray: string;
|
|
197
197
|
};
|
|
198
198
|
linesDouble: {
|
|
199
199
|
fill: {
|
|
200
200
|
viewBox: string;
|
|
201
|
-
children: JSX.Element;
|
|
201
|
+
children: React.JSX.Element;
|
|
202
202
|
};
|
|
203
203
|
symbol: {
|
|
204
204
|
viewBox: string;
|
|
205
205
|
size: [number, number];
|
|
206
|
-
children: JSX.Element;
|
|
206
|
+
children: React.JSX.Element;
|
|
207
207
|
};
|
|
208
208
|
dasharray: string;
|
|
209
209
|
};
|
|
210
210
|
zigzagVertical: {
|
|
211
211
|
fill: {
|
|
212
212
|
viewBox: string;
|
|
213
|
-
children: JSX.Element;
|
|
213
|
+
children: React.JSX.Element;
|
|
214
214
|
};
|
|
215
215
|
symbol: {
|
|
216
216
|
viewBox: string;
|
|
217
217
|
size: [number, number];
|
|
218
|
-
children: JSX.Element;
|
|
218
|
+
children: React.JSX.Element;
|
|
219
219
|
};
|
|
220
220
|
dasharray: string;
|
|
221
221
|
};
|
|
222
222
|
triangleDownOutline: {
|
|
223
223
|
fill: {
|
|
224
224
|
viewBox: string;
|
|
225
|
-
children: JSX.Element;
|
|
225
|
+
children: React.JSX.Element;
|
|
226
226
|
};
|
|
227
227
|
symbol: {
|
|
228
228
|
viewBox: string;
|
|
229
229
|
size: [number, number];
|
|
230
|
-
children: JSX.Element;
|
|
230
|
+
children: React.JSX.Element;
|
|
231
231
|
};
|
|
232
232
|
dasharray: string;
|
|
233
233
|
};
|
|
234
234
|
crosses: {
|
|
235
235
|
fill: {
|
|
236
236
|
viewBox: string;
|
|
237
|
-
children: JSX.Element;
|
|
237
|
+
children: React.JSX.Element;
|
|
238
238
|
};
|
|
239
239
|
symbol: {
|
|
240
240
|
viewBox: string;
|
|
241
241
|
size: [number, number];
|
|
242
|
-
children: JSX.Element;
|
|
242
|
+
children: React.JSX.Element;
|
|
243
243
|
};
|
|
244
244
|
dasharray: string;
|
|
245
245
|
};
|
|
246
246
|
linesDoubleHorizontal: {
|
|
247
247
|
fill: {
|
|
248
248
|
viewBox: string;
|
|
249
|
-
children: JSX.Element;
|
|
249
|
+
children: React.JSX.Element;
|
|
250
250
|
};
|
|
251
251
|
symbol: {
|
|
252
252
|
viewBox: string;
|
|
253
253
|
size: [number, number];
|
|
254
|
-
children: JSX.Element;
|
|
254
|
+
children: React.JSX.Element;
|
|
255
255
|
};
|
|
256
256
|
dasharray: string;
|
|
257
257
|
};
|
|
258
258
|
waveVertical: {
|
|
259
259
|
fill: {
|
|
260
260
|
viewBox: string;
|
|
261
|
-
children: JSX.Element;
|
|
261
|
+
children: React.JSX.Element;
|
|
262
262
|
};
|
|
263
263
|
symbol: {
|
|
264
264
|
viewBox: string;
|
|
265
265
|
size: [number, number];
|
|
266
|
-
children: JSX.Element;
|
|
266
|
+
children: React.JSX.Element;
|
|
267
267
|
};
|
|
268
268
|
dasharray: string;
|
|
269
269
|
};
|
|
270
270
|
squareOutline: {
|
|
271
271
|
fill: {
|
|
272
272
|
viewBox: string;
|
|
273
|
-
children: JSX.Element;
|
|
273
|
+
children: React.JSX.Element;
|
|
274
274
|
};
|
|
275
275
|
symbol: {
|
|
276
276
|
viewBox: string;
|
|
277
277
|
size: [number, number];
|
|
278
|
-
children: JSX.Element;
|
|
278
|
+
children: React.JSX.Element;
|
|
279
279
|
};
|
|
280
280
|
dasharray: string;
|
|
281
281
|
};
|
|
282
282
|
triangle: {
|
|
283
283
|
fill: {
|
|
284
284
|
viewBox: string;
|
|
285
|
-
children: JSX.Element;
|
|
285
|
+
children: React.JSX.Element;
|
|
286
286
|
};
|
|
287
287
|
symbol: {
|
|
288
288
|
viewBox: string;
|
|
289
289
|
size: [number, number];
|
|
290
|
-
children: JSX.Element;
|
|
290
|
+
children: React.JSX.Element;
|
|
291
291
|
};
|
|
292
292
|
dasharray: string;
|
|
293
293
|
};
|
|
294
294
|
crescent: {
|
|
295
295
|
fill: {
|
|
296
296
|
viewBox: string;
|
|
297
|
-
children: JSX.Element;
|
|
297
|
+
children: React.JSX.Element;
|
|
298
298
|
};
|
|
299
299
|
symbol: {
|
|
300
300
|
viewBox: string;
|
|
301
301
|
size: [number, number];
|
|
302
|
-
children: JSX.Element;
|
|
302
|
+
children: React.JSX.Element;
|
|
303
303
|
};
|
|
304
304
|
dasharray: string;
|
|
305
305
|
};
|
|
306
306
|
zigzag: {
|
|
307
307
|
fill: {
|
|
308
308
|
viewBox: string;
|
|
309
|
-
children: JSX.Element;
|
|
309
|
+
children: React.JSX.Element;
|
|
310
310
|
};
|
|
311
311
|
symbol: {
|
|
312
312
|
viewBox: string;
|
|
313
313
|
size: [number, number];
|
|
314
|
-
children: JSX.Element;
|
|
314
|
+
children: React.JSX.Element;
|
|
315
315
|
};
|
|
316
316
|
dasharray: string;
|
|
317
317
|
};
|
|
@@ -321,11 +321,11 @@ export declare const PatternFill: ({ id, color, patternKey, patterns, }: {
|
|
|
321
321
|
id: string;
|
|
322
322
|
color: string;
|
|
323
323
|
patternKey: string;
|
|
324
|
-
patterns?: PatternsConfig
|
|
325
|
-
}) => JSX.Element;
|
|
324
|
+
patterns?: PatternsConfig;
|
|
325
|
+
}) => React.JSX.Element;
|
|
326
326
|
export declare const getPatternSymbolSize: ({ patternKey, patterns, }: {
|
|
327
327
|
patternKey: string;
|
|
328
|
-
patterns?: PatternsConfig
|
|
328
|
+
patterns?: PatternsConfig;
|
|
329
329
|
}) => [width: number, height: number];
|
|
330
330
|
export declare const PatternSymbol: React.FC<{
|
|
331
331
|
color: string;
|
package/lib/types/Plot.d.ts
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import { DataStructureHints } from './a11y/hints';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import type { UnknownProperties, Intergalactic } from '@semcore/core';
|
|
2
|
+
import type { BoxProps } from '@semcore/flex-box';
|
|
3
|
+
|
|
4
|
+
import type { DataStructureHints } from './a11y/hints';
|
|
5
|
+
import type { Context } from './context';
|
|
6
|
+
import type { PatternsConfig } from './Pattern';
|
|
7
|
+
import type { PlotEventEmitter } from './utils';
|
|
7
8
|
|
|
8
9
|
/** @deprecated */
|
|
9
10
|
export interface IPlotProps extends PlotProps, UnknownProperties {}
|
|
10
11
|
export type PlotProps = Context &
|
|
11
12
|
BoxProps & {
|
|
12
13
|
/** Width of the svg element
|
|
13
|
-
* @default 0*/
|
|
14
|
+
* @default 0 */
|
|
14
15
|
width?: number;
|
|
15
16
|
/** Height of the svg element
|
|
16
|
-
* @default 0*/
|
|
17
|
+
* @default 0 */
|
|
17
18
|
height?: number;
|
|
18
19
|
/** Human readable chart name (e.g "Last market trends") */
|
|
19
20
|
label?: string;
|
|
@@ -120,7 +121,7 @@ export type IntergalacticD3Component<BaseTag extends Intergalactic.Tag, Props, C
|
|
|
120
121
|
>(
|
|
121
122
|
props: Intergalactic.InternalTypings.PropsRenderingResultComponentProps<Tag, Props, Context>,
|
|
122
123
|
) => Intergalactic.InternalTypings.ComponentRenderingResults) &
|
|
123
|
-
|
|
124
|
+
Intergalactic.InternalTypings.ComponentAdditive<BaseTag, BaseTag, Props>;
|
|
124
125
|
|
|
125
126
|
declare const Plot: IntergalacticD3Component<'svg', PlotProps, Context>;
|
|
126
127
|
export default Plot;
|
package/lib/types/Radar.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { CurveFactory } from 'd3-shape';
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import type { UnknownProperties } from '@semcore/core';
|
|
2
|
+
import type { BoxProps } from '@semcore/flex-box';
|
|
3
|
+
import type { CurveFactory } from 'd3-shape';
|
|
4
|
+
|
|
5
|
+
import type { Context } from './context';
|
|
6
|
+
import type { PatternsConfig } from './Pattern';
|
|
7
|
+
import type { IntergalacticD3Component } from './Plot';
|
|
8
|
+
import type { TooltipType } from './Tooltip';
|
|
8
9
|
|
|
9
10
|
/** @deprecated */
|
|
10
11
|
export interface IRadarProps extends RadarProps, UnknownProperties {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { type UnknownProperties, type Intergalactic } from '@semcore/core';
|
|
1
2
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { PatternsConfig } from './Pattern';
|
|
3
|
+
import { type PatternsConfig } from './Pattern';
|
|
4
4
|
type RadianData = {
|
|
5
5
|
/**
|
|
6
6
|
* Text label on the end of radian.
|
|
@@ -135,15 +135,6 @@ export type RadialTreeRadianLineProps = {
|
|
|
135
135
|
['data-radial-animation']?: `${string}-line`;
|
|
136
136
|
['data-radian-index']?: number;
|
|
137
137
|
};
|
|
138
|
-
type RadialTreeRadianLineAsProps = IRadialTreeRadianLineProps & {
|
|
139
|
-
Element: React.FC<{
|
|
140
|
-
render: string;
|
|
141
|
-
transparent: boolean;
|
|
142
|
-
} & React.SVGProps<any>>;
|
|
143
|
-
styles: React.CSSProperties;
|
|
144
|
-
resolveColor: (color?: string) => string;
|
|
145
|
-
};
|
|
146
|
-
declare const Line: React.FC<RadialTreeRadianLineAsProps>;
|
|
147
138
|
/** @deprecated */
|
|
148
139
|
export interface IRadialTreeRadianCapProps extends RadialTreeRadianCapProps, UnknownProperties {
|
|
149
140
|
}
|
|
@@ -158,17 +149,6 @@ export type RadialTreeRadianCapProps = {
|
|
|
158
149
|
/** Enables charts patterns that enhances charts accessibility */
|
|
159
150
|
patterns?: PatternsConfig;
|
|
160
151
|
};
|
|
161
|
-
type RadialTreeRadianCapAsProps = RadialTreeRadianCapProps & {
|
|
162
|
-
Element: React.FC<{
|
|
163
|
-
render: React.FC<any> | string;
|
|
164
|
-
transparent: boolean;
|
|
165
|
-
patternKey?: string;
|
|
166
|
-
pattern?: boolean;
|
|
167
|
-
} & React.SVGProps<any>>;
|
|
168
|
-
styles: React.CSSProperties;
|
|
169
|
-
resolveColor: (color?: string) => string;
|
|
170
|
-
};
|
|
171
|
-
declare const Cap: React.FC<RadialTreeRadianCapAsProps>;
|
|
172
152
|
/** @deprecated */
|
|
173
153
|
export interface IRadialTreeRadianIconProps extends RadialTreeRadianIconProps, UnknownProperties {
|
|
174
154
|
}
|
|
@@ -182,18 +162,6 @@ export type RadialTreeRadianIconProps = {
|
|
|
182
162
|
isActive?: boolean;
|
|
183
163
|
transparent?: boolean;
|
|
184
164
|
};
|
|
185
|
-
type RadialTreeRadianIconAsProps = IRadialTreeRadianIconProps & {
|
|
186
|
-
Element: React.FC<{
|
|
187
|
-
render: string | React.FC;
|
|
188
|
-
transparent: boolean;
|
|
189
|
-
} & React.SVGProps<any>>;
|
|
190
|
-
x: number;
|
|
191
|
-
y: number;
|
|
192
|
-
iconSize: number;
|
|
193
|
-
styles: React.CSSProperties;
|
|
194
|
-
tag?: React.FC;
|
|
195
|
-
};
|
|
196
|
-
declare const Icon: React.FC<RadialTreeRadianIconAsProps>;
|
|
197
165
|
/** @deprecated */
|
|
198
166
|
export interface IRadialTreeRadianLabelProps extends RadialTreeRadianLabelProps, UnknownProperties {
|
|
199
167
|
}
|
|
@@ -209,19 +177,6 @@ export type RadialTreeRadianLabelProps = {
|
|
|
209
177
|
angle?: number;
|
|
210
178
|
transparent?: boolean;
|
|
211
179
|
};
|
|
212
|
-
type RadialTreeRadianLabelAsProps = IRadialTreeRadianLabelProps & {
|
|
213
|
-
Element: React.FC<{
|
|
214
|
-
render: string;
|
|
215
|
-
} & React.SVGProps<any>>;
|
|
216
|
-
Children: React.FC;
|
|
217
|
-
styles: React.CSSProperties;
|
|
218
|
-
x: number;
|
|
219
|
-
y: number;
|
|
220
|
-
angle: number;
|
|
221
|
-
textSize: number;
|
|
222
|
-
resolveColor: (color?: string) => string;
|
|
223
|
-
};
|
|
224
|
-
declare const Label: React.FC<RadialTreeRadianLabelAsProps>;
|
|
225
180
|
/** @deprecated */
|
|
226
181
|
export interface IRadialTreeTitleProps extends RadialTreeTitleProps, UnknownProperties {
|
|
227
182
|
}
|
|
@@ -233,13 +188,13 @@ export type RadialTreeTitleProps = {
|
|
|
233
188
|
color?: string;
|
|
234
189
|
};
|
|
235
190
|
type IntergalacticD3Component<BaseTag extends Intergalactic.Tag, Props, Context = {}> = (<Tag extends Intergalactic.Tag = Intergalactic.Tag>(props: Intergalactic.InternalTypings.PropsRenderingResultComponentProps<Tag, Props, Context>) => Intergalactic.InternalTypings.ComponentRenderingResults) & Intergalactic.InternalTypings.ComponentAdditive<BaseTag, BaseTag, Props>;
|
|
236
|
-
declare const RadialTree:
|
|
237
|
-
Title: IntergalacticD3Component<
|
|
238
|
-
Radian: IntergalacticD3Component<
|
|
239
|
-
Line: IntergalacticD3Component<
|
|
240
|
-
Cap: IntergalacticD3Component<
|
|
241
|
-
Icon: IntergalacticD3Component<
|
|
242
|
-
Label: IntergalacticD3Component<
|
|
191
|
+
declare const RadialTree: IntergalacticD3Component<"g", RadialTreeProps> & {
|
|
192
|
+
Title: IntergalacticD3Component<"text", RadialTreeTitleProps>;
|
|
193
|
+
Radian: IntergalacticD3Component<"g", RadialTreeRadianProps> & {
|
|
194
|
+
Line: IntergalacticD3Component<"line", RadialTreeRadianLineProps>;
|
|
195
|
+
Cap: IntergalacticD3Component<"circle", RadialTreeRadianCapProps>;
|
|
196
|
+
Icon: IntergalacticD3Component<"g", RadialTreeRadianIconProps>;
|
|
197
|
+
Label: IntergalacticD3Component<"text", RadialTreeRadianLabelProps>;
|
|
243
198
|
};
|
|
244
199
|
};
|
|
245
200
|
export default RadialTree;
|
package/lib/types/Reference.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { UnknownProperties } from '@semcore/core';
|
|
2
|
-
|
|
3
|
-
import {
|
|
1
|
+
import type { UnknownProperties } from '@semcore/core';
|
|
2
|
+
|
|
3
|
+
import type { Context } from './context';
|
|
4
|
+
import type { IntergalacticD3Component } from './Plot';
|
|
4
5
|
|
|
5
6
|
/** @deprecated **/
|
|
6
7
|
export interface IReferenceLineProps extends ReferenceLineProps, UnknownProperties {}
|
|
@@ -26,7 +27,7 @@ export type ReferenceLineTitleProps = Context & {
|
|
|
26
27
|
/** @deprecated **/
|
|
27
28
|
export interface IReferenceLineBackgroundProps
|
|
28
29
|
extends ReferenceLineBackgroundProps,
|
|
29
|
-
|
|
30
|
+
UnknownProperties {}
|
|
30
31
|
export type ReferenceBackgroundProps = Context & {
|
|
31
32
|
/** The position relative the `value` */
|
|
32
33
|
position?: 'top' | 'right' | 'bottom' | 'left';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import type { UnknownProperties } from '@semcore/core';
|
|
2
|
+
import type { BoxProps } from '@semcore/flex-box';
|
|
3
|
+
|
|
4
|
+
import type { IntergalacticD3Component } from './Plot';
|
|
4
5
|
|
|
5
6
|
/** @deprecated */
|
|
6
7
|
export interface IResponsiveContainerProps extends ResponsiveContainerProps, UnknownProperties {}
|
|
@@ -14,7 +15,7 @@ export type ResponsiveContainerProps = BoxProps & {
|
|
|
14
15
|
/** @deprecated */
|
|
15
16
|
export interface IResponsiveContainerContext
|
|
16
17
|
extends ResponsiveContainerContext,
|
|
17
|
-
|
|
18
|
+
UnknownProperties {}
|
|
18
19
|
export type ResponsiveContainerContext = {
|
|
19
20
|
width?: number;
|
|
20
21
|
height?: number;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { UnknownProperties } from '@semcore/core';
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import type { UnknownProperties } from '@semcore/core';
|
|
2
|
+
|
|
3
|
+
import type { Context } from './context';
|
|
4
|
+
import type { PatternsConfig } from './Pattern';
|
|
5
|
+
import type { IntergalacticD3Component } from './Plot';
|
|
6
|
+
import type { TooltipType } from './Tooltip';
|
|
6
7
|
|
|
7
8
|
/** @deprecated */
|
|
8
9
|
export interface IScatterPlotProps extends ScatterPlotProps, UnknownProperties {}
|
package/lib/types/StackBar.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { UnknownProperties } from '@semcore/core';
|
|
2
|
-
|
|
3
|
-
import { BarContext, BarProps } from './Bar';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { PatternsConfig } from './Pattern';
|
|
1
|
+
import type { UnknownProperties } from '@semcore/core';
|
|
2
|
+
|
|
3
|
+
import type { BarContext, BarProps } from './Bar';
|
|
4
|
+
import type { Context } from './context';
|
|
5
|
+
import type { HorizontalBarProps } from './HorizontalBar';
|
|
6
|
+
import type { PatternsConfig } from './Pattern';
|
|
7
|
+
import type { IntergalacticD3Component } from './Plot';
|
|
7
8
|
|
|
8
9
|
/** @deprecated */
|
|
9
10
|
export interface IStackBarProps extends StackBarProps, UnknownProperties {}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { UnknownProperties } from '@semcore/core';
|
|
2
|
-
|
|
3
|
-
import Area from './Area';
|
|
4
|
-
import {
|
|
5
|
-
import { PatternsConfig } from './Pattern';
|
|
1
|
+
import type { UnknownProperties } from '@semcore/core';
|
|
2
|
+
|
|
3
|
+
import type Area from './Area';
|
|
4
|
+
import type { Context } from './context';
|
|
5
|
+
import type { PatternsConfig } from './Pattern';
|
|
6
|
+
import type { IntergalacticD3Component } from './Plot';
|
|
6
7
|
|
|
7
8
|
/** @deprecated */
|
|
8
9
|
export interface IStackedAreaProps extends StackedAreaProps, UnknownProperties {}
|
package/lib/types/Tooltip.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
1
|
+
import type { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';
|
|
2
|
+
import type { Box, BoxProps } from '@semcore/flex-box';
|
|
3
|
+
import type { PopperProps, PopperTriggerProps } from '@semcore/popper';
|
|
4
|
+
import type Popper from '@semcore/popper';
|
|
5
|
+
import type React from 'react';
|
|
6
|
+
|
|
7
|
+
import type { Context } from './context';
|
|
8
|
+
import type { IntergalacticD3Component } from './Plot';
|
|
7
9
|
|
|
8
10
|
/** @deprecated */
|
|
9
11
|
export interface ITooltipChartProps extends TooltipChartProps, UnknownProperties {}
|
|
@@ -47,12 +49,12 @@ export type TooltipType<ChildrenRenderProps = {}, TooltipProps = {}> = (<
|
|
|
47
49
|
ChildrenRenderProps & TooltipChartContext
|
|
48
50
|
>,
|
|
49
51
|
) => Intergalactic.InternalTypings.ComponentRenderingResults) &
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
Intergalactic.InternalTypings.ComponentAdditive<
|
|
53
|
+
Intergalactic.Tag,
|
|
54
|
+
Intergalactic.Tag,
|
|
55
|
+
TooltipProps
|
|
56
|
+
> &
|
|
57
|
+
TooltipTypeBase;
|
|
56
58
|
|
|
57
59
|
/**
|
|
58
60
|
* @deprecated Consider migration to better typed Bubble.Tooltip, HoverLine.Tooltip,
|
package/lib/types/Venn.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import type { FadeInOutProps } from '@semcore/animation';
|
|
2
|
+
import type { UnknownProperties } from '@semcore/core';
|
|
3
|
+
|
|
4
|
+
import type { Context } from './context';
|
|
5
|
+
import type { PatternsConfig } from './Pattern';
|
|
6
|
+
import type { IntergalacticD3Component } from './Plot';
|
|
7
|
+
import type { TooltipType } from './Tooltip';
|
|
7
8
|
|
|
8
9
|
/** @deprecated */
|
|
9
10
|
export interface IVennProps extends VennProps, UnknownProperties {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { DataStructureHints, DataSummarizationConfig } from './hints';
|
|
3
|
-
import { Intl } from './intl';
|
|
2
|
+
import type { DataStructureHints, DataSummarizationConfig } from './hints';
|
|
3
|
+
import type { Intl } from './intl';
|
|
4
4
|
export declare const DataAccessibilityTable: React.FC<{
|
|
5
5
|
id: string;
|
|
6
6
|
dataTableRef: React.RefObject<HTMLTableElement>;
|