@semcore/d3-chart 2.3.6 → 2.3.8
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 +12 -60
- package/LICENSE +21 -0
- package/lib/cjs/Area.js +9 -9
- package/lib/cjs/Axis.js +14 -14
- package/lib/cjs/Bar.js +8 -8
- package/lib/cjs/Bubble.js +10 -10
- package/lib/cjs/Donut.js +7 -7
- package/lib/cjs/Dots.js +9 -9
- package/lib/cjs/HorizontalBar.js +8 -8
- package/lib/cjs/Hover.js +4 -4
- package/lib/cjs/Line.js +8 -8
- package/lib/cjs/Plot.js +6 -5
- package/lib/cjs/Plot.js.map +1 -1
- package/lib/cjs/RadialTree.js +11 -11
- package/lib/cjs/ReferenceLine.js +10 -10
- package/lib/cjs/ScatterPlot.js +7 -7
- package/lib/cjs/Tooltip.js +8 -8
- package/lib/cjs/Venn.js +7 -7
- package/lib/cjs/a11y/PlotA11yModule.js +3 -3
- package/lib/cjs/a11y/PlotA11yView.js +4 -4
- package/lib/cjs/style/plot.shadow.css +4 -0
- package/lib/es6/Area.js +9 -9
- package/lib/es6/Axis.js +14 -14
- package/lib/es6/Bar.js +8 -8
- package/lib/es6/Bubble.js +10 -10
- package/lib/es6/Donut.js +7 -7
- package/lib/es6/Dots.js +9 -9
- package/lib/es6/HorizontalBar.js +8 -8
- package/lib/es6/Hover.js +4 -4
- package/lib/es6/Line.js +8 -8
- package/lib/es6/Plot.js +6 -5
- package/lib/es6/Plot.js.map +1 -1
- package/lib/es6/RadialTree.js +11 -11
- package/lib/es6/ReferenceLine.js +10 -10
- package/lib/es6/ScatterPlot.js +7 -7
- package/lib/es6/Tooltip.js +8 -8
- package/lib/es6/Venn.js +7 -7
- package/lib/es6/a11y/PlotA11yModule.js +3 -3
- package/lib/es6/a11y/PlotA11yView.js +4 -4
- package/lib/es6/style/plot.shadow.css +4 -0
- package/package.json +6 -6
|
@@ -20,12 +20,12 @@ var styles = (
|
|
|
20
20
|
/*__reshadow_css_start__*/
|
|
21
21
|
_sstyled.insert(
|
|
22
22
|
/*__inner_css_start__*/
|
|
23
|
-
".
|
|
23
|
+
":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SPlotA11yModule_1e69g_gg_ {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n pointer-events: none;\n opacity: 0;\n}\n\n.___SPlotA11yModule_1e69g_gg_:focus {\n -webkit-user-select: all;\n -moz-user-select: all;\n user-select: all;\n pointer-events: all;\n opacity: 1;\n}\n"
|
|
24
24
|
/*__inner_css_end__*/
|
|
25
|
-
, "
|
|
25
|
+
, "1e69g_gg_")
|
|
26
26
|
/*__reshadow_css_end__*/
|
|
27
27
|
, {
|
|
28
|
-
"__SPlotA11yModule": "
|
|
28
|
+
"__SPlotA11yModule": "___SPlotA11yModule_1e69g_gg_"
|
|
29
29
|
});
|
|
30
30
|
import { Context as I18nContext } from '@semcore/utils/lib/enhances/WithI18n';
|
|
31
31
|
import { Box } from '@semcore/flex-box';
|
|
@@ -27,13 +27,13 @@ var styles = (
|
|
|
27
27
|
/*__reshadow_css_start__*/
|
|
28
28
|
_sstyled.insert(
|
|
29
29
|
/*__inner_css_start__*/
|
|
30
|
-
".
|
|
30
|
+
":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SPlotA11yView_s1lu5_gg_ {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n pointer-events: none;\n opacity: 0;\n background-color: white;\n color: black;\n border: 3px solid black;\n font-size: 10px;\n padding: 2px;\n width: 200px;\n height: 200px;\n max-width: 80%;\n max-height: 80%;\n overflow: auto;\n}\n\n.___SPlotA11yView_s1lu5_gg_.__focus-within_s1lu5_gg_,\n.___SPlotA11yView_s1lu5_gg_:focus {\n -webkit-user-select: all;\n -moz-user-select: all;\n user-select: all;\n pointer-events: all;\n opacity: 1;\n z-index: 100;\n position: relative;\n display: block;\n}\n\n.___SPlotA11yView_s1lu5_gg_:focus-within,\n.___SPlotA11yView_s1lu5_gg_:focus {\n -webkit-user-select: all;\n -moz-user-select: all;\n user-select: all;\n pointer-events: all;\n opacity: 1;\n z-index: 100;\n position: relative;\n display: block;\n}\n\n.___SPlotA11yView_s1lu5_gg_ a {\n cursor: pointer;\n text-decoration: underline;\n margin-bottom: 8px;\n display: block;\n}\n\n.___SPlotA11yView_s1lu5_gg_ table,\n.___SPlotA11yView_s1lu5_gg_ td,\n.___SPlotA11yView_s1lu5_gg_ th {\n border: 1px solid black;\n}\n"
|
|
31
31
|
/*__inner_css_end__*/
|
|
32
|
-
, "
|
|
32
|
+
, "s1lu5_gg_")
|
|
33
33
|
/*__reshadow_css_end__*/
|
|
34
34
|
, {
|
|
35
|
-
"__SPlotA11yView": "
|
|
36
|
-
"_focus-within": "__focus-
|
|
35
|
+
"__SPlotA11yView": "___SPlotA11yView_s1lu5_gg_",
|
|
36
|
+
"_focus-within": "__focus-within_s1lu5_gg_"
|
|
37
37
|
});
|
|
38
38
|
import { Box } from '@semcore/flex-box';
|
|
39
39
|
export var PlotA11yView = function PlotA11yView(_ref3) {
|
package/package.json
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/d3-chart",
|
|
3
3
|
"description": "Semrush D3 Chart Component",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.8",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"author": "UI-kit team <ui-kit-team@semrush.com>",
|
|
10
10
|
"license": "MIT",
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "pnpm semcore-builder --source=js,ts",
|
|
13
|
-
"test": "jest"
|
|
14
|
-
},
|
|
15
11
|
"dependencies": {
|
|
16
12
|
"@formatjs/intl": "2.3.0",
|
|
17
13
|
"@semcore/animation": "^1",
|
|
@@ -52,5 +48,9 @@
|
|
|
52
48
|
"@types/d3-array": "^3.0.2",
|
|
53
49
|
"@types/d3-scale": "^4.0.2",
|
|
54
50
|
"@types/d3-transition": "^3.0.1"
|
|
51
|
+
},
|
|
52
|
+
"scripts": {
|
|
53
|
+
"build": "pnpm semcore-builder --source=js,ts",
|
|
54
|
+
"test": "jest"
|
|
55
55
|
}
|
|
56
|
-
}
|
|
56
|
+
}
|