@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
package/CHANGELOG.md CHANGED
@@ -2,7 +2,13 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
- ## [3.16.0-prerelease.1] - 2023-10-26
5
+ ## [3.17.0-prerelease.0] - 2023-10-27
6
+
7
+ ### Added
8
+
9
+ - `ChartLegend` component.
10
+
11
+ ## [3.16.0] - 2023-10-26
6
12
 
7
13
  ### Added
8
14
 
package/lib/cjs/Area.js CHANGED
@@ -21,15 +21,15 @@ var _createElement = _interopRequireDefault(require("./createElement"));
21
21
  var _utils = require("./utils");
22
22
  var _ClipPath = _interopRequireDefault(require("./ClipPath"));
23
23
  /*__reshadow-styles__:"./style/area.shadow.css"*/
24
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SArea_8u4qv_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_8u4qv_gg_.__color_8u4qv_gg_{fill:var(--color_8u4qv)}.___SArea_8u4qv_gg_.__transparent_8u4qv_gg_{opacity:.3}.___SAreaLine_8u4qv_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_8u4qv_gg_.__color_8u4qv_gg_{stroke:var(--color_8u4qv)}.___SAreaLine_8u4qv_gg_.__transparent_8u4qv_gg_{opacity:.3}.___SAreaLine_8u4qv_gg_,.___SArea_8u4qv_gg_{transition-property:d;transition-duration:var(--duration_8u4qv);transition-timing-function:ease-in-out}.___SNull_8u4qv_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_8u4qv_gg_.__hide_8u4qv_gg_{display:none}" /*__inner_css_end__*/, "8u4qv_gg_") /*__reshadow_css_end__*/, {
25
- "__SArea": "___SArea_8u4qv_gg_",
26
- "_color": "__color_8u4qv_gg_",
27
- "--color": "--color_8u4qv",
28
- "_transparent": "__transparent_8u4qv_gg_",
29
- "__SAreaLine": "___SAreaLine_8u4qv_gg_",
30
- "--duration": "--duration_8u4qv",
31
- "__SNull": "___SNull_8u4qv_gg_",
32
- "_hide": "__hide_8u4qv_gg_"
24
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SArea_1scbq_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_1scbq_gg_.__color_1scbq_gg_{fill:var(--color_1scbq)}.___SArea_1scbq_gg_.__transparent_1scbq_gg_{opacity:.3}.___SAreaLine_1scbq_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_1scbq_gg_.__color_1scbq_gg_{stroke:var(--color_1scbq)}.___SAreaLine_1scbq_gg_.__transparent_1scbq_gg_{opacity:.3}.___SAreaLine_1scbq_gg_,.___SArea_1scbq_gg_{transition-property:d;transition-duration:var(--duration_1scbq);transition-timing-function:ease-in-out}.___SNull_1scbq_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_1scbq_gg_.__hide_1scbq_gg_{display:none}" /*__inner_css_end__*/, "1scbq_gg_") /*__reshadow_css_end__*/, {
25
+ "__SArea": "___SArea_1scbq_gg_",
26
+ "_color": "__color_1scbq_gg_",
27
+ "--color": "--color_1scbq",
28
+ "_transparent": "__transparent_1scbq_gg_",
29
+ "__SAreaLine": "___SAreaLine_1scbq_gg_",
30
+ "--duration": "--duration_1scbq",
31
+ "__SNull": "___SNull_1scbq_gg_",
32
+ "_hide": "__hide_1scbq_gg_"
33
33
  });
34
34
  var AreaRoot = /*#__PURE__*/function (_Component) {
35
35
  (0, _inherits2["default"])(AreaRoot, _Component);
package/lib/cjs/Axis.js CHANGED
@@ -18,20 +18,20 @@ var _createElement = _interopRequireDefault(require("./createElement"));
18
18
  var _utils = require("./utils");
19
19
  var _MAP_POSITION_AXIS, _MAP_POSITION_TICK;
20
20
  /*__reshadow-styles__:"./style/axis.shadow.css"*/
21
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SAxis_ku6wo_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_ku6wo_gg_.__hide_ku6wo_gg_,.___STick_ku6wo_gg_.__hide_ku6wo_gg_{display:none}.___STick_ku6wo_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_ku6wo_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_ku6wo_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_ku6wo)}.___STitle_ku6wo_gg_._position_top_ku6wo_gg_{text-anchor:middle}.___STitle_ku6wo_gg_._position_bottom_ku6wo_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_ku6wo_gg_._position_left_ku6wo_gg_,.___STitle_ku6wo_gg_._position_right_ku6wo_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___STitle_ku6wo_gg_._position_left_ku6wo_gg_.__verticalWritingMode_ku6wo_gg_,.___STitle_ku6wo_gg_._position_right_ku6wo_gg_.__verticalWritingMode_ku6wo_gg_{writing-mode:vertical-rl;transform:none}.___STick_ku6wo_gg_._position_top_ku6wo_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_ku6wo_gg_._position_bottom_ku6wo_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_ku6wo_gg_._position_right_ku6wo_gg_{transform:translateX(16px);text-anchor:start;alignment-baseline:middle}.___STick_ku6wo_gg_._position_left_ku6wo_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}.___STick_ku6wo_gg_._position_custom_0_ku6wo_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_ku6wo_gg_._position_custom_1_ku6wo_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}" /*__inner_css_end__*/, "ku6wo_gg_") /*__reshadow_css_end__*/, {
22
- "__SAxis": "___SAxis_ku6wo_gg_",
23
- "_hide": "__hide_ku6wo_gg_",
24
- "__STick": "___STick_ku6wo_gg_",
25
- "__SGrid": "___SGrid_ku6wo_gg_",
26
- "__STitle": "___STitle_ku6wo_gg_",
27
- "--transform-origin": "--transform-origin_ku6wo",
28
- "_position_top": "_position_top_ku6wo_gg_",
29
- "_position_bottom": "_position_bottom_ku6wo_gg_",
30
- "_position_right": "_position_right_ku6wo_gg_",
31
- "_position_left": "_position_left_ku6wo_gg_",
32
- "_verticalWritingMode": "__verticalWritingMode_ku6wo_gg_",
33
- "_position_custom_0": "_position_custom_0_ku6wo_gg_",
34
- "_position_custom_1": "_position_custom_1_ku6wo_gg_"
21
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SAxis_d0pp3_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_d0pp3_gg_.__hide_d0pp3_gg_,.___STick_d0pp3_gg_.__hide_d0pp3_gg_{display:none}.___STick_d0pp3_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_d0pp3_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_d0pp3_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_d0pp3)}.___STitle_d0pp3_gg_._position_top_d0pp3_gg_{text-anchor:middle}.___STitle_d0pp3_gg_._position_bottom_d0pp3_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_d0pp3_gg_._position_left_d0pp3_gg_,.___STitle_d0pp3_gg_._position_right_d0pp3_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___STitle_d0pp3_gg_._position_left_d0pp3_gg_.__verticalWritingMode_d0pp3_gg_,.___STitle_d0pp3_gg_._position_right_d0pp3_gg_.__verticalWritingMode_d0pp3_gg_{writing-mode:vertical-rl;transform:none}.___STick_d0pp3_gg_._position_top_d0pp3_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_d0pp3_gg_._position_bottom_d0pp3_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_d0pp3_gg_._position_right_d0pp3_gg_{transform:translateX(16px);text-anchor:start;alignment-baseline:middle}.___STick_d0pp3_gg_._position_left_d0pp3_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}.___STick_d0pp3_gg_._position_custom_0_d0pp3_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_d0pp3_gg_._position_custom_1_d0pp3_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}" /*__inner_css_end__*/, "d0pp3_gg_") /*__reshadow_css_end__*/, {
22
+ "__SAxis": "___SAxis_d0pp3_gg_",
23
+ "_hide": "__hide_d0pp3_gg_",
24
+ "__STick": "___STick_d0pp3_gg_",
25
+ "__SGrid": "___SGrid_d0pp3_gg_",
26
+ "__STitle": "___STitle_d0pp3_gg_",
27
+ "--transform-origin": "--transform-origin_d0pp3",
28
+ "_position_top": "_position_top_d0pp3_gg_",
29
+ "_position_bottom": "_position_bottom_d0pp3_gg_",
30
+ "_position_right": "_position_right_d0pp3_gg_",
31
+ "_position_left": "_position_left_d0pp3_gg_",
32
+ "_verticalWritingMode": "__verticalWritingMode_d0pp3_gg_",
33
+ "_position_custom_0": "_position_custom_0_d0pp3_gg_",
34
+ "_position_custom_1": "_position_custom_1_d0pp3_gg_"
35
35
  });
36
36
  var CUSTOM_0 = Symbol('custom_0');
37
37
  var CUSTOM_1 = Symbol('custom_1');
package/lib/cjs/Bar.js CHANGED
@@ -19,14 +19,14 @@ var _createElement = _interopRequireDefault(require("./createElement"));
19
19
  var _ClipPath = _interopRequireDefault(require("./ClipPath"));
20
20
  var _utils = require("./utils");
21
21
  /*__reshadow-styles__:"./style/bar.shadow.css"*/
22
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SBar_dsdok_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_dsdok);transition-timing-function:ease-in-out}.___SBar_dsdok_gg_.__color_dsdok_gg_{fill:var(--color_dsdok)}.___SBar_dsdok_gg_.__hide_dsdok_gg_{display:none}.___SBar_dsdok_gg_.__transparent_dsdok_gg_{opacity:.3}.___SBackground_dsdok_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "dsdok_gg_") /*__reshadow_css_end__*/, {
23
- "__SBar": "___SBar_dsdok_gg_",
24
- "--duration": "--duration_dsdok",
25
- "_color": "__color_dsdok_gg_",
26
- "--color": "--color_dsdok",
27
- "_hide": "__hide_dsdok_gg_",
28
- "_transparent": "__transparent_dsdok_gg_",
29
- "__SBackground": "___SBackground_dsdok_gg_"
22
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SBar_1tfj9_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1tfj9);transition-timing-function:ease-in-out}.___SBar_1tfj9_gg_.__color_1tfj9_gg_{fill:var(--color_1tfj9)}.___SBar_1tfj9_gg_.__hide_1tfj9_gg_{display:none}.___SBar_1tfj9_gg_.__transparent_1tfj9_gg_{opacity:.3}.___SBackground_1tfj9_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "1tfj9_gg_") /*__reshadow_css_end__*/, {
23
+ "__SBar": "___SBar_1tfj9_gg_",
24
+ "--duration": "--duration_1tfj9",
25
+ "_color": "__color_1tfj9_gg_",
26
+ "--color": "--color_1tfj9",
27
+ "_hide": "__hide_1tfj9_gg_",
28
+ "_transparent": "__transparent_1tfj9_gg_",
29
+ "__SBackground": "___SBackground_1tfj9_gg_"
30
30
  });
31
31
  var MIN_HEIGHT = 2;
32
32
  exports.MIN_HEIGHT = MIN_HEIGHT;
package/lib/cjs/Bubble.js CHANGED
@@ -25,16 +25,16 @@ var _ClipPath = _interopRequireDefault(require("./ClipPath"));
25
25
  var _utils = require("./utils");
26
26
  var _Tooltip = _interopRequireDefault(require("./Tooltip"));
27
27
  /*__reshadow-styles__:"./style/bubble.shadow.css"*/
28
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SBubble_tabld_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px;transition-property:cx,cy;transition-duration:var(--duration_tabld);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_tabld_gg_:hover{opacity:.8}}.___SBubble_tabld_gg_.__color_tabld_gg_{fill:var(--color_tabld)}.___SBubble_tabld_gg_.__transparent_tabld_gg_{opacity:.3}.___SCenter_tabld_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_tabld_gg_.__color_tabld_gg_{stroke:var(--color_tabld)}.___SCenter_tabld_gg_.__transparent_tabld_gg_{opacity:.3}.___SLabel_tabld_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_tabld_gg_._position_right_tabld_gg_{text-anchor:end}.___SLabel_tabld_gg_._position_left_tabld_gg_{text-anchor:start}.___SLabel_tabld_gg_.__color_tabld_gg_{fill:var(--color_tabld)}.___SLabel_tabld_gg_.__transparent_tabld_gg_{opacity:.3}" /*__inner_css_end__*/, "tabld_gg_") /*__reshadow_css_end__*/, {
29
- "__SBubble": "___SBubble_tabld_gg_",
30
- "--duration": "--duration_tabld",
31
- "_color": "__color_tabld_gg_",
32
- "--color": "--color_tabld",
33
- "_transparent": "__transparent_tabld_gg_",
34
- "__SCenter": "___SCenter_tabld_gg_",
35
- "__SLabel": "___SLabel_tabld_gg_",
36
- "_position_right": "_position_right_tabld_gg_",
37
- "_position_left": "_position_left_tabld_gg_"
28
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SBubble_c7w8w_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px;transition-property:cx,cy;transition-duration:var(--duration_c7w8w);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_c7w8w_gg_:hover{opacity:.8}}.___SBubble_c7w8w_gg_.__color_c7w8w_gg_{fill:var(--color_c7w8w)}.___SBubble_c7w8w_gg_.__transparent_c7w8w_gg_{opacity:.3}.___SCenter_c7w8w_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_c7w8w_gg_.__color_c7w8w_gg_{stroke:var(--color_c7w8w)}.___SCenter_c7w8w_gg_.__transparent_c7w8w_gg_{opacity:.3}.___SLabel_c7w8w_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_c7w8w_gg_._position_right_c7w8w_gg_{text-anchor:end}.___SLabel_c7w8w_gg_._position_left_c7w8w_gg_{text-anchor:start}.___SLabel_c7w8w_gg_.__color_c7w8w_gg_{fill:var(--color_c7w8w)}.___SLabel_c7w8w_gg_.__transparent_c7w8w_gg_{opacity:.3}" /*__inner_css_end__*/, "c7w8w_gg_") /*__reshadow_css_end__*/, {
29
+ "__SBubble": "___SBubble_c7w8w_gg_",
30
+ "--duration": "--duration_c7w8w",
31
+ "_color": "__color_c7w8w_gg_",
32
+ "--color": "--color_c7w8w",
33
+ "_transparent": "__transparent_c7w8w_gg_",
34
+ "__SCenter": "___SCenter_c7w8w_gg_",
35
+ "__SLabel": "___SLabel_c7w8w_gg_",
36
+ "_position_right": "_position_right_c7w8w_gg_",
37
+ "_position_left": "_position_left_c7w8w_gg_"
38
38
  });
39
39
  var BubbleRoot = /*#__PURE__*/function (_Component) {
40
40
  (0, _inherits2["default"])(BubbleRoot, _Component);
package/lib/cjs/Donut.js CHANGED
@@ -28,13 +28,13 @@ var _utils = require("./utils");
28
28
  var _Tooltip = _interopRequireDefault(require("./Tooltip"));
29
29
  var _excluded = ["Element", "styles", "d3Arc", "data", "color", "$animationActivePie", "active", "d3ArcOut", "name", "dataKey", "dataHintsHandler", "transparent", "innerRadius", "outerRadius", "resolveColor", "halfsize"];
30
30
  /*__reshadow-styles__:"./style/donut.shadow.css"*/
31
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SPie_1jq6u_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_1jq6u_gg_.__color_1jq6u_gg_{fill:var(--color_1jq6u)}.___SPie_1jq6u_gg_.__transparent_1jq6u_gg_{opacity:.3}.___SEmptyData_1jq6u_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_1jq6u_gg_.__color_1jq6u_gg_{fill:var(--color_1jq6u)}.___SLabel_1jq6u_gg_{text-anchor:middle;vertical-anchor:middle}" /*__inner_css_end__*/, "1jq6u_gg_") /*__reshadow_css_end__*/, {
32
- "__SPie": "___SPie_1jq6u_gg_",
33
- "_color": "__color_1jq6u_gg_",
34
- "--color": "--color_1jq6u",
35
- "_transparent": "__transparent_1jq6u_gg_",
36
- "__SEmptyData": "___SEmptyData_1jq6u_gg_",
37
- "__SLabel": "___SLabel_1jq6u_gg_"
31
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SPie_5sttw_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_5sttw_gg_.__color_5sttw_gg_{fill:var(--color_5sttw)}.___SPie_5sttw_gg_.__transparent_5sttw_gg_{opacity:.3}.___SEmptyData_5sttw_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_5sttw_gg_.__color_5sttw_gg_{fill:var(--color_5sttw)}.___SLabel_5sttw_gg_{text-anchor:middle;vertical-anchor:middle}" /*__inner_css_end__*/, "5sttw_gg_") /*__reshadow_css_end__*/, {
32
+ "__SPie": "___SPie_5sttw_gg_",
33
+ "_color": "__color_5sttw_gg_",
34
+ "--color": "--color_5sttw",
35
+ "_transparent": "__transparent_5sttw_gg_",
36
+ "__SEmptyData": "___SEmptyData_5sttw_gg_",
37
+ "__SLabel": "___SLabel_5sttw_gg_"
38
38
  });
39
39
  var DEFAULT_INSTANCE = Symbol('DEFAULT_INSTANCE');
40
40
  function transitionAnglePie(_ref6) {
package/lib/cjs/Dots.js CHANGED
@@ -13,16 +13,16 @@ var _rafTrottle = _interopRequireDefault(require("@semcore/utils/lib/rafTrottle"
13
13
  var _createElement = _interopRequireDefault(require("./createElement"));
14
14
  var _utils = require("./utils");
15
15
  /*__reshadow-styles__:"./style/dot.shadow.css"*/
16
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SDots_1jwoz_gg_ .___SDot_1jwoz_gg_{transition-duration:var(--duration_1jwoz)}.___SDot_1jwoz_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:var(--radius_1jwoz);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-timing-function:ease-in-out}.___SDot_1jwoz_gg_.__hide_1jwoz_gg_{display:none}.___SDot_1jwoz_gg_.__active_1jwoz_gg_{r:calc(var(--radius_1jwoz)*8/6)}.___SDot_1jwoz_gg_.__color_1jwoz_gg_{fill:var(--color_1jwoz)}.___SDot_1jwoz_gg_.__transparent_1jwoz_gg_{opacity:.3}" /*__inner_css_end__*/, "1jwoz_gg_") /*__reshadow_css_end__*/, {
17
- "__SDots": "___SDots_1jwoz_gg_",
18
- "__SDot": "___SDot_1jwoz_gg_",
19
- "--duration": "--duration_1jwoz",
20
- "--radius": "--radius_1jwoz",
21
- "_hide": "__hide_1jwoz_gg_",
22
- "_active": "__active_1jwoz_gg_",
23
- "_color": "__color_1jwoz_gg_",
24
- "--color": "--color_1jwoz",
25
- "_transparent": "__transparent_1jwoz_gg_"
16
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SDots_ie53j_gg_ .___SDot_ie53j_gg_{transition-duration:var(--duration_ie53j)}.___SDot_ie53j_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:var(--radius_ie53j);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-timing-function:ease-in-out}.___SDot_ie53j_gg_.__hide_ie53j_gg_{display:none}.___SDot_ie53j_gg_.__active_ie53j_gg_{r:calc(var(--radius_ie53j)*8/6)}.___SDot_ie53j_gg_.__color_ie53j_gg_{fill:var(--color_ie53j)}.___SDot_ie53j_gg_.__transparent_ie53j_gg_{opacity:.3}" /*__inner_css_end__*/, "ie53j_gg_") /*__reshadow_css_end__*/, {
17
+ "__SDots": "___SDots_ie53j_gg_",
18
+ "__SDot": "___SDot_ie53j_gg_",
19
+ "--duration": "--duration_ie53j",
20
+ "--radius": "--radius_ie53j",
21
+ "_hide": "__hide_ie53j_gg_",
22
+ "_active": "__active_ie53j_gg_",
23
+ "_color": "__color_ie53j_gg_",
24
+ "--color": "--color_ie53j",
25
+ "_transparent": "__transparent_ie53j_gg_"
26
26
  });
27
27
  var EXCLUDE_PROPS = ['data', 'scale', 'value', 'display'];
28
28
  function Dots(props) {
@@ -18,14 +18,14 @@ var _createElement = _interopRequireDefault(require("./createElement"));
18
18
  var _ClipPath = _interopRequireDefault(require("./ClipPath"));
19
19
  var _utils = require("./utils");
20
20
  /*__reshadow-styles__:"./style/bar.shadow.css"*/
21
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SBar_dsdok_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_dsdok);transition-timing-function:ease-in-out}.___SBar_dsdok_gg_.__color_dsdok_gg_{fill:var(--color_dsdok)}.___SBar_dsdok_gg_.__hide_dsdok_gg_{display:none}.___SBar_dsdok_gg_.__transparent_dsdok_gg_{opacity:.3}.___SBackground_dsdok_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "dsdok_gg_") /*__reshadow_css_end__*/, {
22
- "__SBar": "___SBar_dsdok_gg_",
23
- "--duration": "--duration_dsdok",
24
- "_color": "__color_dsdok_gg_",
25
- "--color": "--color_dsdok",
26
- "_hide": "__hide_dsdok_gg_",
27
- "_transparent": "__transparent_dsdok_gg_",
28
- "__SBackground": "___SBackground_dsdok_gg_"
21
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SBar_1tfj9_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1tfj9);transition-timing-function:ease-in-out}.___SBar_1tfj9_gg_.__color_1tfj9_gg_{fill:var(--color_1tfj9)}.___SBar_1tfj9_gg_.__hide_1tfj9_gg_{display:none}.___SBar_1tfj9_gg_.__transparent_1tfj9_gg_{opacity:.3}.___SBackground_1tfj9_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "1tfj9_gg_") /*__reshadow_css_end__*/, {
22
+ "__SBar": "___SBar_1tfj9_gg_",
23
+ "--duration": "--duration_1tfj9",
24
+ "_color": "__color_1tfj9_gg_",
25
+ "--color": "--color_1tfj9",
26
+ "_hide": "__hide_1tfj9_gg_",
27
+ "_transparent": "__transparent_1tfj9_gg_",
28
+ "__SBackground": "___SBackground_1tfj9_gg_"
29
29
  });
30
30
  var MIN_WIDTH = 2;
31
31
  exports.MIN_WIDTH = MIN_WIDTH;
package/lib/cjs/Hover.js CHANGED
@@ -21,9 +21,9 @@ var _createElement = _interopRequireDefault(require("./createElement"));
21
21
  var _utils = require("./utils");
22
22
  var _Tooltip = _interopRequireDefault(require("./Tooltip"));
23
23
  /*__reshadow-styles__:"./style/hover.shadow.css"*/
24
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SHoverLine_1ieto_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_1ieto_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "1ieto_gg_") /*__reshadow_css_end__*/, {
25
- "__SHoverLine": "___SHoverLine_1ieto_gg_",
26
- "__SHoverRect": "___SHoverRect_1ieto_gg_"
24
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SHoverLine_11u4g_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_11u4g_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "11u4g_gg_") /*__reshadow_css_end__*/, {
25
+ "__SHoverLine": "___SHoverLine_11u4g_gg_",
26
+ "__SHoverRect": "___SHoverRect_11u4g_gg_"
27
27
  });
28
28
  var Hover = /*#__PURE__*/function (_Component) {
29
29
  (0, _inherits2["default"])(Hover, _Component);
package/lib/cjs/Line.js CHANGED
@@ -21,15 +21,15 @@ var _utils = require("./utils");
21
21
  var _Dots = _interopRequireDefault(require("./Dots"));
22
22
  var _ClipPath = _interopRequireDefault(require("./ClipPath"));
23
23
  /*__reshadow-styles__:"./style/line.shadow.css"*/
24
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLine_cgce4_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_cgce4);transition-timing-function:ease-in-out}.___SLine_cgce4_gg_.__color_cgce4_gg_{stroke:var(--color_cgce4)}.___SLine_cgce4_gg_.__hide_cgce4_gg_{display:none}.___SLine_cgce4_gg_.__transparent_cgce4_gg_{opacity:.3}.___SNull_cgce4_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_cgce4_gg_.__hide_cgce4_gg_{display:none}.___SAria_cgce4_gg_{transition-property:d;transition-duration:var(--duration_cgce4);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SAria_cgce4_gg_.__color_cgce4_gg_{fill:var(--color_cgce4)}" /*__inner_css_end__*/, "cgce4_gg_") /*__reshadow_css_end__*/, {
25
- "__SLine": "___SLine_cgce4_gg_",
26
- "--duration": "--duration_cgce4",
27
- "_color": "__color_cgce4_gg_",
28
- "--color": "--color_cgce4",
29
- "_hide": "__hide_cgce4_gg_",
30
- "_transparent": "__transparent_cgce4_gg_",
31
- "__SNull": "___SNull_cgce4_gg_",
32
- "__SAria": "___SAria_cgce4_gg_"
24
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLine_k2lhr_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_k2lhr);transition-timing-function:ease-in-out}.___SLine_k2lhr_gg_.__color_k2lhr_gg_{stroke:var(--color_k2lhr)}.___SLine_k2lhr_gg_.__hide_k2lhr_gg_{display:none}.___SLine_k2lhr_gg_.__transparent_k2lhr_gg_{opacity:.3}.___SNull_k2lhr_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_k2lhr_gg_.__hide_k2lhr_gg_{display:none}.___SAria_k2lhr_gg_{transition-property:d;transition-duration:var(--duration_k2lhr);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SAria_k2lhr_gg_.__color_k2lhr_gg_{fill:var(--color_k2lhr)}" /*__inner_css_end__*/, "k2lhr_gg_") /*__reshadow_css_end__*/, {
25
+ "__SLine": "___SLine_k2lhr_gg_",
26
+ "--duration": "--duration_k2lhr",
27
+ "_color": "__color_k2lhr_gg_",
28
+ "--color": "--color_k2lhr",
29
+ "_hide": "__hide_k2lhr_gg_",
30
+ "_transparent": "__transparent_k2lhr_gg_",
31
+ "__SNull": "___SNull_k2lhr_gg_",
32
+ "__SAria": "___SAria_k2lhr_gg_"
33
33
  });
34
34
  var LineRoot = /*#__PURE__*/function (_Component) {
35
35
  (0, _inherits2["default"])(LineRoot, _Component);
package/lib/cjs/Plot.js CHANGED
@@ -24,9 +24,9 @@ var _PlotA11yModule = require("./a11y/PlotA11yModule");
24
24
  var _hints = require("./a11y/hints");
25
25
  var _resolveColorEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/resolveColorEnhance"));
26
26
  /*__reshadow-styles__:"./style/plot.shadow.css"*/
27
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SPlot_6ph44_gg_{overflow:hidden}.___SPlot_6ph44_gg_:active,.___SPlot_6ph44_gg_:focus{outline:0;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_6ph44_gg_.__keyboardFocused_6ph44_gg_{border:1px solid var(--intergalactic-chart-palette-order-9, #008ff8);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}" /*__inner_css_end__*/, "6ph44_gg_") /*__reshadow_css_end__*/, {
28
- "__SPlot": "___SPlot_6ph44_gg_",
29
- "_keyboardFocused": "__keyboardFocused_6ph44_gg_"
27
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SPlot_wahp1_gg_{overflow:hidden}.___SPlot_wahp1_gg_:active,.___SPlot_wahp1_gg_:focus{outline:0;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_wahp1_gg_.__keyboardFocused_wahp1_gg_{border:1px solid var(--intergalactic-chart-palette-order-9, #008ff8);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}" /*__inner_css_end__*/, "wahp1_gg_") /*__reshadow_css_end__*/, {
28
+ "__SPlot": "___SPlot_wahp1_gg_",
29
+ "_keyboardFocused": "__keyboardFocused_wahp1_gg_"
30
30
  });
31
31
  var PlotRoot = /*#__PURE__*/function (_Component) {
32
32
  (0, _inherits2["default"])(PlotRoot, _Component);
@@ -37,7 +37,7 @@ var PlotRoot = /*#__PURE__*/function (_Component) {
37
37
  _this = _super.call(this, props);
38
38
  (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "plotId", (0, _utils.uniqueId)());
39
39
  (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "rootRef", /*#__PURE__*/_react["default"].createRef());
40
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "dataStructureHints", (0, _hints.makeDataHintsContainer)());
40
+ (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "dataStructureHints", _this.props.dataHints || (0, _hints.makeDataHintsContainer)());
41
41
  (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "dataHintsHandler", (0, _hints.makeDataHintsHandlers)(_this.dataStructureHints));
42
42
  (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "handlerMouseMove", function (e) {
43
43
  var scale = _this.asProps.scale;
@@ -1 +1 @@
1
- {"version":3,"file":"Plot.js","names":["_core","_interopRequireWildcard","require","_react","_interopRequireDefault","_flexBox","_eventEmitter","_keyboardFocusEnhance","_utils","_PlotA11yModule","_hints","_resolveColorEnhance","style","sstyled","insert","PlotRoot","_Component","_inherits2","_super","_createSuper2","props","_this","_classCallCheck2","call","_defineProperty2","_assertThisInitialized2","uniqueId","React","createRef","makeDataHintsContainer","makeDataHintsHandlers","dataStructureHints","e","scale","asProps","eventEmitter","emit","length","_scale","_slicedToArray2","xScale","yScale","_eventToPoint","eventToPoint","rootRef","current","_eventToPoint2","pX","pY","_xScale$range","range","_xScale$range2","minX","maxX","_yScale$range","_yScale$range2","maxY","minY","EventEmitter","_createClass2","key","value","setContext","_scale$","_scale$$domain","_this$asProps","data","width","height","locale","resolveColor","yScaleDomain","domain","dataHintsHandler","setPointsDensity","Math","abs","$rootProps","size","render","_ref","_ref2","SPlot","Box","_this$asProps2","styles","Children","a11yAltTextConfig","label","createElement","cn","_objectSpread2","assignProps","handlerMouseMove","handlerMouseLeave","PlotA11yModule","plotId","Component","keyboardFocusEnhance","colorResolverEnhance","_default","createComponent","exports"],"sources":["../../src/Plot.jsx"],"sourcesContent":["import React from 'react';\nimport createComponent, { Component, Root, sstyled } from '@semcore/core';\nimport { Box } from '@semcore/flex-box';\nimport EventEmitter from '@semcore/utils/lib/eventEmitter';\nimport keyboardFocusEnhance from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\nimport { eventToPoint, uniqueId } from './utils';\nimport { PlotA11yModule } from './a11y/PlotA11yModule';\nimport { makeDataHintsHandlers, makeDataHintsContainer } from './a11y/hints';\nimport colorResolverEnhance from '@semcore/utils/lib/enhances/resolveColorEnhance';\n\nimport style from './style/plot.shadow.css';\n\nclass PlotRoot extends Component {\n static displayName = 'Plot';\n static style = style;\n\n constructor(props) {\n super(props);\n this.eventEmitter = props.eventEmitter || new EventEmitter();\n }\n\n static defaultProps = () => ({\n width: 0,\n height: 0,\n });\n\n static enhance = [keyboardFocusEnhance(), colorResolverEnhance()];\n\n plotId = uniqueId();\n\n rootRef = React.createRef();\n\n dataStructureHints = makeDataHintsContainer();\n dataHintsHandler = makeDataHintsHandlers(this.dataStructureHints);\n\n handlerMouseMove = (e) => {\n const { scale } = this.asProps;\n this.eventEmitter.emit('onMouseMoveRoot', e);\n\n if (scale && scale.length >= 2) {\n const [xScale, yScale] = scale;\n const [pX, pY] = eventToPoint(e, this.rootRef.current);\n const [minX, maxX] = xScale.range();\n const [maxY, minY] = yScale.range();\n\n if (pX >= minX && pX <= maxX && pY >= minY && pY <= maxY) {\n this.eventEmitter.emit('onMouseMoveChart', e);\n } else {\n this.eventEmitter.emit('onMouseLeaveChart', e);\n }\n }\n };\n\n handlerMouseLeave = (e) => {\n this.eventEmitter.emit('onMouseLeaveRoot', e);\n this.eventEmitter.emit('onMouseLeaveChart', e);\n };\n\n setContext() {\n const { scale, data, width, height, locale, resolveColor } = this.asProps;\n\n const yScaleDomain = scale?.[1]?.domain?.();\n if (yScaleDomain?.length && data?.length) {\n this.dataHintsHandler.setPointsDensity(\n data.length / width,\n Math.abs(yScaleDomain[1] - yScaleDomain[0]) / height,\n );\n }\n\n return {\n $rootProps: {\n size: [width, height],\n data: data,\n locale,\n scale: scale,\n eventEmitter: this.eventEmitter,\n rootRef: this.rootRef,\n dataHintsHandler: this.dataHintsHandler,\n resolveColor,\n },\n };\n }\n\n render() {\n const SPlot = Root;\n const { styles, width, height, Children, data, a11yAltTextConfig, label, locale } =\n this.asProps;\n\n if (!width || !height) return null;\n\n return sstyled(styles)(\n <SPlot\n render={Box}\n tag='svg'\n __excludeProps={['data', 'scale']}\n ref={this.rootRef}\n onMouseMove={this.handlerMouseMove}\n onMouseLeave={this.handlerMouseLeave}\n aria-label={label}\n tabIndex={0}\n >\n <Children />\n <foreignObject width='100%' height='100%' data-aria-only>\n <PlotA11yModule\n id={this.plotId}\n data={data}\n plotLabel={label}\n locale={locale}\n plotRef={this.rootRef}\n hints={this.dataStructureHints}\n config={a11yAltTextConfig}\n />\n </foreignObject>\n </SPlot>,\n );\n }\n}\n\nexport default createComponent(PlotRoot);\n"],"mappings":";;;;;;;;;;;;;;;;AACA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AADA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,qBAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AACA,IAAAO,eAAA,GAAAP,OAAA;AACA,IAAAQ,MAAA,GAAAR,OAAA;AACA,IAAAS,oBAAA,GAAAP,sBAAA,CAAAF,OAAA;AAAmF;AAAA,IAAAU,KAAA,+BAAAZ,KAAA,CAAAa,OAAA,CAAAC,MAAA;EAAA;EAAA;AAAA;AAAA,IAI7EC,QAAQ,0BAAAC,UAAA;EAAA,IAAAC,UAAA,aAAAF,QAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,OAAAC,aAAA,aAAAJ,QAAA;EAIZ,SAAAA,SAAYK,KAAK,EAAE;IAAA,IAAAC,KAAA;IAAA,IAAAC,gBAAA,mBAAAP,QAAA;IACjBM,KAAA,GAAAH,MAAA,CAAAK,IAAA,OAAMH,KAAK;IAAE,IAAAI,gBAAA,iBAAAC,uBAAA,aAAAJ,KAAA,aAWN,IAAAK,eAAQ,GAAE;IAAA,IAAAF,gBAAA,iBAAAC,uBAAA,aAAAJ,KAAA,2BAETM,iBAAK,CAACC,SAAS,EAAE;IAAA,IAAAJ,gBAAA,iBAAAC,uBAAA,aAAAJ,KAAA,yBAEN,IAAAQ,6BAAsB,GAAE;IAAA,IAAAL,gBAAA,iBAAAC,uBAAA,a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I,CAACiD,gBAAgB;QAAA,gBACpB,IAAI,CAACC,iBAAiB;QAAA,cACxBN,KAAK;QAAA,YACP;MAAC,GAAAR,IAAA,kBAEX7E,MAAA,YAAAsF,aAAA,CAACH,QAAQ,EAAAL,KAAA,CAAAS,EAAA,iBAAG,eACZvF,MAAA,YAAAsF,aAAA,kBAAAR,KAAA,CAAAS,EAAA;QAAA,SAAqB,MAAM;QAAA,UAAQ,MAAM;QAAA;MAAA,iBACvCvF,MAAA,YAAAsF,aAAA,CAAChF,eAAA,CAAAsF,cAAc,EAAAd,KAAA,CAAAS,EAAA;QAAA,MACT,IAAI,CAACM,MAAM;QAAA,QACT9B,IAAI;QAAA,aACCsB,KAAK;QAAA,UACRnB,MAAM;QAAA,WACL,IAAI,CAACzB,OAAO;QAAA,SACd,IAAI,CAACb,kBAAkB;QAAA,UACtBwD;MAAiB,GACzB,CACY,CACV;IAEZ;EAAC;EAAA,OAAAxE,QAAA;AAAA,EAvGoBkF,eAAS;AAAA,IAAAzE,gBAAA,aAA1BT,QAAQ,iBACS,MAAM;AAAA,IAAAS,gBAAA,aADvBT,QAAQ,WAEGH,KAAK;AAAA,IAAAY,gBAAA,aAFhBT,QAAQ,kBASU;EAAA,OAAO;IAC3BoD,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE;EACV,CAAC;AAAA,CAAC;AAAA,IAAA5C,gBAAA,aAZET,QAAQ,aAcK,CAAC,IAAAmF,gCAAoB,GAAE,EAAE,IAAAC,+BAAoB,GAAE,CAAC;AAAA,IAAAC,QAAA,GA4FpD,IAAAC,gBAAe,EAACtF,QAAQ,CAAC;AAAAuF,OAAA,cAAAF,QAAA"}
1
+ {"version":3,"file":"Plot.js","names":["_core","_interopRequireWildcard","require","_react","_interopRequireDefault","_flexBox","_eventEmitter","_keyboardFocusEnhance","_utils","_PlotA11yModule","_hints","_resolveColorEnhance","style","sstyled","insert","PlotRoot","_Component","_inherits2","_super","_createSuper2","props","_this","_classCallCheck2","call","_defineProperty2","_assertThisInitialized2","uniqueId","React","createRef","dataHints","makeDataHintsContainer","makeDataHintsHandlers","dataStructureHints","e","scale","asProps","eventEmitter","emit","length","_scale","_slicedToArray2","xScale","yScale","_eventToPoint","eventToPoint","rootRef","current","_eventToPoint2","pX","pY","_xScale$range","range","_xScale$range2","minX","maxX","_yScale$range","_yScale$range2","maxY","minY","EventEmitter","_createClass2","key","value","setContext","_scale$","_scale$$domain","_this$asProps","data","width","height","locale","resolveColor","yScaleDomain","domain","dataHintsHandler","setPointsDensity","Math","abs","$rootProps","size","render","_ref","_ref2","SPlot","Box","_this$asProps2","styles","Children","a11yAltTextConfig","label","createElement","cn","_objectSpread2","assignProps","handlerMouseMove","handlerMouseLeave","PlotA11yModule","plotId","Component","keyboardFocusEnhance","colorResolverEnhance","_default","createComponent","exports"],"sources":["../../src/Plot.jsx"],"sourcesContent":["import React from 'react';\nimport createComponent, { Component, Root, sstyled } from '@semcore/core';\nimport { Box } from '@semcore/flex-box';\nimport EventEmitter from '@semcore/utils/lib/eventEmitter';\nimport keyboardFocusEnhance from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\nimport { eventToPoint, uniqueId } from './utils';\nimport { PlotA11yModule } from './a11y/PlotA11yModule';\nimport { makeDataHintsHandlers, makeDataHintsContainer } from './a11y/hints';\nimport colorResolverEnhance from '@semcore/utils/lib/enhances/resolveColorEnhance';\n\nimport style from './style/plot.shadow.css';\n\nclass PlotRoot extends Component {\n static displayName = 'Plot';\n static style = style;\n\n constructor(props) {\n super(props);\n this.eventEmitter = props.eventEmitter || new EventEmitter();\n }\n\n static defaultProps = () => ({\n width: 0,\n height: 0,\n });\n\n static enhance = [keyboardFocusEnhance(), colorResolverEnhance()];\n\n plotId = uniqueId();\n\n rootRef = React.createRef();\n\n dataStructureHints = this.props.dataHints || makeDataHintsContainer();\n dataHintsHandler = makeDataHintsHandlers(this.dataStructureHints);\n\n handlerMouseMove = (e) => {\n const { scale } = this.asProps;\n this.eventEmitter.emit('onMouseMoveRoot', e);\n\n if (scale && scale.length >= 2) {\n const [xScale, yScale] = scale;\n const [pX, pY] = eventToPoint(e, this.rootRef.current);\n const [minX, maxX] = xScale.range();\n const [maxY, minY] = yScale.range();\n\n if (pX >= minX && pX <= maxX && pY >= minY && pY <= maxY) {\n this.eventEmitter.emit('onMouseMoveChart', e);\n } else {\n this.eventEmitter.emit('onMouseLeaveChart', e);\n }\n }\n };\n\n handlerMouseLeave = (e) => {\n this.eventEmitter.emit('onMouseLeaveRoot', e);\n this.eventEmitter.emit('onMouseLeaveChart', e);\n };\n\n setContext() {\n const { scale, data, width, height, locale, resolveColor } = this.asProps;\n\n const yScaleDomain = scale?.[1]?.domain?.();\n if (yScaleDomain?.length && data?.length) {\n this.dataHintsHandler.setPointsDensity(\n data.length / width,\n Math.abs(yScaleDomain[1] - yScaleDomain[0]) / height,\n );\n }\n\n return {\n $rootProps: {\n size: [width, height],\n data: data,\n locale,\n scale: scale,\n eventEmitter: this.eventEmitter,\n rootRef: this.rootRef,\n dataHintsHandler: this.dataHintsHandler,\n resolveColor,\n },\n };\n }\n\n render() {\n const SPlot = Root;\n const { styles, width, height, Children, data, a11yAltTextConfig, label, locale } =\n this.asProps;\n\n if (!width || !height) return null;\n\n return sstyled(styles)(\n <SPlot\n render={Box}\n tag='svg'\n __excludeProps={['data', 'scale']}\n ref={this.rootRef}\n onMouseMove={this.handlerMouseMove}\n onMouseLeave={this.handlerMouseLeave}\n aria-label={label}\n tabIndex={0}\n >\n <Children />\n <foreignObject width='100%' height='100%' data-aria-only>\n <PlotA11yModule\n id={this.plotId}\n data={data}\n plotLabel={label}\n locale={locale}\n plotRef={this.rootRef}\n hints={this.dataStructureHints}\n config={a11yAltTextConfig}\n />\n </foreignObject>\n </SPlot>,\n );\n }\n}\n\nexport default createComponent(PlotRoot);\n"],"mappings":";;;;;;;;;;;;;;;;AACA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AADA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA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ACvCxF,MAAA,YAAAuF,aAAA,CAACjF,eAAA,CAAAuF,cAAc,EAAAd,KAAA,CAAAS,EAAA;QAAA,MACT,IAAI,CAACM,MAAM;QAAA,QACT9B,IAAI;QAAA,aACCsB,KAAK;QAAA,UACRnB,MAAM;QAAA,WACL,IAAI,CAACzB,OAAO;QAAA,SACd,IAAI,CAACb,kBAAkB;QAAA,UACtBwD;MAAiB,GACzB,CACY,CACV;IAEZ;EAAC;EAAA,OAAAzE,QAAA;AAAA,EAvGoBmF,eAAS;AAAA,IAAA1E,gBAAA,aAA1BT,QAAQ,iBACS,MAAM;AAAA,IAAAS,gBAAA,aADvBT,QAAQ,WAEGH,KAAK;AAAA,IAAAY,gBAAA,aAFhBT,QAAQ,kBASU;EAAA,OAAO;IAC3BqD,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE;EACV,CAAC;AAAA,CAAC;AAAA,IAAA7C,gBAAA,aAZET,QAAQ,aAcK,CAAC,IAAAoF,gCAAoB,GAAE,EAAE,IAAAC,+BAAoB,GAAE,CAAC;AAAA,IAAAC,QAAA,GA4FpD,IAAAC,gBAAe,EAACvF,QAAQ,CAAC;AAAAwF,OAAA,cAAAF,QAAA"}
package/lib/cjs/Radar.js CHANGED
@@ -28,23 +28,23 @@ var _createElement = _interopRequireDefault(require("./createElement"));
28
28
  var _utils = require("./utils");
29
29
  var _Tooltip = _interopRequireDefault(require("./Tooltip"));
30
30
  /*__reshadow-styles__:"./style/radar.shadow.css"*/
31
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SAxisLine_sfvhj_gg_,.___SAxisTick_sfvhj_gg_,.___SAxis_sfvhj_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_sfvhj_gg_,.___SAxisTick_sfvhj_gg_{stroke-dasharray:2}.___SAxisLine_sfvhj_gg_.__active_sfvhj_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_sfvhj_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_sfvhj_gg_.__xDirection_sfvhj_gg_{text-anchor:var(--xDirection_sfvhj)}.___SAxisLabel_sfvhj_gg_.__yDirection_sfvhj_gg_{dominant-baseline:var(--yDirection_sfvhj)}.___SPolygonDot_sfvhj_gg_,.___SPolygon_sfvhj_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_sfvhj_gg_{opacity:.2}.___SPolygon_sfvhj_gg_.__color_sfvhj_gg_{fill:var(--color_sfvhj)}.___SPolygonDot_sfvhj_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_sfvhj_gg_.__transparent_sfvhj_gg_{opacity:.3}.___SPolygonDot_sfvhj_gg_.__color_sfvhj_gg_{fill:var(--color_sfvhj)}.___SPolygonLine_sfvhj_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_sfvhj_gg_.__transparent_sfvhj_gg_{opacity:.3}.___SPolygonLine_sfvhj_gg_.__color_sfvhj_gg_{stroke:var(--color_sfvhj)}.___SPieRect_sfvhj_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "sfvhj_gg_") /*__reshadow_css_end__*/, {
32
- "__SAxis": "___SAxis_sfvhj_gg_",
33
- "__SAxisLine": "___SAxisLine_sfvhj_gg_",
34
- "__SAxisTick": "___SAxisTick_sfvhj_gg_",
35
- "_active": "__active_sfvhj_gg_",
36
- "__SAxisLabel": "___SAxisLabel_sfvhj_gg_",
37
- "_xDirection": "__xDirection_sfvhj_gg_",
38
- "--xDirection": "--xDirection_sfvhj",
39
- "_yDirection": "__yDirection_sfvhj_gg_",
40
- "--yDirection": "--yDirection_sfvhj",
41
- "__SPolygon": "___SPolygon_sfvhj_gg_",
42
- "_color": "__color_sfvhj_gg_",
43
- "--color": "--color_sfvhj",
44
- "__SPolygonDot": "___SPolygonDot_sfvhj_gg_",
45
- "_transparent": "__transparent_sfvhj_gg_",
46
- "__SPolygonLine": "___SPolygonLine_sfvhj_gg_",
47
- "__SPieRect": "___SPieRect_sfvhj_gg_"
31
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SAxisLine_u4k9t_gg_,.___SAxisTick_u4k9t_gg_,.___SAxis_u4k9t_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_u4k9t_gg_,.___SAxisTick_u4k9t_gg_{stroke-dasharray:2}.___SAxisLine_u4k9t_gg_.__active_u4k9t_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_u4k9t_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_u4k9t_gg_.__xDirection_u4k9t_gg_{text-anchor:var(--xDirection_u4k9t)}.___SAxisLabel_u4k9t_gg_.__yDirection_u4k9t_gg_{dominant-baseline:var(--yDirection_u4k9t)}.___SPolygonDot_u4k9t_gg_,.___SPolygon_u4k9t_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_u4k9t_gg_{opacity:.2}.___SPolygon_u4k9t_gg_.__color_u4k9t_gg_{fill:var(--color_u4k9t)}.___SPolygonDot_u4k9t_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_u4k9t_gg_.__transparent_u4k9t_gg_{opacity:.3}.___SPolygonDot_u4k9t_gg_.__color_u4k9t_gg_{fill:var(--color_u4k9t)}.___SPolygonLine_u4k9t_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_u4k9t_gg_.__transparent_u4k9t_gg_{opacity:.3}.___SPolygonLine_u4k9t_gg_.__color_u4k9t_gg_{stroke:var(--color_u4k9t)}.___SPieRect_u4k9t_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "u4k9t_gg_") /*__reshadow_css_end__*/, {
32
+ "__SAxis": "___SAxis_u4k9t_gg_",
33
+ "__SAxisLine": "___SAxisLine_u4k9t_gg_",
34
+ "__SAxisTick": "___SAxisTick_u4k9t_gg_",
35
+ "_active": "__active_u4k9t_gg_",
36
+ "__SAxisLabel": "___SAxisLabel_u4k9t_gg_",
37
+ "_xDirection": "__xDirection_u4k9t_gg_",
38
+ "--xDirection": "--xDirection_u4k9t",
39
+ "_yDirection": "__yDirection_u4k9t_gg_",
40
+ "--yDirection": "--yDirection_u4k9t",
41
+ "__SPolygon": "___SPolygon_u4k9t_gg_",
42
+ "_color": "__color_u4k9t_gg_",
43
+ "--color": "--color_u4k9t",
44
+ "__SPolygonDot": "___SPolygonDot_u4k9t_gg_",
45
+ "_transparent": "__transparent_u4k9t_gg_",
46
+ "__SPolygonLine": "___SPolygonLine_u4k9t_gg_",
47
+ "__SPieRect": "___SPieRect_u4k9t_gg_"
48
48
  });
49
49
  var clampAngle = function clampAngle(angle) {
50
50
  angle = angle % (2 * Math.PI);
@@ -26,16 +26,16 @@ var _createElement = _interopRequireDefault(require("./createElement"));
26
26
  var _utils = require("./utils");
27
27
  var _excluded = ["data"];
28
28
  /*__reshadow-styles__:"./style/radial-tree.shadow.css"*/
29
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SRadian_9h18h_gg_{cursor:pointer;fill:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SLine_9h18h_gg_{stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SLine_9h18h_gg_.__color_9h18h_gg_{stroke:var(--color_9h18h)}.___SCap_9h18h_gg_.__transparent_9h18h_gg_,.___SIcon_9h18h_gg_.__transparent_9h18h_gg_,.___SLabel_9h18h_gg_.__transparent_9h18h_gg_,.___SLine_9h18h_gg_.__transparent_9h18h_gg_{opacity:.3}.___SCap_9h18h_gg_{transition:r .1s}.___SLabel_9h18h_gg_{fill:var(--color_9h18h)}@media (hover:hover){.___SRadian_9h18h_gg_:hover .___SLabel_9h18h_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_9h18h_gg_{transition:none}}" /*__inner_css_end__*/, "9h18h_gg_") /*__reshadow_css_end__*/, {
30
- "__SRadian": "___SRadian_9h18h_gg_",
31
- "__SLine": "___SLine_9h18h_gg_",
32
- "_color": "__color_9h18h_gg_",
33
- "--color": "--color_9h18h",
34
- "_transparent": "__transparent_9h18h_gg_",
35
- "__SCap": "___SCap_9h18h_gg_",
36
- "__SIcon": "___SIcon_9h18h_gg_",
37
- "__SLabel": "___SLabel_9h18h_gg_",
38
- "__SLineCap": "___SLineCap_9h18h_gg_"
29
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SRadian_jk2oc_gg_{cursor:pointer;fill:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SLine_jk2oc_gg_{stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SLine_jk2oc_gg_.__color_jk2oc_gg_{stroke:var(--color_jk2oc)}.___SCap_jk2oc_gg_.__transparent_jk2oc_gg_,.___SIcon_jk2oc_gg_.__transparent_jk2oc_gg_,.___SLabel_jk2oc_gg_.__transparent_jk2oc_gg_,.___SLine_jk2oc_gg_.__transparent_jk2oc_gg_{opacity:.3}.___SCap_jk2oc_gg_{transition:r .1s}.___SLabel_jk2oc_gg_{fill:var(--color_jk2oc)}@media (hover:hover){.___SRadian_jk2oc_gg_:hover .___SLabel_jk2oc_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_jk2oc_gg_{transition:none}}" /*__inner_css_end__*/, "jk2oc_gg_") /*__reshadow_css_end__*/, {
30
+ "__SRadian": "___SRadian_jk2oc_gg_",
31
+ "__SLine": "___SLine_jk2oc_gg_",
32
+ "_color": "__color_jk2oc_gg_",
33
+ "--color": "--color_jk2oc",
34
+ "_transparent": "__transparent_jk2oc_gg_",
35
+ "__SCap": "___SCap_jk2oc_gg_",
36
+ "__SIcon": "___SIcon_jk2oc_gg_",
37
+ "__SLabel": "___SLabel_jk2oc_gg_",
38
+ "__SLineCap": "___SLineCap_jk2oc_gg_"
39
39
  });
40
40
  var baseAngle = -Math.PI / 2; // The top vertical line
41
41
  var RadialTreeBase = /*#__PURE__*/function (_Component) {
@@ -17,15 +17,15 @@ var _react = _interopRequireDefault(require("react"));
17
17
  var _createElement = _interopRequireDefault(require("./createElement"));
18
18
  var _utils = require("./utils");
19
19
  /*__reshadow-styles__:"./style/reference-line.shadow.css"*/
20
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SReferenceLine_1xe1h_gg_{fill:none;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___STitle_1xe1h_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_1xe1h)}.___STitle_1xe1h_gg_._position_top_1xe1h_gg_{text-anchor:middle}.___STitle_1xe1h_gg_._position_bottom_1xe1h_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_1xe1h_gg_._position_left_1xe1h_gg_,.___STitle_1xe1h_gg_._position_right_1xe1h_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___SBackground_1xe1h_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}" /*__inner_css_end__*/, "1xe1h_gg_") /*__reshadow_css_end__*/, {
21
- "__SReferenceLine": "___SReferenceLine_1xe1h_gg_",
22
- "__STitle": "___STitle_1xe1h_gg_",
23
- "--transform-origin": "--transform-origin_1xe1h",
24
- "_position_top": "_position_top_1xe1h_gg_",
25
- "_position_bottom": "_position_bottom_1xe1h_gg_",
26
- "_position_right": "_position_right_1xe1h_gg_",
27
- "_position_left": "_position_left_1xe1h_gg_",
28
- "__SBackground": "___SBackground_1xe1h_gg_"
20
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SReferenceLine_1hd7y_gg_{fill:none;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___STitle_1hd7y_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_1hd7y)}.___STitle_1hd7y_gg_._position_top_1hd7y_gg_{text-anchor:middle}.___STitle_1hd7y_gg_._position_bottom_1hd7y_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_1hd7y_gg_._position_left_1hd7y_gg_,.___STitle_1hd7y_gg_._position_right_1hd7y_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___SBackground_1hd7y_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}" /*__inner_css_end__*/, "1hd7y_gg_") /*__reshadow_css_end__*/, {
21
+ "__SReferenceLine": "___SReferenceLine_1hd7y_gg_",
22
+ "__STitle": "___STitle_1hd7y_gg_",
23
+ "--transform-origin": "--transform-origin_1hd7y",
24
+ "_position_top": "_position_top_1hd7y_gg_",
25
+ "_position_bottom": "_position_bottom_1hd7y_gg_",
26
+ "_position_right": "_position_right_1hd7y_gg_",
27
+ "_position_left": "_position_left_1hd7y_gg_",
28
+ "__SBackground": "___SBackground_1hd7y_gg_"
29
29
  });
30
30
  var side2direction = {
31
31
  left: 'vertical',
@@ -23,13 +23,13 @@ var _utils = require("./utils");
23
23
  var _ClipPath = _interopRequireDefault(require("./ClipPath"));
24
24
  var _Tooltip = _interopRequireDefault(require("./Tooltip"));
25
25
  /*__reshadow-styles__:"./style/scatterplot.shadow.css"*/
26
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SScatterPlot_172uf_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_172uf);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_172uf_gg_:hover{opacity:.8}}.___SScatterPlot_172uf_gg_.__color_172uf_gg_{fill:var(--color_172uf)}.___SScatterPlot_172uf_gg_.__transparent_172uf_gg_{opacity:.3}.___SValue_172uf_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_172uf_gg_.__color_172uf_gg_{stroke:var(--color_172uf)}.___SValue_172uf_gg_.__transparent_172uf_gg_{opacity:.3}" /*__inner_css_end__*/, "172uf_gg_") /*__reshadow_css_end__*/, {
27
- "__SScatterPlot": "___SScatterPlot_172uf_gg_",
28
- "--duration": "--duration_172uf",
29
- "_color": "__color_172uf_gg_",
30
- "--color": "--color_172uf",
31
- "_transparent": "__transparent_172uf_gg_",
32
- "__SValue": "___SValue_172uf_gg_"
26
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SScatterPlot_1n3if_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_1n3if);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_1n3if_gg_:hover{opacity:.8}}.___SScatterPlot_1n3if_gg_.__color_1n3if_gg_{fill:var(--color_1n3if)}.___SScatterPlot_1n3if_gg_.__transparent_1n3if_gg_{opacity:.3}.___SValue_1n3if_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_1n3if_gg_.__color_1n3if_gg_{stroke:var(--color_1n3if)}.___SValue_1n3if_gg_.__transparent_1n3if_gg_{opacity:.3}" /*__inner_css_end__*/, "1n3if_gg_") /*__reshadow_css_end__*/, {
27
+ "__SScatterPlot": "___SScatterPlot_1n3if_gg_",
28
+ "--duration": "--duration_1n3if",
29
+ "_color": "__color_1n3if_gg_",
30
+ "--color": "--color_1n3if",
31
+ "_transparent": "__transparent_1n3if_gg_",
32
+ "__SValue": "___SValue_1n3if_gg_"
33
33
  });
34
34
  var ScatterPlotRoot = /*#__PURE__*/function (_Component) {
35
35
  (0, _inherits2["default"])(ScatterPlotRoot, _Component);
@@ -23,14 +23,14 @@ var _utils = require("./utils");
23
23
  var _useColorResolver = require("@semcore/utils/lib/use/useColorResolver");
24
24
  var _excluded = ["Children", "children", "tag", "forcedAdvancedMode"];
25
25
  /*__reshadow-styles__:"./style/tooltip.shadow.css"*/
26
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___STooltip_1t16r_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_1t16r_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_1t16r_gg_{display:flex;align-items:center}.___SDot_1t16r_gg_{width:8px;height:8px;border-radius:50%;margin-right:var(--intergalactic-spacing-2x, 8px);background:var(--intergalactic-icon-secondary-info, #2bb3ff)}.___SDot_1t16r_gg_.__color_1t16r_gg_{background:var(--color_1t16r)}.___SFooter_1t16r_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__*/, "1t16r_gg_") /*__reshadow_css_end__*/, {
27
- "__STooltip": "___STooltip_1t16r_gg_",
28
- "__STitle": "___STitle_1t16r_gg_",
29
- "__SDotGroup": "___SDotGroup_1t16r_gg_",
30
- "__SDot": "___SDot_1t16r_gg_",
31
- "_color": "__color_1t16r_gg_",
32
- "--color": "--color_1t16r",
33
- "__SFooter": "___SFooter_1t16r_gg_"
26
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___STooltip_18dtp_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_18dtp_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_18dtp_gg_{display:flex;align-items:center}.___SDot_18dtp_gg_{width:8px;height:8px;border-radius:50%;margin-right:var(--intergalactic-spacing-2x, 8px);background:var(--intergalactic-icon-secondary-info, #2bb3ff)}.___SDot_18dtp_gg_.__color_18dtp_gg_{background:var(--color_18dtp)}.___SFooter_18dtp_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__*/, "18dtp_gg_") /*__reshadow_css_end__*/, {
27
+ "__STooltip": "___STooltip_18dtp_gg_",
28
+ "__STitle": "___STitle_18dtp_gg_",
29
+ "__SDotGroup": "___SDotGroup_18dtp_gg_",
30
+ "__SDot": "___SDot_18dtp_gg_",
31
+ "_color": "__color_18dtp_gg_",
32
+ "--color": "--color_18dtp",
33
+ "__SFooter": "___SFooter_18dtp_gg_"
34
34
  });
35
35
  /**
36
36
  * `TooltipDotRenderContext` is a hack to bypass problem that getDotProps doesn't work for D3 tooltip.
package/lib/cjs/Venn.js CHANGED
@@ -23,13 +23,13 @@ var _createElement = _interopRequireDefault(require("./createElement"));
23
23
  var _utils = require("./utils");
24
24
  var _Tooltip = _interopRequireDefault(require("./Tooltip"));
25
25
  /*__reshadow-styles__:"./style/venn.shadow.css"*/
26
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SCircle_13cxd_gg_,.___SIntersection_13cxd_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_13cxd_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_13cxd);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_13cxd_gg_:hover{fill-opacity:.7}}.___SCircle_13cxd_gg_.__color_13cxd_gg_{fill:var(--color_13cxd)}.___SCircle_13cxd_gg_.__transparent_13cxd_gg_{opacity:.3}.___SIntersection_13cxd_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_13cxd_gg_:hover{fill-opacity:.1}}.___SIntersection_13cxd_gg_.__transparent_13cxd_gg_{opacity:.3}" /*__inner_css_end__*/, "13cxd_gg_") /*__reshadow_css_end__*/, {
27
- "__SCircle": "___SCircle_13cxd_gg_",
28
- "--duration": "--duration_13cxd",
29
- "_color": "__color_13cxd_gg_",
30
- "--color": "--color_13cxd",
31
- "_transparent": "__transparent_13cxd_gg_",
32
- "__SIntersection": "___SIntersection_13cxd_gg_"
26
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SCircle_1orn4_gg_,.___SIntersection_1orn4_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_1orn4_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_1orn4);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_1orn4_gg_:hover{fill-opacity:.7}}.___SCircle_1orn4_gg_.__color_1orn4_gg_{fill:var(--color_1orn4)}.___SCircle_1orn4_gg_.__transparent_1orn4_gg_{opacity:.3}.___SIntersection_1orn4_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_1orn4_gg_:hover{fill-opacity:.1}}.___SIntersection_1orn4_gg_.__transparent_1orn4_gg_{opacity:.3}" /*__inner_css_end__*/, "1orn4_gg_") /*__reshadow_css_end__*/, {
27
+ "__SCircle": "___SCircle_1orn4_gg_",
28
+ "--duration": "--duration_1orn4",
29
+ "_color": "__color_1orn4_gg_",
30
+ "--color": "--color_1orn4",
31
+ "_transparent": "__transparent_1orn4_gg_",
32
+ "__SIntersection": "___SIntersection_1orn4_gg_"
33
33
  });
34
34
  var VennRoot = /*#__PURE__*/function (_Component) {
35
35
  (0, _inherits2["default"])(VennRoot, _Component);
@@ -16,8 +16,8 @@ var _intergalacticDynamicLocales = require("./translations/module/__intergalacti
16
16
  var _WithI18n = require("@semcore/utils/lib/enhances/WithI18n");
17
17
  var _flexBox = require("@semcore/flex-box");
18
18
  /*__reshadow-styles__:"../style/plotA11yModule.shadow.css"*/
19
- var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SPlotA11yModule_1qhiz_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_1qhiz_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}" /*__inner_css_end__*/, "1qhiz_gg_") /*__reshadow_css_end__*/, {
20
- "__SPlotA11yModule": "___SPlotA11yModule_1qhiz_gg_"
19
+ var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SPlotA11yModule_3u4a6_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_3u4a6_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}" /*__inner_css_end__*/, "3u4a6_gg_") /*__reshadow_css_end__*/, {
20
+ "__SPlotA11yModule": "___SPlotA11yModule_3u4a6_gg_"
21
21
  });
22
22
  var globalWasFocused = false;
23
23
  var globalNavWithKeyboard = false;
@@ -21,9 +21,9 @@ var _flexBox = require("@semcore/flex-box");
21
21
  var _i18nEnhance = require("@semcore/utils/lib/enhances/i18nEnhance");
22
22
  var _intergalacticDynamicLocales = require("./translations/view/__intergalactic-dynamic-locales");
23
23
  /*__reshadow-styles__:"../style/plotA11yView.shadow.css"*/
24
- var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SPlotA11yView_1woe7_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_1woe7_gg_.__focus-within_1woe7_gg_,.___SPlotA11yView_1woe7_gg_:focus{-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_1woe7_gg_:focus,.___SPlotA11yView_1woe7_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_1woe7_gg_ a{cursor:pointer;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_1woe7_gg_ table,.___SPlotA11yView_1woe7_gg_ td,.___SPlotA11yView_1woe7_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}" /*__inner_css_end__*/, "1woe7_gg_") /*__reshadow_css_end__*/, {
25
- "__SPlotA11yView": "___SPlotA11yView_1woe7_gg_",
26
- "_focus-within": "__focus-within_1woe7_gg_"
24
+ var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SPlotA11yView_1bygm_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_1bygm_gg_.__focus-within_1bygm_gg_,.___SPlotA11yView_1bygm_gg_:focus{-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_1bygm_gg_:focus,.___SPlotA11yView_1bygm_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_1bygm_gg_ a{cursor:pointer;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_1bygm_gg_ table,.___SPlotA11yView_1bygm_gg_ td,.___SPlotA11yView_1bygm_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}" /*__inner_css_end__*/, "1bygm_gg_") /*__reshadow_css_end__*/, {
25
+ "__SPlotA11yView": "___SPlotA11yView_1bygm_gg_",
26
+ "_focus-within": "__focus-within_1bygm_gg_"
27
27
  });
28
28
  var PlotA11yView = function PlotA11yView(_ref3) {
29
29
  var _ref = arguments[0],