@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.
Files changed (145) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/lib/cjs/Area.js +9 -9
  3. package/lib/cjs/Axis.js +14 -14
  4. package/lib/cjs/Bar.js +8 -8
  5. package/lib/cjs/Bubble.js +10 -10
  6. package/lib/cjs/Donut.js +7 -7
  7. package/lib/cjs/Dots.js +10 -10
  8. package/lib/cjs/HorizontalBar.js +8 -8
  9. package/lib/cjs/Hover.js +3 -3
  10. package/lib/cjs/Line.js +9 -9
  11. package/lib/cjs/Plot.js +4 -4
  12. package/lib/cjs/Plot.js.map +1 -1
  13. package/lib/cjs/Radar.js +17 -17
  14. package/lib/cjs/RadialTree.js +10 -10
  15. package/lib/cjs/ReferenceLine.js +9 -9
  16. package/lib/cjs/ScatterPlot.js +7 -7
  17. package/lib/cjs/Tooltip.js +8 -8
  18. package/lib/cjs/Venn.js +7 -7
  19. package/lib/cjs/a11y/PlotA11yModule.js +2 -2
  20. package/lib/cjs/a11y/PlotA11yView.js +3 -3
  21. package/lib/cjs/a11y/insights.js +12 -8
  22. package/lib/cjs/a11y/insights.js.map +1 -1
  23. package/lib/cjs/a11y/serialize.js +2 -1
  24. package/lib/cjs/a11y/serialize.js.map +1 -1
  25. package/lib/cjs/component/ChartLegend/BaseLegend.js +108 -0
  26. package/lib/cjs/component/ChartLegend/BaseLegend.js.map +1 -0
  27. package/lib/cjs/component/ChartLegend/BaseLegend.type.js +2 -0
  28. package/lib/cjs/component/ChartLegend/BaseLegend.type.js.map +1 -0
  29. package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +93 -0
  30. package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -0
  31. package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.type.js +2 -0
  32. package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.type.js.map +1 -0
  33. package/lib/cjs/component/ChartLegend/LegendFlex/legend-flex.shadow.css +11 -0
  34. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +230 -0
  35. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js.map +1 -0
  36. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.type.js +13 -0
  37. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -0
  38. package/lib/cjs/component/ChartLegend/LegendItem/legend-item.shadow.css +109 -0
  39. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +100 -0
  40. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js.map +1 -0
  41. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.type.js +2 -0
  42. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.type.js.map +1 -0
  43. package/lib/cjs/component/ChartLegend/LegendTable/legend-table.shadow.css +16 -0
  44. package/lib/cjs/component/ChartLegend/index.js +23 -0
  45. package/lib/cjs/component/ChartLegend/index.js.map +1 -0
  46. package/lib/cjs/index.js +20 -0
  47. package/lib/cjs/index.js.map +1 -1
  48. package/lib/cjs/translations/__intergalactic-dynamic-locales.js +37 -0
  49. package/lib/cjs/translations/__intergalactic-dynamic-locales.js.map +1 -0
  50. package/lib/cjs/translations/de.json +3 -0
  51. package/lib/cjs/translations/en.json +3 -0
  52. package/lib/cjs/translations/es.json +3 -0
  53. package/lib/cjs/translations/fr.json +3 -0
  54. package/lib/cjs/translations/it.json +3 -0
  55. package/lib/cjs/translations/ja.json +3 -0
  56. package/lib/cjs/translations/ko.json +3 -0
  57. package/lib/cjs/translations/nl.json +3 -0
  58. package/lib/cjs/translations/pl.json +3 -0
  59. package/lib/cjs/translations/pt.json +3 -0
  60. package/lib/cjs/translations/sv.json +3 -0
  61. package/lib/cjs/translations/tr.json +3 -0
  62. package/lib/cjs/translations/vi.json +3 -0
  63. package/lib/cjs/translations/zh.json +3 -0
  64. package/lib/cjs/types/Plot.d.js.map +1 -1
  65. package/lib/cjs/types/index.d.js +73 -14
  66. package/lib/cjs/types/index.d.js.map +1 -1
  67. package/lib/es6/Area.js +9 -9
  68. package/lib/es6/Axis.js +14 -14
  69. package/lib/es6/Bar.js +8 -8
  70. package/lib/es6/Bubble.js +10 -10
  71. package/lib/es6/Donut.js +7 -7
  72. package/lib/es6/Dots.js +10 -10
  73. package/lib/es6/HorizontalBar.js +8 -8
  74. package/lib/es6/Hover.js +3 -3
  75. package/lib/es6/Line.js +9 -9
  76. package/lib/es6/Plot.js +4 -4
  77. package/lib/es6/Plot.js.map +1 -1
  78. package/lib/es6/Radar.js +17 -17
  79. package/lib/es6/RadialTree.js +10 -10
  80. package/lib/es6/ReferenceLine.js +9 -9
  81. package/lib/es6/ScatterPlot.js +7 -7
  82. package/lib/es6/Tooltip.js +8 -8
  83. package/lib/es6/Venn.js +7 -7
  84. package/lib/es6/a11y/PlotA11yModule.js +2 -2
  85. package/lib/es6/a11y/PlotA11yView.js +3 -3
  86. package/lib/es6/a11y/insights.js +12 -8
  87. package/lib/es6/a11y/insights.js.map +1 -1
  88. package/lib/es6/a11y/serialize.js +2 -1
  89. package/lib/es6/a11y/serialize.js.map +1 -1
  90. package/lib/es6/component/ChartLegend/BaseLegend.js +100 -0
  91. package/lib/es6/component/ChartLegend/BaseLegend.js.map +1 -0
  92. package/lib/es6/component/ChartLegend/BaseLegend.type.js +2 -0
  93. package/lib/es6/component/ChartLegend/BaseLegend.type.js.map +1 -0
  94. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +86 -0
  95. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -0
  96. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.type.js +2 -0
  97. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.type.js.map +1 -0
  98. package/lib/es6/component/ChartLegend/LegendFlex/legend-flex.shadow.css +11 -0
  99. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +228 -0
  100. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +1 -0
  101. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.type.js +6 -0
  102. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -0
  103. package/lib/es6/component/ChartLegend/LegendItem/legend-item.shadow.css +109 -0
  104. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +94 -0
  105. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js.map +1 -0
  106. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.type.js +2 -0
  107. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.type.js.map +1 -0
  108. package/lib/es6/component/ChartLegend/LegendTable/legend-table.shadow.css +16 -0
  109. package/lib/es6/component/ChartLegend/index.js +5 -0
  110. package/lib/es6/component/ChartLegend/index.js.map +1 -0
  111. package/lib/es6/index.js +2 -0
  112. package/lib/es6/index.js.map +1 -1
  113. package/lib/es6/translations/__intergalactic-dynamic-locales.js +29 -0
  114. package/lib/es6/translations/__intergalactic-dynamic-locales.js.map +1 -0
  115. package/lib/es6/translations/de.json +3 -0
  116. package/lib/es6/translations/en.json +3 -0
  117. package/lib/es6/translations/es.json +3 -0
  118. package/lib/es6/translations/fr.json +3 -0
  119. package/lib/es6/translations/it.json +3 -0
  120. package/lib/es6/translations/ja.json +3 -0
  121. package/lib/es6/translations/ko.json +3 -0
  122. package/lib/es6/translations/nl.json +3 -0
  123. package/lib/es6/translations/pl.json +3 -0
  124. package/lib/es6/translations/pt.json +3 -0
  125. package/lib/es6/translations/sv.json +3 -0
  126. package/lib/es6/translations/tr.json +3 -0
  127. package/lib/es6/translations/vi.json +3 -0
  128. package/lib/es6/translations/zh.json +3 -0
  129. package/lib/es6/types/Plot.d.js.map +1 -1
  130. package/lib/es6/types/index.d.js +20 -8
  131. package/lib/es6/types/index.d.js.map +1 -1
  132. package/lib/types/Plot.d.ts +5 -0
  133. package/lib/types/a11y/insights.d.ts +1 -0
  134. package/lib/types/component/ChartLegend/BaseLegend.d.ts +14 -0
  135. package/lib/types/component/ChartLegend/BaseLegend.type.d.ts +27 -0
  136. package/lib/types/component/ChartLegend/LegendFlex/LegendFlex.d.ts +2 -0
  137. package/lib/types/component/ChartLegend/LegendFlex/LegendFlex.type.d.ts +38 -0
  138. package/lib/types/component/ChartLegend/LegendItem/LegendItem.d.ts +2 -0
  139. package/lib/types/component/ChartLegend/LegendItem/LegendItem.type.d.ts +67 -0
  140. package/lib/types/component/ChartLegend/LegendTable/LegendTable.d.ts +2 -0
  141. package/lib/types/component/ChartLegend/LegendTable/LegendTable.type.d.ts +21 -0
  142. package/lib/types/component/ChartLegend/index.d.ts +4 -0
  143. package/lib/types/index.d.ts +20 -8
  144. package/lib/types/translations/__intergalactic-dynamic-locales.d.ts +41 -0
  145. package/package.json +3 -1
@@ -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.16.0",
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": "*",