@semcore/d3-chart 16.6.0-prerelease.5 → 16.7.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 +6 -0
- package/lib/cjs/Area.js +11 -11
- 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 +9 -9
- package/lib/cjs/Dots.js +8 -8
- package/lib/cjs/HorizontalBar.js +16 -16
- package/lib/cjs/Hover.js +3 -3
- package/lib/cjs/Line.js +9 -9
- package/lib/cjs/Plot.js +3 -3
- package/lib/cjs/Radar.js +19 -19
- package/lib/cjs/RadialTree.js +12 -12
- package/lib/cjs/Reference.js +12 -12
- package/lib/cjs/ScatterPlot.js +9 -9
- package/lib/cjs/Tooltip.js +9 -9
- 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 +4 -4
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/lib/cjs/component/ChartLegend/LegendItem/legend-item.shadow.css +1 -1
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/cjs/style/area.shadow.css +3 -3
- package/lib/cjs/style/axis.shadow.css +4 -4
- package/lib/cjs/style/bar.shadow.css +6 -6
- package/lib/cjs/style/bubble.shadow.css +4 -4
- package/lib/cjs/style/donut.shadow.css +3 -3
- package/lib/cjs/style/dot.shadow.css +2 -2
- package/lib/cjs/style/hover.shadow.css +2 -2
- package/lib/cjs/style/line.shadow.css +3 -3
- package/lib/cjs/style/plot.shadow.css +1 -1
- package/lib/cjs/style/plotA11yView.shadow.css +4 -4
- package/lib/cjs/style/radar.shadow.css +8 -8
- package/lib/cjs/style/radial-tree.shadow.css +3 -3
- package/lib/cjs/style/reference.shadow.css +4 -4
- package/lib/cjs/style/scatterplot.shadow.css +2 -2
- package/lib/cjs/style/tooltip.shadow.css +5 -5
- package/lib/cjs/style/venn.shadow.css +3 -3
- package/lib/es6/Area.js +11 -11
- 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 +9 -9
- package/lib/es6/Dots.js +8 -8
- package/lib/es6/HorizontalBar.js +16 -16
- package/lib/es6/Hover.js +3 -3
- package/lib/es6/Line.js +9 -9
- package/lib/es6/Plot.js +3 -3
- package/lib/es6/Radar.js +19 -19
- package/lib/es6/RadialTree.js +12 -12
- package/lib/es6/Reference.js +12 -12
- package/lib/es6/ScatterPlot.js +9 -9
- package/lib/es6/Tooltip.js +9 -9
- 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 +4 -4
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/lib/es6/component/ChartLegend/LegendItem/legend-item.shadow.css +1 -1
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/es6/style/area.shadow.css +3 -3
- package/lib/es6/style/axis.shadow.css +4 -4
- package/lib/es6/style/bar.shadow.css +6 -6
- package/lib/es6/style/bubble.shadow.css +4 -4
- package/lib/es6/style/donut.shadow.css +3 -3
- package/lib/es6/style/dot.shadow.css +2 -2
- package/lib/es6/style/hover.shadow.css +2 -2
- package/lib/es6/style/line.shadow.css +3 -3
- package/lib/es6/style/plot.shadow.css +1 -1
- package/lib/es6/style/plotA11yView.shadow.css +4 -4
- package/lib/es6/style/radar.shadow.css +8 -8
- package/lib/es6/style/radial-tree.shadow.css +3 -3
- package/lib/es6/style/reference.shadow.css +4 -4
- package/lib/es6/style/scatterplot.shadow.css +2 -2
- package/lib/es6/style/tooltip.shadow.css +5 -5
- package/lib/es6/style/venn.shadow.css +3 -3
- package/lib/esm/Area.mjs +12 -12
- 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 +10 -10
- package/lib/esm/Dots.mjs +9 -9
- package/lib/esm/HorizontalBar.mjs +17 -17
- package/lib/esm/Hover.mjs +4 -4
- package/lib/esm/Line.mjs +10 -10
- package/lib/esm/Plot.mjs +4 -4
- package/lib/esm/Radar.mjs +20 -20
- package/lib/esm/RadialTree.mjs +13 -13
- package/lib/esm/Reference.mjs +13 -13
- package/lib/esm/ScatterPlot.mjs +10 -10
- package/lib/esm/Tooltip.mjs +10 -10
- 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 +5 -5
- package/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +5 -5
- package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +18 -18
- package/lib/esm/component/ChartLegend/LegendItem/legend-item.shadow.css +1 -1
- package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +7 -7
- package/lib/esm/style/area.shadow.css +3 -3
- package/lib/esm/style/axis.shadow.css +4 -4
- package/lib/esm/style/bar.shadow.css +6 -6
- package/lib/esm/style/bubble.shadow.css +4 -4
- package/lib/esm/style/donut.shadow.css +3 -3
- package/lib/esm/style/dot.shadow.css +2 -2
- package/lib/esm/style/hover.shadow.css +2 -2
- package/lib/esm/style/line.shadow.css +3 -3
- package/lib/esm/style/plot.shadow.css +1 -1
- package/lib/esm/style/plotA11yView.shadow.css +4 -4
- package/lib/esm/style/radar.shadow.css +8 -8
- package/lib/esm/style/radial-tree.shadow.css +3 -3
- package/lib/esm/style/reference.shadow.css +4 -4
- package/lib/esm/style/scatterplot.shadow.css +2 -2
- package/lib/esm/style/tooltip.shadow.css +5 -5
- package/lib/esm/style/venn.shadow.css +3 -3
- package/package.json +18 -18
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
SRadian {
|
|
4
4
|
cursor: pointer;
|
|
5
|
-
fill: var(--intergalactic-text-large-info,
|
|
5
|
+
fill: var(--intergalactic-text-large-info, oklch(0.53 0.157 279.2));
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
SLine {
|
|
9
|
-
stroke: var(--intergalactic-text-large-info,
|
|
9
|
+
stroke: var(--intergalactic-text-large-info, oklch(0.53 0.157 279.2));
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
SLine[stroke] {
|
|
@@ -22,7 +22,7 @@ SCap {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
SCap[pattern] {
|
|
25
|
-
stroke: var(--intergalactic-chart-grid-border, #
|
|
25
|
+
stroke: var(--intergalactic-chart-grid-border, #fff);
|
|
26
26
|
stroke-width: 1px;
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
SReferenceLine {
|
|
2
2
|
fill: none;
|
|
3
|
-
stroke: var(--intergalactic-chart-grid-y-accent-hover-line,
|
|
3
|
+
stroke: var(--intergalactic-chart-grid-y-accent-hover-line, oklch(0.88 0.002 175.6));
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
STitle {
|
|
7
7
|
font-size: var(--intergalactic-fs-100, 12px);
|
|
8
|
-
fill: var(--intergalactic-chart-grid-text-label,
|
|
8
|
+
fill: var(--intergalactic-chart-grid-text-label, oklch(0.088 0.026 147.7 / 0.583));
|
|
9
9
|
transform-origin: var(--transform-origin);
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -31,13 +31,13 @@ STitle[position='left'] {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
SBackground {
|
|
34
|
-
fill: var(--intergalactic-chart-grid-period-bg,
|
|
34
|
+
fill: var(--intergalactic-chart-grid-period-bg, oklch(0.96 0.001 180));
|
|
35
35
|
}
|
|
36
36
|
SStripes {
|
|
37
37
|
fill: var(--fill);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
SStripesPatternPath {
|
|
41
|
-
stroke: var(--intergalactic-chart-grid-period-pattern,
|
|
41
|
+
stroke: var(--intergalactic-chart-grid-period-pattern, oklch(0.95 0.002 180));
|
|
42
42
|
stroke-width: 1px;
|
|
43
43
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import './var.css';
|
|
2
2
|
|
|
3
3
|
SScatterPlot {
|
|
4
|
-
fill: var(--intergalactic-chart-palette-order-1,
|
|
4
|
+
fill: var(--intergalactic-chart-palette-order-1, oklch(0.58 0.168 278.2));
|
|
5
5
|
transition-property: cx, cy;
|
|
6
6
|
transition-duration: var(--duration);
|
|
7
7
|
transition-timing-function: ease-in-out;
|
|
@@ -29,7 +29,7 @@ SScatterPlot[transparent] {
|
|
|
29
29
|
SValue {
|
|
30
30
|
text-anchor: middle;
|
|
31
31
|
font-size: var(--intergalactic-fs-50, 10px);
|
|
32
|
-
stroke: var(--intergalactic-chart-palette-order-9,
|
|
32
|
+
stroke: var(--intergalactic-chart-palette-order-9, oklch(0.53 0.157 279.2));
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
SValue[color] {
|
|
@@ -4,16 +4,16 @@ STooltip {
|
|
|
4
4
|
font-size: var(--intergalactic-fs-100, 12px);
|
|
5
5
|
line-height: var(--intergalactic-lh-100, 133%);
|
|
6
6
|
position: relative;
|
|
7
|
-
background-color: var(--intergalactic-bg-primary-neutral,
|
|
7
|
+
background-color: var(--intergalactic-bg-primary-neutral, oklch(1 0 0));
|
|
8
8
|
border-radius: var(--intergalactic-popper-rounded, 6px);
|
|
9
|
-
border: 1px solid var(--intergalactic-border-secondary,
|
|
9
|
+
border: 1px solid var(--intergalactic-border-secondary, oklch(0.176 0.033 175.7 / 0.07));
|
|
10
10
|
box-sizing: border-box;
|
|
11
|
-
box-shadow: var(--intergalactic-box-shadow-popper,
|
|
11
|
+
box-shadow: var(--intergalactic-box-shadow-popper, 1px 1px 10px 0px oklch(0.176 0.033 175.7 / 0.07));
|
|
12
12
|
padding: var(--intergalactic-spacing-3x, 12px);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
STitle {
|
|
16
|
-
color: var(--intergalactic-text-secondary,
|
|
16
|
+
color: var(--intergalactic-text-secondary, oklch(0.088 0.026 147.7 / 0.583));
|
|
17
17
|
margin-bottom: var(--intergalactic-spacing-2x, 8px);
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -35,7 +35,7 @@ SDotCircle[color] {
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
SFooter {
|
|
38
|
-
background: var(--intergalactic-bg-secondary-neutral,
|
|
38
|
+
background: var(--intergalactic-bg-secondary-neutral, oklch(0.98 0.001 180));
|
|
39
39
|
padding: var(--intergalactic-spacing-1x, 4px) var(--intergalactic-spacing-3x, 12px);
|
|
40
40
|
border-radius: 0 0 var(--intergalactic-rounded-medium, 6px) var(--intergalactic-rounded-medium, 6px);
|
|
41
41
|
margin: var(--intergalactic-spacing-3x, 12px) calc(-1 * var(--intergalactic-spacing-3x, 12px)) calc(-1 * var(--intergalactic-spacing-3x, 12px));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@import './var.css';
|
|
2
2
|
|
|
3
3
|
SCircle {
|
|
4
|
-
fill: var(--intergalactic-chart-palette-order-2,
|
|
5
|
-
stroke: var(--intergalactic-chart-grid-border, #
|
|
4
|
+
fill: var(--intergalactic-chart-palette-order-2, oklch(0.82 0.15 170));
|
|
5
|
+
stroke: var(--intergalactic-chart-grid-border, #fff);
|
|
6
6
|
stroke-width: 2px;
|
|
7
7
|
fill-opacity: 0.5;
|
|
8
8
|
transition-property: cx, cy;
|
|
@@ -34,7 +34,7 @@ SCircle[transparent] {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
SIntersection {
|
|
37
|
-
stroke: var(--intergalactic-chart-grid-border, #
|
|
37
|
+
stroke: var(--intergalactic-chart-grid-border, #fff);
|
|
38
38
|
stroke-width: 2px;
|
|
39
39
|
fill-opacity: 0;
|
|
40
40
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/d3-chart",
|
|
3
3
|
"description": "Semrush D3 Chart Component",
|
|
4
|
-
"version": "16.
|
|
4
|
+
"version": "16.7.0-prerelease.0",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/esm/index.mjs",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@formatjs/intl": "2.3.0",
|
|
18
|
-
"@semcore/animation": "16.0.
|
|
19
|
-
"@semcore/checkbox": "16.
|
|
20
|
-
"@semcore/divider": "16.0.
|
|
21
|
-
"@semcore/flex-box": "16.0.
|
|
22
|
-
"@semcore/icon": "16.
|
|
23
|
-
"@semcore/popper": "16.0.
|
|
24
|
-
"@semcore/typography": "16.
|
|
18
|
+
"@semcore/animation": "16.1.0-prerelease.0",
|
|
19
|
+
"@semcore/checkbox": "16.3.0-prerelease.0",
|
|
20
|
+
"@semcore/divider": "16.1.0-prerelease.0",
|
|
21
|
+
"@semcore/flex-box": "16.1.0-prerelease.0",
|
|
22
|
+
"@semcore/icon": "16.8.0-prerelease.0",
|
|
23
|
+
"@semcore/popper": "16.1.0-prerelease.0",
|
|
24
|
+
"@semcore/typography": "16.4.0-prerelease.0",
|
|
25
25
|
"@types/d3-shape": "^3.1.7",
|
|
26
26
|
"@upsetjs/venn.js": "1.4.2",
|
|
27
27
|
"d3-array": "3.1.6",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"hoist-non-react-statics": "3.3.2"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@semcore/base-components": "^16.
|
|
38
|
+
"@semcore/base-components": "^16.6.0-prerelease.0"
|
|
39
39
|
},
|
|
40
40
|
"repository": {
|
|
41
41
|
"type": "git",
|
|
@@ -47,16 +47,16 @@
|
|
|
47
47
|
"@types/d3-array": "^3.2.1",
|
|
48
48
|
"@types/d3-scale": "^4.0.9",
|
|
49
49
|
"@types/d3-transition": "^3.0.9",
|
|
50
|
-
"@semcore/core": "16.
|
|
51
|
-
"@semcore/button": "16.0.
|
|
52
|
-
"@semcore/
|
|
53
|
-
"@semcore/checkbox": "16.
|
|
54
|
-
"@semcore/
|
|
55
|
-
"@semcore/
|
|
56
|
-
"@semcore/ellipsis": "16.0.12",
|
|
50
|
+
"@semcore/core": "16.6.0-prerelease.0",
|
|
51
|
+
"@semcore/button": "16.1.0-prerelease.0",
|
|
52
|
+
"@semcore/dropdown-menu": "16.3.0-prerelease.0",
|
|
53
|
+
"@semcore/checkbox": "16.3.0-prerelease.0",
|
|
54
|
+
"@semcore/base-components": "16.6.0-prerelease.0",
|
|
55
|
+
"@semcore/ellipsis": "16.1.0-prerelease.0",
|
|
57
56
|
"@semcore/testing-utils": "1.0.0",
|
|
58
|
-
"@semcore/
|
|
59
|
-
"@semcore/
|
|
57
|
+
"@semcore/icon": "16.8.0-prerelease.0",
|
|
58
|
+
"@semcore/divider": "16.1.0-prerelease.0",
|
|
59
|
+
"@semcore/typography": "16.4.0-prerelease.0"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "pnpm semcore-builder --source=js,ts && pnpm vite build"
|