@semcore/d3-chart 3.59.2 → 3.60.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 (46) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/lib/cjs/Area.js +11 -11
  3. package/lib/cjs/Axis.js +14 -14
  4. package/lib/cjs/Bar.js +16 -16
  5. package/lib/cjs/Bubble.js +12 -12
  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 +3 -3
  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/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  22. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
  23. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  24. package/lib/es6/Area.js +11 -11
  25. package/lib/es6/Axis.js +14 -14
  26. package/lib/es6/Bar.js +16 -16
  27. package/lib/es6/Bubble.js +12 -12
  28. package/lib/es6/CompactHorizontalBar.js +16 -16
  29. package/lib/es6/Donut.js +9 -9
  30. package/lib/es6/Dots.js +8 -8
  31. package/lib/es6/HorizontalBar.js +16 -16
  32. package/lib/es6/Hover.js +3 -3
  33. package/lib/es6/Line.js +9 -9
  34. package/lib/es6/Plot.js +3 -3
  35. package/lib/es6/Radar.js +19 -19
  36. package/lib/es6/RadialTree.js +12 -12
  37. package/lib/es6/Reference.js +12 -12
  38. package/lib/es6/ScatterPlot.js +9 -9
  39. package/lib/es6/Tooltip.js +9 -9
  40. package/lib/es6/Venn.js +9 -9
  41. package/lib/es6/a11y/PlotA11yModule.js +2 -2
  42. package/lib/es6/a11y/PlotA11yView.js +2 -2
  43. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  44. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
  45. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  46. package/package.json +3 -3
@@ -21,18 +21,18 @@ import createElement from './createElement';
21
21
  import { getChartDefaultColorName, measureText } from './utils';
22
22
  import { PatternSymbol, getPatternSymbolSize } from './Pattern';
23
23
  /*__reshadow-styles__:"./style/radial-tree.shadow.css"*/
24
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SRadian_1qnqi_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1qnqi_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1qnqi_gg_.__stroke_1qnqi_gg_{stroke:var(--stroke_1qnqi)}.___SLine_1qnqi_gg_.__transparent_1qnqi_gg_{opacity:.3}.___SCap_1qnqi_gg_{transition:r .1s}.___SCap_1qnqi_gg_.__pattern_1qnqi_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_1qnqi_gg_.__transparent_1qnqi_gg_,.___SIcon_1qnqi_gg_.__transparent_1qnqi_gg_,.___SLabel_1qnqi_gg_.__transparent_1qnqi_gg_{opacity:.3}.___SLabel_1qnqi_gg_{fill:var(--color_1qnqi)}@media (hover:hover){.___SRadian_1qnqi_gg_:hover .___SLabel_1qnqi_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_1qnqi_gg_{transition:none}}" /*__inner_css_end__*/, "1qnqi_gg_") /*__reshadow_css_end__*/, {
25
- "__SRadian": "___SRadian_1qnqi_gg_",
26
- "__SLine": "___SLine_1qnqi_gg_",
27
- "_stroke": "__stroke_1qnqi_gg_",
28
- "--stroke": "--stroke_1qnqi",
29
- "_transparent": "__transparent_1qnqi_gg_",
30
- "__SCap": "___SCap_1qnqi_gg_",
31
- "_pattern": "__pattern_1qnqi_gg_",
32
- "__SIcon": "___SIcon_1qnqi_gg_",
33
- "__SLabel": "___SLabel_1qnqi_gg_",
34
- "--color": "--color_1qnqi",
35
- "__SLineCap": "___SLineCap_1qnqi_gg_"
24
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SRadian_9fd75_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_9fd75_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_9fd75_gg_.__stroke_9fd75_gg_{stroke:var(--stroke_9fd75)}.___SLine_9fd75_gg_.__transparent_9fd75_gg_{opacity:.3}.___SCap_9fd75_gg_{transition:r .1s}.___SCap_9fd75_gg_.__pattern_9fd75_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_9fd75_gg_.__transparent_9fd75_gg_,.___SIcon_9fd75_gg_.__transparent_9fd75_gg_,.___SLabel_9fd75_gg_.__transparent_9fd75_gg_{opacity:.3}.___SLabel_9fd75_gg_{fill:var(--color_9fd75)}@media (hover:hover){.___SRadian_9fd75_gg_:hover .___SLabel_9fd75_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_9fd75_gg_{transition:none}}" /*__inner_css_end__*/, "9fd75_gg_") /*__reshadow_css_end__*/, {
25
+ "__SRadian": "___SRadian_9fd75_gg_",
26
+ "__SLine": "___SLine_9fd75_gg_",
27
+ "_stroke": "__stroke_9fd75_gg_",
28
+ "--stroke": "--stroke_9fd75",
29
+ "_transparent": "__transparent_9fd75_gg_",
30
+ "__SCap": "___SCap_9fd75_gg_",
31
+ "_pattern": "__pattern_9fd75_gg_",
32
+ "__SIcon": "___SIcon_9fd75_gg_",
33
+ "__SLabel": "___SLabel_9fd75_gg_",
34
+ "--color": "--color_9fd75",
35
+ "__SLineCap": "___SLineCap_9fd75_gg_"
36
36
  });
37
37
  var baseAngle = -Math.PI / 2; // The top vertical line
38
38
  var RadialTreeBase = /*#__PURE__*/function (_Component) {
@@ -12,18 +12,18 @@ import uniqueIDEnhancement from '@semcore/utils/lib/uniqueID';
12
12
  import createElement from './createElement';
13
13
  import { scaleOfBandwidth } from './utils';
14
14
  /*__reshadow-styles__:"./style/reference.shadow.css"*/
15
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SReferenceLine_3r9fv_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___STitle_3r9fv_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_3r9fv)}.___STitle_3r9fv_gg_._position_top_3r9fv_gg_{text-anchor:middle}.___STitle_3r9fv_gg_._position_bottom_3r9fv_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_3r9fv_gg_._position_left_3r9fv_gg_,.___STitle_3r9fv_gg_._position_right_3r9fv_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_3r9fv_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}.___SStripes_3r9fv_gg_{fill:var(--fill_3r9fv)}.___SStripesPatternPath_3r9fv_gg_{stroke:var(--intergalactic-chart-grid-period-pattern, rgba(25, 27, 35, 0.15));stroke-width:1px}" /*__inner_css_end__*/, "3r9fv_gg_") /*__reshadow_css_end__*/, {
16
- "__SReferenceLine": "___SReferenceLine_3r9fv_gg_",
17
- "__STitle": "___STitle_3r9fv_gg_",
18
- "--transform-origin": "--transform-origin_3r9fv",
19
- "_position_top": "_position_top_3r9fv_gg_",
20
- "_position_bottom": "_position_bottom_3r9fv_gg_",
21
- "_position_right": "_position_right_3r9fv_gg_",
22
- "_position_left": "_position_left_3r9fv_gg_",
23
- "__SBackground": "___SBackground_3r9fv_gg_",
24
- "__SStripes": "___SStripes_3r9fv_gg_",
25
- "--fill": "--fill_3r9fv",
26
- "__SStripesPatternPath": "___SStripesPatternPath_3r9fv_gg_"
15
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SReferenceLine_1lsl9_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___STitle_1lsl9_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_1lsl9)}.___STitle_1lsl9_gg_._position_top_1lsl9_gg_{text-anchor:middle}.___STitle_1lsl9_gg_._position_bottom_1lsl9_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_1lsl9_gg_._position_left_1lsl9_gg_,.___STitle_1lsl9_gg_._position_right_1lsl9_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_1lsl9_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}.___SStripes_1lsl9_gg_{fill:var(--fill_1lsl9)}.___SStripesPatternPath_1lsl9_gg_{stroke:var(--intergalactic-chart-grid-period-pattern, rgba(25, 27, 35, 0.15));stroke-width:1px}" /*__inner_css_end__*/, "1lsl9_gg_") /*__reshadow_css_end__*/, {
16
+ "__SReferenceLine": "___SReferenceLine_1lsl9_gg_",
17
+ "__STitle": "___STitle_1lsl9_gg_",
18
+ "--transform-origin": "--transform-origin_1lsl9",
19
+ "_position_top": "_position_top_1lsl9_gg_",
20
+ "_position_bottom": "_position_bottom_1lsl9_gg_",
21
+ "_position_right": "_position_right_1lsl9_gg_",
22
+ "_position_left": "_position_left_1lsl9_gg_",
23
+ "__SBackground": "___SBackground_1lsl9_gg_",
24
+ "__SStripes": "___SStripes_1lsl9_gg_",
25
+ "--fill": "--fill_1lsl9",
26
+ "__SStripesPatternPath": "___SStripesPatternPath_1lsl9_gg_"
27
27
  });
28
28
  var side2direction = {
29
29
  left: 'vertical',
@@ -18,15 +18,15 @@ import { getScatterPlotRadius } from './utils';
18
18
  import Tooltip from './Tooltip';
19
19
  import { PatternFill } from './Pattern';
20
20
  /*__reshadow-styles__:"./style/scatterplot.shadow.css"*/
21
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SScatterPlot_1l0w6_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_1l0w6);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_1l0w6_gg_:hover{opacity:.8}}.___SScatterPlot_1l0w6_gg_.__color_1l0w6_gg_{fill:var(--color_1l0w6)}.___SScatterPlot_1l0w6_gg_.__pattern_1l0w6_gg_.__color_1l0w6_gg_{fill:var(--pattern_1l0w6);stroke:var(--color_1l0w6);stroke-width:1px}.___SScatterPlot_1l0w6_gg_.__transparent_1l0w6_gg_{opacity:.3}.___SValue_1l0w6_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_1l0w6_gg_.__color_1l0w6_gg_{stroke:var(--color_1l0w6)}.___SValue_1l0w6_gg_.__transparent_1l0w6_gg_{opacity:.3}" /*__inner_css_end__*/, "1l0w6_gg_") /*__reshadow_css_end__*/, {
22
- "__SScatterPlot": "___SScatterPlot_1l0w6_gg_",
23
- "_color": "__color_1l0w6_gg_",
24
- "--color": "--color_1l0w6",
25
- "_pattern": "__pattern_1l0w6_gg_",
26
- "--pattern": "--pattern_1l0w6",
27
- "_transparent": "__transparent_1l0w6_gg_",
28
- "__SValue": "___SValue_1l0w6_gg_",
29
- "--duration": "--duration_1l0w6"
21
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SScatterPlot_vhfd4_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_vhfd4);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_vhfd4_gg_:hover{opacity:.8}}.___SScatterPlot_vhfd4_gg_.__color_vhfd4_gg_{fill:var(--color_vhfd4)}.___SScatterPlot_vhfd4_gg_.__pattern_vhfd4_gg_.__color_vhfd4_gg_{fill:var(--pattern_vhfd4);stroke:var(--color_vhfd4);stroke-width:1px}.___SScatterPlot_vhfd4_gg_.__transparent_vhfd4_gg_{opacity:.3}.___SValue_vhfd4_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_vhfd4_gg_.__color_vhfd4_gg_{stroke:var(--color_vhfd4)}.___SValue_vhfd4_gg_.__transparent_vhfd4_gg_{opacity:.3}" /*__inner_css_end__*/, "vhfd4_gg_") /*__reshadow_css_end__*/, {
22
+ "__SScatterPlot": "___SScatterPlot_vhfd4_gg_",
23
+ "_color": "__color_vhfd4_gg_",
24
+ "--color": "--color_vhfd4",
25
+ "_pattern": "__pattern_vhfd4_gg_",
26
+ "--pattern": "--pattern_vhfd4",
27
+ "_transparent": "__transparent_vhfd4_gg_",
28
+ "__SValue": "___SValue_vhfd4_gg_",
29
+ "--duration": "--duration_vhfd4"
30
30
  });
31
31
  var ScatterPlotRoot = /*#__PURE__*/function (_Component) {
32
32
  _inherits(ScatterPlotRoot, _Component);
@@ -21,15 +21,15 @@ import createElement from './createElement';
21
21
  import { getChartDefaultColorName } from './utils';
22
22
  import { useColorResolver } from '@semcore/utils/lib/use/useColorResolver';
23
23
  /*__reshadow-styles__:"./style/tooltip.shadow.css"*/
24
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___STooltip_ewvil_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%);position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-popper-rounded, 6px);border:1px solid var(--intergalactic-border-secondary, #e0e1e9);box-sizing:border-box;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));padding:var(--intergalactic-spacing-3x, 12px)}.___STitle_ewvil_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_ewvil_gg_{display:flex;align-items:center}.___SDot_ewvil_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_ewvil_gg_.__color_ewvil_gg_{background-color:var(--color_ewvil);width:8px;height:8px;border-radius:50%}.___SFooter_ewvil_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9);padding:var(--intergalactic-spacing-1x, 4px) var(--intergalactic-spacing-3x, 12px);border-radius:0 0 var(--intergalactic-rounded-medium, 6px) var(--intergalactic-rounded-medium, 6px);margin:var(--intergalactic-spacing-3x, 12px) calc(-1*var(--intergalactic-spacing-3x, 12px)) calc(-1*var(--intergalactic-spacing-3x, 12px))}" /*__inner_css_end__*/, "ewvil_gg_") /*__reshadow_css_end__*/, {
25
- "__STooltip": "___STooltip_ewvil_gg_",
26
- "__STitle": "___STitle_ewvil_gg_",
27
- "__SDotGroup": "___SDotGroup_ewvil_gg_",
28
- "__SDot": "___SDot_ewvil_gg_",
29
- "__SDotCircle": "___SDotCircle_ewvil_gg_",
30
- "_color": "__color_ewvil_gg_",
31
- "--color": "--color_ewvil",
32
- "__SFooter": "___SFooter_ewvil_gg_"
24
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___STooltip_1sacj_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%);position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-popper-rounded, 6px);border:1px solid var(--intergalactic-border-secondary, #e0e1e9);box-sizing:border-box;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));padding:var(--intergalactic-spacing-3x, 12px)}.___STitle_1sacj_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_1sacj_gg_{display:flex;align-items:center}.___SDot_1sacj_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_1sacj_gg_.__color_1sacj_gg_{background-color:var(--color_1sacj);width:8px;height:8px;border-radius:50%}.___SFooter_1sacj_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9);padding:var(--intergalactic-spacing-1x, 4px) var(--intergalactic-spacing-3x, 12px);border-radius:0 0 var(--intergalactic-rounded-medium, 6px) var(--intergalactic-rounded-medium, 6px);margin:var(--intergalactic-spacing-3x, 12px) calc(-1*var(--intergalactic-spacing-3x, 12px)) calc(-1*var(--intergalactic-spacing-3x, 12px))}" /*__inner_css_end__*/, "1sacj_gg_") /*__reshadow_css_end__*/, {
25
+ "__STooltip": "___STooltip_1sacj_gg_",
26
+ "__STitle": "___STitle_1sacj_gg_",
27
+ "__SDotGroup": "___SDotGroup_1sacj_gg_",
28
+ "__SDot": "___SDot_1sacj_gg_",
29
+ "__SDotCircle": "___SDotCircle_1sacj_gg_",
30
+ "_color": "__color_1sacj_gg_",
31
+ "--color": "--color_1sacj",
32
+ "__SFooter": "___SFooter_1sacj_gg_"
33
33
  });
34
34
  import { PatternSymbol } from './Pattern';
35
35
 
package/lib/es6/Venn.js CHANGED
@@ -20,15 +20,15 @@ import Tooltip from './Tooltip';
20
20
  import { PatternFill } from './Pattern';
21
21
  import uniqueIDEnhancement from '@semcore/utils/lib/uniqueID';
22
22
  /*__reshadow-styles__:"./style/venn.shadow.css"*/
23
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SCircle_9jcj0_gg_,.___SIntersection_9jcj0_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_9jcj0_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_9jcj0);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_9jcj0_gg_:hover{fill-opacity:.7}}.___SCircle_9jcj0_gg_.__color_9jcj0_gg_{fill:var(--color_9jcj0)}.___SCircle_9jcj0_gg_.__pattern_9jcj0_gg_.__color_9jcj0_gg_{fill:var(--pattern_9jcj0);fill-opacity:.7;stroke:var(--color_9jcj0);stroke-width:1px}@media (hover:hover){.___SCircle_9jcj0_gg_.__pattern_9jcj0_gg_.__color_9jcj0_gg_:hover{fill-opacity:.85}}.___SCircle_9jcj0_gg_.__transparent_9jcj0_gg_{opacity:.3}.___SIntersection_9jcj0_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_9jcj0_gg_:hover{fill-opacity:.1}}.___SIntersection_9jcj0_gg_.__transparent_9jcj0_gg_{opacity:.3}" /*__inner_css_end__*/, "9jcj0_gg_") /*__reshadow_css_end__*/, {
24
- "__SCircle": "___SCircle_9jcj0_gg_",
25
- "_color": "__color_9jcj0_gg_",
26
- "--color": "--color_9jcj0",
27
- "_transparent": "__transparent_9jcj0_gg_",
28
- "__SIntersection": "___SIntersection_9jcj0_gg_",
29
- "--duration": "--duration_9jcj0",
30
- "_pattern": "__pattern_9jcj0_gg_",
31
- "--pattern": "--pattern_9jcj0"
23
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SCircle_18er9_gg_,.___SIntersection_18er9_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_18er9_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_18er9);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_18er9_gg_:hover{fill-opacity:.7}}.___SCircle_18er9_gg_.__color_18er9_gg_{fill:var(--color_18er9)}.___SCircle_18er9_gg_.__pattern_18er9_gg_.__color_18er9_gg_{fill:var(--pattern_18er9);fill-opacity:.7;stroke:var(--color_18er9);stroke-width:1px}@media (hover:hover){.___SCircle_18er9_gg_.__pattern_18er9_gg_.__color_18er9_gg_:hover{fill-opacity:.85}}.___SCircle_18er9_gg_.__transparent_18er9_gg_{opacity:.3}.___SIntersection_18er9_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_18er9_gg_:hover{fill-opacity:.1}}.___SIntersection_18er9_gg_.__transparent_18er9_gg_{opacity:.3}" /*__inner_css_end__*/, "18er9_gg_") /*__reshadow_css_end__*/, {
24
+ "__SCircle": "___SCircle_18er9_gg_",
25
+ "_color": "__color_18er9_gg_",
26
+ "--color": "--color_18er9",
27
+ "_transparent": "__transparent_18er9_gg_",
28
+ "__SIntersection": "___SIntersection_18er9_gg_",
29
+ "--duration": "--duration_18er9",
30
+ "_pattern": "__pattern_18er9_gg_",
31
+ "--pattern": "--pattern_18er9"
32
32
  });
33
33
  var VennRoot = /*#__PURE__*/function (_Component) {
34
34
  _inherits(VennRoot, _Component);
@@ -10,8 +10,8 @@ import { normalizeLocale } from './locale';
10
10
  import { localizedMessages } from './translations/module/__intergalactic-dynamic-locales';
11
11
  import { Root, sstyled } from '@semcore/core';
12
12
  /*__reshadow-styles__:"../style/plotA11yModule.shadow.css"*/
13
- var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlotA11yModule_1hank_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_1hank_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}" /*__inner_css_end__*/, "1hank_gg_") /*__reshadow_css_end__*/, {
14
- "__SPlotA11yModule": "___SPlotA11yModule_1hank_gg_"
13
+ var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlotA11yModule_hqyv2_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_hqyv2_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}" /*__inner_css_end__*/, "hqyv2_gg_") /*__reshadow_css_end__*/, {
14
+ "__SPlotA11yModule": "___SPlotA11yModule_hqyv2_gg_"
15
15
  });
16
16
  import { Context as I18nContext, useI18n } from '@semcore/utils/lib/enhances/WithI18n';
17
17
  import { Box } from '@semcore/flex-box';
@@ -9,8 +9,8 @@ import { getIntl } from './intl';
9
9
  import { summarize } from './summarize';
10
10
  import { Root, sstyled } from '@semcore/core';
11
11
  /*__reshadow-styles__:"../style/plotA11yView.shadow.css"*/
12
- var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlotA11yView_1rx3j_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);color:var(--intergalactic-text-primary, #191b23);border:3px solid var(--intergalactic-border-primary, #c4c7cf);font-size:var(--intergalactic-fs-50, 10px);padding:2px;width:200px;height:200px;max-width:80%;max-height:80%;overflow:auto}.___SPlotA11yView_1rx3j_gg_:focus,.___SPlotA11yView_1rx3j_gg_:focus-within{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1;z-index:var(--intergalactic-z-index-overlay, 500);position:relative;display:block}.___SPlotA11yView_1rx3j_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_1rx3j_gg_ table,.___SPlotA11yView_1rx3j_gg_ td,.___SPlotA11yView_1rx3j_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}" /*__inner_css_end__*/, "1rx3j_gg_") /*__reshadow_css_end__*/, {
13
- "__SPlotA11yView": "___SPlotA11yView_1rx3j_gg_"
12
+ var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlotA11yView_p2ant_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);color:var(--intergalactic-text-primary, #191b23);border:3px solid var(--intergalactic-border-primary, #c4c7cf);font-size:var(--intergalactic-fs-50, 10px);padding:2px;width:200px;height:200px;max-width:80%;max-height:80%;overflow:auto}.___SPlotA11yView_p2ant_gg_:focus,.___SPlotA11yView_p2ant_gg_:focus-within{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1;z-index:var(--intergalactic-z-index-overlay, 500);position:relative;display:block}.___SPlotA11yView_p2ant_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_p2ant_gg_ table,.___SPlotA11yView_p2ant_gg_ td,.___SPlotA11yView_p2ant_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}" /*__inner_css_end__*/, "p2ant_gg_") /*__reshadow_css_end__*/, {
13
+ "__SPlotA11yView": "___SPlotA11yView_p2ant_gg_"
14
14
  });
15
15
  import { Box } from '@semcore/flex-box';
16
16
  import { useAsyncI18nMessages } from '@semcore/utils/lib/enhances/i18nEnhance';
@@ -10,10 +10,10 @@ import React from 'react';
10
10
  import createComponent, { sstyled, Root } from '@semcore/core';
11
11
  import { Flex } from '@semcore/flex-box';
12
12
  /*__reshadow-styles__:"./legend-flex.shadow.css"*/
13
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLegendFlex_av22a_gg_._direction_row_av22a_gg_{align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_av22a_gg_._direction_column_av22a_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}" /*__inner_css_end__*/, "av22a_gg_") /*__reshadow_css_end__*/, {
14
- "__SLegendFlex": "___SLegendFlex_av22a_gg_",
15
- "_direction_row": "_direction_row_av22a_gg_",
16
- "_direction_column": "_direction_column_av22a_gg_"
13
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLegendFlex_18uo4_gg_._direction_row_18uo4_gg_{align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_18uo4_gg_._direction_column_18uo4_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}" /*__inner_css_end__*/, "18uo4_gg_") /*__reshadow_css_end__*/, {
14
+ "__SLegendFlex": "___SLegendFlex_18uo4_gg_",
15
+ "_direction_row": "_direction_row_18uo4_gg_",
16
+ "_direction_column": "_direction_column_18uo4_gg_"
17
17
  });
18
18
  import { LegendItemComponent } from '../LegendItem/LegendItem';
19
19
  import Divider from '@semcore/divider';
@@ -19,23 +19,23 @@ import { Flex, Box } from '@semcore/flex-box';
19
19
  import Checkbox from '@semcore/checkbox';
20
20
  import { Text as TypographyText } from '@semcore/typography';
21
21
  /*__reshadow-styles__:"./legend-item.shadow.css"*/
22
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLegendItem_htxyw_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_htxyw_gg_:hover{cursor:pointer}.___SLegendItem_htxyw_gg_.__disabled_htxyw_gg_:hover{cursor:default}}.___SPointShape_htxyw_gg_.__color_htxyw_gg_{background-color:var(--color_htxyw);margin-right:8px;flex-shrink:0}.___SPointShape_htxyw_gg_._shape_Circle_htxyw_gg_._size_l_htxyw_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_htxyw_gg_._shape_Circle_htxyw_gg_._size_m_htxyw_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_htxyw_gg_._shape_Line_htxyw_gg_._size_l_htxyw_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_htxyw_gg_._shape_Line_htxyw_gg_._size_m_htxyw_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_htxyw_gg_._shape_Square_htxyw_gg_._size_l_htxyw_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_htxyw_gg_._shape_Square_htxyw_gg_._size_m_htxyw_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_htxyw_gg_._shape_Pattern_htxyw_gg_{background-color:transparent;margin-right:4px}.___SIcon_htxyw_gg_{line-height:0;margin-right:4px}.___SIcon_htxyw_gg_._size_l_htxyw_gg_{margin-top:4px}.___SIcon_htxyw_gg_._size_m_htxyw_gg_{margin-top:2px}.___SLabel_htxyw_gg_{min-width:0}.___SAdditionalLabel_htxyw_gg_._size_l_htxyw_gg_,.___SCount_htxyw_gg_._size_l_htxyw_gg_,.___SLabel_htxyw_gg_._size_l_htxyw_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_htxyw_gg_._size_m_htxyw_gg_,.___SCount_htxyw_gg_._size_m_htxyw_gg_,.___SLabel_htxyw_gg_._size_m_htxyw_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_htxyw_gg_,.___SCount_htxyw_gg_{margin-left:4px}.___SAdditionalLabel_htxyw_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_htxyw_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_htxyw_gg_._size_l_htxyw_gg_::before{margin-top:10px}.___SAdditionalLabel_htxyw_gg_._size_m_htxyw_gg_::before{margin-top:8px}.___SPatternSymbol_htxyw_gg_{transform:scale(.8)}" /*__inner_css_end__*/, "htxyw_gg_") /*__reshadow_css_end__*/, {
23
- "__SLegendItem": "___SLegendItem_htxyw_gg_",
24
- "_disabled": "__disabled_htxyw_gg_",
25
- "__SPointShape": "___SPointShape_htxyw_gg_",
26
- "_color": "__color_htxyw_gg_",
27
- "--color": "--color_htxyw",
28
- "_shape_Circle": "_shape_Circle_htxyw_gg_",
29
- "_size_l": "_size_l_htxyw_gg_",
30
- "_size_m": "_size_m_htxyw_gg_",
31
- "_shape_Line": "_shape_Line_htxyw_gg_",
32
- "_shape_Square": "_shape_Square_htxyw_gg_",
33
- "_shape_Pattern": "_shape_Pattern_htxyw_gg_",
34
- "__SIcon": "___SIcon_htxyw_gg_",
35
- "__SLabel": "___SLabel_htxyw_gg_",
36
- "__SAdditionalLabel": "___SAdditionalLabel_htxyw_gg_",
37
- "__SCount": "___SCount_htxyw_gg_",
38
- "__SPatternSymbol": "___SPatternSymbol_htxyw_gg_"
22
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLegendItem_y85ng_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_y85ng_gg_:hover{cursor:pointer}.___SLegendItem_y85ng_gg_.__disabled_y85ng_gg_:hover{cursor:default}}.___SPointShape_y85ng_gg_.__color_y85ng_gg_{background-color:var(--color_y85ng);margin-right:8px;flex-shrink:0}.___SPointShape_y85ng_gg_._shape_Circle_y85ng_gg_._size_l_y85ng_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_y85ng_gg_._shape_Circle_y85ng_gg_._size_m_y85ng_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_y85ng_gg_._shape_Line_y85ng_gg_._size_l_y85ng_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_y85ng_gg_._shape_Line_y85ng_gg_._size_m_y85ng_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_y85ng_gg_._shape_Square_y85ng_gg_._size_l_y85ng_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_y85ng_gg_._shape_Square_y85ng_gg_._size_m_y85ng_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_y85ng_gg_._shape_Pattern_y85ng_gg_{background-color:transparent;margin-right:4px}.___SIcon_y85ng_gg_{line-height:0;margin-right:4px}.___SIcon_y85ng_gg_._size_l_y85ng_gg_{margin-top:4px}.___SIcon_y85ng_gg_._size_m_y85ng_gg_{margin-top:2px}.___SLabel_y85ng_gg_{min-width:0}.___SAdditionalLabel_y85ng_gg_._size_l_y85ng_gg_,.___SCount_y85ng_gg_._size_l_y85ng_gg_,.___SLabel_y85ng_gg_._size_l_y85ng_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_y85ng_gg_._size_m_y85ng_gg_,.___SCount_y85ng_gg_._size_m_y85ng_gg_,.___SLabel_y85ng_gg_._size_m_y85ng_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_y85ng_gg_,.___SCount_y85ng_gg_{margin-left:4px}.___SAdditionalLabel_y85ng_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_y85ng_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_y85ng_gg_._size_l_y85ng_gg_::before{margin-top:10px}.___SAdditionalLabel_y85ng_gg_._size_m_y85ng_gg_::before{margin-top:8px}.___SPatternSymbol_y85ng_gg_{transform:scale(.8)}" /*__inner_css_end__*/, "y85ng_gg_") /*__reshadow_css_end__*/, {
23
+ "__SLegendItem": "___SLegendItem_y85ng_gg_",
24
+ "_disabled": "__disabled_y85ng_gg_",
25
+ "__SPointShape": "___SPointShape_y85ng_gg_",
26
+ "_color": "__color_y85ng_gg_",
27
+ "--color": "--color_y85ng",
28
+ "_shape_Circle": "_shape_Circle_y85ng_gg_",
29
+ "_size_l": "_size_l_y85ng_gg_",
30
+ "_size_m": "_size_m_y85ng_gg_",
31
+ "_shape_Line": "_shape_Line_y85ng_gg_",
32
+ "_shape_Square": "_shape_Square_y85ng_gg_",
33
+ "_shape_Pattern": "_shape_Pattern_y85ng_gg_",
34
+ "__SIcon": "___SIcon_y85ng_gg_",
35
+ "__SLabel": "___SLabel_y85ng_gg_",
36
+ "__SAdditionalLabel": "___SAdditionalLabel_y85ng_gg_",
37
+ "__SCount": "___SCount_y85ng_gg_",
38
+ "__SPatternSymbol": "___SPatternSymbol_y85ng_gg_"
39
39
  });
40
40
  import { StaticShapes } from './LegendItem.type';
41
41
  import resolveColorEnhance from '@semcore/utils/lib/enhances/resolveColorEnhance';
@@ -11,12 +11,12 @@ import React from 'react';
11
11
  import createComponent, { sstyled, Root } from '@semcore/core';
12
12
  import { Box } from '@semcore/flex-box';
13
13
  /*__reshadow-styles__:"./legend-table.shadow.css"*/
14
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLegendTable_kl3sd_gg_.__columns-count_kl3sd_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_kl3sd_gg_._size_l_kl3sd_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_kl3sd_gg_._size_m_kl3sd_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}" /*__inner_css_end__*/, "kl3sd_gg_") /*__reshadow_css_end__*/, {
15
- "__SLegendTable": "___SLegendTable_kl3sd_gg_",
16
- "_columns-count": "__columns-count_kl3sd_gg_",
17
- "__SColumnItem": "___SColumnItem_kl3sd_gg_",
18
- "_size_l": "_size_l_kl3sd_gg_",
19
- "_size_m": "_size_m_kl3sd_gg_"
14
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLegendTable_11w0m_gg_.__columns-count_11w0m_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_11w0m_gg_._size_l_11w0m_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_11w0m_gg_._size_m_11w0m_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}" /*__inner_css_end__*/, "11w0m_gg_") /*__reshadow_css_end__*/, {
15
+ "__SLegendTable": "___SLegendTable_11w0m_gg_",
16
+ "_columns-count": "__columns-count_11w0m_gg_",
17
+ "__SColumnItem": "___SColumnItem_11w0m_gg_",
18
+ "_size_l": "_size_l_11w0m_gg_",
19
+ "_size_m": "_size_m_11w0m_gg_"
20
20
  });
21
21
  import { LegendItemComponent } from '../LegendItem/LegendItem';
22
22
  import { BaseLegend } from '../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": "3.59.2",
4
+ "version": "3.60.0",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -21,8 +21,8 @@
21
21
  "@semcore/flex-box": "5.41.2",
22
22
  "@semcore/popper": "5.46.2",
23
23
  "@semcore/utils": "4.48.2",
24
- "@semcore/typography": "5.52.2",
25
- "@semcore/icon": "4.60.2",
24
+ "@semcore/typography": "5.53.0",
25
+ "@semcore/icon": "4.61.0",
26
26
  "@types/d3-shape": "^3.1.0",
27
27
  "@upsetjs/venn.js": "1.4.2",
28
28
  "d3-array": "3.1.6",