@semcore/d3-chart 16.7.0-prerelease.0 → 16.7.0-prerelease.1
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/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/LegendTable/LegendTable.js +6 -6
- 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/LegendTable/LegendTable.js +6 -6
- 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/LegendTable/LegendTable.mjs +7 -7
- package/package.json +19 -19
|
@@ -18,14 +18,14 @@ var style = (
|
|
|
18
18
|
/*__reshadow_css_start__*/
|
|
19
19
|
(sstyled.insert(
|
|
20
20
|
/*__inner_css_start__*/
|
|
21
|
-
".
|
|
21
|
+
".___SLegendFlex_s6sbj_gg_._direction_row_s6sbj_gg_{align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_s6sbj_gg_._direction_column_s6sbj_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}",
|
|
22
22
|
/*__inner_css_end__*/
|
|
23
|
-
"
|
|
23
|
+
"s6sbj_gg_"
|
|
24
24
|
), /*__reshadow_css_end__*/
|
|
25
25
|
{
|
|
26
|
-
"__SLegendFlex": "
|
|
27
|
-
"_direction_row": "
|
|
28
|
-
"_direction_column": "
|
|
26
|
+
"__SLegendFlex": "___SLegendFlex_s6sbj_gg_",
|
|
27
|
+
"_direction_row": "_direction_row_s6sbj_gg_",
|
|
28
|
+
"_direction_column": "_direction_column_s6sbj_gg_"
|
|
29
29
|
})
|
|
30
30
|
);
|
|
31
31
|
var LegendFlexRoot = /* @__PURE__ */ (function(_BaseLegend) {
|
|
@@ -21,27 +21,27 @@ var style = (
|
|
|
21
21
|
/*__reshadow_css_start__*/
|
|
22
22
|
(sstyled.insert(
|
|
23
23
|
/*__inner_css_start__*/
|
|
24
|
-
'.
|
|
24
|
+
'.___SLegendItem_1onj5_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_1onj5_gg_:hover{cursor:pointer}.___SLegendItem_1onj5_gg_.__disabled_1onj5_gg_:hover{cursor:default}}.___SPointShape_1onj5_gg_.__color_1onj5_gg_{background-color:var(--color_1onj5);margin-right:8px;flex-shrink:0}.___SPointShape_1onj5_gg_._shape_Circle_1onj5_gg_._size_l_1onj5_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_1onj5_gg_._shape_Circle_1onj5_gg_._size_m_1onj5_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_1onj5_gg_._shape_Line_1onj5_gg_._size_l_1onj5_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_1onj5_gg_._shape_Line_1onj5_gg_._size_m_1onj5_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_1onj5_gg_._shape_Square_1onj5_gg_._size_l_1onj5_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_1onj5_gg_._shape_Square_1onj5_gg_._size_m_1onj5_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_1onj5_gg_._shape_Pattern_1onj5_gg_{background-color:transparent;margin-right:4px}.___SIcon_1onj5_gg_{line-height:0;margin-right:4px}.___SIcon_1onj5_gg_._size_l_1onj5_gg_{margin-top:4px}.___SIcon_1onj5_gg_._size_m_1onj5_gg_{margin-top:2px}.___SLabel_1onj5_gg_{min-width:0}.___SAdditionalLabel_1onj5_gg_._size_l_1onj5_gg_,.___SCount_1onj5_gg_._size_l_1onj5_gg_,.___SLabel_1onj5_gg_._size_l_1onj5_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_1onj5_gg_._size_m_1onj5_gg_,.___SCount_1onj5_gg_._size_m_1onj5_gg_,.___SLabel_1onj5_gg_._size_m_1onj5_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_1onj5_gg_,.___SCount_1onj5_gg_{margin-left:4px}.___SAdditionalLabel_1onj5_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_1onj5_gg_::before{content:"";display:inline-block;background-color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));height:4px;width:4px;border-radius:2px;margin-right:4px}@supports (color:color(display-p3 0 0 0%)){.___SAdditionalLabel_1onj5_gg_::before{background-color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SAdditionalLabel_1onj5_gg_::before{background-color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SAdditionalLabel_1onj5_gg_._size_l_1onj5_gg_::before{margin-top:10px}.___SAdditionalLabel_1onj5_gg_._size_m_1onj5_gg_::before{margin-top:8px}.___SPatternSymbol_1onj5_gg_{transform:scale(.8)}',
|
|
25
25
|
/*__inner_css_end__*/
|
|
26
|
-
"
|
|
26
|
+
"1onj5_gg_"
|
|
27
27
|
), /*__reshadow_css_end__*/
|
|
28
28
|
{
|
|
29
|
-
"__SLegendItem": "
|
|
30
|
-
"_disabled": "
|
|
31
|
-
"__SPointShape": "
|
|
32
|
-
"_color": "
|
|
33
|
-
"--color": "--
|
|
34
|
-
"_shape_Circle": "
|
|
35
|
-
"_size_l": "
|
|
36
|
-
"_size_m": "
|
|
37
|
-
"_shape_Line": "
|
|
38
|
-
"_shape_Square": "
|
|
39
|
-
"_shape_Pattern": "
|
|
40
|
-
"__SIcon": "
|
|
41
|
-
"__SLabel": "
|
|
42
|
-
"__SAdditionalLabel": "
|
|
43
|
-
"__SCount": "
|
|
44
|
-
"__SPatternSymbol": "
|
|
29
|
+
"__SLegendItem": "___SLegendItem_1onj5_gg_",
|
|
30
|
+
"_disabled": "__disabled_1onj5_gg_",
|
|
31
|
+
"__SPointShape": "___SPointShape_1onj5_gg_",
|
|
32
|
+
"_color": "__color_1onj5_gg_",
|
|
33
|
+
"--color": "--color_1onj5",
|
|
34
|
+
"_shape_Circle": "_shape_Circle_1onj5_gg_",
|
|
35
|
+
"_size_l": "_size_l_1onj5_gg_",
|
|
36
|
+
"_size_m": "_size_m_1onj5_gg_",
|
|
37
|
+
"_shape_Line": "_shape_Line_1onj5_gg_",
|
|
38
|
+
"_shape_Square": "_shape_Square_1onj5_gg_",
|
|
39
|
+
"_shape_Pattern": "_shape_Pattern_1onj5_gg_",
|
|
40
|
+
"__SIcon": "___SIcon_1onj5_gg_",
|
|
41
|
+
"__SLabel": "___SLabel_1onj5_gg_",
|
|
42
|
+
"__SAdditionalLabel": "___SAdditionalLabel_1onj5_gg_",
|
|
43
|
+
"__SCount": "___SCount_1onj5_gg_",
|
|
44
|
+
"__SPatternSymbol": "___SPatternSymbol_1onj5_gg_"
|
|
45
45
|
})
|
|
46
46
|
);
|
|
47
47
|
var enhance = [resolveColorEnhance(), uniqueIDEnhancement()];
|
|
@@ -14,16 +14,16 @@ var style = (
|
|
|
14
14
|
/*__reshadow_css_start__*/
|
|
15
15
|
(sstyled.insert(
|
|
16
16
|
/*__inner_css_start__*/
|
|
17
|
-
'.
|
|
17
|
+
'.___SLegendTable_p31b3_gg_.__columns-count_p31b3_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:16px;grid-row-gap:8px}.___SColumnItem_p31b3_gg_._size_l_p31b3_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_p31b3_gg_._size_m_p31b3_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}',
|
|
18
18
|
/*__inner_css_end__*/
|
|
19
|
-
"
|
|
19
|
+
"p31b3_gg_"
|
|
20
20
|
), /*__reshadow_css_end__*/
|
|
21
21
|
{
|
|
22
|
-
"__SLegendTable": "
|
|
23
|
-
"_columns-count": "__columns-
|
|
24
|
-
"__SColumnItem": "
|
|
25
|
-
"_size_l": "
|
|
26
|
-
"_size_m": "
|
|
22
|
+
"__SLegendTable": "___SLegendTable_p31b3_gg_",
|
|
23
|
+
"_columns-count": "__columns-count_p31b3_gg_",
|
|
24
|
+
"__SColumnItem": "___SColumnItem_p31b3_gg_",
|
|
25
|
+
"_size_l": "_size_l_p31b3_gg_",
|
|
26
|
+
"_size_m": "_size_m_p31b3_gg_"
|
|
27
27
|
})
|
|
28
28
|
);
|
|
29
29
|
var LegendTableRoot = /* @__PURE__ */ (function(_BaseLegend) {
|
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.7.0-prerelease.
|
|
4
|
+
"version": "16.7.0-prerelease.1",
|
|
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.1.0-prerelease.
|
|
19
|
-
"@semcore/checkbox": "16.3.0-prerelease.
|
|
20
|
-
"@semcore/divider": "16.1.0-prerelease.
|
|
21
|
-
"@semcore/flex-box": "16.1.0-prerelease.
|
|
22
|
-
"@semcore/icon": "16.8.0-prerelease.
|
|
23
|
-
"@semcore/popper": "16.1.0-prerelease.
|
|
24
|
-
"@semcore/typography": "16.4.0-prerelease.
|
|
18
|
+
"@semcore/animation": "16.1.0-prerelease.1",
|
|
19
|
+
"@semcore/checkbox": "16.3.0-prerelease.1",
|
|
20
|
+
"@semcore/divider": "16.1.0-prerelease.1",
|
|
21
|
+
"@semcore/flex-box": "16.1.0-prerelease.1",
|
|
22
|
+
"@semcore/icon": "16.8.0-prerelease.1",
|
|
23
|
+
"@semcore/popper": "16.1.0-prerelease.1",
|
|
24
|
+
"@semcore/typography": "16.4.0-prerelease.1",
|
|
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.6.0-prerelease.
|
|
38
|
+
"@semcore/base-components": "^16.6.0-prerelease.1"
|
|
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/
|
|
51
|
-
"@semcore/
|
|
52
|
-
"@semcore/
|
|
53
|
-
"@semcore/
|
|
54
|
-
"@semcore/
|
|
55
|
-
"@semcore/
|
|
56
|
-
"@semcore/
|
|
57
|
-
"@semcore/icon": "16.8.0-prerelease.
|
|
58
|
-
"@semcore/
|
|
59
|
-
"@semcore/
|
|
50
|
+
"@semcore/base-components": "16.6.0-prerelease.1",
|
|
51
|
+
"@semcore/core": "16.6.0-prerelease.1",
|
|
52
|
+
"@semcore/checkbox": "16.3.0-prerelease.1",
|
|
53
|
+
"@semcore/ellipsis": "16.1.0-prerelease.1",
|
|
54
|
+
"@semcore/button": "16.1.0-prerelease.1",
|
|
55
|
+
"@semcore/dropdown-menu": "16.3.0-prerelease.1",
|
|
56
|
+
"@semcore/divider": "16.1.0-prerelease.1",
|
|
57
|
+
"@semcore/icon": "16.8.0-prerelease.1",
|
|
58
|
+
"@semcore/typography": "16.4.0-prerelease.1",
|
|
59
|
+
"@semcore/testing-utils": "1.0.0"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "pnpm semcore-builder --source=js,ts && pnpm vite build"
|