@semcore/d3-chart 17.0.1 → 17.0.2-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.
Files changed (74) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/lib/cjs/Area.js +11 -11
  3. package/lib/cjs/Axis.js +16 -16
  4. package/lib/cjs/Bar.js +16 -16
  5. package/lib/cjs/Bubble.js +14 -14
  6. package/lib/cjs/CompactHorizontalBar.js +16 -16
  7. package/lib/cjs/Donut.js +9 -9
  8. package/lib/cjs/Dots.js +8 -8
  9. package/lib/cjs/HorizontalBar.js +16 -16
  10. package/lib/cjs/Hover.js +3 -3
  11. package/lib/cjs/Line.js +9 -9
  12. package/lib/cjs/Plot.js +2 -2
  13. package/lib/cjs/Radar.js +19 -19
  14. package/lib/cjs/RadialTree.js +12 -12
  15. package/lib/cjs/Reference.js +12 -12
  16. package/lib/cjs/ScatterPlot.js +9 -9
  17. package/lib/cjs/Tooltip.js +9 -9
  18. package/lib/cjs/Venn.js +9 -9
  19. package/lib/cjs/a11y/PlotA11yModule.js +2 -2
  20. package/lib/cjs/a11y/PlotA11yView.js +2 -2
  21. package/lib/cjs/component/Chart/AbstractChart.js +4 -4
  22. package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  23. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
  24. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  25. package/lib/cjs/style/axis.shadow.css +0 -1
  26. package/lib/es6/Area.js +11 -11
  27. package/lib/es6/Axis.js +16 -16
  28. package/lib/es6/Bar.js +16 -16
  29. package/lib/es6/Bubble.js +14 -14
  30. package/lib/es6/CompactHorizontalBar.js +16 -16
  31. package/lib/es6/Donut.js +9 -9
  32. package/lib/es6/Dots.js +8 -8
  33. package/lib/es6/HorizontalBar.js +16 -16
  34. package/lib/es6/Hover.js +3 -3
  35. package/lib/es6/Line.js +9 -9
  36. package/lib/es6/Plot.js +2 -2
  37. package/lib/es6/Radar.js +19 -19
  38. package/lib/es6/RadialTree.js +12 -12
  39. package/lib/es6/Reference.js +12 -12
  40. package/lib/es6/ScatterPlot.js +9 -9
  41. package/lib/es6/Tooltip.js +9 -9
  42. package/lib/es6/Venn.js +9 -9
  43. package/lib/es6/a11y/PlotA11yModule.js +2 -2
  44. package/lib/es6/a11y/PlotA11yView.js +2 -2
  45. package/lib/es6/component/Chart/AbstractChart.js +4 -4
  46. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  47. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
  48. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  49. package/lib/es6/style/axis.shadow.css +0 -1
  50. package/lib/esm/Area.mjs +12 -12
  51. package/lib/esm/Axis.mjs +17 -17
  52. package/lib/esm/Bar.mjs +17 -17
  53. package/lib/esm/Bubble.mjs +15 -15
  54. package/lib/esm/CompactHorizontalBar.mjs +17 -17
  55. package/lib/esm/Donut.mjs +10 -10
  56. package/lib/esm/Dots.mjs +9 -9
  57. package/lib/esm/HorizontalBar.mjs +17 -17
  58. package/lib/esm/Hover.mjs +4 -4
  59. package/lib/esm/Line.mjs +10 -10
  60. package/lib/esm/Plot.mjs +3 -3
  61. package/lib/esm/Radar.mjs +20 -20
  62. package/lib/esm/RadialTree.mjs +13 -13
  63. package/lib/esm/Reference.mjs +13 -13
  64. package/lib/esm/ScatterPlot.mjs +10 -10
  65. package/lib/esm/Tooltip.mjs +10 -10
  66. package/lib/esm/Venn.mjs +10 -10
  67. package/lib/esm/a11y/PlotA11yModule.mjs +3 -3
  68. package/lib/esm/a11y/PlotA11yView.mjs +3 -3
  69. package/lib/esm/component/Chart/AbstractChart.mjs +5 -5
  70. package/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +5 -5
  71. package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +18 -18
  72. package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +7 -7
  73. package/lib/esm/style/axis.shadow.css +0 -1
  74. package/package.json +16 -16
@@ -14,27 +14,27 @@ const style = (
14
14
  /*__reshadow_css_start__*/
15
15
  (sstyled.insert(
16
16
  /*__inner_css_start__*/
17
- '.___SLegendItem_11yr1_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_11yr1_gg_:hover{cursor:pointer}.___SLegendItem_11yr1_gg_.__disabled_11yr1_gg_:hover{cursor:default}}.___SPointShape_11yr1_gg_.__color_11yr1_gg_{background-color:var(--color_11yr1);margin-right:8px;flex-shrink:0}.___SPointShape_11yr1_gg_._shape_Circle_11yr1_gg_._size_l_11yr1_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_11yr1_gg_._shape_Circle_11yr1_gg_._size_m_11yr1_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_11yr1_gg_._shape_Line_11yr1_gg_._size_l_11yr1_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_11yr1_gg_._shape_Line_11yr1_gg_._size_m_11yr1_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_11yr1_gg_._shape_Square_11yr1_gg_._size_l_11yr1_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_11yr1_gg_._shape_Square_11yr1_gg_._size_m_11yr1_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_11yr1_gg_._shape_Pattern_11yr1_gg_{background-color:transparent;margin-right:4px}.___SIcon_11yr1_gg_{line-height:0;margin-right:4px}.___SIcon_11yr1_gg_._size_l_11yr1_gg_{margin-top:4px}.___SIcon_11yr1_gg_._size_m_11yr1_gg_{margin-top:2px}.___SLabel_11yr1_gg_{min-width:0}.___SAdditionalLabel_11yr1_gg_._size_l_11yr1_gg_,.___SCount_11yr1_gg_._size_l_11yr1_gg_,.___SLabel_11yr1_gg_._size_l_11yr1_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_11yr1_gg_._size_m_11yr1_gg_,.___SCount_11yr1_gg_._size_m_11yr1_gg_,.___SLabel_11yr1_gg_._size_m_11yr1_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_11yr1_gg_,.___SCount_11yr1_gg_{margin-left:4px}.___SAdditionalLabel_11yr1_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_11yr1_gg_::before{content:"";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_11yr1_gg_._size_l_11yr1_gg_::before{margin-top:10px}.___SAdditionalLabel_11yr1_gg_._size_m_11yr1_gg_::before{margin-top:8px}.___SPatternSymbol_11yr1_gg_{transform:scale(.8)}',
17
+ '.___SLegendItem_1h1ww_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_1h1ww_gg_:hover{cursor:pointer}.___SLegendItem_1h1ww_gg_.__disabled_1h1ww_gg_:hover{cursor:default}}.___SPointShape_1h1ww_gg_.__color_1h1ww_gg_{background-color:var(--color_1h1ww);margin-right:8px;flex-shrink:0}.___SPointShape_1h1ww_gg_._shape_Circle_1h1ww_gg_._size_l_1h1ww_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_1h1ww_gg_._shape_Circle_1h1ww_gg_._size_m_1h1ww_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_1h1ww_gg_._shape_Line_1h1ww_gg_._size_l_1h1ww_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_1h1ww_gg_._shape_Line_1h1ww_gg_._size_m_1h1ww_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_1h1ww_gg_._shape_Square_1h1ww_gg_._size_l_1h1ww_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_1h1ww_gg_._shape_Square_1h1ww_gg_._size_m_1h1ww_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_1h1ww_gg_._shape_Pattern_1h1ww_gg_{background-color:transparent;margin-right:4px}.___SIcon_1h1ww_gg_{line-height:0;margin-right:4px}.___SIcon_1h1ww_gg_._size_l_1h1ww_gg_{margin-top:4px}.___SIcon_1h1ww_gg_._size_m_1h1ww_gg_{margin-top:2px}.___SLabel_1h1ww_gg_{min-width:0}.___SAdditionalLabel_1h1ww_gg_._size_l_1h1ww_gg_,.___SCount_1h1ww_gg_._size_l_1h1ww_gg_,.___SLabel_1h1ww_gg_._size_l_1h1ww_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_1h1ww_gg_._size_m_1h1ww_gg_,.___SCount_1h1ww_gg_._size_m_1h1ww_gg_,.___SLabel_1h1ww_gg_._size_m_1h1ww_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_1h1ww_gg_,.___SCount_1h1ww_gg_{margin-left:4px}.___SAdditionalLabel_1h1ww_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_1h1ww_gg_::before{content:"";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_1h1ww_gg_._size_l_1h1ww_gg_::before{margin-top:10px}.___SAdditionalLabel_1h1ww_gg_._size_m_1h1ww_gg_::before{margin-top:8px}.___SPatternSymbol_1h1ww_gg_{transform:scale(.8)}',
18
18
  /*__inner_css_end__*/
19
- "11yr1_gg_"
19
+ "1h1ww_gg_"
20
20
  ), /*__reshadow_css_end__*/
21
21
  {
22
- "__SLegendItem": "___SLegendItem_11yr1_gg_",
23
- "_disabled": "__disabled_11yr1_gg_",
24
- "__SPointShape": "___SPointShape_11yr1_gg_",
25
- "_color": "__color_11yr1_gg_",
26
- "--color": "--color_11yr1",
27
- "_shape_Circle": "_shape_Circle_11yr1_gg_",
28
- "_size_l": "_size_l_11yr1_gg_",
29
- "_size_m": "_size_m_11yr1_gg_",
30
- "_shape_Line": "_shape_Line_11yr1_gg_",
31
- "_shape_Square": "_shape_Square_11yr1_gg_",
32
- "_shape_Pattern": "_shape_Pattern_11yr1_gg_",
33
- "__SIcon": "___SIcon_11yr1_gg_",
34
- "__SLabel": "___SLabel_11yr1_gg_",
35
- "__SAdditionalLabel": "___SAdditionalLabel_11yr1_gg_",
36
- "__SCount": "___SCount_11yr1_gg_",
37
- "__SPatternSymbol": "___SPatternSymbol_11yr1_gg_"
22
+ "__SLegendItem": "___SLegendItem_1h1ww_gg_",
23
+ "_disabled": "__disabled_1h1ww_gg_",
24
+ "__SPointShape": "___SPointShape_1h1ww_gg_",
25
+ "_color": "__color_1h1ww_gg_",
26
+ "--color": "--color_1h1ww",
27
+ "_shape_Circle": "_shape_Circle_1h1ww_gg_",
28
+ "_size_l": "_size_l_1h1ww_gg_",
29
+ "_size_m": "_size_m_1h1ww_gg_",
30
+ "_shape_Line": "_shape_Line_1h1ww_gg_",
31
+ "_shape_Square": "_shape_Square_1h1ww_gg_",
32
+ "_shape_Pattern": "_shape_Pattern_1h1ww_gg_",
33
+ "__SIcon": "___SIcon_1h1ww_gg_",
34
+ "__SLabel": "___SLabel_1h1ww_gg_",
35
+ "__SAdditionalLabel": "___SAdditionalLabel_1h1ww_gg_",
36
+ "__SCount": "___SCount_1h1ww_gg_",
37
+ "__SPatternSymbol": "___SPatternSymbol_1h1ww_gg_"
38
38
  })
39
39
  );
40
40
  const enhance = [resolveColorEnhance(), uniqueIDEnhancement()];
@@ -9,16 +9,16 @@ const style = (
9
9
  /*__reshadow_css_start__*/
10
10
  (sstyled.insert(
11
11
  /*__inner_css_start__*/
12
- '.___SLegendTable_1ep80_gg_.__columns-count_1ep80_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_1ep80_gg_._size_l_1ep80_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_1ep80_gg_._size_m_1ep80_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}',
12
+ '.___SLegendTable_9jglg_gg_.__columns-count_9jglg_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_9jglg_gg_._size_l_9jglg_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_9jglg_gg_._size_m_9jglg_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}',
13
13
  /*__inner_css_end__*/
14
- "1ep80_gg_"
14
+ "9jglg_gg_"
15
15
  ), /*__reshadow_css_end__*/
16
16
  {
17
- "__SLegendTable": "___SLegendTable_1ep80_gg_",
18
- "_columns-count": "__columns-count_1ep80_gg_",
19
- "__SColumnItem": "___SColumnItem_1ep80_gg_",
20
- "_size_l": "_size_l_1ep80_gg_",
21
- "_size_m": "_size_m_1ep80_gg_"
17
+ "__SLegendTable": "___SLegendTable_9jglg_gg_",
18
+ "_columns-count": "__columns-count_9jglg_gg_",
19
+ "__SColumnItem": "___SColumnItem_9jglg_gg_",
20
+ "_size_l": "_size_l_9jglg_gg_",
21
+ "_size_m": "_size_m_9jglg_gg_"
22
22
  })
23
23
  );
24
24
  class LegendTableRoot extends BaseLegend {
@@ -72,7 +72,6 @@ STick[position='bottom'] {
72
72
 
73
73
  STick[position='right'] {
74
74
  transform: translateX(16px);
75
- text-anchor: start;
76
75
  dominant-baseline: middle;
77
76
 
78
77
  tspan {
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": "17.0.1",
4
+ "version": "17.0.2-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,14 +15,14 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@formatjs/intl": "2.3.0",
18
- "@semcore/checkbox": "^17.0.1",
19
- "@semcore/divider": "^17.0.1",
20
- "@semcore/typography": "^17.0.1",
21
- "@types/d3-shape": "^3.1.7",
22
- "@upsetjs/venn.js": "1.4.2",
18
+ "@semcore/checkbox": "^17.0.2-prerelease.1",
19
+ "@semcore/divider": "^17.0.2-prerelease.1",
20
+ "@semcore/typography": "^17.0.2-prerelease.1",
21
+ "@types/d3-shape": "3.1.7",
22
+ "@upsetjs/venn.js": "2.0.0",
23
23
  "d3-array": "3.1.6",
24
24
  "d3-interpolate": "3.0.1",
25
- "d3-polygon": "^3.0.1",
25
+ "d3-polygon": "3.0.1",
26
26
  "d3-scale": "4.0.2",
27
27
  "d3-shape": "3.2.0",
28
28
  "d3-time": "3.1.0",
@@ -31,7 +31,7 @@
31
31
  "hoist-non-react-statics": "3.3.2"
32
32
  },
33
33
  "peerDependencies": {
34
- "@semcore/base-components": "^17.0.1",
34
+ "@semcore/base-components": "^17.0.2",
35
35
  "@semcore/icon": "^17.0.1"
36
36
  },
37
37
  "repository": {
@@ -44,16 +44,16 @@
44
44
  "@types/d3-array": "^3.2.1",
45
45
  "@types/d3-scale": "^4.0.9",
46
46
  "@types/d3-transition": "^3.0.9",
47
+ "@semcore/base-components": "17.0.2-prerelease.1",
48
+ "@semcore/button": "17.0.1-prerelease.1",
47
49
  "@semcore/core": "17.0.1",
48
- "@semcore/base-components": "17.0.1",
49
- "@semcore/icon": "17.0.1",
50
- "@semcore/button": "17.0.1",
51
- "@semcore/checkbox": "17.0.1",
52
- "@semcore/divider": "17.0.1",
53
- "@semcore/dropdown-menu": "17.0.1",
54
- "@semcore/ellipsis": "17.0.1",
50
+ "@semcore/checkbox": "17.0.2-prerelease.1",
51
+ "@semcore/divider": "17.0.2-prerelease.1",
52
+ "@semcore/icon": "17.0.1-prerelease.1",
53
+ "@semcore/dropdown-menu": "17.0.1-prerelease.1",
54
+ "@semcore/ellipsis": "17.0.1-prerelease.1",
55
55
  "@semcore/testing-utils": "1.0.0",
56
- "@semcore/typography": "17.0.1"
56
+ "@semcore/typography": "17.0.2-prerelease.1"
57
57
  },
58
58
  "scripts": {
59
59
  "build": "pnpm semcore-builder --source=js,ts && pnpm vite build"