@semcore/d3-chart 18.0.0-prerelease.1 → 18.0.0-prerelease.2
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 +10 -1
- package/lib/cjs/Area.js +123 -23
- package/lib/cjs/Area.js.map +1 -1
- package/lib/cjs/Axis.js +109 -97
- package/lib/cjs/Axis.js.map +1 -1
- package/lib/cjs/Bar.js +16 -16
- package/lib/cjs/Bubble.js +14 -14
- package/lib/cjs/ChartMetaData.js +44 -0
- package/lib/cjs/ChartMetaData.js.map +1 -0
- package/lib/cjs/CompactHorizontalBar.js +16 -16
- package/lib/cjs/Donut.js +18 -19
- package/lib/cjs/Donut.js.map +1 -1
- package/lib/cjs/Dots.js +67 -13
- package/lib/cjs/Dots.js.map +1 -1
- package/lib/cjs/HorizontalBar.js +16 -16
- package/lib/cjs/Hover.js +66 -52
- package/lib/cjs/Hover.js.map +1 -1
- package/lib/cjs/Line.js +82 -17
- package/lib/cjs/Line.js.map +1 -1
- package/lib/cjs/Pattern.js +113 -2
- package/lib/cjs/Pattern.js.map +1 -1
- package/lib/cjs/Plot.js +5 -2
- package/lib/cjs/Plot.js.map +1 -1
- package/lib/cjs/Radar.js +19 -19
- package/lib/cjs/RadialTree.js +12 -12
- package/lib/cjs/Reference.js +55 -18
- package/lib/cjs/Reference.js.map +1 -1
- package/lib/cjs/ScatterPlot.js +9 -9
- package/lib/cjs/Tooltip.js +16 -14
- package/lib/cjs/Tooltip.js.map +1 -1
- package/lib/cjs/a11y/PlotA11yView.js +2 -2
- package/lib/cjs/component/Chart/AbstractChart.js +21 -18
- package/lib/cjs/component/Chart/AbstractChart.js.map +1 -1
- package/lib/cjs/component/Chart/AbstractChart.type.js +19 -0
- package/lib/cjs/component/Chart/AbstractChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/AreaChart.js +21 -7
- 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 +6 -3
- 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 +4 -0
- 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.type.js.map +1 -1
- package/lib/cjs/component/Chart/CompactHorizontalBarChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/DonutChart.js +0 -1
- 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 +6 -3
- 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 +16 -6
- 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.type.js.map +1 -1
- package/lib/cjs/component/Chart/ScatterPlotChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/VennChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/index.js +43 -0
- package/lib/cjs/component/Chart/index.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/cjs/component/ChartLegend/LegendFlex/legend-flex.shadow.css +2 -2
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +16 -16
- package/lib/cjs/component/ChartLegend/LegendItem/legend-item.shadow.css +11 -11
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +7 -7
- package/lib/cjs/component/ChartLegend/LegendTable/legend-table.shadow.css +2 -2
- package/lib/cjs/index.js +55 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/style/abstract-chart.shadow.css +13 -3
- package/lib/cjs/style/area.shadow.css +8 -5
- package/lib/cjs/style/axis.shadow.css +51 -60
- package/lib/cjs/style/bar.shadow.css +6 -6
- package/lib/cjs/style/bubble.shadow.css +3 -3
- package/lib/cjs/style/donut.shadow.css +2 -2
- package/lib/cjs/style/dot.shadow.css +37 -2
- package/lib/cjs/style/hover.shadow.css +30 -13
- package/lib/cjs/style/line.shadow.css +3 -3
- package/lib/cjs/style/pattern.shadow.css +10 -0
- package/lib/cjs/style/plotA11yView.shadow.css +3 -3
- package/lib/cjs/style/radar.shadow.css +7 -7
- package/lib/cjs/style/radial-tree.shadow.css +2 -2
- package/lib/cjs/style/reference.shadow.css +4 -4
- package/lib/cjs/style/scatterplot.shadow.css +1 -1
- package/lib/cjs/style/tooltip.shadow.css +12 -12
- package/lib/cjs/types/Axis.d.js.map +1 -1
- package/lib/cjs/types/Donut.d.js.map +1 -1
- package/lib/cjs/types/Hover.d.js.map +1 -1
- package/lib/cjs/utils.js +21 -1
- package/lib/cjs/utils.js.map +1 -1
- package/lib/es6/Area.js +125 -25
- package/lib/es6/Area.js.map +1 -1
- package/lib/es6/Axis.js +109 -97
- package/lib/es6/Axis.js.map +1 -1
- package/lib/es6/Bar.js +16 -16
- package/lib/es6/Bubble.js +14 -14
- package/lib/es6/ChartMetaData.js +36 -0
- package/lib/es6/ChartMetaData.js.map +1 -0
- package/lib/es6/CompactHorizontalBar.js +16 -16
- package/lib/es6/Donut.js +18 -19
- package/lib/es6/Donut.js.map +1 -1
- package/lib/es6/Dots.js +68 -14
- package/lib/es6/Dots.js.map +1 -1
- package/lib/es6/HorizontalBar.js +16 -16
- package/lib/es6/Hover.js +66 -52
- package/lib/es6/Hover.js.map +1 -1
- package/lib/es6/Line.js +84 -19
- package/lib/es6/Line.js.map +1 -1
- package/lib/es6/Pattern.js +108 -2
- package/lib/es6/Pattern.js.map +1 -1
- package/lib/es6/Plot.js +5 -2
- package/lib/es6/Plot.js.map +1 -1
- package/lib/es6/Radar.js +19 -19
- package/lib/es6/RadialTree.js +12 -12
- package/lib/es6/Reference.js +55 -18
- package/lib/es6/Reference.js.map +1 -1
- package/lib/es6/ScatterPlot.js +9 -9
- package/lib/es6/Tooltip.js +16 -14
- package/lib/es6/Tooltip.js.map +1 -1
- package/lib/es6/a11y/PlotA11yView.js +2 -2
- package/lib/es6/component/Chart/AbstractChart.js +21 -18
- package/lib/es6/component/Chart/AbstractChart.js.map +1 -1
- package/lib/es6/component/Chart/AbstractChart.type.js +14 -1
- package/lib/es6/component/Chart/AbstractChart.type.js.map +1 -1
- package/lib/es6/component/Chart/AreaChart.js +21 -7
- 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 +6 -3
- 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 +4 -0
- 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.type.js.map +1 -1
- package/lib/es6/component/Chart/CompactHorizontalBarChart.type.js.map +1 -1
- package/lib/es6/component/Chart/DonutChart.js +0 -1
- 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 +6 -3
- 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 +14 -4
- 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.type.js.map +1 -1
- package/lib/es6/component/Chart/ScatterPlotChart.type.js.map +1 -1
- package/lib/es6/component/Chart/VennChart.type.js.map +1 -1
- package/lib/es6/component/Chart/index.js +2 -0
- package/lib/es6/component/Chart/index.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/es6/component/ChartLegend/LegendFlex/legend-flex.shadow.css +2 -2
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +16 -16
- package/lib/es6/component/ChartLegend/LegendItem/legend-item.shadow.css +11 -11
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +7 -7
- package/lib/es6/component/ChartLegend/LegendTable/legend-table.shadow.css +2 -2
- package/lib/es6/index.js +1 -0
- package/lib/es6/index.js.map +1 -1
- package/lib/es6/style/abstract-chart.shadow.css +13 -3
- package/lib/es6/style/area.shadow.css +8 -5
- package/lib/es6/style/axis.shadow.css +51 -60
- package/lib/es6/style/bar.shadow.css +6 -6
- package/lib/es6/style/bubble.shadow.css +3 -3
- package/lib/es6/style/donut.shadow.css +2 -2
- package/lib/es6/style/dot.shadow.css +37 -2
- package/lib/es6/style/hover.shadow.css +30 -13
- package/lib/es6/style/line.shadow.css +3 -3
- package/lib/es6/style/pattern.shadow.css +10 -0
- package/lib/es6/style/plotA11yView.shadow.css +3 -3
- package/lib/es6/style/radar.shadow.css +7 -7
- package/lib/es6/style/radial-tree.shadow.css +2 -2
- package/lib/es6/style/reference.shadow.css +4 -4
- package/lib/es6/style/scatterplot.shadow.css +1 -1
- package/lib/es6/style/tooltip.shadow.css +12 -12
- package/lib/es6/types/Axis.d.js.map +1 -1
- package/lib/es6/types/Donut.d.js.map +1 -1
- package/lib/es6/types/Hover.d.js.map +1 -1
- package/lib/es6/utils.js +18 -0
- package/lib/es6/utils.js.map +1 -1
- package/lib/esm/Area.mjs +127 -26
- package/lib/esm/Axis.mjs +110 -98
- package/lib/esm/Bar.mjs +17 -17
- package/lib/esm/Bubble.mjs +15 -15
- package/lib/esm/ChartMetaData.mjs +38 -0
- package/lib/esm/CompactHorizontalBar.mjs +17 -17
- package/lib/esm/Donut.mjs +19 -20
- package/lib/esm/Dots.mjs +66 -15
- package/lib/esm/HorizontalBar.mjs +17 -17
- package/lib/esm/Hover.mjs +67 -53
- package/lib/esm/Line.mjs +86 -20
- package/lib/esm/Pattern.mjs +119 -0
- package/lib/esm/Plot.mjs +6 -3
- package/lib/esm/Radar.mjs +20 -20
- package/lib/esm/RadialTree.mjs +13 -13
- package/lib/esm/Reference.mjs +56 -19
- package/lib/esm/ScatterPlot.mjs +10 -10
- package/lib/esm/Tooltip.mjs +17 -15
- package/lib/esm/a11y/PlotA11yView.mjs +3 -3
- package/lib/esm/component/Chart/AbstractChart.mjs +22 -19
- package/lib/esm/component/Chart/AbstractChart.type.mjs +16 -0
- package/lib/esm/component/Chart/AreaChart.mjs +21 -7
- package/lib/esm/component/Chart/BarChart.mjs +6 -3
- package/lib/esm/component/Chart/BubbleChart.mjs +4 -0
- package/lib/esm/component/Chart/DonutChart.mjs +0 -1
- package/lib/esm/component/Chart/HistogramChart.mjs +6 -3
- package/lib/esm/component/Chart/LineChart.mjs +14 -4
- package/lib/esm/component/Chart/index.mjs +8 -0
- package/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +5 -5
- package/lib/esm/component/ChartLegend/LegendFlex/legend-flex.shadow.css +2 -2
- package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +17 -17
- package/lib/esm/component/ChartLegend/LegendItem/legend-item.shadow.css +11 -11
- package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +8 -8
- package/lib/esm/component/ChartLegend/LegendTable/legend-table.shadow.css +2 -2
- package/lib/esm/index.mjs +8 -0
- package/lib/esm/style/abstract-chart.shadow.css +13 -3
- package/lib/esm/style/area.shadow.css +8 -5
- package/lib/esm/style/axis.shadow.css +51 -60
- package/lib/esm/style/bar.shadow.css +6 -6
- package/lib/esm/style/bubble.shadow.css +3 -3
- package/lib/esm/style/donut.shadow.css +2 -2
- package/lib/esm/style/dot.shadow.css +37 -2
- package/lib/esm/style/hover.shadow.css +30 -13
- package/lib/esm/style/line.shadow.css +3 -3
- package/lib/esm/style/pattern.shadow.css +10 -0
- package/lib/esm/style/plotA11yView.shadow.css +3 -3
- package/lib/esm/style/radar.shadow.css +7 -7
- package/lib/esm/style/radial-tree.shadow.css +2 -2
- package/lib/esm/style/reference.shadow.css +4 -4
- package/lib/esm/style/scatterplot.shadow.css +1 -1
- package/lib/esm/style/tooltip.shadow.css +12 -12
- package/lib/esm/utils.mjs +20 -0
- package/lib/types/Axis.d.ts +3 -2
- package/lib/types/ChartMetaData.d.ts +17 -0
- package/lib/types/ChartMetaData.d.ts.map +1 -0
- package/lib/types/Donut.d.ts +1 -1
- package/lib/types/Hover.d.ts +2 -0
- package/lib/types/Pattern.d.ts +18 -0
- package/lib/types/Pattern.d.ts.map +1 -1
- package/lib/types/component/Chart/AbstractChart.d.ts.map +1 -1
- package/lib/types/component/Chart/AbstractChart.type.d.ts +22 -4
- package/lib/types/component/Chart/AbstractChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/AreaChart.d.ts.map +1 -1
- package/lib/types/component/Chart/AreaChart.type.d.ts +8 -4
- package/lib/types/component/Chart/AreaChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/BarChart.d.ts.map +1 -1
- package/lib/types/component/Chart/BarChart.type.d.ts +1 -0
- package/lib/types/component/Chart/BarChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/BubbleChart.d.ts.map +1 -1
- package/lib/types/component/Chart/BubbleChart.type.d.ts +1 -1
- package/lib/types/component/Chart/BubbleChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/CigaretteChart.type.d.ts +1 -1
- package/lib/types/component/Chart/CigaretteChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/CompactHorizontalBarChart.type.d.ts +1 -1
- package/lib/types/component/Chart/CompactHorizontalBarChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/DonutChart.d.ts.map +1 -1
- package/lib/types/component/Chart/DonutChart.type.d.ts +1 -2
- package/lib/types/component/Chart/DonutChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/HistogramChart.d.ts.map +1 -1
- package/lib/types/component/Chart/HistogramChart.type.d.ts +1 -0
- package/lib/types/component/Chart/HistogramChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/LineChart.d.ts.map +1 -1
- package/lib/types/component/Chart/LineChart.type.d.ts +1 -0
- package/lib/types/component/Chart/LineChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/RadarChart.type.d.ts +1 -1
- package/lib/types/component/Chart/RadarChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/ScatterPlotChart.type.d.ts +1 -1
- package/lib/types/component/Chart/ScatterPlotChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/VennChart.type.d.ts +1 -1
- package/lib/types/component/Chart/VennChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/index.d.ts +2 -0
- package/lib/types/component/Chart/index.d.ts.map +1 -1
- package/lib/types/utils.d.ts +4 -1
- package/lib/types/utils.d.ts.map +1 -1
- package/package.json +15 -15
- package/lib/esm/utils/TextMeasurer.mjs +0 -27
|
@@ -2,11 +2,11 @@ SLegendFlex[direction='row'] {
|
|
|
2
2
|
align-items: flex-start;
|
|
3
3
|
align-content: flex-start;
|
|
4
4
|
flex-wrap: wrap;
|
|
5
|
-
gap: var(--intergalactic-spacing-
|
|
5
|
+
gap: var(--intergalactic-spacing-2x, 8px) var(--intergalactic-spacing-4x, 16px);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
SLegendFlex[direction='column'] {
|
|
9
9
|
align-items: flex-start;
|
|
10
10
|
flex-wrap: wrap;
|
|
11
|
-
gap: var(--intergalactic-spacing-
|
|
11
|
+
gap: var(--intergalactic-spacing-2x, 8px);
|
|
12
12
|
}
|
|
@@ -14,24 +14,24 @@ import uniqueIDEnhancement from '@semcore/core/lib/utils/uniqueID';
|
|
|
14
14
|
import { Text as TypographyText } from '@semcore/typography';
|
|
15
15
|
import React from 'react';
|
|
16
16
|
/*!__reshadow-styles__:"./legend-item.shadow.css"*/
|
|
17
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
17
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SLegendItem_10kc6_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_10kc6_gg_:hover{cursor:pointer}.___SLegendItem_10kc6_gg_.__disabled_10kc6_gg_:hover{cursor:default}}.___SLegendItem_10kc6_gg_.__transparent_10kc6_gg_{opacity:.3}.___SPointShape_10kc6_gg_.__color_10kc6_gg_{background-color:var(--color_10kc6);margin-right:var(--intergalactic-spacing-1-5x,6px);flex-shrink:0}.___SPointShape_10kc6_gg_._shape_Circle_10kc6_gg_._size_l_10kc6_gg_{width:16px;height:16px;border-radius:8px;margin-top:var(--intergalactic-spacing-1x,4px)}.___SPointShape_10kc6_gg_._shape_Circle_10kc6_gg_._size_m_10kc6_gg_{width:12px;height:12px;border-radius:6px;margin-top:var(--intergalactic-spacing-1x,4px)}.___SPointShape_10kc6_gg_._shape_Pattern_10kc6_gg_{background-color:initial;margin-right:var(--intergalactic-spacing-1x,4px)}.___SIcon_10kc6_gg_{line-height:0;margin-right:var(--intergalactic-spacing-1x,4px)}.___SIcon_10kc6_gg_._size_l_10kc6_gg_{margin-top:var(--intergalactic-spacing-1x,4px)}.___SIcon_10kc6_gg_._size_m_10kc6_gg_{margin-top:var(--intergalactic-spacing-05x,2px)}.___SLabel_10kc6_gg_{min-width:0}.___SAdditionalLabel_10kc6_gg_._size_l_10kc6_gg_,.___SCount_10kc6_gg_._size_l_10kc6_gg_,.___SLabel_10kc6_gg_._size_l_10kc6_gg_{font-size:var(--intergalactic-fs-300,16px);line-height:var(--intergalactic-lh-300,1.5)}.___SAdditionalLabel_10kc6_gg_._size_m_10kc6_gg_,.___SCount_10kc6_gg_._size_m_10kc6_gg_,.___SLabel_10kc6_gg_._size_m_10kc6_gg_{font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,1.4286)}.___SAdditionalLabel_10kc6_gg_,.___SCount_10kc6_gg_{margin-left:var(--intergalactic-spacing-1x,4px)}.___SAdditionalLabel_10kc6_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_10kc6_gg_:before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary,oklch(.182 .045 244.8/.593));height:4px;width:4px;border-radius:2px;margin-right:var(--intergalactic-spacing-1x,4px)}.___SAdditionalLabel_10kc6_gg_._size_l_10kc6_gg_:before{margin-top:10px}.___SAdditionalLabel_10kc6_gg_._size_m_10kc6_gg_:before{margin-top:8px}.___SPatternSymbol_10kc6_gg_{transform:scale(.8)}", /*__inner_css_end__*/"10kc6_gg_"),
|
|
18
18
|
/*__reshadow_css_end__*/
|
|
19
19
|
{
|
|
20
|
-
"__SLegendItem": "
|
|
21
|
-
"_disabled": "
|
|
22
|
-
"_transparent": "
|
|
23
|
-
"__SPointShape": "
|
|
24
|
-
"_color": "
|
|
25
|
-
"--color": "--
|
|
26
|
-
"_shape_Circle": "
|
|
27
|
-
"_size_l": "
|
|
28
|
-
"_size_m": "
|
|
29
|
-
"_shape_Pattern": "
|
|
30
|
-
"__SIcon": "
|
|
31
|
-
"__SLabel": "
|
|
32
|
-
"__SAdditionalLabel": "
|
|
33
|
-
"__SCount": "
|
|
34
|
-
"__SPatternSymbol": "
|
|
20
|
+
"__SLegendItem": "___SLegendItem_10kc6_gg_",
|
|
21
|
+
"_disabled": "__disabled_10kc6_gg_",
|
|
22
|
+
"_transparent": "__transparent_10kc6_gg_",
|
|
23
|
+
"__SPointShape": "___SPointShape_10kc6_gg_",
|
|
24
|
+
"_color": "__color_10kc6_gg_",
|
|
25
|
+
"--color": "--color_10kc6",
|
|
26
|
+
"_shape_Circle": "_shape_Circle_10kc6_gg_",
|
|
27
|
+
"_size_l": "_size_l_10kc6_gg_",
|
|
28
|
+
"_size_m": "_size_m_10kc6_gg_",
|
|
29
|
+
"_shape_Pattern": "_shape_Pattern_10kc6_gg_",
|
|
30
|
+
"__SIcon": "___SIcon_10kc6_gg_",
|
|
31
|
+
"__SLabel": "___SLabel_10kc6_gg_",
|
|
32
|
+
"__SAdditionalLabel": "___SAdditionalLabel_10kc6_gg_",
|
|
33
|
+
"__SCount": "___SCount_10kc6_gg_",
|
|
34
|
+
"__SPatternSymbol": "___SPatternSymbol_10kc6_gg_"
|
|
35
35
|
});
|
|
36
36
|
import { StaticShapes } from './LegendItem.type';
|
|
37
37
|
import { PatternSymbol } from '../../../Pattern';
|
|
@@ -17,7 +17,7 @@ SLegendItem[transparent] {
|
|
|
17
17
|
|
|
18
18
|
SPointShape[color] {
|
|
19
19
|
background-color: var(--color);
|
|
20
|
-
margin-right: var(--intergalactic-spacing-
|
|
20
|
+
margin-right: var(--intergalactic-spacing-1-5x, 6px);
|
|
21
21
|
flex-shrink: 0;
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -25,32 +25,32 @@ SPointShape[shape='Circle'][size='l'] {
|
|
|
25
25
|
width: 16px;
|
|
26
26
|
height: 16px;
|
|
27
27
|
border-radius: 8px;
|
|
28
|
-
margin-top: var(--intergalactic-spacing-
|
|
28
|
+
margin-top: var(--intergalactic-spacing-1x, 4px);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
SPointShape[shape='Circle'][size='m'] {
|
|
32
32
|
width: 12px;
|
|
33
33
|
height: 12px;
|
|
34
34
|
border-radius: 6px;
|
|
35
|
-
margin-top: var(--intergalactic-spacing-
|
|
35
|
+
margin-top: var(--intergalactic-spacing-1x, 4px);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
SPointShape[shape='Pattern'] {
|
|
39
39
|
background-color: transparent;
|
|
40
|
-
margin-right: var(--intergalactic-spacing-
|
|
40
|
+
margin-right: var(--intergalactic-spacing-1x, 4px);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
SIcon {
|
|
44
44
|
line-height: 0;
|
|
45
|
-
margin-right: var(--intergalactic-spacing-
|
|
45
|
+
margin-right: var(--intergalactic-spacing-1x, 4px);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
SIcon[size='l'] {
|
|
49
|
-
margin-top: var(--intergalactic-spacing-
|
|
49
|
+
margin-top: var(--intergalactic-spacing-1x, 4px);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
SIcon[size='m'] {
|
|
53
|
-
margin-top: var(--intergalactic-spacing-
|
|
53
|
+
margin-top: var(--intergalactic-spacing-05x, 2px);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
SLabel {
|
|
@@ -73,7 +73,7 @@ SCount[size='m'] {
|
|
|
73
73
|
|
|
74
74
|
SAdditionalLabel,
|
|
75
75
|
SCount {
|
|
76
|
-
margin-left: var(--intergalactic-spacing-
|
|
76
|
+
margin-left: var(--intergalactic-spacing-1x, 4px);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
SAdditionalLabel {
|
|
@@ -85,11 +85,11 @@ SAdditionalLabel {
|
|
|
85
85
|
SAdditionalLabel::before {
|
|
86
86
|
content: '';
|
|
87
87
|
display: inline-block;
|
|
88
|
-
background-color: var(--intergalactic-text-secondary, oklch(0.
|
|
88
|
+
background-color: var(--intergalactic-text-secondary, oklch(0.182 0.045 244.8 / 0.593));
|
|
89
89
|
height: 4px;
|
|
90
90
|
width: 4px;
|
|
91
91
|
border-radius: 2px;
|
|
92
|
-
margin-right: var(--intergalactic-spacing-
|
|
92
|
+
margin-right: var(--intergalactic-spacing-1x, 4px);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
SAdditionalLabel[size='l']::before {
|
|
@@ -102,4 +102,4 @@ SAdditionalLabel[size='m']::before {
|
|
|
102
102
|
|
|
103
103
|
SPatternSymbol {
|
|
104
104
|
transform: scale(0.8);
|
|
105
|
-
}
|
|
105
|
+
}
|
|
@@ -6,15 +6,15 @@ import { Box } from '@semcore/base-components';
|
|
|
6
6
|
import { createComponent, sstyled, Root } from '@semcore/core';
|
|
7
7
|
import React from 'react';
|
|
8
8
|
/*!__reshadow-styles__:"./legend-table.shadow.css"*/
|
|
9
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
9
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SLegendTable_gm25x_gg_.__columns-count_gm25x_gg_{font-feature-settings:\"tnum\";font-variant-numeric:tabular-nums;display:grid;grid-template-columns:auto .2fr;align-items:center;height:-moz-fit-content;height:fit-content;grid-column-gap:var(--intergalactic-spacing-2x,8px);grid-row-gap:var(--intergalactic-spacing-2x,8px)}.___SColumnItem_gm25x_gg_._size_l_gm25x_gg_{font-size:var(--intergalactic-fs-300,16px);text-align:right}.___SColumnItem_gm25x_gg_._size_m_gm25x_gg_{font-size:var(--intergalactic-fs-200,14px);text-align:right}.___SColumnItem_gm25x_gg_.__transparent_gm25x_gg_{opacity:.3}", /*__inner_css_end__*/"gm25x_gg_"),
|
|
10
10
|
/*__reshadow_css_end__*/
|
|
11
11
|
{
|
|
12
|
-
"__SLegendTable": "
|
|
13
|
-
"_columns-count": "__columns-
|
|
14
|
-
"__SColumnItem": "
|
|
15
|
-
"_size_l": "
|
|
16
|
-
"_size_m": "
|
|
17
|
-
"_transparent": "
|
|
12
|
+
"__SLegendTable": "___SLegendTable_gm25x_gg_",
|
|
13
|
+
"_columns-count": "__columns-count_gm25x_gg_",
|
|
14
|
+
"__SColumnItem": "___SColumnItem_gm25x_gg_",
|
|
15
|
+
"_size_l": "_size_l_gm25x_gg_",
|
|
16
|
+
"_size_m": "_size_m_gm25x_gg_",
|
|
17
|
+
"_transparent": "__transparent_gm25x_gg_"
|
|
18
18
|
});
|
|
19
19
|
import { BaseLegend } from '../BaseLegend';
|
|
20
20
|
import { LegendItemComponent } from '../LegendItem/LegendItem';
|
|
@@ -4,8 +4,8 @@ SLegendTable[columns-count] {
|
|
|
4
4
|
grid-template-columns: auto 0.2fr;
|
|
5
5
|
align-items: center;
|
|
6
6
|
height: fit-content;
|
|
7
|
-
grid-column-gap: var(--intergalactic-spacing-
|
|
8
|
-
grid-row-gap: var(--intergalactic-spacing-
|
|
7
|
+
grid-column-gap: var(--intergalactic-spacing-2x, 8px);
|
|
8
|
+
grid-row-gap: var(--intergalactic-spacing-2x, 8px);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
SColumnItem[size='l'] {
|
package/lib/es6/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as Plot } from './Plot';
|
|
2
2
|
export { ChartLegend, ChartLegendTable } from './component/ChartLegend';
|
|
3
3
|
export { default as Chart } from './component/Chart';
|
|
4
|
+
export * from './component/Chart';
|
|
4
5
|
export { default as StackGroupBar } from './component/StackGroupBar/StackGroupBar';
|
|
5
6
|
export { SvgElement } from './component/SvgElement';
|
|
6
7
|
export { XAxis, YAxis } from './Axis';
|
package/lib/es6/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["default","Plot","ChartLegend","ChartLegendTable","Chart","StackGroupBar","SvgElement","XAxis","YAxis","Line","Bar","CompactHorizontalBar","HorizontalBar","GroupBar","StackBar","Area","StackedArea","ScatterPlot","Bubble","RadialTree","Donut","Venn","Radar","getLabelOffsetPosition","Tooltip","ResponsiveContainer","ReferenceLine","ReferenceBackground","ReferenceStripes","HoverLine","HoverRect","minMax","interpolateValue","getBubbleChartValueScale","getScatterPlotRadius","calculateBubbleDomain","PlotEventEmitter","colors","makeDataHintsContainer","PatternFill","PatternSymbol","getPatternSymbolSize"],"sources":["../../src/index.js"],"sourcesContent":["export { default as Plot } from './Plot';\nexport { ChartLegend, ChartLegendTable } from './component/ChartLegend';\nexport { default as Chart } from './component/Chart';\nexport { default as StackGroupBar } from './component/StackGroupBar/StackGroupBar';\nexport { SvgElement } from './component/SvgElement';\nexport { XAxis, YAxis } from './Axis';\n\nexport { default as Line } from './Line';\n\nexport { default as Bar } from './Bar';\nexport { default as CompactHorizontalBar } from './CompactHorizontalBar';\nexport { default as HorizontalBar } from './HorizontalBar';\nexport { default as GroupBar } from './GroupBar';\nexport { default as StackBar } from './StackBar';\nexport { default as Area } from './Area';\nexport { default as StackedArea } from './StackedArea';\nexport { default as ScatterPlot } from './ScatterPlot';\nexport { default as Bubble } from './Bubble';\nexport { default as RadialTree } from './RadialTree';\nexport { default as Donut } from './Donut';\nexport { default as Venn } from './Venn';\nexport { default as Radar, getLabelOffsetPosition } from './Radar';\n\nexport { default as Tooltip } from './Tooltip';\n\nexport { default as ResponsiveContainer } from './ResponsiveContainer';\nexport { ReferenceLine, ReferenceBackground, ReferenceStripes } from './Reference';\n\nexport { HoverLine, HoverRect } from './Hover';\n\nexport {\n minMax,\n interpolateValue,\n getBubbleChartValueScale,\n getScatterPlotRadius,\n calculateBubbleDomain,\n PlotEventEmitter,\n} from './utils';\nexport { colors } from './color';\n\nexport { makeDataHintsContainer } from './a11y/hints';\n\nexport { PatternFill, PatternSymbol, getPatternSymbolSize } from './Pattern';\n"],"mappings":"AAAA,SAASA,OAAO,IAAIC,IAAI,QAAQ,QAAQ;AACxC,SAASC,WAAW,EAAEC,gBAAgB,QAAQ,yBAAyB;AACvE,SAASH,OAAO,IAAII,KAAK,QAAQ,mBAAmB;AACpD,SAASJ,OAAO,IAAIK,aAAa,QAAQ,yCAAyC;AAClF,SAASC,UAAU,QAAQ,wBAAwB;AACnD,SAASC,KAAK,EAAEC,KAAK,QAAQ,QAAQ;AAErC,SAASR,OAAO,IAAIS,IAAI,QAAQ,QAAQ;AAExC,SAAST,OAAO,IAAIU,GAAG,QAAQ,OAAO;AACtC,SAASV,OAAO,IAAIW,oBAAoB,QAAQ,wBAAwB;AACxE,SAASX,OAAO,IAAIY,aAAa,QAAQ,iBAAiB;AAC1D,SAASZ,OAAO,IAAIa,QAAQ,QAAQ,YAAY;AAChD,SAASb,OAAO,IAAIc,QAAQ,QAAQ,YAAY;AAChD,SAASd,OAAO,IAAIe,IAAI,QAAQ,QAAQ;AACxC,SAASf,OAAO,IAAIgB,WAAW,QAAQ,eAAe;AACtD,SAAShB,OAAO,IAAIiB,WAAW,QAAQ,eAAe;AACtD,SAASjB,OAAO,IAAIkB,MAAM,QAAQ,UAAU;AAC5C,SAASlB,OAAO,IAAImB,UAAU,QAAQ,cAAc;AACpD,SAASnB,OAAO,IAAIoB,KAAK,QAAQ,SAAS;AAC1C,SAASpB,OAAO,IAAIqB,IAAI,QAAQ,QAAQ;AACxC,SAASrB,OAAO,IAAIsB,KAAK,EAAEC,sBAAsB,QAAQ,SAAS;AAElE,SAASvB,OAAO,IAAIwB,OAAO,QAAQ,WAAW;AAE9C,SAASxB,OAAO,IAAIyB,mBAAmB,QAAQ,uBAAuB;AACtE,SAASC,aAAa,EAAEC,mBAAmB,EAAEC,gBAAgB,QAAQ,aAAa;AAElF,SAASC,SAAS,EAAEC,SAAS,QAAQ,SAAS;AAE9C,SACEC,MAAM,EACNC,gBAAgB,EAChBC,wBAAwB,EACxBC,oBAAoB,EACpBC,qBAAqB,EACrBC,gBAAgB,QACX,SAAS;AAChB,SAASC,MAAM,QAAQ,SAAS;AAEhC,SAASC,sBAAsB,QAAQ,cAAc;AAErD,SAASC,WAAW,EAAEC,aAAa,EAAEC,oBAAoB,QAAQ,WAAW","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["default","Plot","ChartLegend","ChartLegendTable","Chart","StackGroupBar","SvgElement","XAxis","YAxis","Line","Bar","CompactHorizontalBar","HorizontalBar","GroupBar","StackBar","Area","StackedArea","ScatterPlot","Bubble","RadialTree","Donut","Venn","Radar","getLabelOffsetPosition","Tooltip","ResponsiveContainer","ReferenceLine","ReferenceBackground","ReferenceStripes","HoverLine","HoverRect","minMax","interpolateValue","getBubbleChartValueScale","getScatterPlotRadius","calculateBubbleDomain","PlotEventEmitter","colors","makeDataHintsContainer","PatternFill","PatternSymbol","getPatternSymbolSize"],"sources":["../../src/index.js"],"sourcesContent":["export { default as Plot } from './Plot';\nexport { ChartLegend, ChartLegendTable } from './component/ChartLegend';\nexport { default as Chart } from './component/Chart';\nexport * from './component/Chart';\nexport { default as StackGroupBar } from './component/StackGroupBar/StackGroupBar';\nexport { SvgElement } from './component/SvgElement';\nexport { XAxis, YAxis } from './Axis';\n\nexport { default as Line } from './Line';\n\nexport { default as Bar } from './Bar';\nexport { default as CompactHorizontalBar } from './CompactHorizontalBar';\nexport { default as HorizontalBar } from './HorizontalBar';\nexport { default as GroupBar } from './GroupBar';\nexport { default as StackBar } from './StackBar';\nexport { default as Area } from './Area';\nexport { default as StackedArea } from './StackedArea';\nexport { default as ScatterPlot } from './ScatterPlot';\nexport { default as Bubble } from './Bubble';\nexport { default as RadialTree } from './RadialTree';\nexport { default as Donut } from './Donut';\nexport { default as Venn } from './Venn';\nexport { default as Radar, getLabelOffsetPosition } from './Radar';\n\nexport { default as Tooltip } from './Tooltip';\n\nexport { default as ResponsiveContainer } from './ResponsiveContainer';\nexport { ReferenceLine, ReferenceBackground, ReferenceStripes } from './Reference';\n\nexport { HoverLine, HoverRect } from './Hover';\n\nexport {\n minMax,\n interpolateValue,\n getBubbleChartValueScale,\n getScatterPlotRadius,\n calculateBubbleDomain,\n PlotEventEmitter,\n} from './utils';\nexport { colors } from './color';\n\nexport { makeDataHintsContainer } from './a11y/hints';\n\nexport { PatternFill, PatternSymbol, getPatternSymbolSize } from './Pattern';\n"],"mappings":"AAAA,SAASA,OAAO,IAAIC,IAAI,QAAQ,QAAQ;AACxC,SAASC,WAAW,EAAEC,gBAAgB,QAAQ,yBAAyB;AACvE,SAASH,OAAO,IAAII,KAAK,QAAQ,mBAAmB;AACpD,cAAc,mBAAmB;AACjC,SAASJ,OAAO,IAAIK,aAAa,QAAQ,yCAAyC;AAClF,SAASC,UAAU,QAAQ,wBAAwB;AACnD,SAASC,KAAK,EAAEC,KAAK,QAAQ,QAAQ;AAErC,SAASR,OAAO,IAAIS,IAAI,QAAQ,QAAQ;AAExC,SAAST,OAAO,IAAIU,GAAG,QAAQ,OAAO;AACtC,SAASV,OAAO,IAAIW,oBAAoB,QAAQ,wBAAwB;AACxE,SAASX,OAAO,IAAIY,aAAa,QAAQ,iBAAiB;AAC1D,SAASZ,OAAO,IAAIa,QAAQ,QAAQ,YAAY;AAChD,SAASb,OAAO,IAAIc,QAAQ,QAAQ,YAAY;AAChD,SAASd,OAAO,IAAIe,IAAI,QAAQ,QAAQ;AACxC,SAASf,OAAO,IAAIgB,WAAW,QAAQ,eAAe;AACtD,SAAShB,OAAO,IAAIiB,WAAW,QAAQ,eAAe;AACtD,SAASjB,OAAO,IAAIkB,MAAM,QAAQ,UAAU;AAC5C,SAASlB,OAAO,IAAImB,UAAU,QAAQ,cAAc;AACpD,SAASnB,OAAO,IAAIoB,KAAK,QAAQ,SAAS;AAC1C,SAASpB,OAAO,IAAIqB,IAAI,QAAQ,QAAQ;AACxC,SAASrB,OAAO,IAAIsB,KAAK,EAAEC,sBAAsB,QAAQ,SAAS;AAElE,SAASvB,OAAO,IAAIwB,OAAO,QAAQ,WAAW;AAE9C,SAASxB,OAAO,IAAIyB,mBAAmB,QAAQ,uBAAuB;AACtE,SAASC,aAAa,EAAEC,mBAAmB,EAAEC,gBAAgB,QAAQ,aAAa;AAElF,SAASC,SAAS,EAAEC,SAAS,QAAQ,SAAS;AAE9C,SACEC,MAAM,EACNC,gBAAgB,EAChBC,wBAAwB,EACxBC,oBAAoB,EACpBC,qBAAqB,EACrBC,gBAAgB,QACX,SAAS;AAChB,SAASC,MAAM,QAAQ,SAAS;AAEhC,SAASC,sBAAsB,QAAQ,cAAc;AAErD,SAASC,WAAW,EAAEC,aAAa,EAAEC,oBAAoB,QAAQ,WAAW","ignoreList":[]}
|
|
@@ -7,7 +7,7 @@ SChart {
|
|
|
7
7
|
|
|
8
8
|
STooltipChildrenWrapper {
|
|
9
9
|
display: grid;
|
|
10
|
-
gap: var(--intergalactic-spacing-
|
|
10
|
+
gap: var(--intergalactic-spacing-2x, 8px);
|
|
11
11
|
align-items: center;
|
|
12
12
|
|
|
13
13
|
&[columnsCount='2'] {
|
|
@@ -28,7 +28,7 @@ STooltipChildrenWrapper {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
STooltipDeltaWrapper {
|
|
31
|
-
gap: var(--intergalactic-spacing-
|
|
31
|
+
gap: var(--intergalactic-spacing-05x, 2px);
|
|
32
32
|
justify-content: flex-end;
|
|
33
33
|
|
|
34
34
|
&[trend='upward'] {
|
|
@@ -40,7 +40,17 @@ STooltipDeltaWrapper {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
&[trend='stable'] {
|
|
43
|
-
color: var(--intergalactic-text-secondary-invert, oklch(0.
|
|
43
|
+
color: var(--intergalactic-text-secondary-invert, oklch(0.953 0.025 240.1 / 0.726));
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&[deltaPercentGrowthColor='critical'] {
|
|
47
|
+
&[trend='upward'] {
|
|
48
|
+
color: var(--intergalactic-chart-data-critical, oklch(0.74 0.19 22));
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&[trend='downward'] {
|
|
52
|
+
color: var(--intergalactic-chart-data-success, oklch(0.82 0.19 143));
|
|
53
|
+
}
|
|
44
54
|
}
|
|
45
55
|
|
|
46
56
|
STooltipDeltaIcon {
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
@import './var.css';
|
|
2
2
|
|
|
3
3
|
SArea {
|
|
4
|
-
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.
|
|
4
|
+
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.009 245));
|
|
5
5
|
fill-opacity: 0.1;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
SArea[withGradient] {
|
|
6
9
|
mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.48) 60%, transparent 100%);
|
|
7
10
|
}
|
|
8
11
|
|
|
@@ -12,7 +15,7 @@ SArea[color] {
|
|
|
12
15
|
|
|
13
16
|
SArea[pattern] {
|
|
14
17
|
fill: var(--pattern);
|
|
15
|
-
fill-opacity: 0.
|
|
18
|
+
fill-opacity: 0.5;
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
SArea[transparent] {
|
|
@@ -20,7 +23,7 @@ SArea[transparent] {
|
|
|
20
23
|
}
|
|
21
24
|
|
|
22
25
|
SAreaLine {
|
|
23
|
-
stroke: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.
|
|
26
|
+
stroke: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.009 245));
|
|
24
27
|
stroke-width: 2;
|
|
25
28
|
fill: transparent;
|
|
26
29
|
}
|
|
@@ -42,10 +45,10 @@ SAreaLine {
|
|
|
42
45
|
|
|
43
46
|
SNull {
|
|
44
47
|
fill: transparent;
|
|
45
|
-
stroke: var(--intergalactic-chart-palette-order-null, oklch(0.9 0.
|
|
48
|
+
stroke: var(--intergalactic-chart-palette-order-null, oklch(0.9 0.009 234));
|
|
46
49
|
stroke-dasharray: 4;
|
|
47
50
|
}
|
|
48
51
|
|
|
49
52
|
SNull[hide] {
|
|
50
53
|
display: none;
|
|
51
|
-
}
|
|
54
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
SAxis {
|
|
2
|
-
stroke: var(--intergalactic-chart-grid-x-axis, oklch(0.88 0.
|
|
2
|
+
stroke: var(--intergalactic-chart-grid-x-axis, oklch(0.88 0.011 234.9));
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
SAxis[hide] {
|
|
@@ -7,25 +7,66 @@ SAxis[hide] {
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
STick {
|
|
10
|
+
display: block;
|
|
10
11
|
font-size: var(--intergalactic-fs-100, 12px);
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
font-variant-numeric: tabular-nums;
|
|
13
|
+
line-height: var(--intergalactic-lh-100, 1.3334);
|
|
14
|
+
color: var(--intergalactic-chart-grid-text-label, oklch(from oklch(0.182 0.045 244.8 / 0.593) l c h / 0.4));
|
|
15
|
+
overflow: visible;
|
|
16
|
+
|
|
17
|
+
/* FF fix */
|
|
18
|
+
[data-tick-content] {
|
|
19
|
+
height: 100%;
|
|
20
|
+
}
|
|
16
21
|
|
|
17
|
-
|
|
18
|
-
|
|
22
|
+
&[position='bottom'] {
|
|
23
|
+
text-align: center;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&[position='left'] {
|
|
27
|
+
text-align: end;
|
|
28
|
+
dominant-baseline: central;
|
|
29
|
+
|
|
30
|
+
[data-tick-content] {
|
|
31
|
+
align-content: center;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&[position='top'] {
|
|
36
|
+
text-align: center;
|
|
37
|
+
|
|
38
|
+
[data-tick-content] {
|
|
39
|
+
align-content: end;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&[position='right'] {
|
|
44
|
+
dominant-baseline: central;
|
|
45
|
+
|
|
46
|
+
[data-tick-content] {
|
|
47
|
+
align-content: center;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&[hide] {
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&[primaryText] {
|
|
56
|
+
color: var(--intergalactic-text-primary, oklch(0.23 0.009 245));
|
|
57
|
+
}
|
|
19
58
|
}
|
|
20
59
|
|
|
21
60
|
SGrid {
|
|
22
61
|
fill: transparent;
|
|
23
|
-
stroke: var(--intergalactic-
|
|
62
|
+
stroke: var(--intergalactic-chart-grid-line, oklch(0.7 0.021 242));
|
|
63
|
+
stroke-dasharray: 0 6;
|
|
64
|
+
stroke-linecap: round;
|
|
24
65
|
}
|
|
25
66
|
|
|
26
67
|
STitle {
|
|
27
68
|
font-size: var(--intergalactic-fs-100, 12px);
|
|
28
|
-
fill: var(--intergalactic-text-
|
|
69
|
+
fill: var(--intergalactic-chart-grid-text-label, oklch(from oklch(0.182 0.045 244.8 / 0.593) l c h / 0.4));
|
|
29
70
|
transform-origin: var(--transform-origin);
|
|
30
71
|
}
|
|
31
72
|
|
|
@@ -55,56 +96,6 @@ STitle[position='left'][verticalWritingMode] {
|
|
|
55
96
|
transform: none;
|
|
56
97
|
}
|
|
57
98
|
|
|
58
|
-
STick[position='top'] {
|
|
59
|
-
transform: translateY(-12px);
|
|
60
|
-
text-anchor: middle;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
STick[position='bottom'] {
|
|
64
|
-
transform: translateY(12px);
|
|
65
|
-
text-anchor: middle;
|
|
66
|
-
dominant-baseline: hanging;
|
|
67
|
-
|
|
68
|
-
tspan {
|
|
69
|
-
dominant-baseline: hanging;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
STick[position='right'] {
|
|
74
|
-
transform: translateX(16px);
|
|
75
|
-
dominant-baseline: middle;
|
|
76
|
-
|
|
77
|
-
tspan {
|
|
78
|
-
dominant-baseline: middle;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&[multiline] {
|
|
82
|
-
dominant-baseline: auto;
|
|
83
|
-
|
|
84
|
-
tspan {
|
|
85
|
-
dominant-baseline: auto;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
STick[position='left'] {
|
|
91
|
-
transform: translateX(-16px);
|
|
92
|
-
text-anchor: end;
|
|
93
|
-
dominant-baseline: middle;
|
|
94
|
-
|
|
95
|
-
tspan {
|
|
96
|
-
dominant-baseline: middle;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&[multiline] {
|
|
100
|
-
dominant-baseline: auto;
|
|
101
|
-
|
|
102
|
-
tspan {
|
|
103
|
-
dominant-baseline: auto;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
99
|
STick[position='custom_0'] {
|
|
109
100
|
transform: translateY(12px);
|
|
110
101
|
text-anchor: middle;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import './var.css';
|
|
2
2
|
|
|
3
3
|
SBar {
|
|
4
|
-
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.
|
|
4
|
+
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.009 245));
|
|
5
5
|
transition-property: height, width, y;
|
|
6
6
|
transition-duration: var(--duration);
|
|
7
7
|
transition-timing-function: ease-in-out;
|
|
@@ -30,7 +30,7 @@ SBar[onClick] {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
SBackground {
|
|
33
|
-
fill: var(--intergalactic-chart-grid-bar-
|
|
33
|
+
fill: var(--intergalactic-chart-grid-bar-base-bg, oklch(0.92 0.008 233.5));
|
|
34
34
|
opacity: 0.4;
|
|
35
35
|
}
|
|
36
36
|
SBackground[onClick] {
|
|
@@ -42,13 +42,13 @@ SBarAnnotation {
|
|
|
42
42
|
justify-content: space-between;
|
|
43
43
|
}
|
|
44
44
|
SBarLabel {
|
|
45
|
-
color: var(--intergalactic-text-primary, oklch(0.
|
|
45
|
+
color: var(--intergalactic-text-primary, oklch(0.23 0.009 245));
|
|
46
46
|
margin-right: auto;
|
|
47
47
|
font-size: var(--intergalactic-fs-200, 14px);
|
|
48
48
|
line-height: var(--intergalactic-lh-200, 1.4286);
|
|
49
49
|
}
|
|
50
50
|
SBarPercent {
|
|
51
|
-
color: var(--intergalactic-text-secondary, oklch(0.
|
|
51
|
+
color: var(--intergalactic-text-secondary, oklch(0.182 0.045 244.8 / 0.593));
|
|
52
52
|
margin-right: var(--intergalactic-spacing-2x, 8px);
|
|
53
53
|
font-size: var(--intergalactic-fs-200, 14px);
|
|
54
54
|
line-height: var(--intergalactic-lh-200, 1.4286);
|
|
@@ -57,11 +57,11 @@ SBarValue {
|
|
|
57
57
|
min-width: 52px;
|
|
58
58
|
display: flex;
|
|
59
59
|
justify-content: flex-end;
|
|
60
|
-
color: var(--intergalactic-text-primary, oklch(0.
|
|
60
|
+
color: var(--intergalactic-text-primary, oklch(0.23 0.009 245));
|
|
61
61
|
font-size: var(--intergalactic-fs-200, 14px);
|
|
62
62
|
line-height: var(--intergalactic-lh-200, 1.4286);
|
|
63
63
|
text-align: right;
|
|
64
64
|
}
|
|
65
65
|
SCompactHorizontalBarHoverRect {
|
|
66
|
-
fill: var(--intergalactic-chart-grid-bar-
|
|
66
|
+
fill: var(--intergalactic-chart-grid-bar-hover, oklch(0.375 0.09 242.7 / 0.05));
|
|
67
67
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import './var.css';
|
|
2
2
|
|
|
3
3
|
SBubble {
|
|
4
|
-
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.
|
|
4
|
+
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.009 245));
|
|
5
5
|
stroke: var(--intergalactic-chart-grid-border, #ffffff);
|
|
6
6
|
stroke-width: 2px;
|
|
7
7
|
transition-property: cx, cy;
|
|
@@ -40,7 +40,7 @@ SCenter {
|
|
|
40
40
|
text-anchor: middle;
|
|
41
41
|
/* disable-tokens-validator */
|
|
42
42
|
font-size: calc(var(--intergalactic-fs-100, 12px) - 1px);
|
|
43
|
-
stroke: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.
|
|
43
|
+
stroke: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.009 245));
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
SCenter[color] {
|
|
@@ -52,7 +52,7 @@ SCenter[transparent] {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
SLabel {
|
|
55
|
-
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.
|
|
55
|
+
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.009 245));
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
SLabel[position='right'] {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
SPie {
|
|
4
4
|
stroke: var(--intergalactic-chart-grid-border, #ffffff);
|
|
5
|
-
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.
|
|
5
|
+
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.009 245));
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
SPie[color] {
|
|
@@ -20,7 +20,7 @@ SPie[transparent] {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
SEmptyData {
|
|
23
|
-
fill: var(--intergalactic-chart-palette-order-null, oklch(0.9 0.
|
|
23
|
+
fill: var(--intergalactic-chart-palette-order-null, oklch(0.9 0.009 234));
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
SEmptyData[color] {
|
|
@@ -9,7 +9,7 @@ SDots {
|
|
|
9
9
|
SDot {
|
|
10
10
|
stroke-width: 1px;
|
|
11
11
|
stroke: var(--intergalactic-chart-grid-border, #ffffff);
|
|
12
|
-
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.
|
|
12
|
+
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.009 245));
|
|
13
13
|
transition-property: cx, cy, x, y, filter;
|
|
14
14
|
transition-timing-function: ease-in-out;
|
|
15
15
|
}
|
|
@@ -28,6 +28,41 @@ SDot[color] {
|
|
|
28
28
|
fill: var(--color);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
SDotHighlight {
|
|
32
|
+
&[color] {
|
|
33
|
+
opacity: 0.4;
|
|
34
|
+
fill: var(--color);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&[transparent] {
|
|
38
|
+
opacity: 0.12;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
SDotBorder {
|
|
43
|
+
fill: none;
|
|
44
|
+
stroke-width: 1px;
|
|
45
|
+
stroke: var(--intergalactic-chart-grid-dot-outer-border, oklch(from oklch(0.23 0.009 245) l c h / 0.1));
|
|
46
|
+
stroke-dasharray: 2;
|
|
47
|
+
|
|
48
|
+
&[transparent] {
|
|
49
|
+
opacity: 0.03;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
31
53
|
SDot[transparent] {
|
|
32
54
|
opacity: 0.3;
|
|
33
|
-
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
SDotBackdrop {
|
|
58
|
+
stroke-width: 1px;
|
|
59
|
+
stroke: var(--intergalactic-chart-grid-border, #ffffff);
|
|
60
|
+
fill: var(--intergalactic-chart-grid-border, #ffffff);
|
|
61
|
+
transition-property: cx, cy;
|
|
62
|
+
transition-duration: var(--duration);
|
|
63
|
+
transition-timing-function: ease-in-out;
|
|
64
|
+
|
|
65
|
+
&[hide] {
|
|
66
|
+
display: none
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -1,27 +1,44 @@
|
|
|
1
1
|
SHoverLine, SHoverLine:focus-visible {
|
|
2
2
|
outline: none;
|
|
3
|
-
stroke: var(--intergalactic-chart-grid-x-axis, oklch(0.88 0.
|
|
3
|
+
stroke: var(--intergalactic-chart-grid-x-axis, oklch(0.88 0.011 234.9));
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
SHoverRect, SHoverRect:focus-visible {
|
|
7
7
|
outline: none;
|
|
8
|
-
fill: var(--intergalactic-chart-grid-bar-
|
|
8
|
+
fill: var(--intergalactic-chart-grid-bar-hover, oklch(0.375 0.09 242.7 / 0.05));
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
SHoveredTickWrapper {
|
|
12
12
|
font-size: var(--intergalactic-fs-100, 12px);
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
text-
|
|
16
|
-
dominant-baseline: hanging;
|
|
13
|
+
font-variant-numeric: tabular-nums;
|
|
14
|
+
line-height: var(--intergalactic-lh-100, 1.3334);
|
|
15
|
+
color: var(--intergalactic-chart-grid-text-label, oklch(from oklch(0.182 0.045 244.8 / 0.593) l c h / 0.4));
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
text-align: center;
|
|
18
|
+
|
|
19
|
+
&[data-is-first='true'] {
|
|
20
|
+
text-align: start;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
&[data-is-last='true'] {
|
|
24
|
+
text-align: end;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&[position='top'] {
|
|
28
|
+
SHoveredTickContent {
|
|
29
|
+
align-content: end;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* FF fix */
|
|
34
|
+
SHoveredTickContent {
|
|
35
|
+
height: 100%;
|
|
36
|
+
}
|
|
24
37
|
|
|
25
|
-
|
|
26
|
-
|
|
38
|
+
SHoveredTick {
|
|
39
|
+
display: inline-block;
|
|
40
|
+
padding: 3px 12px;
|
|
41
|
+
border-radius: 6px;
|
|
42
|
+
background-color: var(--intergalactic-chart-x-axis-accent-tick, oklch(0.96 0.005 232.5));
|
|
43
|
+
}
|
|
27
44
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
SLine {
|
|
4
4
|
fill: transparent;
|
|
5
5
|
stroke-width: 2;
|
|
6
|
-
stroke: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.
|
|
6
|
+
stroke: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.009 245));
|
|
7
7
|
transition-property: d;
|
|
8
8
|
transition-duration: var(--duration);
|
|
9
9
|
transition-timing-function: ease-in-out;
|
|
@@ -23,7 +23,7 @@ SLine[transparent] {
|
|
|
23
23
|
|
|
24
24
|
SNull {
|
|
25
25
|
fill: transparent;
|
|
26
|
-
stroke: var(--intergalactic-chart-palette-order-null, oklch(0.9 0.
|
|
26
|
+
stroke: var(--intergalactic-chart-palette-order-null, oklch(0.9 0.009 234));
|
|
27
27
|
stroke-dasharray: 4;
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -36,7 +36,7 @@ SLineArea {
|
|
|
36
36
|
transition-duration: var(--duration);
|
|
37
37
|
transition-timing-function: ease-in-out;
|
|
38
38
|
opacity: 0.3;
|
|
39
|
-
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.
|
|
39
|
+
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.009 245));
|
|
40
40
|
}
|
|
41
41
|
SLineArea[color] {
|
|
42
42
|
fill: var(--color);
|