@semcore/d3-chart 3.48.0 → 3.48.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -13
- package/lib/cjs/Area.js +11 -11
- package/lib/cjs/Axis.js +14 -14
- package/lib/cjs/Bar.js +10 -10
- package/lib/cjs/Bubble.js +12 -12
- package/lib/cjs/Donut.js +9 -9
- package/lib/cjs/Dots.js +8 -8
- package/lib/cjs/HorizontalBar.js +10 -10
- package/lib/cjs/Hover.js +3 -3
- package/lib/cjs/Line.js +9 -9
- package/lib/cjs/Plot.js +3 -3
- package/lib/cjs/Radar.js +19 -19
- package/lib/cjs/RadialTree.js +11 -11
- package/lib/cjs/Reference.js +12 -12
- package/lib/cjs/ScatterPlot.js +9 -9
- package/lib/cjs/Tooltip.js +9 -9
- package/lib/cjs/Venn.js +9 -9
- package/lib/cjs/a11y/PlotA11yModule.js +2 -2
- package/lib/cjs/a11y/PlotA11yView.js +2 -2
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/es6/Area.js +11 -11
- package/lib/es6/Axis.js +14 -14
- package/lib/es6/Bar.js +10 -10
- package/lib/es6/Bubble.js +12 -12
- package/lib/es6/Donut.js +9 -9
- package/lib/es6/Dots.js +8 -8
- package/lib/es6/HorizontalBar.js +10 -10
- package/lib/es6/Hover.js +3 -3
- package/lib/es6/Line.js +9 -9
- package/lib/es6/Plot.js +3 -3
- package/lib/es6/Radar.js +19 -19
- package/lib/es6/RadialTree.js +11 -11
- package/lib/es6/Reference.js +12 -12
- package/lib/es6/ScatterPlot.js +9 -9
- package/lib/es6/Tooltip.js +9 -9
- package/lib/es6/Venn.js +9 -9
- package/lib/es6/a11y/PlotA11yModule.js +2 -2
- package/lib/es6/a11y/PlotA11yView.js +2 -2
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
+
## [3.48.1] - 2024-07-05
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/popper` [5.37.0 ~> 5.37.1]).
|
|
10
|
+
|
|
5
11
|
## [3.48.0] - 2024-06-19
|
|
6
12
|
|
|
7
13
|
### Added
|
|
@@ -174,7 +180,7 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
174
180
|
|
|
175
181
|
### Added
|
|
176
182
|
|
|
177
|
-
-
|
|
183
|
+
- API to customize A11Y module values and titles formatting, see <https://developer.semrush.com/intergalactic/data-display/d3-chart/d3-chart-code#A11Y-formatting> for details.
|
|
178
184
|
|
|
179
185
|
## [3.36.0] - 2024-03-27
|
|
180
186
|
|
|
@@ -228,13 +234,13 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
228
234
|
|
|
229
235
|
### Changed
|
|
230
236
|
|
|
231
|
-
- Improve generation
|
|
237
|
+
- Improve generation A11Y summary for `StackBar`.
|
|
232
238
|
|
|
233
239
|
## [3.31.2] - 2024-03-07
|
|
234
240
|
|
|
235
241
|
### Added
|
|
236
242
|
|
|
237
|
-
- Logic to define X and Y axis for
|
|
243
|
+
- Logic to define X and Y axis for A11Y summary in Bar charts.
|
|
238
244
|
|
|
239
245
|
## [3.31.1] - 2024-03-05
|
|
240
246
|
|
|
@@ -250,7 +256,7 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
250
256
|
|
|
251
257
|
### Fixed
|
|
252
258
|
|
|
253
|
-
-
|
|
259
|
+
- A11Y module "Skip to content after plot" link was not working in some cases.
|
|
254
260
|
|
|
255
261
|
## [3.30.2] - 2024-02-28
|
|
256
262
|
|
|
@@ -268,7 +274,7 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
268
274
|
|
|
269
275
|
### Fixed
|
|
270
276
|
|
|
271
|
-
-
|
|
277
|
+
- A11Y module "Skip to content after plot" link was not working in some cases.
|
|
272
278
|
|
|
273
279
|
## [3.29.0] - 2024-02-16
|
|
274
280
|
|
|
@@ -285,7 +291,7 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
285
291
|
|
|
286
292
|
### Changed
|
|
287
293
|
|
|
288
|
-
-
|
|
294
|
+
- A11Y module links are clickable by `Space` now (along with `Enter` as before).
|
|
289
295
|
|
|
290
296
|
## [3.27.3] - 2024-02-13
|
|
291
297
|
|
|
@@ -322,7 +328,7 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
322
328
|
|
|
323
329
|
### Added
|
|
324
330
|
|
|
325
|
-
- `patterns`
|
|
331
|
+
- `patterns` API that enhances charts accessibility.
|
|
326
332
|
|
|
327
333
|
## [3.25.1] - 2024-01-25
|
|
328
334
|
|
|
@@ -872,7 +878,7 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
872
878
|
|
|
873
879
|
### Fixed
|
|
874
880
|
|
|
875
|
-
- Added correct display when there is no data in
|
|
881
|
+
- Added correct display when there is no data in A11Y table.
|
|
876
882
|
|
|
877
883
|
## [2.13.2] - 2023-03-24
|
|
878
884
|
|
|
@@ -914,7 +920,7 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
914
920
|
|
|
915
921
|
### Changed
|
|
916
922
|
|
|
917
|
-
- Much improved
|
|
923
|
+
- Much improved A11Y summary generation for `Radar` chart.
|
|
918
924
|
|
|
919
925
|
## [2.10.0] - 2023-03-07
|
|
920
926
|
|
|
@@ -1050,7 +1056,7 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
1050
1056
|
|
|
1051
1057
|
### Changed
|
|
1052
1058
|
|
|
1053
|
-
- Supported semi-async internationalization of text in
|
|
1059
|
+
- Supported semi-async internationalization of text in A11Y module.
|
|
1054
1060
|
|
|
1055
1061
|
## [2.6.1] - 2022-12-13
|
|
1056
1062
|
|
|
@@ -1154,7 +1160,7 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
1154
1160
|
|
|
1155
1161
|
### Fixed
|
|
1156
1162
|
|
|
1157
|
-
- Ensured
|
|
1163
|
+
- Ensured A11Y module do not break mouse interactions.
|
|
1158
1164
|
|
|
1159
1165
|
## [2.3.6] - 2022-10-04
|
|
1160
1166
|
|
|
@@ -1178,7 +1184,7 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
1178
1184
|
|
|
1179
1185
|
### Fixed
|
|
1180
1186
|
|
|
1181
|
-
- Changed paths in
|
|
1187
|
+
- Changed paths in CSS files to relative.
|
|
1182
1188
|
|
|
1183
1189
|
## [2.3.2] - 2022-08-30
|
|
1184
1190
|
|
|
@@ -1241,7 +1247,7 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
1241
1247
|
|
|
1242
1248
|
### Fixed
|
|
1243
1249
|
|
|
1244
|
-
- Exclude props from
|
|
1250
|
+
- Exclude props from HTML for `Tooltip.Dot`
|
|
1245
1251
|
- Recalculate position for `Dot` after update scale
|
|
1246
1252
|
- Optimization render `Dot`
|
|
1247
1253
|
|
package/lib/cjs/Area.js
CHANGED
|
@@ -23,17 +23,17 @@ var _utils = require("./utils");
|
|
|
23
23
|
var _AnimatedClipPath = _interopRequireDefault(require("./AnimatedClipPath"));
|
|
24
24
|
var _Pattern = require("./Pattern");
|
|
25
25
|
/*__reshadow-styles__:"./style/area.shadow.css"*/
|
|
26
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
27
|
-
"__SArea": "
|
|
28
|
-
"_color": "
|
|
29
|
-
"--color": "--
|
|
30
|
-
"_pattern": "
|
|
31
|
-
"--pattern": "--
|
|
32
|
-
"_transparent": "
|
|
33
|
-
"__SAreaLine": "
|
|
34
|
-
"--duration": "--
|
|
35
|
-
"__SNull": "
|
|
36
|
-
"_hide": "
|
|
26
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SArea_r5a9l_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_r5a9l_gg_.__color_r5a9l_gg_{fill:var(--color_r5a9l)}.___SArea_r5a9l_gg_.__pattern_r5a9l_gg_{fill:var(--pattern_r5a9l);fill-opacity:.7}.___SArea_r5a9l_gg_.__transparent_r5a9l_gg_{opacity:.3}.___SAreaLine_r5a9l_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_r5a9l_gg_.__color_r5a9l_gg_{stroke:var(--color_r5a9l)}.___SAreaLine_r5a9l_gg_.__transparent_r5a9l_gg_{opacity:.3}.___SAreaLine_r5a9l_gg_,.___SArea_r5a9l_gg_{transition-property:d;transition-duration:var(--duration_r5a9l);transition-timing-function:ease-in-out}.___SNull_r5a9l_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_r5a9l_gg_.__hide_r5a9l_gg_{display:none}" /*__inner_css_end__*/, "r5a9l_gg_") /*__reshadow_css_end__*/, {
|
|
27
|
+
"__SArea": "___SArea_r5a9l_gg_",
|
|
28
|
+
"_color": "__color_r5a9l_gg_",
|
|
29
|
+
"--color": "--color_r5a9l",
|
|
30
|
+
"_pattern": "__pattern_r5a9l_gg_",
|
|
31
|
+
"--pattern": "--pattern_r5a9l",
|
|
32
|
+
"_transparent": "__transparent_r5a9l_gg_",
|
|
33
|
+
"__SAreaLine": "___SAreaLine_r5a9l_gg_",
|
|
34
|
+
"--duration": "--duration_r5a9l",
|
|
35
|
+
"__SNull": "___SNull_r5a9l_gg_",
|
|
36
|
+
"_hide": "__hide_r5a9l_gg_"
|
|
37
37
|
});
|
|
38
38
|
var AreaRoot = /*#__PURE__*/function (_Component) {
|
|
39
39
|
(0, _inherits2["default"])(AreaRoot, _Component);
|
package/lib/cjs/Axis.js
CHANGED
|
@@ -19,20 +19,20 @@ var _createElement = _interopRequireDefault(require("./createElement"));
|
|
|
19
19
|
var _utils = require("./utils");
|
|
20
20
|
var _MAP_POSITION_AXIS, _MAP_POSITION_TICK;
|
|
21
21
|
/*__reshadow-styles__:"./style/axis.shadow.css"*/
|
|
22
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
23
|
-
"__SAxis": "
|
|
24
|
-
"_hide": "
|
|
25
|
-
"__STick": "
|
|
26
|
-
"__SGrid": "
|
|
27
|
-
"__STitle": "
|
|
28
|
-
"--transform-origin": "--transform-
|
|
29
|
-
"_position_top": "
|
|
30
|
-
"_position_bottom": "
|
|
31
|
-
"_position_right": "
|
|
32
|
-
"_position_left": "
|
|
33
|
-
"_verticalWritingMode": "
|
|
34
|
-
"_position_custom_0": "
|
|
35
|
-
"_position_custom_1": "
|
|
22
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SAxis_82hvr_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_82hvr_gg_.__hide_82hvr_gg_,.___STick_82hvr_gg_.__hide_82hvr_gg_{display:none}.___STick_82hvr_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_82hvr_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_82hvr_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_82hvr)}.___STitle_82hvr_gg_._position_top_82hvr_gg_{text-anchor:middle}.___STitle_82hvr_gg_._position_bottom_82hvr_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_82hvr_gg_._position_left_82hvr_gg_,.___STitle_82hvr_gg_._position_right_82hvr_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___STitle_82hvr_gg_._position_left_82hvr_gg_.__verticalWritingMode_82hvr_gg_,.___STitle_82hvr_gg_._position_right_82hvr_gg_.__verticalWritingMode_82hvr_gg_{writing-mode:vertical-rl;transform:none}.___STick_82hvr_gg_._position_top_82hvr_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_82hvr_gg_._position_bottom_82hvr_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_82hvr_gg_._position_right_82hvr_gg_{transform:translateX(16px);text-anchor:start;dominant-baseline:middle}.___STick_82hvr_gg_._position_left_82hvr_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_82hvr_gg_._position_custom_0_82hvr_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_82hvr_gg_._position_custom_1_82hvr_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}" /*__inner_css_end__*/, "82hvr_gg_") /*__reshadow_css_end__*/, {
|
|
23
|
+
"__SAxis": "___SAxis_82hvr_gg_",
|
|
24
|
+
"_hide": "__hide_82hvr_gg_",
|
|
25
|
+
"__STick": "___STick_82hvr_gg_",
|
|
26
|
+
"__SGrid": "___SGrid_82hvr_gg_",
|
|
27
|
+
"__STitle": "___STitle_82hvr_gg_",
|
|
28
|
+
"--transform-origin": "--transform-origin_82hvr",
|
|
29
|
+
"_position_top": "_position_top_82hvr_gg_",
|
|
30
|
+
"_position_bottom": "_position_bottom_82hvr_gg_",
|
|
31
|
+
"_position_right": "_position_right_82hvr_gg_",
|
|
32
|
+
"_position_left": "_position_left_82hvr_gg_",
|
|
33
|
+
"_verticalWritingMode": "__verticalWritingMode_82hvr_gg_",
|
|
34
|
+
"_position_custom_0": "_position_custom_0_82hvr_gg_",
|
|
35
|
+
"_position_custom_1": "_position_custom_1_82hvr_gg_"
|
|
36
36
|
});
|
|
37
37
|
var CUSTOM_0 = Symbol('custom_0');
|
|
38
38
|
var CUSTOM_1 = Symbol('custom_1');
|
package/lib/cjs/Bar.js
CHANGED
|
@@ -21,16 +21,16 @@ var _AnimatedClipPath = _interopRequireDefault(require("./AnimatedClipPath"));
|
|
|
21
21
|
var _utils = require("./utils");
|
|
22
22
|
var _Pattern = require("./Pattern");
|
|
23
23
|
/*__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
24
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
25
|
-
"__SBar": "
|
|
26
|
-
"--duration": "--
|
|
27
|
-
"_color": "
|
|
28
|
-
"--color": "--
|
|
29
|
-
"_pattern": "
|
|
30
|
-
"--pattern": "--
|
|
31
|
-
"_hide": "
|
|
32
|
-
"_transparent": "
|
|
33
|
-
"__SBackground": "
|
|
24
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SBar_cw7jk_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_cw7jk);transition-timing-function:ease-in-out}.___SBar_cw7jk_gg_.__color_cw7jk_gg_{fill:var(--color_cw7jk)}.___SBar_cw7jk_gg_.__pattern_cw7jk_gg_.__color_cw7jk_gg_{fill:var(--pattern_cw7jk);stroke:var(--color_cw7jk);stroke-width:1px}.___SBar_cw7jk_gg_.__hide_cw7jk_gg_{display:none}.___SBar_cw7jk_gg_.__transparent_cw7jk_gg_{opacity:.3}.___SBackground_cw7jk_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}" /*__inner_css_end__*/, "cw7jk_gg_") /*__reshadow_css_end__*/, {
|
|
25
|
+
"__SBar": "___SBar_cw7jk_gg_",
|
|
26
|
+
"--duration": "--duration_cw7jk",
|
|
27
|
+
"_color": "__color_cw7jk_gg_",
|
|
28
|
+
"--color": "--color_cw7jk",
|
|
29
|
+
"_pattern": "__pattern_cw7jk_gg_",
|
|
30
|
+
"--pattern": "--pattern_cw7jk",
|
|
31
|
+
"_hide": "__hide_cw7jk_gg_",
|
|
32
|
+
"_transparent": "__transparent_cw7jk_gg_",
|
|
33
|
+
"__SBackground": "___SBackground_cw7jk_gg_"
|
|
34
34
|
});
|
|
35
35
|
var MIN_HEIGHT = 2;
|
|
36
36
|
exports.MIN_HEIGHT = MIN_HEIGHT;
|
package/lib/cjs/Bubble.js
CHANGED
|
@@ -23,18 +23,18 @@ var _utils = require("./utils");
|
|
|
23
23
|
var _Tooltip = _interopRequireDefault(require("./Tooltip"));
|
|
24
24
|
var _Pattern = require("./Pattern");
|
|
25
25
|
/*__reshadow-styles__:"./style/bubble.shadow.css"*/
|
|
26
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
27
|
-
"__SBubble": "
|
|
28
|
-
"_color": "
|
|
29
|
-
"--color": "--
|
|
30
|
-
"_pattern": "
|
|
31
|
-
"--pattern": "--
|
|
32
|
-
"_transparent": "
|
|
33
|
-
"__SCenter": "
|
|
34
|
-
"__SLabel": "
|
|
35
|
-
"_position_right": "
|
|
36
|
-
"_position_left": "
|
|
37
|
-
"--duration": "--
|
|
26
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SBubble_1jq53_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_1jq53);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_1jq53_gg_:hover{opacity:.8}}.___SBubble_1jq53_gg_.__color_1jq53_gg_{fill:var(--color_1jq53)}.___SBubble_1jq53_gg_.__pattern_1jq53_gg_.__color_1jq53_gg_{fill:var(--pattern_1jq53);stroke:var(--color_1jq53);stroke-width:1px}.___SBubble_1jq53_gg_.__transparent_1jq53_gg_{opacity:.3}.___SCenter_1jq53_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_1jq53_gg_.__color_1jq53_gg_{stroke:var(--color_1jq53)}.___SCenter_1jq53_gg_.__transparent_1jq53_gg_{opacity:.3}.___SLabel_1jq53_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_1jq53_gg_._position_right_1jq53_gg_{text-anchor:end}.___SLabel_1jq53_gg_._position_left_1jq53_gg_{text-anchor:start}.___SLabel_1jq53_gg_.__color_1jq53_gg_{fill:var(--color_1jq53)}.___SLabel_1jq53_gg_.__transparent_1jq53_gg_{opacity:.3}" /*__inner_css_end__*/, "1jq53_gg_") /*__reshadow_css_end__*/, {
|
|
27
|
+
"__SBubble": "___SBubble_1jq53_gg_",
|
|
28
|
+
"_color": "__color_1jq53_gg_",
|
|
29
|
+
"--color": "--color_1jq53",
|
|
30
|
+
"_pattern": "__pattern_1jq53_gg_",
|
|
31
|
+
"--pattern": "--pattern_1jq53",
|
|
32
|
+
"_transparent": "__transparent_1jq53_gg_",
|
|
33
|
+
"__SCenter": "___SCenter_1jq53_gg_",
|
|
34
|
+
"__SLabel": "___SLabel_1jq53_gg_",
|
|
35
|
+
"_position_right": "_position_right_1jq53_gg_",
|
|
36
|
+
"_position_left": "_position_left_1jq53_gg_",
|
|
37
|
+
"--duration": "--duration_1jq53"
|
|
38
38
|
});
|
|
39
39
|
var BubbleRoot = /*#__PURE__*/function (_Component) {
|
|
40
40
|
(0, _inherits2["default"])(BubbleRoot, _Component);
|
package/lib/cjs/Donut.js
CHANGED
|
@@ -29,15 +29,15 @@ var _Tooltip = _interopRequireDefault(require("./Tooltip"));
|
|
|
29
29
|
var _Pattern = require("./Pattern");
|
|
30
30
|
var _excluded = ["Element", "styles", "d3Arc", "data", "color", "$animationActivePie", "active", "d3ArcOut", "name", "dataKey", "dataHintsHandler", "transparent", "innerRadius", "outerRadius", "resolveColor", "halfsize", "uid", "patterns"];
|
|
31
31
|
/*__reshadow-styles__:"./style/donut.shadow.css"*/
|
|
32
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
33
|
-
"__SPie": "
|
|
34
|
-
"_color": "
|
|
35
|
-
"--color": "--
|
|
36
|
-
"_pattern": "
|
|
37
|
-
"--pattern": "--
|
|
38
|
-
"_transparent": "
|
|
39
|
-
"__SEmptyData": "
|
|
40
|
-
"__SLabel": "
|
|
32
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SPie_ogjn7_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_ogjn7_gg_.__color_ogjn7_gg_{fill:var(--color_ogjn7)}.___SPie_ogjn7_gg_.__pattern_ogjn7_gg_.__color_ogjn7_gg_{fill:var(--pattern_ogjn7);stroke:var(--color_ogjn7);stroke-width:1px}.___SPie_ogjn7_gg_.__transparent_ogjn7_gg_{opacity:.3}.___SEmptyData_ogjn7_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_ogjn7_gg_.__color_ogjn7_gg_{fill:var(--color_ogjn7)}.___SLabel_ogjn7_gg_{text-anchor:middle;vertical-anchor:middle;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}" /*__inner_css_end__*/, "ogjn7_gg_") /*__reshadow_css_end__*/, {
|
|
33
|
+
"__SPie": "___SPie_ogjn7_gg_",
|
|
34
|
+
"_color": "__color_ogjn7_gg_",
|
|
35
|
+
"--color": "--color_ogjn7",
|
|
36
|
+
"_pattern": "__pattern_ogjn7_gg_",
|
|
37
|
+
"--pattern": "--pattern_ogjn7",
|
|
38
|
+
"_transparent": "__transparent_ogjn7_gg_",
|
|
39
|
+
"__SEmptyData": "___SEmptyData_ogjn7_gg_",
|
|
40
|
+
"__SLabel": "___SLabel_ogjn7_gg_"
|
|
41
41
|
});
|
|
42
42
|
var DEFAULT_INSTANCE = Symbol('DEFAULT_INSTANCE');
|
|
43
43
|
function transitionAnglePie(_ref6) {
|
package/lib/cjs/Dots.js
CHANGED
|
@@ -15,14 +15,14 @@ var _createElement = _interopRequireDefault(require("./createElement"));
|
|
|
15
15
|
var _utils = require("./utils");
|
|
16
16
|
var _Pattern = require("./Pattern");
|
|
17
17
|
/*__reshadow-styles__:"./style/dot.shadow.css"*/
|
|
18
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
19
|
-
"__SDot": "
|
|
20
|
-
"_hide": "
|
|
21
|
-
"_color": "
|
|
22
|
-
"--color": "--
|
|
23
|
-
"_transparent": "
|
|
24
|
-
"__SDots": "
|
|
25
|
-
"--duration": "--
|
|
18
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SDots_cbdec_gg_ .___SDot_cbdec_gg_{transition-duration:var(--duration_cbdec)}.___SDot_cbdec_gg_{stroke-width:1px;stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy,x,y;transition-timing-function:ease-in-out}.___SDot_cbdec_gg_.__hide_cbdec_gg_{display:none}.___SDot_cbdec_gg_.__color_cbdec_gg_{fill:var(--color_cbdec)}.___SDot_cbdec_gg_.__transparent_cbdec_gg_{opacity:.3}" /*__inner_css_end__*/, "cbdec_gg_") /*__reshadow_css_end__*/, {
|
|
19
|
+
"__SDot": "___SDot_cbdec_gg_",
|
|
20
|
+
"_hide": "__hide_cbdec_gg_",
|
|
21
|
+
"_color": "__color_cbdec_gg_",
|
|
22
|
+
"--color": "--color_cbdec",
|
|
23
|
+
"_transparent": "__transparent_cbdec_gg_",
|
|
24
|
+
"__SDots": "___SDots_cbdec_gg_",
|
|
25
|
+
"--duration": "--duration_cbdec"
|
|
26
26
|
});
|
|
27
27
|
var EXCLUDE_PROPS = ['data', 'scale', 'value', 'display'];
|
|
28
28
|
function Dots(props) {
|
package/lib/cjs/HorizontalBar.js
CHANGED
|
@@ -20,16 +20,16 @@ var _AnimatedClipPath = _interopRequireDefault(require("./AnimatedClipPath"));
|
|
|
20
20
|
var _utils = require("./utils");
|
|
21
21
|
var _Pattern = require("./Pattern");
|
|
22
22
|
/*__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
23
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
24
|
-
"__SBar": "
|
|
25
|
-
"--duration": "--
|
|
26
|
-
"_color": "
|
|
27
|
-
"--color": "--
|
|
28
|
-
"_pattern": "
|
|
29
|
-
"--pattern": "--
|
|
30
|
-
"_hide": "
|
|
31
|
-
"_transparent": "
|
|
32
|
-
"__SBackground": "
|
|
23
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SBar_cw7jk_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_cw7jk);transition-timing-function:ease-in-out}.___SBar_cw7jk_gg_.__color_cw7jk_gg_{fill:var(--color_cw7jk)}.___SBar_cw7jk_gg_.__pattern_cw7jk_gg_.__color_cw7jk_gg_{fill:var(--pattern_cw7jk);stroke:var(--color_cw7jk);stroke-width:1px}.___SBar_cw7jk_gg_.__hide_cw7jk_gg_{display:none}.___SBar_cw7jk_gg_.__transparent_cw7jk_gg_{opacity:.3}.___SBackground_cw7jk_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}" /*__inner_css_end__*/, "cw7jk_gg_") /*__reshadow_css_end__*/, {
|
|
24
|
+
"__SBar": "___SBar_cw7jk_gg_",
|
|
25
|
+
"--duration": "--duration_cw7jk",
|
|
26
|
+
"_color": "__color_cw7jk_gg_",
|
|
27
|
+
"--color": "--color_cw7jk",
|
|
28
|
+
"_pattern": "__pattern_cw7jk_gg_",
|
|
29
|
+
"--pattern": "--pattern_cw7jk",
|
|
30
|
+
"_hide": "__hide_cw7jk_gg_",
|
|
31
|
+
"_transparent": "__transparent_cw7jk_gg_",
|
|
32
|
+
"__SBackground": "___SBackground_cw7jk_gg_"
|
|
33
33
|
});
|
|
34
34
|
var MIN_WIDTH = 2;
|
|
35
35
|
exports.MIN_WIDTH = MIN_WIDTH;
|
package/lib/cjs/Hover.js
CHANGED
|
@@ -22,9 +22,9 @@ var _createElement = _interopRequireDefault(require("./createElement"));
|
|
|
22
22
|
var _utils = require("./utils");
|
|
23
23
|
var _Tooltip = _interopRequireDefault(require("./Tooltip"));
|
|
24
24
|
/*__reshadow-styles__:"./style/hover.shadow.css"*/
|
|
25
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
26
|
-
"__SHoverLine": "
|
|
27
|
-
"__SHoverRect": "
|
|
25
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SHoverLine_1fwig_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_1fwig_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "1fwig_gg_") /*__reshadow_css_end__*/, {
|
|
26
|
+
"__SHoverLine": "___SHoverLine_1fwig_gg_",
|
|
27
|
+
"__SHoverRect": "___SHoverRect_1fwig_gg_"
|
|
28
28
|
});
|
|
29
29
|
var Hover = /*#__PURE__*/function (_Component) {
|
|
30
30
|
(0, _inherits2["default"])(Hover, _Component);
|
package/lib/cjs/Line.js
CHANGED
|
@@ -23,15 +23,15 @@ var _Dots = _interopRequireDefault(require("./Dots"));
|
|
|
23
23
|
var _AnimatedClipPath = _interopRequireDefault(require("./AnimatedClipPath"));
|
|
24
24
|
var _Pattern = require("./Pattern");
|
|
25
25
|
/*__reshadow-styles__:"./style/line.shadow.css"*/
|
|
26
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
27
|
-
"__SLine": "
|
|
28
|
-
"--duration": "--
|
|
29
|
-
"_color": "
|
|
30
|
-
"--color": "--
|
|
31
|
-
"_hide": "
|
|
32
|
-
"_transparent": "
|
|
33
|
-
"__SNull": "
|
|
34
|
-
"__SLineArea": "
|
|
26
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SLine_sy2ai_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_sy2ai);transition-timing-function:ease-in-out}.___SLine_sy2ai_gg_.__color_sy2ai_gg_{stroke:var(--color_sy2ai)}.___SLine_sy2ai_gg_.__hide_sy2ai_gg_{display:none}.___SLine_sy2ai_gg_.__transparent_sy2ai_gg_{opacity:.3}.___SNull_sy2ai_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_sy2ai_gg_.__hide_sy2ai_gg_{display:none}.___SLineArea_sy2ai_gg_{transition-property:d;transition-duration:var(--duration_sy2ai);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLineArea_sy2ai_gg_.__color_sy2ai_gg_{fill:var(--color_sy2ai)}" /*__inner_css_end__*/, "sy2ai_gg_") /*__reshadow_css_end__*/, {
|
|
27
|
+
"__SLine": "___SLine_sy2ai_gg_",
|
|
28
|
+
"--duration": "--duration_sy2ai",
|
|
29
|
+
"_color": "__color_sy2ai_gg_",
|
|
30
|
+
"--color": "--color_sy2ai",
|
|
31
|
+
"_hide": "__hide_sy2ai_gg_",
|
|
32
|
+
"_transparent": "__transparent_sy2ai_gg_",
|
|
33
|
+
"__SNull": "___SNull_sy2ai_gg_",
|
|
34
|
+
"__SLineArea": "___SLineArea_sy2ai_gg_"
|
|
35
35
|
});
|
|
36
36
|
var LineRoot = /*#__PURE__*/function (_Component) {
|
|
37
37
|
(0, _inherits2["default"])(LineRoot, _Component);
|
package/lib/cjs/Plot.js
CHANGED
|
@@ -25,9 +25,9 @@ var _PlotA11yModule = require("./a11y/PlotA11yModule");
|
|
|
25
25
|
var _hints = require("./a11y/hints");
|
|
26
26
|
var _resolveColorEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/resolveColorEnhance"));
|
|
27
27
|
/*__reshadow-styles__:"./style/plot.shadow.css"*/
|
|
28
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
29
|
-
"__SPlot": "
|
|
30
|
-
"_keyboardFocused": "
|
|
28
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SPlot_1k3l3_gg_{overflow:hidden}.___SPlot_1k3l3_gg_:active,.___SPlot_1k3l3_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_1k3l3_gg_.__keyboardFocused_1k3l3_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__*/, "1k3l3_gg_") /*__reshadow_css_end__*/, {
|
|
29
|
+
"__SPlot": "___SPlot_1k3l3_gg_",
|
|
30
|
+
"_keyboardFocused": "__keyboardFocused_1k3l3_gg_"
|
|
31
31
|
});
|
|
32
32
|
var PlotRoot = /*#__PURE__*/function (_Component) {
|
|
33
33
|
(0, _inherits2["default"])(PlotRoot, _Component);
|
package/lib/cjs/Radar.js
CHANGED
|
@@ -30,25 +30,25 @@ var _utils = require("./utils");
|
|
|
30
30
|
var _Tooltip = _interopRequireDefault(require("./Tooltip"));
|
|
31
31
|
var _Pattern = require("./Pattern");
|
|
32
32
|
/*__reshadow-styles__:"./style/radar.shadow.css"*/
|
|
33
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
34
|
-
"__SAxis": "
|
|
35
|
-
"__SAxisLine": "
|
|
36
|
-
"__SAxisTick": "
|
|
37
|
-
"_active": "
|
|
38
|
-
"__SAxisLabel": "
|
|
39
|
-
"_xDirection": "
|
|
40
|
-
"--xDirection": "--
|
|
41
|
-
"_yDirection": "
|
|
42
|
-
"--yDirection": "--
|
|
43
|
-
"__SPolygon": "
|
|
44
|
-
"_color": "
|
|
45
|
-
"--color": "--
|
|
46
|
-
"_pattern": "
|
|
47
|
-
"--pattern": "--
|
|
48
|
-
"__SPolygonDot": "
|
|
49
|
-
"_transparent": "
|
|
50
|
-
"__SPolygonLine": "
|
|
51
|
-
"__SPieRect": "
|
|
33
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SAxisLine_swz1s_gg_,.___SAxisTick_swz1s_gg_,.___SAxis_swz1s_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_swz1s_gg_,.___SAxisTick_swz1s_gg_{stroke-dasharray:2}.___SAxisLine_swz1s_gg_.__active_swz1s_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_swz1s_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_swz1s_gg_.__xDirection_swz1s_gg_{text-anchor:var(--xDirection_swz1s)}.___SAxisLabel_swz1s_gg_.__yDirection_swz1s_gg_{dominant-baseline:var(--yDirection_swz1s)}.___SPolygonDot_swz1s_gg_,.___SPolygon_swz1s_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_swz1s_gg_{opacity:.2}.___SPolygon_swz1s_gg_.__color_swz1s_gg_{fill:var(--color_swz1s)}.___SPolygon_swz1s_gg_.__pattern_swz1s_gg_.__color_swz1s_gg_{fill:var(--pattern_swz1s);stroke:var(--color_swz1s);stroke-width:1px}.___SPolygonDot_swz1s_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_swz1s_gg_.__transparent_swz1s_gg_{opacity:.3}.___SPolygonDot_swz1s_gg_.__color_swz1s_gg_{fill:var(--color_swz1s)}.___SPolygonLine_swz1s_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_swz1s_gg_.__transparent_swz1s_gg_{opacity:.3}.___SPolygonLine_swz1s_gg_.__color_swz1s_gg_{stroke:var(--color_swz1s)}.___SPieRect_swz1s_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "swz1s_gg_") /*__reshadow_css_end__*/, {
|
|
34
|
+
"__SAxis": "___SAxis_swz1s_gg_",
|
|
35
|
+
"__SAxisLine": "___SAxisLine_swz1s_gg_",
|
|
36
|
+
"__SAxisTick": "___SAxisTick_swz1s_gg_",
|
|
37
|
+
"_active": "__active_swz1s_gg_",
|
|
38
|
+
"__SAxisLabel": "___SAxisLabel_swz1s_gg_",
|
|
39
|
+
"_xDirection": "__xDirection_swz1s_gg_",
|
|
40
|
+
"--xDirection": "--xDirection_swz1s",
|
|
41
|
+
"_yDirection": "__yDirection_swz1s_gg_",
|
|
42
|
+
"--yDirection": "--yDirection_swz1s",
|
|
43
|
+
"__SPolygon": "___SPolygon_swz1s_gg_",
|
|
44
|
+
"_color": "__color_swz1s_gg_",
|
|
45
|
+
"--color": "--color_swz1s",
|
|
46
|
+
"_pattern": "__pattern_swz1s_gg_",
|
|
47
|
+
"--pattern": "--pattern_swz1s",
|
|
48
|
+
"__SPolygonDot": "___SPolygonDot_swz1s_gg_",
|
|
49
|
+
"_transparent": "__transparent_swz1s_gg_",
|
|
50
|
+
"__SPolygonLine": "___SPolygonLine_swz1s_gg_",
|
|
51
|
+
"__SPieRect": "___SPieRect_swz1s_gg_"
|
|
52
52
|
});
|
|
53
53
|
var clampAngle = function clampAngle(angle) {
|
|
54
54
|
angle = angle % (2 * Math.PI);
|
package/lib/cjs/RadialTree.js
CHANGED
|
@@ -28,17 +28,17 @@ var _utils = require("./utils");
|
|
|
28
28
|
var _Pattern = require("./Pattern");
|
|
29
29
|
var _excluded = ["data"];
|
|
30
30
|
/*__reshadow-styles__:"./style/radial-tree.shadow.css"*/
|
|
31
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
32
|
-
"__SRadian": "
|
|
33
|
-
"__SLine": "
|
|
34
|
-
"_color": "
|
|
35
|
-
"--color": "--
|
|
36
|
-
"_transparent": "
|
|
37
|
-
"__SCap": "
|
|
38
|
-
"_pattern": "
|
|
39
|
-
"__SIcon": "
|
|
40
|
-
"__SLabel": "
|
|
41
|
-
"__SLineCap": "
|
|
31
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SRadian_1ny1p_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1ny1p_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1ny1p_gg_.__color_1ny1p_gg_{stroke:var(--color_1ny1p)}.___SLine_1ny1p_gg_.__transparent_1ny1p_gg_{opacity:.3}.___SCap_1ny1p_gg_{transition:r .1s}.___SCap_1ny1p_gg_.__pattern_1ny1p_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_1ny1p_gg_.__transparent_1ny1p_gg_,.___SIcon_1ny1p_gg_.__transparent_1ny1p_gg_,.___SLabel_1ny1p_gg_.__transparent_1ny1p_gg_{opacity:.3}.___SLabel_1ny1p_gg_{fill:var(--color_1ny1p)}@media (hover:hover){.___SRadian_1ny1p_gg_:hover .___SLabel_1ny1p_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_1ny1p_gg_{transition:none}}" /*__inner_css_end__*/, "1ny1p_gg_") /*__reshadow_css_end__*/, {
|
|
32
|
+
"__SRadian": "___SRadian_1ny1p_gg_",
|
|
33
|
+
"__SLine": "___SLine_1ny1p_gg_",
|
|
34
|
+
"_color": "__color_1ny1p_gg_",
|
|
35
|
+
"--color": "--color_1ny1p",
|
|
36
|
+
"_transparent": "__transparent_1ny1p_gg_",
|
|
37
|
+
"__SCap": "___SCap_1ny1p_gg_",
|
|
38
|
+
"_pattern": "__pattern_1ny1p_gg_",
|
|
39
|
+
"__SIcon": "___SIcon_1ny1p_gg_",
|
|
40
|
+
"__SLabel": "___SLabel_1ny1p_gg_",
|
|
41
|
+
"__SLineCap": "___SLineCap_1ny1p_gg_"
|
|
42
42
|
});
|
|
43
43
|
var baseAngle = -Math.PI / 2; // The top vertical line
|
|
44
44
|
var RadialTreeBase = /*#__PURE__*/function (_Component) {
|
package/lib/cjs/Reference.js
CHANGED
|
@@ -19,18 +19,18 @@ var _uniqueID = _interopRequireDefault(require("@semcore/utils/lib/uniqueID"));
|
|
|
19
19
|
var _createElement = _interopRequireDefault(require("./createElement"));
|
|
20
20
|
var _utils = require("./utils");
|
|
21
21
|
/*__reshadow-styles__:"./style/reference.shadow.css"*/
|
|
22
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
23
|
-
"__SReferenceLine": "
|
|
24
|
-
"__STitle": "
|
|
25
|
-
"--transform-origin": "--transform-
|
|
26
|
-
"_position_top": "
|
|
27
|
-
"_position_bottom": "
|
|
28
|
-
"_position_right": "
|
|
29
|
-
"_position_left": "
|
|
30
|
-
"__SBackground": "
|
|
31
|
-
"__SStripes": "
|
|
32
|
-
"--fill": "--
|
|
33
|
-
"__SStripesPatternPath": "
|
|
22
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SReferenceLine_1sf4k_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___STitle_1sf4k_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_1sf4k)}.___STitle_1sf4k_gg_._position_top_1sf4k_gg_{text-anchor:middle}.___STitle_1sf4k_gg_._position_bottom_1sf4k_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_1sf4k_gg_._position_left_1sf4k_gg_,.___STitle_1sf4k_gg_._position_right_1sf4k_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_1sf4k_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}.___SStripes_1sf4k_gg_{fill:var(--fill_1sf4k)}.___SStripesPatternPath_1sf4k_gg_{stroke:var(--intergalactic-chart-grid-period-pattern, rgba(25, 27, 35, 0.15));stroke-width:1px}" /*__inner_css_end__*/, "1sf4k_gg_") /*__reshadow_css_end__*/, {
|
|
23
|
+
"__SReferenceLine": "___SReferenceLine_1sf4k_gg_",
|
|
24
|
+
"__STitle": "___STitle_1sf4k_gg_",
|
|
25
|
+
"--transform-origin": "--transform-origin_1sf4k",
|
|
26
|
+
"_position_top": "_position_top_1sf4k_gg_",
|
|
27
|
+
"_position_bottom": "_position_bottom_1sf4k_gg_",
|
|
28
|
+
"_position_right": "_position_right_1sf4k_gg_",
|
|
29
|
+
"_position_left": "_position_left_1sf4k_gg_",
|
|
30
|
+
"__SBackground": "___SBackground_1sf4k_gg_",
|
|
31
|
+
"__SStripes": "___SStripes_1sf4k_gg_",
|
|
32
|
+
"--fill": "--fill_1sf4k",
|
|
33
|
+
"__SStripesPatternPath": "___SStripesPatternPath_1sf4k_gg_"
|
|
34
34
|
});
|
|
35
35
|
var side2direction = {
|
|
36
36
|
left: 'vertical',
|
package/lib/cjs/ScatterPlot.js
CHANGED
|
@@ -24,15 +24,15 @@ var _utils = require("./utils");
|
|
|
24
24
|
var _Tooltip = _interopRequireDefault(require("./Tooltip"));
|
|
25
25
|
var _Pattern = require("./Pattern");
|
|
26
26
|
/*__reshadow-styles__:"./style/scatterplot.shadow.css"*/
|
|
27
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
28
|
-
"__SScatterPlot": "
|
|
29
|
-
"_color": "
|
|
30
|
-
"--color": "--
|
|
31
|
-
"_pattern": "
|
|
32
|
-
"--pattern": "--
|
|
33
|
-
"_transparent": "
|
|
34
|
-
"__SValue": "
|
|
35
|
-
"--duration": "--
|
|
27
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SScatterPlot_608zz_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_608zz);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_608zz_gg_:hover{opacity:.8}}.___SScatterPlot_608zz_gg_.__color_608zz_gg_{fill:var(--color_608zz)}.___SScatterPlot_608zz_gg_.__pattern_608zz_gg_.__color_608zz_gg_{fill:var(--pattern_608zz);stroke:var(--color_608zz);stroke-width:1px}.___SScatterPlot_608zz_gg_.__transparent_608zz_gg_{opacity:.3}.___SValue_608zz_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_608zz_gg_.__color_608zz_gg_{stroke:var(--color_608zz)}.___SValue_608zz_gg_.__transparent_608zz_gg_{opacity:.3}" /*__inner_css_end__*/, "608zz_gg_") /*__reshadow_css_end__*/, {
|
|
28
|
+
"__SScatterPlot": "___SScatterPlot_608zz_gg_",
|
|
29
|
+
"_color": "__color_608zz_gg_",
|
|
30
|
+
"--color": "--color_608zz",
|
|
31
|
+
"_pattern": "__pattern_608zz_gg_",
|
|
32
|
+
"--pattern": "--pattern_608zz",
|
|
33
|
+
"_transparent": "__transparent_608zz_gg_",
|
|
34
|
+
"__SValue": "___SValue_608zz_gg_",
|
|
35
|
+
"--duration": "--duration_608zz"
|
|
36
36
|
});
|
|
37
37
|
var ScatterPlotRoot = /*#__PURE__*/function (_Component) {
|
|
38
38
|
(0, _inherits2["default"])(ScatterPlotRoot, _Component);
|
package/lib/cjs/Tooltip.js
CHANGED
|
@@ -25,15 +25,15 @@ var _useColorResolver = require("@semcore/utils/lib/use/useColorResolver");
|
|
|
25
25
|
var _Pattern = require("./Pattern");
|
|
26
26
|
var _excluded = ["Children", "children", "tag", "forcedAdvancedMode", "onClick"];
|
|
27
27
|
/*__reshadow-styles__:"./style/tooltip.shadow.css"*/
|
|
28
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
29
|
-
"__STooltip": "
|
|
30
|
-
"__STitle": "
|
|
31
|
-
"__SDotGroup": "
|
|
32
|
-
"__SDot": "
|
|
33
|
-
"__SDotCircle": "
|
|
34
|
-
"_color": "
|
|
35
|
-
"--color": "--
|
|
36
|
-
"__SFooter": "
|
|
28
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___STooltip_fxr5w_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_fxr5w_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_fxr5w_gg_{display:flex;align-items:center}.___SDot_fxr5w_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_fxr5w_gg_.__color_fxr5w_gg_{background-color:var(--color_fxr5w);width:8px;height:8px;border-radius:50%}.___SFooter_fxr5w_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__*/, "fxr5w_gg_") /*__reshadow_css_end__*/, {
|
|
29
|
+
"__STooltip": "___STooltip_fxr5w_gg_",
|
|
30
|
+
"__STitle": "___STitle_fxr5w_gg_",
|
|
31
|
+
"__SDotGroup": "___SDotGroup_fxr5w_gg_",
|
|
32
|
+
"__SDot": "___SDot_fxr5w_gg_",
|
|
33
|
+
"__SDotCircle": "___SDotCircle_fxr5w_gg_",
|
|
34
|
+
"_color": "__color_fxr5w_gg_",
|
|
35
|
+
"--color": "--color_fxr5w",
|
|
36
|
+
"__SFooter": "___SFooter_fxr5w_gg_"
|
|
37
37
|
});
|
|
38
38
|
/**
|
|
39
39
|
* `TooltipDotRenderContext` is a hack to bypass problem that getDotProps doesn't work for D3 tooltip.
|