@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
|
@@ -3,7 +3,50 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
Object.defineProperty(exports, "BAD", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _AbstractChart.BAD;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "DATA_TYPE", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _AbstractChart.DATA_TYPE;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "FORECAST", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _AbstractChart.FORECAST;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "GOOD", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return _AbstractChart.GOOD;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "HIGHLIGHT_DOT", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return _AbstractChart.HIGHLIGHT_DOT;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "INSIGHTFUL", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () {
|
|
39
|
+
return _AbstractChart.INSIGHTFUL;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "POTENTIAL", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () {
|
|
45
|
+
return _AbstractChart.POTENTIAL;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
6
48
|
exports.default = void 0;
|
|
49
|
+
var _AbstractChart = require("./AbstractChart.type");
|
|
7
50
|
var _AreaChart = require("./AreaChart");
|
|
8
51
|
var _BarChart = require("./BarChart");
|
|
9
52
|
var _BubbleChart = require("./BubbleChart");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["
|
|
1
|
+
{"version":3,"file":"index.js","names":["_AbstractChart","require","_AreaChart","_BarChart","_BubbleChart","_CigaretteChart","_CompactHorizontalBarChart","_DonutChart","_HistogramChart","_LineChart","_RadarChart","_ScatterPlotChart","_VennChart","_default","exports","default","Line","LineChart","Bar","BarChart","Histogram","HistogramChart","ScatterPlot","ScatterPlotChart","Area","AreaChart","Bubble","BubbleChart","Donut","DonutChart","Venn","VennChart","Radar","RadarChart","Cigarette","CigaretteChart","CompactHorizontalBar","CompactHorizontalBarChart"],"sources":["../../../../src/component/Chart/index.ts"],"sourcesContent":["import { GOOD, BAD, INSIGHTFUL, HIGHLIGHT_DOT, DATA_TYPE, POTENTIAL, FORECAST } from './AbstractChart.type';\nimport { AreaChart } from './AreaChart';\nimport { BarChart } from './BarChart';\nimport { BubbleChart } from './BubbleChart';\nimport { CigaretteChart } from './CigaretteChart';\nimport { CompactHorizontalBarChart } from './CompactHorizontalBarChart';\nimport { DonutChart } from './DonutChart';\nimport { HistogramChart } from './HistogramChart';\nimport { LineChart } from './LineChart';\nimport { RadarChart } from './RadarChart';\nimport { ScatterPlotChart } from './ScatterPlotChart';\nimport { VennChart } from './VennChart';\n\nexport default {\n Line: LineChart,\n Bar: BarChart,\n Histogram: HistogramChart,\n ScatterPlot: ScatterPlotChart,\n Area: AreaChart,\n Bubble: BubbleChart,\n Donut: DonutChart,\n Venn: VennChart,\n Radar: RadarChart,\n Cigarette: CigaretteChart,\n CompactHorizontalBar: CompactHorizontalBarChart,\n};\n\nexport {\n GOOD,\n BAD,\n INSIGHTFUL,\n HIGHLIGHT_DOT,\n DATA_TYPE,\n FORECAST,\n POTENTIAL,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;AACA,IAAAK,0BAAA,GAAAL,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AACA,IAAAO,eAAA,GAAAP,OAAA;AACA,IAAAQ,UAAA,GAAAR,OAAA;AACA,IAAAS,WAAA,GAAAT,OAAA;AACA,IAAAU,iBAAA,GAAAV,OAAA;AACA,IAAAW,UAAA,GAAAX,OAAA;AAAwC,IAAAY,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEzB;EACbC,IAAI,EAAEC,oBAAS;EACfC,GAAG,EAAEC,kBAAQ;EACbC,SAAS,EAAEC,8BAAc;EACzBC,WAAW,EAAEC,kCAAgB;EAC7BC,IAAI,EAAEC,oBAAS;EACfC,MAAM,EAAEC,wBAAW;EACnBC,KAAK,EAAEC,sBAAU;EACjBC,IAAI,EAAEC,oBAAS;EACfC,KAAK,EAAEC,sBAAU;EACjBC,SAAS,EAAEC,8BAAc;EACzBC,oBAAoB,EAAEC;AACxB,CAAC","ignoreList":[]}
|
|
@@ -16,12 +16,12 @@ var _intergalacticDynamicLocales = require("../../../translations/__intergalacti
|
|
|
16
16
|
var _BaseLegend = require("../BaseLegend");
|
|
17
17
|
var _LegendItem = require("../LegendItem/LegendItem");
|
|
18
18
|
/*!__reshadow-styles__:"./legend-flex.shadow.css"*/
|
|
19
|
-
const style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
19
|
+
const style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SLegendFlex_8xxmp_gg_._direction_row_8xxmp_gg_{align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:var(--intergalactic-spacing-2x,8px) var(--intergalactic-spacing-4x,16px)}.___SLegendFlex_8xxmp_gg_._direction_column_8xxmp_gg_{align-items:flex-start;flex-wrap:wrap;gap:var(--intergalactic-spacing-2x,8px)}", /*__inner_css_end__*/"8xxmp_gg_"),
|
|
20
20
|
/*__reshadow_css_end__*/
|
|
21
21
|
{
|
|
22
|
-
"__SLegendFlex": "
|
|
23
|
-
"_direction_row": "
|
|
24
|
-
"_direction_column": "
|
|
22
|
+
"__SLegendFlex": "___SLegendFlex_8xxmp_gg_",
|
|
23
|
+
"_direction_row": "_direction_row_8xxmp_gg_",
|
|
24
|
+
"_direction_column": "_direction_column_8xxmp_gg_"
|
|
25
25
|
});
|
|
26
26
|
class LegendFlexRoot extends _BaseLegend.BaseLegend {
|
|
27
27
|
renderTrend() {
|
|
@@ -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
|
}
|
|
@@ -17,24 +17,24 @@ var _LegendItem = require("./LegendItem.type");
|
|
|
17
17
|
var _Pattern = require("../../../Pattern");
|
|
18
18
|
var _utils = require("../../../utils");
|
|
19
19
|
/*!__reshadow-styles__:"./legend-item.shadow.css"*/
|
|
20
|
-
const style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
20
|
+
const style = (/*__reshadow_css_start__*/_core.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_"),
|
|
21
21
|
/*__reshadow_css_end__*/
|
|
22
22
|
{
|
|
23
|
-
"__SLegendItem": "
|
|
24
|
-
"_disabled": "
|
|
25
|
-
"_transparent": "
|
|
26
|
-
"__SPointShape": "
|
|
27
|
-
"_color": "
|
|
28
|
-
"--color": "--
|
|
29
|
-
"_shape_Circle": "
|
|
30
|
-
"_size_l": "
|
|
31
|
-
"_size_m": "
|
|
32
|
-
"_shape_Pattern": "
|
|
33
|
-
"__SIcon": "
|
|
34
|
-
"__SLabel": "
|
|
35
|
-
"__SAdditionalLabel": "
|
|
36
|
-
"__SCount": "
|
|
37
|
-
"__SPatternSymbol": "
|
|
23
|
+
"__SLegendItem": "___SLegendItem_10kc6_gg_",
|
|
24
|
+
"_disabled": "__disabled_10kc6_gg_",
|
|
25
|
+
"_transparent": "__transparent_10kc6_gg_",
|
|
26
|
+
"__SPointShape": "___SPointShape_10kc6_gg_",
|
|
27
|
+
"_color": "__color_10kc6_gg_",
|
|
28
|
+
"--color": "--color_10kc6",
|
|
29
|
+
"_shape_Circle": "_shape_Circle_10kc6_gg_",
|
|
30
|
+
"_size_l": "_size_l_10kc6_gg_",
|
|
31
|
+
"_size_m": "_size_m_10kc6_gg_",
|
|
32
|
+
"_shape_Pattern": "_shape_Pattern_10kc6_gg_",
|
|
33
|
+
"__SIcon": "___SIcon_10kc6_gg_",
|
|
34
|
+
"__SLabel": "___SLabel_10kc6_gg_",
|
|
35
|
+
"__SAdditionalLabel": "___SAdditionalLabel_10kc6_gg_",
|
|
36
|
+
"__SCount": "___SCount_10kc6_gg_",
|
|
37
|
+
"__SPatternSymbol": "___SPatternSymbol_10kc6_gg_"
|
|
38
38
|
});
|
|
39
39
|
const enhance = [(0, _resolveColorEnhance.default)(), (0, _uniqueID.default)()];
|
|
40
40
|
class LegendItemRoot extends _core.Component {
|
|
@@ -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
|
+
}
|
|
@@ -12,15 +12,15 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
12
12
|
var _BaseLegend = require("../BaseLegend");
|
|
13
13
|
var _LegendItem = require("../LegendItem/LegendItem");
|
|
14
14
|
/*!__reshadow-styles__:"./legend-table.shadow.css"*/
|
|
15
|
-
const style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
15
|
+
const style = (/*__reshadow_css_start__*/_core.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_"),
|
|
16
16
|
/*__reshadow_css_end__*/
|
|
17
17
|
{
|
|
18
|
-
"__SLegendTable": "
|
|
19
|
-
"_columns-count": "__columns-
|
|
20
|
-
"__SColumnItem": "
|
|
21
|
-
"_size_l": "
|
|
22
|
-
"_size_m": "
|
|
23
|
-
"_transparent": "
|
|
18
|
+
"__SLegendTable": "___SLegendTable_gm25x_gg_",
|
|
19
|
+
"_columns-count": "__columns-count_gm25x_gg_",
|
|
20
|
+
"__SColumnItem": "___SColumnItem_gm25x_gg_",
|
|
21
|
+
"_size_l": "_size_l_gm25x_gg_",
|
|
22
|
+
"_size_m": "_size_m_gm25x_gg_",
|
|
23
|
+
"_transparent": "__transparent_gm25x_gg_"
|
|
24
24
|
});
|
|
25
25
|
class LegendTableRoot extends _BaseLegend.BaseLegend {
|
|
26
26
|
render() {
|
|
@@ -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/cjs/index.js
CHANGED
|
@@ -5,6 +5,49 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
+
var _exportNames = {
|
|
9
|
+
Plot: true,
|
|
10
|
+
ChartLegend: true,
|
|
11
|
+
ChartLegendTable: true,
|
|
12
|
+
Chart: true,
|
|
13
|
+
StackGroupBar: true,
|
|
14
|
+
SvgElement: true,
|
|
15
|
+
XAxis: true,
|
|
16
|
+
YAxis: true,
|
|
17
|
+
Line: true,
|
|
18
|
+
Bar: true,
|
|
19
|
+
CompactHorizontalBar: true,
|
|
20
|
+
HorizontalBar: true,
|
|
21
|
+
GroupBar: true,
|
|
22
|
+
StackBar: true,
|
|
23
|
+
Area: true,
|
|
24
|
+
StackedArea: true,
|
|
25
|
+
ScatterPlot: true,
|
|
26
|
+
Bubble: true,
|
|
27
|
+
RadialTree: true,
|
|
28
|
+
Donut: true,
|
|
29
|
+
Venn: true,
|
|
30
|
+
Radar: true,
|
|
31
|
+
getLabelOffsetPosition: true,
|
|
32
|
+
Tooltip: true,
|
|
33
|
+
ResponsiveContainer: true,
|
|
34
|
+
ReferenceLine: true,
|
|
35
|
+
ReferenceBackground: true,
|
|
36
|
+
ReferenceStripes: true,
|
|
37
|
+
HoverLine: true,
|
|
38
|
+
HoverRect: true,
|
|
39
|
+
minMax: true,
|
|
40
|
+
interpolateValue: true,
|
|
41
|
+
getBubbleChartValueScale: true,
|
|
42
|
+
getScatterPlotRadius: true,
|
|
43
|
+
calculateBubbleDomain: true,
|
|
44
|
+
PlotEventEmitter: true,
|
|
45
|
+
colors: true,
|
|
46
|
+
makeDataHintsContainer: true,
|
|
47
|
+
PatternFill: true,
|
|
48
|
+
PatternSymbol: true,
|
|
49
|
+
getPatternSymbolSize: true
|
|
50
|
+
};
|
|
8
51
|
Object.defineProperty(exports, "Area", {
|
|
9
52
|
enumerable: true,
|
|
10
53
|
get: function () {
|
|
@@ -253,7 +296,18 @@ Object.defineProperty(exports, "minMax", {
|
|
|
253
296
|
});
|
|
254
297
|
var _Plot = _interopRequireDefault(require("./Plot"));
|
|
255
298
|
var _ChartLegend = require("./component/ChartLegend");
|
|
256
|
-
var _Chart =
|
|
299
|
+
var _Chart = _interopRequireWildcard(require("./component/Chart"));
|
|
300
|
+
Object.keys(_Chart).forEach(function (key) {
|
|
301
|
+
if (key === "default" || key === "__esModule") return;
|
|
302
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
303
|
+
if (key in exports && exports[key] === _Chart[key]) return;
|
|
304
|
+
Object.defineProperty(exports, key, {
|
|
305
|
+
enumerable: true,
|
|
306
|
+
get: function () {
|
|
307
|
+
return _Chart[key];
|
|
308
|
+
}
|
|
309
|
+
});
|
|
310
|
+
});
|
|
257
311
|
var _StackGroupBar = _interopRequireDefault(require("./component/StackGroupBar/StackGroupBar"));
|
|
258
312
|
var _SvgElement = require("./component/SvgElement");
|
|
259
313
|
var _Axis = require("./Axis");
|
package/lib/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_Plot","_interopRequireDefault","require","_ChartLegend","_Chart","_StackGroupBar","_SvgElement","_Axis","_Line","_Bar","_CompactHorizontalBar","_HorizontalBar","_GroupBar","_StackBar","_Area","_StackedArea","_ScatterPlot","_Bubble","_RadialTree","_Donut","_Venn","_Radar","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_Plot","_interopRequireDefault","require","_ChartLegend","_Chart","_interopRequireWildcard","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_StackGroupBar","_SvgElement","_Axis","_Line","_Bar","_CompactHorizontalBar","_HorizontalBar","_GroupBar","_StackBar","_Area","_StackedArea","_ScatterPlot","_Bubble","_RadialTree","_Donut","_Venn","_Radar","_Tooltip","_ResponsiveContainer","_Reference","_Hover","_utils","_color","_hints","_Pattern"],"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,IAAAA,KAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,uBAAA,CAAAH,OAAA;AACAI,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAb,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,cAAA,GAAAjB,sBAAA,CAAAC,OAAA;AACA,IAAAiB,WAAA,GAAAjB,OAAA;AACA,IAAAkB,KAAA,GAAAlB,OAAA;AAEA,IAAAmB,KAAA,GAAApB,sBAAA,CAAAC,OAAA;AAEA,IAAAoB,IAAA,GAAArB,sBAAA,CAAAC,OAAA;AACA,IAAAqB,qBAAA,GAAAtB,sBAAA,CAAAC,OAAA;AACA,IAAAsB,cAAA,GAAAvB,sBAAA,CAAAC,OAAA;AACA,IAAAuB,SAAA,GAAAxB,sBAAA,CAAAC,OAAA;AACA,IAAAwB,SAAA,GAAAzB,sBAAA,CAAAC,OAAA;AACA,IAAAyB,KAAA,GAAA1B,sBAAA,CAAAC,OAAA;AACA,IAAA0B,YAAA,GAAA3B,sBAAA,CAAAC,OAAA;AACA,IAAA2B,YAAA,GAAA5B,sBAAA,CAAAC,OAAA;AACA,IAAA4B,OAAA,GAAA7B,sBAAA,CAAAC,OAAA;AACA,IAAA6B,WAAA,GAAA9B,sBAAA,CAAAC,OAAA;AACA,IAAA8B,MAAA,GAAA/B,sBAAA,CAAAC,OAAA;AACA,IAAA+B,KAAA,GAAAhC,sBAAA,CAAAC,OAAA;AACA,IAAAgC,MAAA,GAAA7B,uBAAA,CAAAH,OAAA;AAEA,IAAAiC,QAAA,GAAAlC,sBAAA,CAAAC,OAAA;AAEA,IAAAkC,oBAAA,GAAAnC,sBAAA,CAAAC,OAAA;AACA,IAAAmC,UAAA,GAAAnC,OAAA;AAEA,IAAAoC,MAAA,GAAApC,OAAA;AAEA,IAAAqC,MAAA,GAAArC,OAAA;AAQA,IAAAsC,MAAA,GAAAtC,OAAA;AAEA,IAAAuC,MAAA,GAAAvC,OAAA;AAEA,IAAAwC,QAAA,GAAAxC,OAAA","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'] {
|