@semcore/d3-chart 3.16.0 → 3.17.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 +7 -1
- 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 +10 -10
- package/lib/cjs/HorizontalBar.js +8 -8
- package/lib/cjs/Hover.js +3 -3
- package/lib/cjs/Line.js +9 -9
- package/lib/cjs/Plot.js +4 -4
- package/lib/cjs/Plot.js.map +1 -1
- package/lib/cjs/Radar.js +17 -17
- package/lib/cjs/RadialTree.js +10 -10
- package/lib/cjs/ReferenceLine.js +9 -9
- 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 +2 -2
- package/lib/cjs/a11y/PlotA11yView.js +3 -3
- package/lib/cjs/a11y/insights.js +12 -8
- package/lib/cjs/a11y/insights.js.map +1 -1
- package/lib/cjs/a11y/serialize.js +2 -1
- package/lib/cjs/a11y/serialize.js.map +1 -1
- package/lib/cjs/component/ChartLegend/BaseLegend.js +108 -0
- package/lib/cjs/component/ChartLegend/BaseLegend.js.map +1 -0
- package/lib/cjs/component/ChartLegend/BaseLegend.type.js +2 -0
- package/lib/cjs/component/ChartLegend/BaseLegend.type.js.map +1 -0
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +93 -0
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -0
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.type.js +2 -0
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.type.js.map +1 -0
- package/lib/cjs/component/ChartLegend/LegendFlex/legend-flex.shadow.css +11 -0
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +230 -0
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js.map +1 -0
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.type.js +13 -0
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -0
- package/lib/cjs/component/ChartLegend/LegendItem/legend-item.shadow.css +109 -0
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +100 -0
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js.map +1 -0
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.type.js +2 -0
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.type.js.map +1 -0
- package/lib/cjs/component/ChartLegend/LegendTable/legend-table.shadow.css +16 -0
- package/lib/cjs/component/ChartLegend/index.js +23 -0
- package/lib/cjs/component/ChartLegend/index.js.map +1 -0
- package/lib/cjs/index.js +20 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/translations/__intergalactic-dynamic-locales.js +37 -0
- package/lib/cjs/translations/__intergalactic-dynamic-locales.js.map +1 -0
- package/lib/cjs/translations/de.json +3 -0
- package/lib/cjs/translations/en.json +3 -0
- package/lib/cjs/translations/es.json +3 -0
- package/lib/cjs/translations/fr.json +3 -0
- package/lib/cjs/translations/it.json +3 -0
- package/lib/cjs/translations/ja.json +3 -0
- package/lib/cjs/translations/ko.json +3 -0
- package/lib/cjs/translations/nl.json +3 -0
- package/lib/cjs/translations/pl.json +3 -0
- package/lib/cjs/translations/pt.json +3 -0
- package/lib/cjs/translations/sv.json +3 -0
- package/lib/cjs/translations/tr.json +3 -0
- package/lib/cjs/translations/vi.json +3 -0
- package/lib/cjs/translations/zh.json +3 -0
- package/lib/cjs/types/Plot.d.js.map +1 -1
- package/lib/cjs/types/index.d.js +73 -14
- package/lib/cjs/types/index.d.js.map +1 -1
- 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 +10 -10
- package/lib/es6/HorizontalBar.js +8 -8
- package/lib/es6/Hover.js +3 -3
- package/lib/es6/Line.js +9 -9
- package/lib/es6/Plot.js +4 -4
- package/lib/es6/Plot.js.map +1 -1
- package/lib/es6/Radar.js +17 -17
- package/lib/es6/RadialTree.js +10 -10
- package/lib/es6/ReferenceLine.js +9 -9
- 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 +2 -2
- package/lib/es6/a11y/PlotA11yView.js +3 -3
- package/lib/es6/a11y/insights.js +12 -8
- package/lib/es6/a11y/insights.js.map +1 -1
- package/lib/es6/a11y/serialize.js +2 -1
- package/lib/es6/a11y/serialize.js.map +1 -1
- package/lib/es6/component/ChartLegend/BaseLegend.js +100 -0
- package/lib/es6/component/ChartLegend/BaseLegend.js.map +1 -0
- package/lib/es6/component/ChartLegend/BaseLegend.type.js +2 -0
- package/lib/es6/component/ChartLegend/BaseLegend.type.js.map +1 -0
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +86 -0
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -0
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.type.js +2 -0
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.type.js.map +1 -0
- package/lib/es6/component/ChartLegend/LegendFlex/legend-flex.shadow.css +11 -0
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +228 -0
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +1 -0
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.type.js +6 -0
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -0
- package/lib/es6/component/ChartLegend/LegendItem/legend-item.shadow.css +109 -0
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +94 -0
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js.map +1 -0
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.type.js +2 -0
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.type.js.map +1 -0
- package/lib/es6/component/ChartLegend/LegendTable/legend-table.shadow.css +16 -0
- package/lib/es6/component/ChartLegend/index.js +5 -0
- package/lib/es6/component/ChartLegend/index.js.map +1 -0
- package/lib/es6/index.js +2 -0
- package/lib/es6/index.js.map +1 -1
- package/lib/es6/translations/__intergalactic-dynamic-locales.js +29 -0
- package/lib/es6/translations/__intergalactic-dynamic-locales.js.map +1 -0
- package/lib/es6/translations/de.json +3 -0
- package/lib/es6/translations/en.json +3 -0
- package/lib/es6/translations/es.json +3 -0
- package/lib/es6/translations/fr.json +3 -0
- package/lib/es6/translations/it.json +3 -0
- package/lib/es6/translations/ja.json +3 -0
- package/lib/es6/translations/ko.json +3 -0
- package/lib/es6/translations/nl.json +3 -0
- package/lib/es6/translations/pl.json +3 -0
- package/lib/es6/translations/pt.json +3 -0
- package/lib/es6/translations/sv.json +3 -0
- package/lib/es6/translations/tr.json +3 -0
- package/lib/es6/translations/vi.json +3 -0
- package/lib/es6/translations/zh.json +3 -0
- package/lib/es6/types/Plot.d.js.map +1 -1
- package/lib/es6/types/index.d.js +20 -8
- package/lib/es6/types/index.d.js.map +1 -1
- package/lib/types/Plot.d.ts +5 -0
- package/lib/types/a11y/insights.d.ts +1 -0
- package/lib/types/component/ChartLegend/BaseLegend.d.ts +14 -0
- package/lib/types/component/ChartLegend/BaseLegend.type.d.ts +27 -0
- package/lib/types/component/ChartLegend/LegendFlex/LegendFlex.d.ts +2 -0
- package/lib/types/component/ChartLegend/LegendFlex/LegendFlex.type.d.ts +38 -0
- package/lib/types/component/ChartLegend/LegendItem/LegendItem.d.ts +2 -0
- package/lib/types/component/ChartLegend/LegendItem/LegendItem.type.d.ts +67 -0
- package/lib/types/component/ChartLegend/LegendTable/LegendTable.d.ts +2 -0
- package/lib/types/component/ChartLegend/LegendTable/LegendTable.type.d.ts +21 -0
- package/lib/types/component/ChartLegend/index.d.ts +4 -0
- package/lib/types/index.d.ts +20 -8
- package/lib/types/translations/__intergalactic-dynamic-locales.d.ts +41 -0
- package/package.json +3 -1
package/lib/types/index.d.ts
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
export declare function minMax(data: any, key: string | number): any;
|
|
3
3
|
export declare const interpolateValue: Symbol;
|
|
4
4
|
|
|
5
|
+
export { makeDataHintsContainer } from './a11y/hints';
|
|
6
|
+
|
|
5
7
|
// Color
|
|
6
8
|
/**
|
|
7
9
|
* @deprecated
|
|
@@ -39,14 +41,6 @@ export * from './Area';
|
|
|
39
41
|
export { default as StackedArea } from './StackedArea';
|
|
40
42
|
export * from './StackedArea';
|
|
41
43
|
|
|
42
|
-
/** It becomes resolvable after building and moving file to lib dir */
|
|
43
|
-
|
|
44
|
-
// @ts-ignore
|
|
45
|
-
export { default as RadialTree } from './RadialTree';
|
|
46
|
-
|
|
47
|
-
// @ts-ignore
|
|
48
|
-
export * from './RadialTree';
|
|
49
|
-
|
|
50
44
|
export { default as Radar } from './Radar';
|
|
51
45
|
export * from './Radar';
|
|
52
46
|
|
|
@@ -67,3 +61,21 @@ export * from './ReferenceLine';
|
|
|
67
61
|
|
|
68
62
|
export { default as Venn } from './Venn';
|
|
69
63
|
export * from './Venn';
|
|
64
|
+
|
|
65
|
+
/** It becomes resolvable after building and moving file to lib dir */
|
|
66
|
+
|
|
67
|
+
// @ts-ignore
|
|
68
|
+
export { default as RadialTree } from './RadialTree';
|
|
69
|
+
|
|
70
|
+
// @ts-ignore
|
|
71
|
+
export * from './RadialTree';
|
|
72
|
+
|
|
73
|
+
// @ts-ignore
|
|
74
|
+
export { ChartLegend, ChartLegendTable } from './component/ChartLegend';
|
|
75
|
+
|
|
76
|
+
// @ts-ignore
|
|
77
|
+
export * from './component/ChartLegend/LegendFlex/LegendFlex.type';
|
|
78
|
+
// @ts-ignore
|
|
79
|
+
export * from './component/ChartLegend/LegendTable/LegendTable.type';
|
|
80
|
+
// @ts-ignore
|
|
81
|
+
export * from './component/ChartLegend/LegendItem/LegendItem.type';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare const localizedMessages: {
|
|
2
|
+
en: {
|
|
3
|
+
trend: string;
|
|
4
|
+
};
|
|
5
|
+
es: {
|
|
6
|
+
trend: string;
|
|
7
|
+
};
|
|
8
|
+
fr: {
|
|
9
|
+
trend: string;
|
|
10
|
+
};
|
|
11
|
+
it: {
|
|
12
|
+
trend: string;
|
|
13
|
+
};
|
|
14
|
+
ja: {
|
|
15
|
+
trend: string;
|
|
16
|
+
};
|
|
17
|
+
ko: {
|
|
18
|
+
trend: string;
|
|
19
|
+
};
|
|
20
|
+
nl: {
|
|
21
|
+
trend: string;
|
|
22
|
+
};
|
|
23
|
+
pt: {
|
|
24
|
+
trend: string;
|
|
25
|
+
};
|
|
26
|
+
tr: {
|
|
27
|
+
trend: string;
|
|
28
|
+
};
|
|
29
|
+
vi: {
|
|
30
|
+
trend: string;
|
|
31
|
+
};
|
|
32
|
+
zh: {
|
|
33
|
+
trend: string;
|
|
34
|
+
};
|
|
35
|
+
pl: {
|
|
36
|
+
trend: string;
|
|
37
|
+
};
|
|
38
|
+
sv: {
|
|
39
|
+
trend: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
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": "3.
|
|
4
|
+
"version": "3.17.0",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@formatjs/intl": "2.3.0",
|
|
18
18
|
"@semcore/animation": "2.9.0",
|
|
19
|
+
"@semcore/divider": "4.7.3",
|
|
19
20
|
"@semcore/flex-box": "5.9.0",
|
|
20
21
|
"@semcore/popper": "5.8.0",
|
|
21
22
|
"@semcore/utils": "4.9.0",
|
|
@@ -44,6 +45,7 @@
|
|
|
44
45
|
"devDependencies": {
|
|
45
46
|
"@semcore/babel-plugin-react-semcore": "^4.2.1",
|
|
46
47
|
"@semcore/button": "*",
|
|
48
|
+
"@semcore/divider": "*",
|
|
47
49
|
"@semcore/checkbox": "*",
|
|
48
50
|
"@semcore/dropdown-menu": "*",
|
|
49
51
|
"@semcore/icon": "*",
|