@semcore/d3-chart 18.0.0-prerelease.6 → 18.1.0-prerelease.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/lib/cjs/Area.js +12 -12
- package/lib/cjs/Axis.js +15 -15
- package/lib/cjs/Bar.js +16 -16
- package/lib/cjs/Bubble.js +14 -14
- package/lib/cjs/CompactHorizontalBar.js +16 -16
- package/lib/cjs/Donut.js +13 -11
- package/lib/cjs/Donut.js.map +1 -1
- package/lib/cjs/Dots.js +12 -12
- package/lib/cjs/HorizontalBar.js +16 -16
- package/lib/cjs/Hover.js +15 -17
- package/lib/cjs/Hover.js.map +1 -1
- package/lib/cjs/Line.js +9 -9
- package/lib/cjs/Pattern.js +6 -6
- package/lib/cjs/Plot.js +2 -2
- package/lib/cjs/Radar.js +19 -19
- package/lib/cjs/RadialTree.js +12 -12
- package/lib/cjs/Reference.js +148 -55
- package/lib/cjs/Reference.js.map +1 -1
- package/lib/cjs/ScatterPlot.js +9 -9
- package/lib/cjs/Tooltip.js +12 -12
- package/lib/cjs/Venn.js +9 -9
- package/lib/cjs/a11y/PlotA11yModule.js +2 -2
- package/lib/cjs/a11y/PlotA11yView.js +2 -2
- package/lib/cjs/component/Chart/AbstractChart.js +16 -13
- package/lib/cjs/component/Chart/AbstractChart.js.map +1 -1
- package/lib/cjs/component/Chart/CigaretteChart.js +1 -1
- package/lib/cjs/component/Chart/CigaretteChart.js.map +1 -1
- package/lib/cjs/component/Chart/LineChart.js +25 -0
- 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/ChartLegend/LegendFlex/LegendFlex.js +22 -14
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendFlex/legend-flex.shadow.css +12 -0
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +19 -17
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendItem/legend-item.shadow.css +12 -0
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +11 -11
- package/lib/cjs/style/abstract-chart.shadow.css +2 -2
- package/lib/cjs/style/area.shadow.css +1 -1
- package/lib/cjs/style/donut.shadow.css +1 -1
- package/lib/cjs/style/line.shadow.css +2 -2
- package/lib/cjs/style/plot.shadow.css +4 -0
- package/lib/cjs/style/reference.shadow.css +7 -10
- package/lib/cjs/types/Reference.d.js.map +1 -1
- package/lib/es6/Area.js +12 -12
- package/lib/es6/Axis.js +15 -15
- package/lib/es6/Bar.js +16 -16
- package/lib/es6/Bubble.js +14 -14
- package/lib/es6/CompactHorizontalBar.js +16 -16
- package/lib/es6/Donut.js +13 -11
- package/lib/es6/Donut.js.map +1 -1
- package/lib/es6/Dots.js +12 -12
- package/lib/es6/HorizontalBar.js +16 -16
- package/lib/es6/Hover.js +15 -17
- package/lib/es6/Hover.js.map +1 -1
- package/lib/es6/Line.js +9 -9
- package/lib/es6/Pattern.js +6 -6
- package/lib/es6/Plot.js +2 -2
- package/lib/es6/Radar.js +19 -19
- package/lib/es6/RadialTree.js +12 -12
- package/lib/es6/Reference.js +148 -55
- package/lib/es6/Reference.js.map +1 -1
- package/lib/es6/ScatterPlot.js +9 -9
- package/lib/es6/Tooltip.js +12 -12
- package/lib/es6/Venn.js +9 -9
- package/lib/es6/a11y/PlotA11yModule.js +2 -2
- package/lib/es6/a11y/PlotA11yView.js +2 -2
- package/lib/es6/component/Chart/AbstractChart.js +16 -13
- package/lib/es6/component/Chart/AbstractChart.js.map +1 -1
- package/lib/es6/component/Chart/CigaretteChart.js +1 -1
- package/lib/es6/component/Chart/CigaretteChart.js.map +1 -1
- package/lib/es6/component/Chart/LineChart.js +26 -1
- 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/ChartLegend/LegendFlex/LegendFlex.js +22 -14
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendFlex/legend-flex.shadow.css +12 -0
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +19 -17
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendItem/legend-item.shadow.css +12 -0
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +11 -11
- package/lib/es6/style/abstract-chart.shadow.css +2 -2
- package/lib/es6/style/area.shadow.css +1 -1
- package/lib/es6/style/donut.shadow.css +1 -1
- package/lib/es6/style/line.shadow.css +2 -2
- package/lib/es6/style/plot.shadow.css +4 -0
- package/lib/es6/style/reference.shadow.css +7 -10
- package/lib/es6/types/Reference.d.js.map +1 -1
- package/lib/esm/Area.mjs +13 -13
- package/lib/esm/Axis.mjs +16 -16
- package/lib/esm/Bar.mjs +17 -17
- package/lib/esm/Bubble.mjs +15 -15
- package/lib/esm/CompactHorizontalBar.mjs +17 -17
- package/lib/esm/Donut.mjs +14 -12
- package/lib/esm/Dots.mjs +13 -13
- package/lib/esm/HorizontalBar.mjs +17 -17
- package/lib/esm/Hover.mjs +16 -18
- package/lib/esm/Line.mjs +10 -10
- package/lib/esm/Pattern.mjs +7 -7
- package/lib/esm/Plot.mjs +3 -3
- package/lib/esm/Radar.mjs +20 -20
- package/lib/esm/RadialTree.mjs +13 -13
- package/lib/esm/Reference.mjs +145 -56
- package/lib/esm/ScatterPlot.mjs +10 -10
- package/lib/esm/Tooltip.mjs +13 -13
- package/lib/esm/Venn.mjs +10 -10
- package/lib/esm/a11y/PlotA11yModule.mjs +3 -3
- package/lib/esm/a11y/PlotA11yView.mjs +3 -3
- package/lib/esm/component/Chart/AbstractChart.mjs +17 -14
- package/lib/esm/component/Chart/CigaretteChart.mjs +1 -1
- package/lib/esm/component/Chart/LineChart.mjs +26 -0
- package/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +23 -15
- package/lib/esm/component/ChartLegend/LegendFlex/legend-flex.shadow.css +12 -0
- package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +20 -18
- package/lib/esm/component/ChartLegend/LegendItem/legend-item.shadow.css +12 -0
- package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +12 -12
- package/lib/esm/style/abstract-chart.shadow.css +2 -2
- package/lib/esm/style/area.shadow.css +1 -1
- package/lib/esm/style/donut.shadow.css +1 -1
- package/lib/esm/style/line.shadow.css +2 -2
- package/lib/esm/style/plot.shadow.css +4 -0
- package/lib/esm/style/reference.shadow.css +7 -10
- package/lib/types/Reference.d.ts +21 -4
- package/lib/types/component/Chart/AbstractChart.d.ts +1 -0
- package/lib/types/component/Chart/AbstractChart.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 +36 -0
- package/lib/types/component/Chart/LineChart.type.d.ts.map +1 -1
- package/lib/types/component/ChartLegend/LegendFlex/LegendFlex.d.ts.map +1 -1
- package/lib/types/component/ChartLegend/LegendItem/LegendItem.d.ts.map +1 -1
- package/package.json +17 -16
- package/vite.config.ts +1 -0
|
@@ -15,6 +15,18 @@ SLegendItem[transparent] {
|
|
|
15
15
|
opacity: 0.3;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
SCheckbox[size='m'] > span:first-of-type {
|
|
19
|
+
width: var(--intergalactic-spacing-4x, 16px);
|
|
20
|
+
height: var(--intergalactic-spacing-4x, 16px);
|
|
21
|
+
margin-top: var(--intergalactic-spacing-05x, 2px);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
SCheckbox[size='l'] > span:first-of-type {
|
|
25
|
+
width: var(--intergalactic-spacing-5x, 20px);
|
|
26
|
+
height: var(--intergalactic-spacing-5x, 20px);
|
|
27
|
+
margin-top: var(--intergalactic-spacing-05x, 2px);
|
|
28
|
+
}
|
|
29
|
+
|
|
18
30
|
SPointShape[color] {
|
|
19
31
|
background-color: var(--color);
|
|
20
32
|
margin-right: var(--intergalactic-spacing-1-5x, 6px);
|
|
@@ -6,19 +6,19 @@ 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_yfsy1_gg_.__additions-count_yfsy1_gg_{font-feature-settings:\"tnum\";font-variant-numeric:tabular-nums;display:grid;align-items:center;grid-column-gap:var(--intergalactic-spacing-2x,8px)}.___SLegendTable_yfsy1_gg_.__additions-count_yfsy1_gg_._additions-direction_columns_yfsy1_gg_{grid-template-columns:auto repeat(var(--additions-count_yfsy1),.2fr);height:-moz-fit-content;height:fit-content;grid-row-gap:var(--intergalactic-spacing-2x,8px)}.___SLegendTable_yfsy1_gg_.__additions-count_yfsy1_gg_._additions-direction_columns_yfsy1_gg_>.___SColumnItem_yfsy1_gg_{text-align:right}.___SLegendTable_yfsy1_gg_.__additions-count_yfsy1_gg_._additions-direction_rows_yfsy1_gg_{grid-template-rows:auto repeat(var(--additions-count_yfsy1),.2fr);grid-auto-flow:column;grid-row-gap:var(--intergalactic-spacing-1x,4px);grid-column-gap:var(--intergalactic-spacing-14x,56px);grid-template-columns:repeat(var(--items-count_yfsy1),max-content)}.___SColumnItem_yfsy1_gg_{white-space:nowrap}.___SColumnItem_yfsy1_gg_._size_l_yfsy1_gg_{font-size:var(--intergalactic-fs-300,16px)}.___SColumnItem_yfsy1_gg_._size_m_yfsy1_gg_{font-size:var(--intergalactic-fs-200,14px)}.___SColumnItem_yfsy1_gg_.__transparent_yfsy1_gg_{opacity:.3}", /*__inner_css_end__*/"yfsy1_gg_"),
|
|
10
10
|
/*__reshadow_css_end__*/
|
|
11
11
|
{
|
|
12
|
-
"__SLegendTable": "
|
|
13
|
-
"_additions-count": "__additions-
|
|
14
|
-
"_additions-direction_columns": "_additions-
|
|
15
|
-
"--additions-count": "--additions-
|
|
16
|
-
"__SColumnItem": "
|
|
17
|
-
"_additions-direction_rows": "_additions-
|
|
18
|
-
"--items-count": "--items-
|
|
19
|
-
"_size_l": "
|
|
20
|
-
"_size_m": "
|
|
21
|
-
"_transparent": "
|
|
12
|
+
"__SLegendTable": "___SLegendTable_yfsy1_gg_",
|
|
13
|
+
"_additions-count": "__additions-count_yfsy1_gg_",
|
|
14
|
+
"_additions-direction_columns": "_additions-direction_columns_yfsy1_gg_",
|
|
15
|
+
"--additions-count": "--additions-count_yfsy1",
|
|
16
|
+
"__SColumnItem": "___SColumnItem_yfsy1_gg_",
|
|
17
|
+
"_additions-direction_rows": "_additions-direction_rows_yfsy1_gg_",
|
|
18
|
+
"--items-count": "--items-count_yfsy1",
|
|
19
|
+
"_size_l": "_size_l_yfsy1_gg_",
|
|
20
|
+
"_size_m": "_size_m_yfsy1_gg_",
|
|
21
|
+
"_transparent": "__transparent_yfsy1_gg_"
|
|
22
22
|
});
|
|
23
23
|
import { BaseLegend } from '../BaseLegend';
|
|
24
24
|
import { LegendItemComponent } from '../LegendItem/LegendItem';
|
|
@@ -32,7 +32,7 @@ STooltipDeltaWrapper {
|
|
|
32
32
|
justify-content: flex-end;
|
|
33
33
|
|
|
34
34
|
&[trend='upward'] {
|
|
35
|
-
color: var(--intergalactic-chart-data-success, oklch(0.
|
|
35
|
+
color: var(--intergalactic-chart-data-success, oklch(0.74 0.17 170));
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
&[trend='downward'] {
|
|
@@ -49,7 +49,7 @@ STooltipDeltaWrapper {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
&[trend='downward'] {
|
|
52
|
-
color: var(--intergalactic-chart-data-success, oklch(0.
|
|
52
|
+
color: var(--intergalactic-chart-data-success, oklch(0.74 0.17 170));
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -21,7 +21,7 @@ SLine[transparent] {
|
|
|
21
21
|
|
|
22
22
|
SNull {
|
|
23
23
|
fill: transparent;
|
|
24
|
-
stroke: var(--intergalactic-chart-
|
|
24
|
+
stroke: var(--intergalactic-chart-data-null, oklch(0.9 0.009 234));
|
|
25
25
|
stroke-dasharray: 4;
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -33,7 +33,7 @@ SLineArea {
|
|
|
33
33
|
transition-property: d;
|
|
34
34
|
transition-duration: var(--duration);
|
|
35
35
|
transition-timing-function: ease-in-out;
|
|
36
|
-
opacity: 0.
|
|
36
|
+
opacity: 0.1;
|
|
37
37
|
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.009 245));
|
|
38
38
|
}
|
|
39
39
|
SLineArea[color] {
|
|
@@ -15,6 +15,10 @@ foreignObject[data-aria-only] {
|
|
|
15
15
|
pointer-events: none;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
SPlot:has([data-tick-content] :focus-visible) foreignObject[data-hovered-tick] {
|
|
19
|
+
visibility: hidden;
|
|
20
|
+
}
|
|
21
|
+
|
|
18
22
|
SPlot:has(foreignObject[data-aria-only]:focus-within) {
|
|
19
23
|
@mixin focus-outline-mixin;
|
|
20
24
|
border-radius: var(--intergalactic-surface-rounded, 8px);
|
|
@@ -6,11 +6,10 @@ SReferenceLine {
|
|
|
6
6
|
STitle {
|
|
7
7
|
font-size: var(--intergalactic-fs-100, 12px);
|
|
8
8
|
fill: var(--intergalactic-chart-grid-text-label, oklch(from oklch(0.182 0.045 244.8 / 0.593) l c h / 0.4));
|
|
9
|
-
transform-origin: var(--transform-origin);
|
|
10
9
|
}
|
|
11
10
|
|
|
12
11
|
STitle[position='top'] {
|
|
13
|
-
|
|
12
|
+
dominant-baseline: hanging;
|
|
14
13
|
}
|
|
15
14
|
|
|
16
15
|
STitle[position='bottom'] {
|
|
@@ -30,14 +29,12 @@ STitle[position='left'] {
|
|
|
30
29
|
dominant-baseline: middle;
|
|
31
30
|
}
|
|
32
31
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
fill: var(--fill);
|
|
32
|
+
SSubTitle {
|
|
33
|
+
font-size: var(--intergalactic-fs-100, 12px);
|
|
34
|
+
fill: var(--intergalactic-chart-grid-text-label-accent, oklch(0.102 0.021 230.9 / 0.9));
|
|
35
|
+
font-weight: bold;
|
|
38
36
|
}
|
|
39
37
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
stroke-width: 1px;
|
|
38
|
+
SBackground {
|
|
39
|
+
fill: var(--intergalactic-chart-grid-period-bg, oklch(0.96 0.005 232.5));
|
|
43
40
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Reference.d.js","names":[],"sources":["../../../src/types/Reference.d.ts"],"sourcesContent":["import type { UnknownProperties } from '@semcore/core';\n\nimport type { Context } from './context';\nimport type { IntergalacticD3Component } from './Plot';\n\n/** @deprecated **/\nexport interface IReferenceLineProps extends ReferenceLineProps, UnknownProperties {}\nexport type ReferenceLineProps = Context & {\n
|
|
1
|
+
{"version":3,"file":"Reference.d.js","names":[],"sources":["../../../src/types/Reference.d.ts"],"sourcesContent":["import type { UnknownProperties } from '@semcore/core';\n\nimport type { Context } from './context';\nimport type { IntergalacticD3Component } from './Plot';\n\n/** @deprecated **/\nexport interface IReferenceLineProps extends ReferenceLineProps, UnknownProperties {}\nexport type ReferenceLineProps = Context & {\n /**\n * The position of the title relative reference line\n * @default 'left'\n * @deprecated use ReferenceArea if you need a title.\n */\n position?: 'top' | 'right' | 'bottom' | 'left';\n /** Value element of data */\n value?: any;\n /**\n * Reference line title\n * @deprecated use ReferenceArea if you need title.\n */\n title?: string;\n};\n\n/** @deprecated **/\nexport interface IReferenceLineTitleProps extends ReferenceLineTitleProps, UnknownProperties {}\nexport type ReferenceLineTitleProps = Context & {\n /** The position of the axis relative reference line */\n position?: 'top' | 'right' | 'bottom' | 'left';\n /** Value element of data */\n value: any;\n};\n\n/** @deprecated **/\nexport interface IReferenceLineBackgroundProps\n extends ReferenceLineBackgroundProps,\n UnknownProperties {}\nexport type ReferenceBackgroundProps = Context & {\n /** The position relative the `value` */\n position?: 'top' | 'right' | 'bottom' | 'left';\n /** Value element of data */\n value?: any;\n /** Value of the background end */\n endValue?: number | string;\n};\n/** @deprecated use ReferenceBackgroundProps instead **/\nexport type ReferenceLineBackgroundProps = ReferenceBackgroundProps;\n\nexport type ReferenceStripesProps = Context & {\n /** The position relative the `value` */\n position?: 'top' | 'right' | 'bottom' | 'left';\n /** Value element of data */\n value?: any;\n /** Value of the background end */\n endValue?: number | string;\n};\n/**\n * @deprecated use `referenceLine` property on Chart.Line.\n */\nexport declare const ReferenceLine: IntergalacticD3Component<\n 'line',\n ReferenceLineProps,\n Context\n> & {\n /**\n * @deprecated use `referenceArea` property on Chart.Line with title property\n */\n Title: IntergalacticD3Component<'text', ReferenceLineTitleProps, Context>;\n /**\n * @deprecated use `ReferenceBackground` instead.\n */\n Background: IntergalacticD3Component<'rect', ReferenceLineBackgroundProps, Context>;\n};\n/**\n * @deprecated use `referenceArea` property on Chart.Line.\n */\nexport declare const ReferenceBackground: IntergalacticD3Component<\n 'rect',\n ReferenceLineBackgroundProps,\n Context\n>;\n/**\n * @deprecated use `referenceArea` property on Chart.Line.\n */\nexport declare const ReferenceStripes: IntergalacticD3Component<\n 'rect',\n ReferenceStripesProps,\n Context\n>;\n"],"mappings":"","ignoreList":[]}
|
package/lib/esm/Area.mjs
CHANGED
|
@@ -18,22 +18,22 @@ const style = (
|
|
|
18
18
|
/*__reshadow_css_start__*/
|
|
19
19
|
(sstyled.insert(
|
|
20
20
|
/*__inner_css_start__*/
|
|
21
|
-
".
|
|
21
|
+
".___SArea_c5ur2_gg_{fill:var(--intergalactic-chart-palette-order-1,oklch(.23 .009 245));fill-opacity:.1}.___SArea_c5ur2_gg_.__withGradient_c5ur2_gg_{-webkit-mask-image:linear-gradient(180deg,#000 0,#0000007a 60%,#0000);mask-image:linear-gradient(180deg,#000 0,#0000007a 60%,#0000)}.___SArea_c5ur2_gg_.__color_c5ur2_gg_{fill:var(--color_c5ur2)}.___SArea_c5ur2_gg_.__pattern_c5ur2_gg_{fill:var(--pattern_c5ur2);fill-opacity:.5}.___SArea_c5ur2_gg_.__transparent_c5ur2_gg_{opacity:.3}.___SAreaLine_c5ur2_gg_{stroke:var(--intergalactic-chart-palette-order-1,oklch(.23 .009 245));stroke-width:2;fill:#0000}.___SAreaLine_c5ur2_gg_.__color_c5ur2_gg_{stroke:var(--color_c5ur2)}.___SAreaLine_c5ur2_gg_.__transparent_c5ur2_gg_{opacity:.3}.___SAreaLine_c5ur2_gg_,.___SArea_c5ur2_gg_{transition-property:d;transition-duration:var(--duration_c5ur2);transition-timing-function:ease-in-out}.___SNull_c5ur2_gg_{fill:#0000;stroke:var(--intergalactic-chart-data-null,oklch(.9 .009 234));stroke-dasharray:4}.___SNull_c5ur2_gg_.__hide_c5ur2_gg_{display:none}",
|
|
22
22
|
/*__inner_css_end__*/
|
|
23
|
-
"
|
|
23
|
+
"c5ur2_gg_"
|
|
24
24
|
), /*__reshadow_css_end__*/
|
|
25
25
|
{
|
|
26
|
-
"__SArea": "
|
|
27
|
-
"_withGradient": "
|
|
28
|
-
"_color": "
|
|
29
|
-
"--color": "--
|
|
30
|
-
"_pattern": "
|
|
31
|
-
"--pattern": "--
|
|
32
|
-
"_transparent": "
|
|
33
|
-
"__SAreaLine": "
|
|
34
|
-
"--duration": "--
|
|
35
|
-
"__SNull": "
|
|
36
|
-
"_hide": "
|
|
26
|
+
"__SArea": "___SArea_c5ur2_gg_",
|
|
27
|
+
"_withGradient": "__withGradient_c5ur2_gg_",
|
|
28
|
+
"_color": "__color_c5ur2_gg_",
|
|
29
|
+
"--color": "--color_c5ur2",
|
|
30
|
+
"_pattern": "__pattern_c5ur2_gg_",
|
|
31
|
+
"--pattern": "--pattern_c5ur2",
|
|
32
|
+
"_transparent": "__transparent_c5ur2_gg_",
|
|
33
|
+
"__SAreaLine": "___SAreaLine_c5ur2_gg_",
|
|
34
|
+
"--duration": "--duration_c5ur2",
|
|
35
|
+
"__SNull": "___SNull_c5ur2_gg_",
|
|
36
|
+
"_hide": "__hide_c5ur2_gg_"
|
|
37
37
|
})
|
|
38
38
|
);
|
|
39
39
|
class AreaRoot extends Component {
|
package/lib/esm/Axis.mjs
CHANGED
|
@@ -12,25 +12,25 @@ const style = (
|
|
|
12
12
|
/*__reshadow_css_start__*/
|
|
13
13
|
(sstyled.insert(
|
|
14
14
|
/*__inner_css_start__*/
|
|
15
|
-
'.
|
|
15
|
+
'.___SAxis_1aio5_gg_{stroke:var(--intergalactic-chart-grid-x-axis,oklch(.88 .011 234.9))}.___SAxis_1aio5_gg_.__hide_1aio5_gg_{display:none}.___STick_1aio5_gg_{display:block;font-size:var(--intergalactic-fs-100,12px);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:var(--intergalactic-lh-100,1.3334);color:var(--intergalactic-chart-grid-text-label,#00132466);overflow:visible}.___STick_1aio5_gg_ [data-tick-content]{height:100%}.___STick_1aio5_gg_._position_bottom_1aio5_gg_{text-align:center}.___STick_1aio5_gg_._position_left_1aio5_gg_{text-align:right;dominant-baseline:central}.___STick_1aio5_gg_._position_left_1aio5_gg_ [data-tick-content]{align-content:center}.___STick_1aio5_gg_._position_top_1aio5_gg_{text-align:center}.___STick_1aio5_gg_._position_top_1aio5_gg_ [data-tick-content]{align-content:end}.___STick_1aio5_gg_._position_right_1aio5_gg_{dominant-baseline:central}.___STick_1aio5_gg_._position_right_1aio5_gg_ [data-tick-content]{align-content:center}.___STick_1aio5_gg_.__hide_1aio5_gg_{display:none}.___STick_1aio5_gg_.__primaryText_1aio5_gg_{color:var(--intergalactic-text-primary,oklch(.23 .009 245))}.___SGrid_1aio5_gg_{fill:#0000;stroke:var(--intergalactic-chart-grid-line,oklch(.7 .021 242));stroke-dasharray:0 6;stroke-linecap:round}.___STitle_1aio5_gg_{font-size:var(--intergalactic-fs-100,12px);fill:var(--intergalactic-chart-grid-text-label,#00132466);transform-origin:var(--transform-origin_1aio5)}.___STitle_1aio5_gg_._position_top_1aio5_gg_{text-anchor:middle}.___STitle_1aio5_gg_._position_bottom_1aio5_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_1aio5_gg_._position_left_1aio5_gg_,.___STitle_1aio5_gg_._position_right_1aio5_gg_{transform:rotate(-90deg);dominant-baseline:middle;text-anchor:middle}.___STitle_1aio5_gg_._position_left_1aio5_gg_.__verticalWritingMode_1aio5_gg_,.___STitle_1aio5_gg_._position_right_1aio5_gg_.__verticalWritingMode_1aio5_gg_{writing-mode:vertical-rl;transform:none}.___STick_1aio5_gg_._position_custom_0_1aio5_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_1aio5_gg_._position_custom_0_1aio5_gg_ tspan{dominant-baseline:hanging}.___STick_1aio5_gg_._position_custom_1_1aio5_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_1aio5_gg_._position_custom_1_1aio5_gg_ tspan{dominant-baseline:middle}',
|
|
16
16
|
/*__inner_css_end__*/
|
|
17
|
-
"
|
|
17
|
+
"1aio5_gg_"
|
|
18
18
|
), /*__reshadow_css_end__*/
|
|
19
19
|
{
|
|
20
|
-
"__SAxis": "
|
|
21
|
-
"_hide": "
|
|
22
|
-
"__SGrid": "
|
|
23
|
-
"__STitle": "
|
|
24
|
-
"--transform-origin": "--transform-
|
|
25
|
-
"_position_top": "
|
|
26
|
-
"_position_bottom": "
|
|
27
|
-
"_position_right": "
|
|
28
|
-
"_position_left": "
|
|
29
|
-
"_verticalWritingMode": "
|
|
30
|
-
"__STick": "
|
|
31
|
-
"_primaryText": "
|
|
32
|
-
"_position_custom_0": "
|
|
33
|
-
"_position_custom_1": "
|
|
20
|
+
"__SAxis": "___SAxis_1aio5_gg_",
|
|
21
|
+
"_hide": "__hide_1aio5_gg_",
|
|
22
|
+
"__SGrid": "___SGrid_1aio5_gg_",
|
|
23
|
+
"__STitle": "___STitle_1aio5_gg_",
|
|
24
|
+
"--transform-origin": "--transform-origin_1aio5",
|
|
25
|
+
"_position_top": "_position_top_1aio5_gg_",
|
|
26
|
+
"_position_bottom": "_position_bottom_1aio5_gg_",
|
|
27
|
+
"_position_right": "_position_right_1aio5_gg_",
|
|
28
|
+
"_position_left": "_position_left_1aio5_gg_",
|
|
29
|
+
"_verticalWritingMode": "__verticalWritingMode_1aio5_gg_",
|
|
30
|
+
"__STick": "___STick_1aio5_gg_",
|
|
31
|
+
"_primaryText": "__primaryText_1aio5_gg_",
|
|
32
|
+
"_position_custom_0": "_position_custom_0_1aio5_gg_",
|
|
33
|
+
"_position_custom_1": "_position_custom_1_1aio5_gg_"
|
|
34
34
|
})
|
|
35
35
|
);
|
|
36
36
|
const TICK_MARGIN_X = 16;
|
package/lib/esm/Bar.mjs
CHANGED
|
@@ -12,26 +12,26 @@ const style = (
|
|
|
12
12
|
/*__reshadow_css_start__*/
|
|
13
13
|
(sstyled.insert(
|
|
14
14
|
/*__inner_css_start__*/
|
|
15
|
-
".
|
|
15
|
+
".___SBar_bkx9t_gg_{fill:var(--intergalactic-chart-palette-order-1,oklch(.23 .009 245));transition-property:height,width,y;transition-duration:var(--duration_bkx9t);transition-timing-function:ease-in-out}.___SBar_bkx9t_gg_.__color_bkx9t_gg_{fill:var(--color_bkx9t)}.___SBar_bkx9t_gg_.__pattern_bkx9t_gg_.__color_bkx9t_gg_{fill:var(--pattern_bkx9t);stroke:var(--color_bkx9t);stroke-width:1px}.___SBar_bkx9t_gg_.__hide_bkx9t_gg_{display:none}.___SBar_bkx9t_gg_.__transparent_bkx9t_gg_{opacity:.3}.___SBar_bkx9t_gg_.__onClick_bkx9t_gg_{cursor:pointer}.___SBackground_bkx9t_gg_{fill:var(--intergalactic-chart-grid-bar-base-bg,oklch(.92 .008 233.5));opacity:.4}.___SBackground_bkx9t_gg_.__onClick_bkx9t_gg_{cursor:pointer}.___SBarAnnotation_bkx9t_gg_{display:flex;justify-content:space-between}.___SBarLabel_bkx9t_gg_{color:var(--intergalactic-text-primary,oklch(.23 .009 245));margin-right:auto}.___SBarLabel_bkx9t_gg_,.___SBarPercent_bkx9t_gg_{font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,1.4286)}.___SBarPercent_bkx9t_gg_{color:var(--intergalactic-text-secondary,oklch(.182 .045 244.8/.593));margin-right:var(--intergalactic-spacing-2x,8px)}.___SBarValue_bkx9t_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary,oklch(.23 .009 245));font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,1.4286);text-align:right}.___SCompactHorizontalBarHoverRect_bkx9t_gg_{fill:var(--intergalactic-chart-grid-bar-hover,oklch(.375 .09 242.7/.05))}",
|
|
16
16
|
/*__inner_css_end__*/
|
|
17
|
-
"
|
|
17
|
+
"bkx9t_gg_"
|
|
18
18
|
), /*__reshadow_css_end__*/
|
|
19
19
|
{
|
|
20
|
-
"__SBar": "
|
|
21
|
-
"--duration": "--
|
|
22
|
-
"_color": "
|
|
23
|
-
"--color": "--
|
|
24
|
-
"_pattern": "
|
|
25
|
-
"--pattern": "--
|
|
26
|
-
"_hide": "
|
|
27
|
-
"_transparent": "
|
|
28
|
-
"_onClick": "
|
|
29
|
-
"__SBackground": "
|
|
30
|
-
"__SBarAnnotation": "
|
|
31
|
-
"__SBarLabel": "
|
|
32
|
-
"__SBarPercent": "
|
|
33
|
-
"__SBarValue": "
|
|
34
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
20
|
+
"__SBar": "___SBar_bkx9t_gg_",
|
|
21
|
+
"--duration": "--duration_bkx9t",
|
|
22
|
+
"_color": "__color_bkx9t_gg_",
|
|
23
|
+
"--color": "--color_bkx9t",
|
|
24
|
+
"_pattern": "__pattern_bkx9t_gg_",
|
|
25
|
+
"--pattern": "--pattern_bkx9t",
|
|
26
|
+
"_hide": "__hide_bkx9t_gg_",
|
|
27
|
+
"_transparent": "__transparent_bkx9t_gg_",
|
|
28
|
+
"_onClick": "__onClick_bkx9t_gg_",
|
|
29
|
+
"__SBackground": "___SBackground_bkx9t_gg_",
|
|
30
|
+
"__SBarAnnotation": "___SBarAnnotation_bkx9t_gg_",
|
|
31
|
+
"__SBarLabel": "___SBarLabel_bkx9t_gg_",
|
|
32
|
+
"__SBarPercent": "___SBarPercent_bkx9t_gg_",
|
|
33
|
+
"__SBarValue": "___SBarValue_bkx9t_gg_",
|
|
34
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_bkx9t_gg_"
|
|
35
35
|
})
|
|
36
36
|
);
|
|
37
37
|
const MIN_HEIGHT = 2;
|
package/lib/esm/Bubble.mjs
CHANGED
|
@@ -15,24 +15,24 @@ const style = (
|
|
|
15
15
|
/*__reshadow_css_start__*/
|
|
16
16
|
(sstyled.insert(
|
|
17
17
|
/*__inner_css_start__*/
|
|
18
|
-
".
|
|
18
|
+
".___SBubble_1x33l_gg_{fill:var(--intergalactic-chart-palette-order-1,oklch(.23 .009 245));stroke:var(--intergalactic-chart-grid-border,#fff);stroke-width:2px;transition-property:cx,cy;transition-duration:var(--duration_1x33l);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_1x33l_gg_:hover{opacity:.8}}g._visible_false_1x33l_gg_{display:none}.___SBubble_1x33l_gg_.__clickable_1x33l_gg_{cursor:pointer}.___SBubble_1x33l_gg_.__color_1x33l_gg_{fill:var(--color_1x33l)}.___SBubble_1x33l_gg_.__pattern_1x33l_gg_.__color_1x33l_gg_{fill:var(--pattern_1x33l);stroke:var(--color_1x33l);stroke-width:1px}.___SBubble_1x33l_gg_.__transparent_1x33l_gg_{opacity:.3}.___SCenter_1x33l_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1,oklch(.23 .009 245))}.___SCenter_1x33l_gg_.__color_1x33l_gg_{stroke:var(--color_1x33l)}.___SCenter_1x33l_gg_.__transparent_1x33l_gg_{opacity:.3}.___SLabel_1x33l_gg_{fill:var(--intergalactic-chart-palette-order-1,oklch(.23 .009 245))}.___SLabel_1x33l_gg_._position_right_1x33l_gg_{text-anchor:end}.___SLabel_1x33l_gg_._position_left_1x33l_gg_{text-anchor:start}.___SLabel_1x33l_gg_.__color_1x33l_gg_{fill:var(--color_1x33l)}.___SLabel_1x33l_gg_.__transparent_1x33l_gg_{opacity:.3}",
|
|
19
19
|
/*__inner_css_end__*/
|
|
20
|
-
"
|
|
20
|
+
"1x33l_gg_"
|
|
21
21
|
), /*__reshadow_css_end__*/
|
|
22
22
|
{
|
|
23
|
-
"_visible_false": "
|
|
24
|
-
"__SBubble": "
|
|
25
|
-
"_clickable": "
|
|
26
|
-
"_color": "
|
|
27
|
-
"--color": "--
|
|
28
|
-
"_pattern": "
|
|
29
|
-
"--pattern": "--
|
|
30
|
-
"_transparent": "
|
|
31
|
-
"__SCenter": "
|
|
32
|
-
"__SLabel": "
|
|
33
|
-
"_position_right": "
|
|
34
|
-
"_position_left": "
|
|
35
|
-
"--duration": "--
|
|
23
|
+
"_visible_false": "_visible_false_1x33l_gg_",
|
|
24
|
+
"__SBubble": "___SBubble_1x33l_gg_",
|
|
25
|
+
"_clickable": "__clickable_1x33l_gg_",
|
|
26
|
+
"_color": "__color_1x33l_gg_",
|
|
27
|
+
"--color": "--color_1x33l",
|
|
28
|
+
"_pattern": "__pattern_1x33l_gg_",
|
|
29
|
+
"--pattern": "--pattern_1x33l",
|
|
30
|
+
"_transparent": "__transparent_1x33l_gg_",
|
|
31
|
+
"__SCenter": "___SCenter_1x33l_gg_",
|
|
32
|
+
"__SLabel": "___SLabel_1x33l_gg_",
|
|
33
|
+
"_position_right": "_position_right_1x33l_gg_",
|
|
34
|
+
"_position_left": "_position_left_1x33l_gg_",
|
|
35
|
+
"--duration": "--duration_1x33l"
|
|
36
36
|
})
|
|
37
37
|
);
|
|
38
38
|
class BubbleRoot extends Component {
|
|
@@ -16,26 +16,26 @@ const style = (
|
|
|
16
16
|
/*__reshadow_css_start__*/
|
|
17
17
|
(sstyled.insert(
|
|
18
18
|
/*__inner_css_start__*/
|
|
19
|
-
".
|
|
19
|
+
".___SBar_bkx9t_gg_{fill:var(--intergalactic-chart-palette-order-1,oklch(.23 .009 245));transition-property:height,width,y;transition-duration:var(--duration_bkx9t);transition-timing-function:ease-in-out}.___SBar_bkx9t_gg_.__color_bkx9t_gg_{fill:var(--color_bkx9t)}.___SBar_bkx9t_gg_.__pattern_bkx9t_gg_.__color_bkx9t_gg_{fill:var(--pattern_bkx9t);stroke:var(--color_bkx9t);stroke-width:1px}.___SBar_bkx9t_gg_.__hide_bkx9t_gg_{display:none}.___SBar_bkx9t_gg_.__transparent_bkx9t_gg_{opacity:.3}.___SBar_bkx9t_gg_.__onClick_bkx9t_gg_{cursor:pointer}.___SBackground_bkx9t_gg_{fill:var(--intergalactic-chart-grid-bar-base-bg,oklch(.92 .008 233.5));opacity:.4}.___SBackground_bkx9t_gg_.__onClick_bkx9t_gg_{cursor:pointer}.___SBarAnnotation_bkx9t_gg_{display:flex;justify-content:space-between}.___SBarLabel_bkx9t_gg_{color:var(--intergalactic-text-primary,oklch(.23 .009 245));margin-right:auto}.___SBarLabel_bkx9t_gg_,.___SBarPercent_bkx9t_gg_{font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,1.4286)}.___SBarPercent_bkx9t_gg_{color:var(--intergalactic-text-secondary,oklch(.182 .045 244.8/.593));margin-right:var(--intergalactic-spacing-2x,8px)}.___SBarValue_bkx9t_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary,oklch(.23 .009 245));font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,1.4286);text-align:right}.___SCompactHorizontalBarHoverRect_bkx9t_gg_{fill:var(--intergalactic-chart-grid-bar-hover,oklch(.375 .09 242.7/.05))}",
|
|
20
20
|
/*__inner_css_end__*/
|
|
21
|
-
"
|
|
21
|
+
"bkx9t_gg_"
|
|
22
22
|
), /*__reshadow_css_end__*/
|
|
23
23
|
{
|
|
24
|
-
"__SBar": "
|
|
25
|
-
"--duration": "--
|
|
26
|
-
"_color": "
|
|
27
|
-
"--color": "--
|
|
28
|
-
"_pattern": "
|
|
29
|
-
"--pattern": "--
|
|
30
|
-
"_hide": "
|
|
31
|
-
"_transparent": "
|
|
32
|
-
"_onClick": "
|
|
33
|
-
"__SBackground": "
|
|
34
|
-
"__SBarAnnotation": "
|
|
35
|
-
"__SBarLabel": "
|
|
36
|
-
"__SBarPercent": "
|
|
37
|
-
"__SBarValue": "
|
|
38
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
24
|
+
"__SBar": "___SBar_bkx9t_gg_",
|
|
25
|
+
"--duration": "--duration_bkx9t",
|
|
26
|
+
"_color": "__color_bkx9t_gg_",
|
|
27
|
+
"--color": "--color_bkx9t",
|
|
28
|
+
"_pattern": "__pattern_bkx9t_gg_",
|
|
29
|
+
"--pattern": "--pattern_bkx9t",
|
|
30
|
+
"_hide": "__hide_bkx9t_gg_",
|
|
31
|
+
"_transparent": "__transparent_bkx9t_gg_",
|
|
32
|
+
"_onClick": "__onClick_bkx9t_gg_",
|
|
33
|
+
"__SBackground": "___SBackground_bkx9t_gg_",
|
|
34
|
+
"__SBarAnnotation": "___SBarAnnotation_bkx9t_gg_",
|
|
35
|
+
"__SBarLabel": "___SBarLabel_bkx9t_gg_",
|
|
36
|
+
"__SBarPercent": "___SBarPercent_bkx9t_gg_",
|
|
37
|
+
"__SBarValue": "___SBarValue_bkx9t_gg_",
|
|
38
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_bkx9t_gg_"
|
|
39
39
|
})
|
|
40
40
|
);
|
|
41
41
|
const MIN_WIDTH = 4;
|
package/lib/esm/Donut.mjs
CHANGED
|
@@ -4,6 +4,7 @@ import { callAllEventHandlers } from "@semcore/core/lib/utils/assignProps";
|
|
|
4
4
|
import canUseDOM from "@semcore/core/lib/utils/canUseDOM";
|
|
5
5
|
import getOriginChildren from "@semcore/core/lib/utils/getOriginChildren";
|
|
6
6
|
import uniqueIDEnhancement from "@semcore/core/lib/utils/uniqueID";
|
|
7
|
+
import { easeCubicOut } from "d3-ease";
|
|
7
8
|
import { interpolate } from "d3-interpolate";
|
|
8
9
|
import { arc, pie } from "d3-shape";
|
|
9
10
|
import { transition } from "d3-transition";
|
|
@@ -17,22 +18,23 @@ const style = (
|
|
|
17
18
|
/*__reshadow_css_start__*/
|
|
18
19
|
(sstyled.insert(
|
|
19
20
|
/*__inner_css_start__*/
|
|
20
|
-
".
|
|
21
|
+
".___SPie_fc849_gg_{stroke:var(--intergalactic-chart-grid-border,#fff);fill:var(--intergalactic-chart-palette-order-1,oklch(.23 .009 245))}.___SPie_fc849_gg_.__color_fc849_gg_{fill:var(--color_fc849)}.___SPie_fc849_gg_.__pattern_fc849_gg_.__color_fc849_gg_{fill:var(--pattern_fc849);stroke:var(--color_fc849);stroke-width:1px}.___SPie_fc849_gg_.__transparent_fc849_gg_{opacity:.3}.___SEmptyData_fc849_gg_{fill:var(--intergalactic-chart-data-null,oklch(.9 .009 234))}.___SEmptyData_fc849_gg_.__color_fc849_gg_{fill:var(--color_fc849)}.___SLabel_fc849_gg_{text-anchor:middle;vertical-anchor:middle;font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,1.4286)}",
|
|
21
22
|
/*__inner_css_end__*/
|
|
22
|
-
"
|
|
23
|
+
"fc849_gg_"
|
|
23
24
|
), /*__reshadow_css_end__*/
|
|
24
25
|
{
|
|
25
|
-
"__SPie": "
|
|
26
|
-
"_color": "
|
|
27
|
-
"--color": "--
|
|
28
|
-
"_pattern": "
|
|
29
|
-
"--pattern": "--
|
|
30
|
-
"_transparent": "
|
|
31
|
-
"__SEmptyData": "
|
|
32
|
-
"__SLabel": "
|
|
26
|
+
"__SPie": "___SPie_fc849_gg_",
|
|
27
|
+
"_color": "__color_fc849_gg_",
|
|
28
|
+
"--color": "--color_fc849",
|
|
29
|
+
"_pattern": "__pattern_fc849_gg_",
|
|
30
|
+
"--pattern": "--pattern_fc849",
|
|
31
|
+
"_transparent": "__transparent_fc849_gg_",
|
|
32
|
+
"__SEmptyData": "___SEmptyData_fc849_gg_",
|
|
33
|
+
"__SLabel": "___SLabel_fc849_gg_"
|
|
33
34
|
})
|
|
34
35
|
);
|
|
35
36
|
const DEFAULT_INSTANCE = /* @__PURE__ */ Symbol("DEFAULT_INSTANCE");
|
|
37
|
+
const TRANSITION_RADIUS_DURATION = 150;
|
|
36
38
|
function transitionAnglePie({
|
|
37
39
|
selector,
|
|
38
40
|
duration,
|
|
@@ -72,7 +74,7 @@ function transitionRadiusPie({
|
|
|
72
74
|
outerRadiusStartEnd,
|
|
73
75
|
paddingAngle
|
|
74
76
|
}) {
|
|
75
|
-
return transition().selection().select(selector).interrupt().transition().duration(duration).attrTween("d", function() {
|
|
77
|
+
return transition().selection().select(selector).interrupt().transition().duration(duration).ease(easeCubicOut).attrTween("d", function() {
|
|
76
78
|
const [start, end] = outerRadiusStartEnd;
|
|
77
79
|
const iOuterRadius = interpolate(start, end);
|
|
78
80
|
return function(t) {
|
|
@@ -130,7 +132,7 @@ class DonutRoot extends Component {
|
|
|
130
132
|
data,
|
|
131
133
|
selector: `#${this.id} ${selector}`,
|
|
132
134
|
element,
|
|
133
|
-
duration:
|
|
135
|
+
duration: TRANSITION_RADIUS_DURATION,
|
|
134
136
|
innerRadius,
|
|
135
137
|
outerRadiusStartEnd,
|
|
136
138
|
paddingAngle
|
package/lib/esm/Dots.mjs
CHANGED
|
@@ -12,22 +12,22 @@ const style = (
|
|
|
12
12
|
/*__reshadow_css_start__*/
|
|
13
13
|
(sstyled.insert(
|
|
14
14
|
/*__inner_css_start__*/
|
|
15
|
-
".
|
|
15
|
+
".___SDots_8afow_gg_ .___SDot_8afow_gg_{transition-duration:var(--duration_8afow)}.___SDot_8afow_gg_{stroke-width:1px;stroke:var(--intergalactic-chart-grid-border,#fff);fill:var(--intergalactic-chart-palette-order-1,oklch(.23 .009 245));transition-property:cx,cy,x,y,filter;transition-timing-function:ease-in-out}.___SDot_8afow_gg_.__active_8afow_gg_{filter:drop-shadow(0 0 1px rgba(0,12,8,.161)) drop-shadow(0 1px 1px rgba(0,12,8,.161))}@media (color-gamut:p3){.___SDot_8afow_gg_.__active_8afow_gg_{filter:drop-shadow(0 0 1px oklch(.137 .026 175.7/.161)) drop-shadow(0 1px 1px oklch(.137 .026 175.7/.161))}}.___SDot_8afow_gg_.__hide_8afow_gg_{display:none}.___SDot_8afow_gg_.__color_8afow_gg_{fill:var(--color_8afow)}.___SDotHighlight_8afow_gg_.__color_8afow_gg_{opacity:.4;fill:var(--color_8afow)}.___SDotHighlight_8afow_gg_.__transparent_8afow_gg_{opacity:.12}.___SDotBorder_8afow_gg_{fill:none;stroke-width:1px;stroke:var(--intergalactic-chart-grid-dot-outer-border,#191d211a);stroke-dasharray:2}.___SDotBorder_8afow_gg_.__transparent_8afow_gg_{opacity:.03}.___SDot_8afow_gg_.__transparent_8afow_gg_{opacity:.3}.___SDotBackdrop_8afow_gg_{stroke-width:1px;stroke:var(--intergalactic-chart-grid-border,#fff);fill:var(--intergalactic-chart-grid-border,#fff);transition-property:cx,cy;transition-duration:var(--duration_8afow);transition-timing-function:ease-in-out}.___SDotBackdrop_8afow_gg_.__hide_8afow_gg_{display:none}",
|
|
16
16
|
/*__inner_css_end__*/
|
|
17
|
-
"
|
|
17
|
+
"8afow_gg_"
|
|
18
18
|
), /*__reshadow_css_end__*/
|
|
19
19
|
{
|
|
20
|
-
"__SDot": "
|
|
21
|
-
"_active": "
|
|
22
|
-
"_hide": "
|
|
23
|
-
"_color": "
|
|
24
|
-
"--color": "--
|
|
25
|
-
"_transparent": "
|
|
26
|
-
"__SDots": "
|
|
27
|
-
"--duration": "--
|
|
28
|
-
"__SDotHighlight": "
|
|
29
|
-
"__SDotBorder": "
|
|
30
|
-
"__SDotBackdrop": "
|
|
20
|
+
"__SDot": "___SDot_8afow_gg_",
|
|
21
|
+
"_active": "__active_8afow_gg_",
|
|
22
|
+
"_hide": "__hide_8afow_gg_",
|
|
23
|
+
"_color": "__color_8afow_gg_",
|
|
24
|
+
"--color": "--color_8afow",
|
|
25
|
+
"_transparent": "__transparent_8afow_gg_",
|
|
26
|
+
"__SDots": "___SDots_8afow_gg_",
|
|
27
|
+
"--duration": "--duration_8afow",
|
|
28
|
+
"__SDotHighlight": "___SDotHighlight_8afow_gg_",
|
|
29
|
+
"__SDotBorder": "___SDotBorder_8afow_gg_",
|
|
30
|
+
"__SDotBackdrop": "___SDotBackdrop_8afow_gg_"
|
|
31
31
|
})
|
|
32
32
|
);
|
|
33
33
|
const BASE_RADIUS = 3.5;
|
|
@@ -11,26 +11,26 @@ const style = (
|
|
|
11
11
|
/*__reshadow_css_start__*/
|
|
12
12
|
(sstyled.insert(
|
|
13
13
|
/*__inner_css_start__*/
|
|
14
|
-
".
|
|
14
|
+
".___SBar_bkx9t_gg_{fill:var(--intergalactic-chart-palette-order-1,oklch(.23 .009 245));transition-property:height,width,y;transition-duration:var(--duration_bkx9t);transition-timing-function:ease-in-out}.___SBar_bkx9t_gg_.__color_bkx9t_gg_{fill:var(--color_bkx9t)}.___SBar_bkx9t_gg_.__pattern_bkx9t_gg_.__color_bkx9t_gg_{fill:var(--pattern_bkx9t);stroke:var(--color_bkx9t);stroke-width:1px}.___SBar_bkx9t_gg_.__hide_bkx9t_gg_{display:none}.___SBar_bkx9t_gg_.__transparent_bkx9t_gg_{opacity:.3}.___SBar_bkx9t_gg_.__onClick_bkx9t_gg_{cursor:pointer}.___SBackground_bkx9t_gg_{fill:var(--intergalactic-chart-grid-bar-base-bg,oklch(.92 .008 233.5));opacity:.4}.___SBackground_bkx9t_gg_.__onClick_bkx9t_gg_{cursor:pointer}.___SBarAnnotation_bkx9t_gg_{display:flex;justify-content:space-between}.___SBarLabel_bkx9t_gg_{color:var(--intergalactic-text-primary,oklch(.23 .009 245));margin-right:auto}.___SBarLabel_bkx9t_gg_,.___SBarPercent_bkx9t_gg_{font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,1.4286)}.___SBarPercent_bkx9t_gg_{color:var(--intergalactic-text-secondary,oklch(.182 .045 244.8/.593));margin-right:var(--intergalactic-spacing-2x,8px)}.___SBarValue_bkx9t_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary,oklch(.23 .009 245));font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,1.4286);text-align:right}.___SCompactHorizontalBarHoverRect_bkx9t_gg_{fill:var(--intergalactic-chart-grid-bar-hover,oklch(.375 .09 242.7/.05))}",
|
|
15
15
|
/*__inner_css_end__*/
|
|
16
|
-
"
|
|
16
|
+
"bkx9t_gg_"
|
|
17
17
|
), /*__reshadow_css_end__*/
|
|
18
18
|
{
|
|
19
|
-
"__SBar": "
|
|
20
|
-
"--duration": "--
|
|
21
|
-
"_color": "
|
|
22
|
-
"--color": "--
|
|
23
|
-
"_pattern": "
|
|
24
|
-
"--pattern": "--
|
|
25
|
-
"_hide": "
|
|
26
|
-
"_transparent": "
|
|
27
|
-
"_onClick": "
|
|
28
|
-
"__SBackground": "
|
|
29
|
-
"__SBarAnnotation": "
|
|
30
|
-
"__SBarLabel": "
|
|
31
|
-
"__SBarPercent": "
|
|
32
|
-
"__SBarValue": "
|
|
33
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
19
|
+
"__SBar": "___SBar_bkx9t_gg_",
|
|
20
|
+
"--duration": "--duration_bkx9t",
|
|
21
|
+
"_color": "__color_bkx9t_gg_",
|
|
22
|
+
"--color": "--color_bkx9t",
|
|
23
|
+
"_pattern": "__pattern_bkx9t_gg_",
|
|
24
|
+
"--pattern": "--pattern_bkx9t",
|
|
25
|
+
"_hide": "__hide_bkx9t_gg_",
|
|
26
|
+
"_transparent": "__transparent_bkx9t_gg_",
|
|
27
|
+
"_onClick": "__onClick_bkx9t_gg_",
|
|
28
|
+
"__SBackground": "___SBackground_bkx9t_gg_",
|
|
29
|
+
"__SBarAnnotation": "___SBarAnnotation_bkx9t_gg_",
|
|
30
|
+
"__SBarLabel": "___SBarLabel_bkx9t_gg_",
|
|
31
|
+
"__SBarPercent": "___SBarPercent_bkx9t_gg_",
|
|
32
|
+
"__SBarValue": "___SBarValue_bkx9t_gg_",
|
|
33
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_bkx9t_gg_"
|
|
34
34
|
})
|
|
35
35
|
);
|
|
36
36
|
const MIN_WIDTH = 2;
|