@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
|
@@ -2,21 +2,25 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
4
4
|
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
5
|
+
import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
|
|
6
|
+
import _isNativeReflectConstruct from "@babel/runtime/helpers/esm/isNativeReflectConstruct";
|
|
7
|
+
import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
|
|
5
8
|
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
6
|
-
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
7
9
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
8
|
-
import React from "react";
|
|
9
10
|
import { createComponent, Component } from "@semcore/core";
|
|
10
11
|
import propsForElement from "@semcore/core/lib/utils/propsForElement";
|
|
12
|
+
import React from "react";
|
|
11
13
|
var _excluded = ["id", "transition", "tag", "style", "className"];
|
|
14
|
+
function _callSuper(t, o, e) {
|
|
15
|
+
return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
|
|
16
|
+
}
|
|
12
17
|
var AnimatedClipPath = /* @__PURE__ */ function(_Component) {
|
|
13
|
-
_inherits(AnimatedClipPath2, _Component);
|
|
14
|
-
var _super = _createSuper(AnimatedClipPath2);
|
|
15
18
|
function AnimatedClipPath2() {
|
|
16
19
|
_classCallCheck(this, AnimatedClipPath2);
|
|
17
|
-
return
|
|
20
|
+
return _callSuper(this, AnimatedClipPath2, arguments);
|
|
18
21
|
}
|
|
19
|
-
|
|
22
|
+
_inherits(AnimatedClipPath2, _Component);
|
|
23
|
+
return _createClass(AnimatedClipPath2, [{
|
|
20
24
|
key: "render",
|
|
21
25
|
value: function render() {
|
|
22
26
|
var _this$asProps = this.asProps, id = _this$asProps.id;
|
|
@@ -40,7 +44,6 @@ var AnimatedClipPath = /* @__PURE__ */ function(_Component) {
|
|
|
40
44
|
}, propsForElement(other, Tag)))));
|
|
41
45
|
}
|
|
42
46
|
}]);
|
|
43
|
-
return AnimatedClipPath2;
|
|
44
47
|
}(Component);
|
|
45
48
|
_defineProperty(AnimatedClipPath, "defaultProps", {
|
|
46
49
|
tag: "rect",
|
package/lib/esm/Area.mjs
CHANGED
|
@@ -1,49 +1,54 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
2
2
|
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
3
3
|
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
4
|
+
import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
|
|
5
|
+
import _isNativeReflectConstruct from "@babel/runtime/helpers/esm/isNativeReflectConstruct";
|
|
6
|
+
import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
|
|
4
7
|
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
5
|
-
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
6
8
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
7
9
|
import { sstyled, Component } from "@semcore/core";
|
|
8
|
-
import React from "react";
|
|
9
|
-
import { area, line, curveLinear } from "d3-shape";
|
|
10
|
-
import uniqueIDEnhancement from "@semcore/core/lib/utils/uniqueID";
|
|
11
10
|
import findComponent from "@semcore/core/lib/utils/findComponent";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
11
|
+
import uniqueIDEnhancement from "@semcore/core/lib/utils/uniqueID";
|
|
12
|
+
import { line, area, curveLinear } from "d3-shape";
|
|
13
|
+
import React from "react";
|
|
15
14
|
import AnimatedClipPath from "./AnimatedClipPath.mjs";
|
|
15
|
+
import { SvgElement } from "./component/SvgElement.mjs";
|
|
16
|
+
import createElement from "./createElement.mjs";
|
|
17
|
+
import Dots from "./Dots.mjs";
|
|
16
18
|
import { PatternFill } from "./Pattern.mjs";
|
|
19
|
+
import { interpolateValue, getNullData, definedNullData, definedData, scaleOfBandwidth } from "./utils.mjs";
|
|
20
|
+
function _callSuper(t, o, e) {
|
|
21
|
+
return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
|
|
22
|
+
}
|
|
17
23
|
/*!__reshadow-styles__:"./style/area.shadow.css"*/
|
|
18
24
|
var style = (
|
|
19
25
|
/*__reshadow_css_start__*/
|
|
20
26
|
(sstyled.insert(
|
|
21
27
|
/*__inner_css_start__*/
|
|
22
|
-
".
|
|
28
|
+
".___SArea_5x61l_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_5x61l_gg_.__color_5x61l_gg_{fill:var(--color_5x61l)}.___SArea_5x61l_gg_.__pattern_5x61l_gg_{fill:var(--pattern_5x61l);fill-opacity:.7}.___SArea_5x61l_gg_.__transparent_5x61l_gg_{opacity:.3}.___SAreaLine_5x61l_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_5x61l_gg_.__color_5x61l_gg_{stroke:var(--color_5x61l)}.___SAreaLine_5x61l_gg_.__transparent_5x61l_gg_{opacity:.3}.___SAreaLine_5x61l_gg_,.___SArea_5x61l_gg_{transition-property:d;transition-duration:var(--duration_5x61l);transition-timing-function:ease-in-out}.___SNull_5x61l_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_5x61l_gg_.__hide_5x61l_gg_{display:none}",
|
|
23
29
|
/*__inner_css_end__*/
|
|
24
|
-
"
|
|
30
|
+
"5x61l_gg_"
|
|
25
31
|
), /*__reshadow_css_end__*/
|
|
26
32
|
{
|
|
27
|
-
"__SArea": "
|
|
28
|
-
"_color": "
|
|
29
|
-
"--color": "--
|
|
30
|
-
"_pattern": "
|
|
31
|
-
"--pattern": "--
|
|
32
|
-
"_transparent": "
|
|
33
|
-
"__SAreaLine": "
|
|
34
|
-
"--duration": "--
|
|
35
|
-
"__SNull": "
|
|
36
|
-
"_hide": "
|
|
33
|
+
"__SArea": "___SArea_5x61l_gg_",
|
|
34
|
+
"_color": "__color_5x61l_gg_",
|
|
35
|
+
"--color": "--color_5x61l",
|
|
36
|
+
"_pattern": "__pattern_5x61l_gg_",
|
|
37
|
+
"--pattern": "--pattern_5x61l",
|
|
38
|
+
"_transparent": "__transparent_5x61l_gg_",
|
|
39
|
+
"__SAreaLine": "___SAreaLine_5x61l_gg_",
|
|
40
|
+
"--duration": "--duration_5x61l",
|
|
41
|
+
"__SNull": "___SNull_5x61l_gg_",
|
|
42
|
+
"_hide": "__hide_5x61l_gg_"
|
|
37
43
|
})
|
|
38
44
|
);
|
|
39
45
|
var AreaRoot = /* @__PURE__ */ function(_Component) {
|
|
40
|
-
_inherits(AreaRoot2, _Component);
|
|
41
|
-
var _super = _createSuper(AreaRoot2);
|
|
42
46
|
function AreaRoot2() {
|
|
43
47
|
_classCallCheck(this, AreaRoot2);
|
|
44
|
-
return
|
|
48
|
+
return _callSuper(this, AreaRoot2, arguments);
|
|
45
49
|
}
|
|
46
|
-
|
|
50
|
+
_inherits(AreaRoot2, _Component);
|
|
51
|
+
return _createClass(AreaRoot2, [{
|
|
47
52
|
key: "getDotsProps",
|
|
48
53
|
value: function getDotsProps() {
|
|
49
54
|
var _this$asProps = this.asProps, x = _this$asProps.x, y = _this$asProps.y, color = _this$asProps.color, d3Line = _this$asProps.d3Line, transparent = _this$asProps.transparent, resolveColor = _this$asProps.resolveColor, patterns = _this$asProps.patterns;
|
|
@@ -93,7 +98,7 @@ var AreaRoot = /* @__PURE__ */ function(_Component) {
|
|
|
93
98
|
value: function render() {
|
|
94
99
|
var _ref;
|
|
95
100
|
var SArea = this.Element;
|
|
96
|
-
var SAreaLine =
|
|
101
|
+
var SAreaLine = SvgElement;
|
|
97
102
|
var _this$asProps4 = this.asProps, styles = _this$asProps4.styles, hide = _this$asProps4.hide, d3 = _this$asProps4.d3, d3Line = _this$asProps4.d3Line, color = _this$asProps4.color, uid = _this$asProps4.uid, size = _this$asProps4.size, duration = _this$asProps4.duration, x = _this$asProps4.x, y = _this$asProps4.y, Children = _this$asProps4.Children, transparent = _this$asProps4.transparent, forcedAdvancedMode = _this$asProps4.forcedAdvancedMode, resolveColor = _this$asProps4.resolveColor, patterns = _this$asProps4.patterns;
|
|
98
103
|
var advancedMode = forcedAdvancedMode || !!findComponent(Children, [Area.Line.displayName]);
|
|
99
104
|
var data = this.asProps.data.filter(function(item) {
|
|
@@ -102,6 +107,7 @@ var AreaRoot = /* @__PURE__ */ function(_Component) {
|
|
|
102
107
|
this.asProps.dataHintsHandler.specifyDataRowFields(x, y);
|
|
103
108
|
this.asProps.dataHintsHandler.establishDataType("time-series");
|
|
104
109
|
return _ref = sstyled(styles), /* @__PURE__ */ React.createElement(React.Fragment, null, !advancedMode && /* @__PURE__ */ React.createElement(SAreaLine, _ref.cn("SAreaLine", {
|
|
110
|
+
"tag": "path",
|
|
105
111
|
"aria-hidden": true,
|
|
106
112
|
"clipPath": "url(#".concat(uid, "-animation)"),
|
|
107
113
|
"d": d3Line(data),
|
|
@@ -131,7 +137,6 @@ var AreaRoot = /* @__PURE__ */ function(_Component) {
|
|
|
131
137
|
})));
|
|
132
138
|
}
|
|
133
139
|
}]);
|
|
134
|
-
return AreaRoot2;
|
|
135
140
|
}(Component);
|
|
136
141
|
_defineProperty(AreaRoot, "displayName", "Area");
|
|
137
142
|
_defineProperty(AreaRoot, "style", style);
|
package/lib/esm/Axis.mjs
CHANGED
|
@@ -1,38 +1,42 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
3
3
|
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
4
|
+
import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
|
|
5
|
+
import _isNativeReflectConstruct from "@babel/runtime/helpers/esm/isNativeReflectConstruct";
|
|
6
|
+
import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
|
|
4
7
|
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
5
|
-
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
6
8
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
7
9
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
8
10
|
import { sstyled, Component } from "@semcore/core";
|
|
9
11
|
import React from "react";
|
|
10
12
|
import createElement from "./createElement.mjs";
|
|
11
13
|
import { scaleOfBandwidth } from "./utils.mjs";
|
|
12
|
-
|
|
14
|
+
function _callSuper(t, o, e) {
|
|
15
|
+
return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
|
|
16
|
+
}
|
|
13
17
|
/*!__reshadow-styles__:"./style/axis.shadow.css"*/
|
|
14
18
|
var style = (
|
|
15
19
|
/*__reshadow_css_start__*/
|
|
16
20
|
(sstyled.insert(
|
|
17
21
|
/*__inner_css_start__*/
|
|
18
|
-
".
|
|
22
|
+
".___SAxis_1k6z3_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_1k6z3_gg_.__hide_1k6z3_gg_,.___STick_1k6z3_gg_.__hide_1k6z3_gg_{display:none}.___STick_1k6z3_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_1k6z3_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_1k6z3_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_1k6z3)}.___STitle_1k6z3_gg_._position_top_1k6z3_gg_{text-anchor:middle}.___STitle_1k6z3_gg_._position_bottom_1k6z3_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_1k6z3_gg_._position_left_1k6z3_gg_,.___STitle_1k6z3_gg_._position_right_1k6z3_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___STitle_1k6z3_gg_._position_left_1k6z3_gg_.__verticalWritingMode_1k6z3_gg_,.___STitle_1k6z3_gg_._position_right_1k6z3_gg_.__verticalWritingMode_1k6z3_gg_{writing-mode:vertical-rl;transform:none}.___STick_1k6z3_gg_._position_top_1k6z3_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_1k6z3_gg_._position_bottom_1k6z3_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_1k6z3_gg_._position_right_1k6z3_gg_{transform:translateX(16px);text-anchor:start;dominant-baseline:middle}.___STick_1k6z3_gg_._position_left_1k6z3_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_1k6z3_gg_._position_custom_0_1k6z3_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_1k6z3_gg_._position_custom_1_1k6z3_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}",
|
|
19
23
|
/*__inner_css_end__*/
|
|
20
|
-
"
|
|
24
|
+
"1k6z3_gg_"
|
|
21
25
|
), /*__reshadow_css_end__*/
|
|
22
26
|
{
|
|
23
|
-
"__SAxis": "
|
|
24
|
-
"_hide": "
|
|
25
|
-
"__STick": "
|
|
26
|
-
"__SGrid": "
|
|
27
|
-
"__STitle": "
|
|
28
|
-
"--transform-origin": "--transform-
|
|
29
|
-
"_position_top": "
|
|
30
|
-
"_position_bottom": "
|
|
31
|
-
"_position_right": "
|
|
32
|
-
"_position_left": "
|
|
33
|
-
"_verticalWritingMode": "
|
|
34
|
-
"_position_custom_0": "
|
|
35
|
-
"_position_custom_1": "
|
|
27
|
+
"__SAxis": "___SAxis_1k6z3_gg_",
|
|
28
|
+
"_hide": "__hide_1k6z3_gg_",
|
|
29
|
+
"__STick": "___STick_1k6z3_gg_",
|
|
30
|
+
"__SGrid": "___SGrid_1k6z3_gg_",
|
|
31
|
+
"__STitle": "___STitle_1k6z3_gg_",
|
|
32
|
+
"--transform-origin": "--transform-origin_1k6z3",
|
|
33
|
+
"_position_top": "_position_top_1k6z3_gg_",
|
|
34
|
+
"_position_bottom": "_position_bottom_1k6z3_gg_",
|
|
35
|
+
"_position_right": "_position_right_1k6z3_gg_",
|
|
36
|
+
"_position_left": "_position_left_1k6z3_gg_",
|
|
37
|
+
"_verticalWritingMode": "__verticalWritingMode_1k6z3_gg_",
|
|
38
|
+
"_position_custom_0": "_position_custom_0_1k6z3_gg_",
|
|
39
|
+
"_position_custom_1": "_position_custom_1_1k6z3_gg_"
|
|
36
40
|
})
|
|
37
41
|
);
|
|
38
42
|
var CUSTOM_0 = Symbol("custom_0");
|
|
@@ -47,7 +51,7 @@ var MAP_POSITION_REVERT = {
|
|
|
47
51
|
bottom: "top",
|
|
48
52
|
left: "right"
|
|
49
53
|
};
|
|
50
|
-
var MAP_POSITION_AXIS = (
|
|
54
|
+
var MAP_POSITION_AXIS = _defineProperty(_defineProperty({
|
|
51
55
|
top: function top(_ref5) {
|
|
52
56
|
var _ref6 = _slicedToArray(_ref5, 2), xScale = _ref6[0], yScale = _ref6[1];
|
|
53
57
|
var xRange = xScale.range();
|
|
@@ -71,7 +75,7 @@ var MAP_POSITION_AXIS = (_MAP_POSITION_AXIS = {
|
|
|
71
75
|
};
|
|
72
76
|
},
|
|
73
77
|
right: function right(_ref9) {
|
|
74
|
-
var
|
|
78
|
+
var _ref0 = _slicedToArray(_ref9, 2), xScale = _ref0[0], yScale = _ref0[1];
|
|
75
79
|
var xRange = xScale.range();
|
|
76
80
|
var yRange = yScale.range();
|
|
77
81
|
return {
|
|
@@ -81,8 +85,8 @@ var MAP_POSITION_AXIS = (_MAP_POSITION_AXIS = {
|
|
|
81
85
|
y2: yRange[1]
|
|
82
86
|
};
|
|
83
87
|
},
|
|
84
|
-
left: function left(
|
|
85
|
-
var
|
|
88
|
+
left: function left(_ref1) {
|
|
89
|
+
var _ref10 = _slicedToArray(_ref1, 2), xScale = _ref10[0], yScale = _ref10[1];
|
|
86
90
|
var xRange = xScale.range();
|
|
87
91
|
var yRange = yScale.range();
|
|
88
92
|
return {
|
|
@@ -92,8 +96,8 @@ var MAP_POSITION_AXIS = (_MAP_POSITION_AXIS = {
|
|
|
92
96
|
y2: yRange[1]
|
|
93
97
|
};
|
|
94
98
|
}
|
|
95
|
-
},
|
|
96
|
-
var
|
|
99
|
+
}, CUSTOM_0, function(_ref11, pos) {
|
|
100
|
+
var _ref12 = _slicedToArray(_ref11, 2), xScale = _ref12[0], yScale = _ref12[1];
|
|
97
101
|
var xRange = xScale.range();
|
|
98
102
|
return {
|
|
99
103
|
x1: xRange[0],
|
|
@@ -101,8 +105,8 @@ var MAP_POSITION_AXIS = (_MAP_POSITION_AXIS = {
|
|
|
101
105
|
x2: xRange[1],
|
|
102
106
|
y2: scaleOfBandwidth(yScale, pos)
|
|
103
107
|
};
|
|
104
|
-
}),
|
|
105
|
-
var
|
|
108
|
+
}), CUSTOM_1, function(_ref13, pos) {
|
|
109
|
+
var _ref14 = _slicedToArray(_ref13, 2), xScale = _ref14[0], yScale = _ref14[1];
|
|
106
110
|
var yRange = yScale.range();
|
|
107
111
|
return {
|
|
108
112
|
x1: scaleOfBandwidth(xScale, pos),
|
|
@@ -110,56 +114,56 @@ var MAP_POSITION_AXIS = (_MAP_POSITION_AXIS = {
|
|
|
110
114
|
x2: scaleOfBandwidth(xScale, pos),
|
|
111
115
|
y2: yRange[1]
|
|
112
116
|
};
|
|
113
|
-
})
|
|
114
|
-
var MAP_POSITION_TICK = (
|
|
115
|
-
top: function top2(
|
|
116
|
-
var
|
|
117
|
+
});
|
|
118
|
+
var MAP_POSITION_TICK = _defineProperty(_defineProperty({
|
|
119
|
+
top: function top2(_ref15, value) {
|
|
120
|
+
var _ref16 = _slicedToArray(_ref15, 2), xScale = _ref16[0], yScale = _ref16[1];
|
|
117
121
|
var yRange = yScale.range();
|
|
118
122
|
return {
|
|
119
123
|
x: scaleOfBandwidth(xScale, value),
|
|
120
124
|
y: yRange[1]
|
|
121
125
|
};
|
|
122
126
|
},
|
|
123
|
-
bottom: function bottom2(
|
|
124
|
-
var
|
|
127
|
+
bottom: function bottom2(_ref17, value) {
|
|
128
|
+
var _ref18 = _slicedToArray(_ref17, 2), xScale = _ref18[0], yScale = _ref18[1];
|
|
125
129
|
var yRange = yScale.range();
|
|
126
130
|
return {
|
|
127
131
|
x: scaleOfBandwidth(xScale, value),
|
|
128
132
|
y: yRange[0]
|
|
129
133
|
};
|
|
130
134
|
},
|
|
131
|
-
right: function right2(
|
|
132
|
-
var
|
|
135
|
+
right: function right2(_ref19, value) {
|
|
136
|
+
var _ref20 = _slicedToArray(_ref19, 2), xScale = _ref20[0], yScale = _ref20[1];
|
|
133
137
|
var xRange = xScale.range();
|
|
134
138
|
return {
|
|
135
139
|
x: xRange[1],
|
|
136
140
|
y: scaleOfBandwidth(yScale, value)
|
|
137
141
|
};
|
|
138
142
|
},
|
|
139
|
-
left: function left2(
|
|
140
|
-
var
|
|
143
|
+
left: function left2(_ref21, value) {
|
|
144
|
+
var _ref22 = _slicedToArray(_ref21, 2), xScale = _ref22[0], yScale = _ref22[1];
|
|
141
145
|
var xRange = xScale.range();
|
|
142
146
|
return {
|
|
143
147
|
x: xRange[0],
|
|
144
148
|
y: scaleOfBandwidth(yScale, value)
|
|
145
149
|
};
|
|
146
150
|
}
|
|
147
|
-
},
|
|
148
|
-
var
|
|
151
|
+
}, CUSTOM_0, function(_ref23, value, pos) {
|
|
152
|
+
var _ref24 = _slicedToArray(_ref23, 2), xScale = _ref24[0], yScale = _ref24[1];
|
|
149
153
|
return {
|
|
150
154
|
x: scaleOfBandwidth(xScale, value),
|
|
151
155
|
y: scaleOfBandwidth(yScale, pos)
|
|
152
156
|
};
|
|
153
|
-
}),
|
|
154
|
-
var
|
|
157
|
+
}), CUSTOM_1, function(_ref25, value, pos) {
|
|
158
|
+
var _ref26 = _slicedToArray(_ref25, 2), xScale = _ref26[0], yScale = _ref26[1];
|
|
155
159
|
return {
|
|
156
160
|
x: scaleOfBandwidth(xScale, pos),
|
|
157
161
|
y: scaleOfBandwidth(yScale, value)
|
|
158
162
|
};
|
|
159
|
-
})
|
|
163
|
+
});
|
|
160
164
|
var MAP_POSITION_GRID = {
|
|
161
|
-
0: function _(
|
|
162
|
-
var
|
|
165
|
+
0: function _(_ref27, value) {
|
|
166
|
+
var _ref28 = _slicedToArray(_ref27, 2), xScale = _ref28[0], yScale = _ref28[1];
|
|
163
167
|
var yRange = yScale.range();
|
|
164
168
|
var x = scaleOfBandwidth(xScale, value);
|
|
165
169
|
return {
|
|
@@ -169,8 +173,8 @@ var MAP_POSITION_GRID = {
|
|
|
169
173
|
y2: yRange[1]
|
|
170
174
|
};
|
|
171
175
|
},
|
|
172
|
-
1: function _2(
|
|
173
|
-
var
|
|
176
|
+
1: function _2(_ref29, value) {
|
|
177
|
+
var _ref30 = _slicedToArray(_ref29, 2), xScale = _ref30[0], yScale = _ref30[1];
|
|
174
178
|
var xRange = xScale.range();
|
|
175
179
|
var y = scaleOfBandwidth(yScale, value);
|
|
176
180
|
return {
|
|
@@ -183,34 +187,34 @@ var MAP_POSITION_GRID = {
|
|
|
183
187
|
};
|
|
184
188
|
var OFFSET_TITLE = 10;
|
|
185
189
|
var MAP_POSITION_TITlE = {
|
|
186
|
-
top: function top3(
|
|
187
|
-
var
|
|
190
|
+
top: function top3(_ref31) {
|
|
191
|
+
var _ref32 = _slicedToArray(_ref31, 1), xScale = _ref32[0];
|
|
188
192
|
var xRange = xScale.range();
|
|
189
193
|
return {
|
|
190
194
|
x: (xRange[1] + xRange[0]) / 2,
|
|
191
195
|
y: OFFSET_TITLE
|
|
192
196
|
};
|
|
193
197
|
},
|
|
194
|
-
bottom: function bottom3(
|
|
195
|
-
var
|
|
196
|
-
var
|
|
198
|
+
bottom: function bottom3(_ref33, _ref34) {
|
|
199
|
+
var _ref35 = _slicedToArray(_ref33, 1), xScale = _ref35[0];
|
|
200
|
+
var _ref36 = _slicedToArray(_ref34, 2), height = _ref36[1];
|
|
197
201
|
var xRange = xScale.range();
|
|
198
202
|
return {
|
|
199
203
|
x: (xRange[1] + xRange[0]) / 2,
|
|
200
204
|
y: height - OFFSET_TITLE
|
|
201
205
|
};
|
|
202
206
|
},
|
|
203
|
-
right: function right3(
|
|
204
|
-
var
|
|
205
|
-
var
|
|
207
|
+
right: function right3(_ref37, _ref38) {
|
|
208
|
+
var _ref39 = _slicedToArray(_ref37, 2), yScale = _ref39[1];
|
|
209
|
+
var _ref40 = _slicedToArray(_ref38, 1), width = _ref40[0];
|
|
206
210
|
var yRange = yScale.range();
|
|
207
211
|
return {
|
|
208
212
|
x: width - OFFSET_TITLE,
|
|
209
213
|
y: (yRange[0] + yRange[1]) / 2
|
|
210
214
|
};
|
|
211
215
|
},
|
|
212
|
-
left: function left3(
|
|
213
|
-
var
|
|
216
|
+
left: function left3(_ref41) {
|
|
217
|
+
var _ref42 = _slicedToArray(_ref41, 2), yScale = _ref42[1];
|
|
214
218
|
var yRange = yScale.range();
|
|
215
219
|
return {
|
|
216
220
|
x: OFFSET_TITLE,
|
|
@@ -225,13 +229,12 @@ function renderValue(value) {
|
|
|
225
229
|
return value;
|
|
226
230
|
}
|
|
227
231
|
var AxisRoot = /* @__PURE__ */ function(_Component) {
|
|
228
|
-
_inherits(AxisRoot2, _Component);
|
|
229
|
-
var _super = _createSuper(AxisRoot2);
|
|
230
232
|
function AxisRoot2() {
|
|
231
233
|
_classCallCheck(this, AxisRoot2);
|
|
232
|
-
return
|
|
234
|
+
return _callSuper(this, AxisRoot2, arguments);
|
|
233
235
|
}
|
|
234
|
-
|
|
236
|
+
_inherits(AxisRoot2, _Component);
|
|
237
|
+
return _createClass(AxisRoot2, [{
|
|
235
238
|
key: "ticks",
|
|
236
239
|
get: function get() {
|
|
237
240
|
var _scl$ticks, _scl$domain;
|
|
@@ -280,7 +283,6 @@ var AxisRoot = /* @__PURE__ */ function(_Component) {
|
|
|
280
283
|
}, pos(scale, position))));
|
|
281
284
|
}
|
|
282
285
|
}]);
|
|
283
|
-
return AxisRoot2;
|
|
284
286
|
}(Component);
|
|
285
287
|
_defineProperty(AxisRoot, "displayName", "Axis");
|
|
286
288
|
_defineProperty(AxisRoot, "style", style);
|
|
@@ -362,13 +364,12 @@ function Title(props) {
|
|
|
362
364
|
"y": y
|
|
363
365
|
}));
|
|
364
366
|
}
|
|
365
|
-
var XAxisRoot = /* @__PURE__ */ function(
|
|
366
|
-
_inherits(XAxisRoot2, _AxisRoot);
|
|
367
|
-
var _super2 = _createSuper(XAxisRoot2);
|
|
367
|
+
var XAxisRoot = /* @__PURE__ */ function(_AxisRoot2) {
|
|
368
368
|
function XAxisRoot2() {
|
|
369
369
|
_classCallCheck(this, XAxisRoot2);
|
|
370
|
-
return
|
|
370
|
+
return _callSuper(this, XAxisRoot2, arguments);
|
|
371
371
|
}
|
|
372
|
+
_inherits(XAxisRoot2, _AxisRoot2);
|
|
372
373
|
return _createClass(XAxisRoot2);
|
|
373
374
|
}(AxisRoot);
|
|
374
375
|
_defineProperty(XAxisRoot, "defaultProps", _objectSpread(_objectSpread({}, AxisRoot.defaultProps), {}, {
|
|
@@ -380,13 +381,12 @@ var XAxis = createElement(XAxisRoot, {
|
|
|
380
381
|
Grid,
|
|
381
382
|
Title
|
|
382
383
|
});
|
|
383
|
-
var YAxisRoot = /* @__PURE__ */ function(
|
|
384
|
-
_inherits(YAxisRoot2, _AxisRoot2);
|
|
385
|
-
var _super3 = _createSuper(YAxisRoot2);
|
|
384
|
+
var YAxisRoot = /* @__PURE__ */ function(_AxisRoot3) {
|
|
386
385
|
function YAxisRoot2() {
|
|
387
386
|
_classCallCheck(this, YAxisRoot2);
|
|
388
|
-
return
|
|
387
|
+
return _callSuper(this, YAxisRoot2, arguments);
|
|
389
388
|
}
|
|
389
|
+
_inherits(YAxisRoot2, _AxisRoot3);
|
|
390
390
|
return _createClass(YAxisRoot2);
|
|
391
391
|
}(AxisRoot);
|
|
392
392
|
_defineProperty(YAxisRoot, "defaultProps", _objectSpread(_objectSpread({}, AxisRoot.defaultProps), {}, {
|
package/lib/esm/Bar.mjs
CHANGED
|
@@ -1,42 +1,47 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
2
2
|
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
3
3
|
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
4
|
+
import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
|
|
5
|
+
import _isNativeReflectConstruct from "@babel/runtime/helpers/esm/isNativeReflectConstruct";
|
|
6
|
+
import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
|
|
4
7
|
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
5
|
-
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
6
8
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
7
9
|
import { sstyled, Component } from "@semcore/core";
|
|
8
|
-
import React from "react";
|
|
9
|
-
import { transition } from "d3-transition";
|
|
10
10
|
import uniqueIDEnhancement from "@semcore/core/lib/utils/uniqueID";
|
|
11
|
-
import
|
|
11
|
+
import { transition } from "d3-transition";
|
|
12
|
+
import React from "react";
|
|
12
13
|
import AnimatedClipPath from "./AnimatedClipPath.mjs";
|
|
13
|
-
import
|
|
14
|
+
import createElement from "./createElement.mjs";
|
|
14
15
|
import { PatternFill } from "./Pattern.mjs";
|
|
16
|
+
import { scaleToBand, roundedPath } from "./utils.mjs";
|
|
17
|
+
function _callSuper(t, o, e) {
|
|
18
|
+
return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
|
|
19
|
+
}
|
|
15
20
|
/*!__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
16
21
|
var style = (
|
|
17
22
|
/*__reshadow_css_start__*/
|
|
18
23
|
(sstyled.insert(
|
|
19
24
|
/*__inner_css_start__*/
|
|
20
|
-
".
|
|
25
|
+
".___SBar_1e83s_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1e83s);transition-timing-function:ease-in-out}.___SBar_1e83s_gg_.__color_1e83s_gg_{fill:var(--color_1e83s)}.___SBar_1e83s_gg_.__pattern_1e83s_gg_.__color_1e83s_gg_{fill:var(--pattern_1e83s);stroke:var(--color_1e83s);stroke-width:1px}.___SBar_1e83s_gg_.__hide_1e83s_gg_{display:none}.___SBar_1e83s_gg_.__transparent_1e83s_gg_{opacity:.3}.___SBackground_1e83s_gg_.__onClick_1e83s_gg_,.___SBar_1e83s_gg_.__onClick_1e83s_gg_{cursor:pointer}.___SBackground_1e83s_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}.___SBarAnnotation_1e83s_gg_{display:flex;justify-content:space-between}.___SBarLabel_1e83s_gg_{color:var(--intergalactic-text-primary, #191b23);margin-right:auto}.___SBarLabel_1e83s_gg_,.___SBarPercent_1e83s_gg_,.___SBarValue_1e83s_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SBarPercent_1e83s_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SBarValue_1e83s_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary, #191b23);text-align:right}.___SCompactHorizontalBarHoverRect_1e83s_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}",
|
|
21
26
|
/*__inner_css_end__*/
|
|
22
|
-
"
|
|
27
|
+
"1e83s_gg_"
|
|
23
28
|
), /*__reshadow_css_end__*/
|
|
24
29
|
{
|
|
25
|
-
"__SBar": "
|
|
26
|
-
"--duration": "--
|
|
27
|
-
"_color": "
|
|
28
|
-
"--color": "--
|
|
29
|
-
"_pattern": "
|
|
30
|
-
"--pattern": "--
|
|
31
|
-
"_hide": "
|
|
32
|
-
"_transparent": "
|
|
33
|
-
"_onClick": "
|
|
34
|
-
"__SBackground": "
|
|
35
|
-
"__SBarAnnotation": "
|
|
36
|
-
"__SBarLabel": "
|
|
37
|
-
"__SBarPercent": "
|
|
38
|
-
"__SBarValue": "
|
|
39
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
30
|
+
"__SBar": "___SBar_1e83s_gg_",
|
|
31
|
+
"--duration": "--duration_1e83s",
|
|
32
|
+
"_color": "__color_1e83s_gg_",
|
|
33
|
+
"--color": "--color_1e83s",
|
|
34
|
+
"_pattern": "__pattern_1e83s_gg_",
|
|
35
|
+
"--pattern": "--pattern_1e83s",
|
|
36
|
+
"_hide": "__hide_1e83s_gg_",
|
|
37
|
+
"_transparent": "__transparent_1e83s_gg_",
|
|
38
|
+
"_onClick": "__onClick_1e83s_gg_",
|
|
39
|
+
"__SBackground": "___SBackground_1e83s_gg_",
|
|
40
|
+
"__SBarAnnotation": "___SBarAnnotation_1e83s_gg_",
|
|
41
|
+
"__SBarLabel": "___SBarLabel_1e83s_gg_",
|
|
42
|
+
"__SBarPercent": "___SBarPercent_1e83s_gg_",
|
|
43
|
+
"__SBarValue": "___SBarValue_1e83s_gg_",
|
|
44
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1e83s_gg_"
|
|
40
45
|
})
|
|
41
46
|
);
|
|
42
47
|
var MIN_HEIGHT = 2;
|
|
@@ -47,13 +52,12 @@ var calcPartBarY = function calcPartBarY2(y, minHeight, height) {
|
|
|
47
52
|
return height <= minHeight ? minHeight : 0;
|
|
48
53
|
};
|
|
49
54
|
var BarRoot = /* @__PURE__ */ function(_Component) {
|
|
50
|
-
_inherits(BarRoot2, _Component);
|
|
51
|
-
var _super = _createSuper(BarRoot2);
|
|
52
55
|
function BarRoot2() {
|
|
53
56
|
_classCallCheck(this, BarRoot2);
|
|
54
|
-
return
|
|
57
|
+
return _callSuper(this, BarRoot2, arguments);
|
|
55
58
|
}
|
|
56
|
-
|
|
59
|
+
_inherits(BarRoot2, _Component);
|
|
60
|
+
return _createClass(BarRoot2, [{
|
|
57
61
|
key: "getBackgroundProps",
|
|
58
62
|
value: function getBackgroundProps(_props, index) {
|
|
59
63
|
var _this$asProps = this.asProps, x = _this$asProps.x, data = _this$asProps.data;
|
|
@@ -87,7 +91,7 @@ var BarRoot = /* @__PURE__ */ function(_Component) {
|
|
|
87
91
|
value: function renderBar(d, i) {
|
|
88
92
|
var _ref, _d$y, _d$y2, _d$y3;
|
|
89
93
|
var SBar = this.Element;
|
|
90
|
-
var _this$asProps3 = this.asProps, styles = _this$asProps3.styles, color = _this$asProps3.color, resolveColor = _this$asProps3.resolveColor, x = _this$asProps3.x, y = _this$asProps3.y, y0 = _this$asProps3.y0, scale = _this$asProps3.scale, hide = _this$asProps3.hide, offsetProps = _this$asProps3.offset, duration = _this$asProps3.duration, uid = _this$asProps3.uid, r = _this$asProps3.r, hMin = _this$asProps3.hMin, widthProps = _this$asProps3.width, groupKey = _this$asProps3.groupKey, onClick = _this$asProps3.onClick, transparent = _this$asProps3.transparent, _this$asProps3$maxBar = _this$asProps3.maxBarSize, maxBarSize = _this$asProps3$maxBar === void 0 ?
|
|
94
|
+
var _this$asProps3 = this.asProps, styles = _this$asProps3.styles, color = _this$asProps3.color, resolveColor = _this$asProps3.resolveColor, x = _this$asProps3.x, y = _this$asProps3.y, y0 = _this$asProps3.y0, scale = _this$asProps3.scale, hide = _this$asProps3.hide, offsetProps = _this$asProps3.offset, duration = _this$asProps3.duration, uid = _this$asProps3.uid, r = _this$asProps3.r, hMin = _this$asProps3.hMin, widthProps = _this$asProps3.width, groupKey = _this$asProps3.groupKey, onClick = _this$asProps3.onClick, transparent = _this$asProps3.transparent, _this$asProps3$maxBar = _this$asProps3.maxBarSize, maxBarSize = _this$asProps3$maxBar === void 0 ? Number.POSITIVE_INFINITY : _this$asProps3$maxBar, patterns = _this$asProps3.patterns, dataHintsHandler = _this$asProps3.dataHintsHandler;
|
|
91
95
|
var offset = typeof offsetProps === "function" ? offsetProps(i) : offsetProps;
|
|
92
96
|
var _scale = _slicedToArray(scale, 2), xScale = _scale[0], yScale = _scale[1];
|
|
93
97
|
var absHeight = Math.abs(yScale(d[y]) - Math.min(yScale(yScale.domain()[0]), yScale((_d$y = d[y0]) !== null && _d$y !== void 0 ? _d$y : 0)));
|
|
@@ -156,7 +160,6 @@ var BarRoot = /* @__PURE__ */ function(_Component) {
|
|
|
156
160
|
}));
|
|
157
161
|
}
|
|
158
162
|
}]);
|
|
159
|
-
return BarRoot2;
|
|
160
163
|
}(Component);
|
|
161
164
|
_defineProperty(BarRoot, "displayName", "Bar");
|
|
162
165
|
_defineProperty(BarRoot, "style", style);
|