@semcore/d3-chart 2.6.0 → 2.7.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 (61) hide show
  1. package/CHANGELOG.md +12 -0
  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 +9 -9
  8. package/lib/cjs/HorizontalBar.js +8 -8
  9. package/lib/cjs/Hover.js +4 -4
  10. package/lib/cjs/Line.js +8 -8
  11. package/lib/cjs/Plot.js +4 -4
  12. package/lib/cjs/RadialTree.js +11 -11
  13. package/lib/cjs/ReferenceLine.js +10 -10
  14. package/lib/cjs/ScatterPlot.js +7 -7
  15. package/lib/cjs/Tooltip.js +8 -8
  16. package/lib/cjs/Venn.js +7 -7
  17. package/lib/cjs/a11y/PlotA11yModule.js +9 -11
  18. package/lib/cjs/a11y/PlotA11yModule.js.map +1 -1
  19. package/lib/cjs/a11y/PlotA11yView.js +10 -5
  20. package/lib/cjs/a11y/PlotA11yView.js.map +1 -1
  21. package/lib/cjs/a11y/intl.js +1 -3
  22. package/lib/cjs/a11y/intl.js.map +1 -1
  23. package/lib/cjs/a11y/translations/module/{translations.js → __intergalactic-dynamic-locales.js} +4 -4
  24. package/lib/cjs/a11y/translations/module/__intergalactic-dynamic-locales.js.map +1 -0
  25. package/lib/cjs/a11y/translations/view/{translations.js → __intergalactic-dynamic-locales.js} +4 -4
  26. package/lib/cjs/a11y/translations/view/__intergalactic-dynamic-locales.js.map +1 -0
  27. package/lib/es6/Area.js +9 -9
  28. package/lib/es6/Axis.js +14 -14
  29. package/lib/es6/Bar.js +8 -8
  30. package/lib/es6/Bubble.js +10 -10
  31. package/lib/es6/Donut.js +7 -7
  32. package/lib/es6/Dots.js +9 -9
  33. package/lib/es6/HorizontalBar.js +8 -8
  34. package/lib/es6/Hover.js +4 -4
  35. package/lib/es6/Line.js +8 -8
  36. package/lib/es6/Plot.js +4 -4
  37. package/lib/es6/RadialTree.js +11 -11
  38. package/lib/es6/ReferenceLine.js +10 -10
  39. package/lib/es6/ScatterPlot.js +7 -7
  40. package/lib/es6/Tooltip.js +8 -8
  41. package/lib/es6/Venn.js +7 -7
  42. package/lib/es6/a11y/PlotA11yModule.js +10 -12
  43. package/lib/es6/a11y/PlotA11yModule.js.map +1 -1
  44. package/lib/es6/a11y/PlotA11yView.js +8 -5
  45. package/lib/es6/a11y/PlotA11yView.js.map +1 -1
  46. package/lib/es6/a11y/intl.js +1 -2
  47. package/lib/es6/a11y/intl.js.map +1 -1
  48. package/lib/es6/a11y/translations/module/{translations.js → __intergalactic-dynamic-locales.js} +2 -2
  49. package/lib/es6/a11y/translations/module/__intergalactic-dynamic-locales.js.map +1 -0
  50. package/lib/es6/a11y/translations/view/{translations.js → __intergalactic-dynamic-locales.js} +2 -2
  51. package/lib/es6/a11y/translations/view/__intergalactic-dynamic-locales.js.map +1 -0
  52. package/lib/types/a11y/intl.d.ts +3 -7
  53. package/lib/types/a11y/translations/module/__intergalactic-dynamic-locales.d.ts +57 -0
  54. package/lib/types/a11y/translations/view/__intergalactic-dynamic-locales.d.ts +464 -0
  55. package/package.json +4 -3
  56. package/lib/cjs/a11y/translations/module/translations.js.map +0 -1
  57. package/lib/cjs/a11y/translations/view/translations.js.map +0 -1
  58. package/lib/es6/a11y/translations/module/translations.js.map +0 -1
  59. package/lib/es6/a11y/translations/view/translations.js.map +0 -1
  60. package/lib/types/a11y/translations/module/translations.d.ts +0 -5
  61. package/lib/types/a11y/translations/view/translations.d.ts +0 -5
package/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
+ ## [2.7.0] - 2022-12-14
6
+
7
+ ### Changed
8
+
9
+ - Supported semi-async internationalization of text in a11y module.
10
+
11
+ ## [2.6.1] - 2022-12-13
12
+
13
+ ### Changed
14
+
15
+ - Added `react-dom` to peer dependencies.
16
+
5
17
  ## [2.6.0] - 2022-12-12
6
18
 
7
19
  ### Added
package/lib/cjs/Area.js CHANGED
@@ -48,18 +48,18 @@ var style = (
48
48
  /*__reshadow_css_start__*/
49
49
  _core.sstyled.insert(
50
50
  /*__inner_css_start__*/
51
- ".___SArea_qi5s9_gg_{fill:var(--intergalactic-chart-palette-order-blue,#2bb3ff);fill-opacity:.2}.___SArea_qi5s9_gg_.__color_qi5s9_gg_{fill:var(--color_qi5s9)}.___SAreaLine_qi5s9_gg_{stroke:var(--intergalactic-chart-palette-order-blue,#2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_qi5s9_gg_.__color_qi5s9_gg_{stroke:var(--color_qi5s9)}.___SArea_qi5s9_gg_,.___SAreaLine_qi5s9_gg_{transition-property:d;transition-duration:var(--duration_qi5s9);transition-timing-function:ease-in-out}.___SNull_qi5s9_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis,#c4c7cf);stroke-dasharray:4}.___SNull_qi5s9_gg_.__hide_qi5s9_gg_{display:none}"
51
+ ".___SArea_1aram_gg_{fill:var(--intergalactic-chart-palette-order-blue,#2bb3ff);fill-opacity:.2}.___SArea_1aram_gg_.__color_1aram_gg_{fill:var(--color_1aram)}.___SAreaLine_1aram_gg_{stroke:var(--intergalactic-chart-palette-order-blue,#2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_1aram_gg_.__color_1aram_gg_{stroke:var(--color_1aram)}.___SArea_1aram_gg_,.___SAreaLine_1aram_gg_{transition-property:d;transition-duration:var(--duration_1aram);transition-timing-function:ease-in-out}.___SNull_1aram_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis,#c4c7cf);stroke-dasharray:4}.___SNull_1aram_gg_.__hide_1aram_gg_{display:none}"
52
52
  /*__inner_css_end__*/
53
- , "qi5s9_gg_")
53
+ , "1aram_gg_")
54
54
  /*__reshadow_css_end__*/
55
55
  , {
56
- "__SArea": "___SArea_qi5s9_gg_",
57
- "_color": "__color_qi5s9_gg_",
58
- "--color": "--color_qi5s9",
59
- "__SAreaLine": "___SAreaLine_qi5s9_gg_",
60
- "--duration": "--duration_qi5s9",
61
- "__SNull": "___SNull_qi5s9_gg_",
62
- "_hide": "__hide_qi5s9_gg_"
56
+ "__SArea": "___SArea_1aram_gg_",
57
+ "_color": "__color_1aram_gg_",
58
+ "--color": "--color_1aram",
59
+ "__SAreaLine": "___SAreaLine_1aram_gg_",
60
+ "--duration": "--duration_1aram",
61
+ "__SNull": "___SNull_1aram_gg_",
62
+ "_hide": "__hide_1aram_gg_"
63
63
  });
64
64
 
65
65
  var AreaRoot = /*#__PURE__*/function (_Component) {
package/lib/cjs/Axis.js CHANGED
@@ -44,23 +44,23 @@ var style = (
44
44
  /*__reshadow_css_start__*/
45
45
  _core.sstyled.insert(
46
46
  /*__inner_css_start__*/
47
- ".___SAxis_mvhgo_gg_{stroke:var(--intergalactic-chart-grid-x-axis,#c4c7cf)}.___SAxis_mvhgo_gg_.__hide_mvhgo_gg_{display:none}.___STick_mvhgo_gg_{font-size:var(--intergalactic-fs-100,12px);fill:var(--intergalactic-chart-grid-text-label,#6c6e79)}.___STick_mvhgo_gg_.__hide_mvhgo_gg_{display:none}.___SGrid_mvhgo_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary,#e0e1e9)}.___STitle_mvhgo_gg_{font-size:var(--intergalactic-fs-100,12px);fill:var(--intergalactic-text-hint,#6c6e79);transform-origin:var(--transform-origin_mvhgo)}.___STitle_mvhgo_gg_._position_top_mvhgo_gg_{text-anchor:middle}.___STitle_mvhgo_gg_._position_bottom_mvhgo_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_mvhgo_gg_._position_right_mvhgo_gg_{transform:rotate(-90deg);alignment-baseline:middle;text-anchor:middle}.___STitle_mvhgo_gg_._position_left_mvhgo_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___STick_mvhgo_gg_._position_top_mvhgo_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_mvhgo_gg_._position_bottom_mvhgo_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_mvhgo_gg_._position_right_mvhgo_gg_{transform:translateX(16px);text-anchor:start;alignment-baseline:middle}.___STick_mvhgo_gg_._position_left_mvhgo_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}.___STick_mvhgo_gg_._position_custom_0_mvhgo_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_mvhgo_gg_._position_custom_1_mvhgo_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}"
47
+ ".___SAxis_1neku_gg_{stroke:var(--intergalactic-chart-grid-x-axis,#c4c7cf)}.___SAxis_1neku_gg_.__hide_1neku_gg_{display:none}.___STick_1neku_gg_{font-size:var(--intergalactic-fs-100,12px);fill:var(--intergalactic-chart-grid-text-label,#6c6e79)}.___STick_1neku_gg_.__hide_1neku_gg_{display:none}.___SGrid_1neku_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary,#e0e1e9)}.___STitle_1neku_gg_{font-size:var(--intergalactic-fs-100,12px);fill:var(--intergalactic-text-hint,#6c6e79);transform-origin:var(--transform-origin_1neku)}.___STitle_1neku_gg_._position_top_1neku_gg_{text-anchor:middle}.___STitle_1neku_gg_._position_bottom_1neku_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_1neku_gg_._position_right_1neku_gg_{transform:rotate(-90deg);alignment-baseline:middle;text-anchor:middle}.___STitle_1neku_gg_._position_left_1neku_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___STick_1neku_gg_._position_top_1neku_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_1neku_gg_._position_bottom_1neku_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_1neku_gg_._position_right_1neku_gg_{transform:translateX(16px);text-anchor:start;alignment-baseline:middle}.___STick_1neku_gg_._position_left_1neku_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}.___STick_1neku_gg_._position_custom_0_1neku_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_1neku_gg_._position_custom_1_1neku_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}"
48
48
  /*__inner_css_end__*/
49
- , "mvhgo_gg_")
49
+ , "1neku_gg_")
50
50
  /*__reshadow_css_end__*/
51
51
  , {
52
- "__SAxis": "___SAxis_mvhgo_gg_",
53
- "_hide": "__hide_mvhgo_gg_",
54
- "__STick": "___STick_mvhgo_gg_",
55
- "__SGrid": "___SGrid_mvhgo_gg_",
56
- "__STitle": "___STitle_mvhgo_gg_",
57
- "--transform-origin": "--transform-origin_mvhgo",
58
- "_position_top": "_position_top_mvhgo_gg_",
59
- "_position_bottom": "_position_bottom_mvhgo_gg_",
60
- "_position_right": "_position_right_mvhgo_gg_",
61
- "_position_left": "_position_left_mvhgo_gg_",
62
- "_position_custom_0": "_position_custom_0_mvhgo_gg_",
63
- "_position_custom_1": "_position_custom_1_mvhgo_gg_"
52
+ "__SAxis": "___SAxis_1neku_gg_",
53
+ "_hide": "__hide_1neku_gg_",
54
+ "__STick": "___STick_1neku_gg_",
55
+ "__SGrid": "___SGrid_1neku_gg_",
56
+ "__STitle": "___STitle_1neku_gg_",
57
+ "--transform-origin": "--transform-origin_1neku",
58
+ "_position_top": "_position_top_1neku_gg_",
59
+ "_position_bottom": "_position_bottom_1neku_gg_",
60
+ "_position_right": "_position_right_1neku_gg_",
61
+ "_position_left": "_position_left_1neku_gg_",
62
+ "_position_custom_0": "_position_custom_0_1neku_gg_",
63
+ "_position_custom_1": "_position_custom_1_1neku_gg_"
64
64
  });
65
65
  var CUSTOM_0 = Symbol('custom_0');
66
66
  var CUSTOM_1 = Symbol('custom_1');
package/lib/cjs/Bar.js CHANGED
@@ -44,17 +44,17 @@ var style = (
44
44
  /*__reshadow_css_start__*/
45
45
  _core.sstyled.insert(
46
46
  /*__inner_css_start__*/
47
- ".___SBar_r812c_gg_{fill:var(--intergalactic-chart-palette-order-blue,#2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_r812c);transition-timing-function:ease-in-out}.___SBar_r812c_gg_.__color_r812c_gg_{fill:var(--color_r812c)}.___SBar_r812c_gg_.__hide_r812c_gg_{display:none}.___SBackground_r812c_gg_{fill:var(--intergalactic-chart-palette-order-other-data,#c4c7cf)}"
47
+ ".___SBar_90qiy_gg_{fill:var(--intergalactic-chart-palette-order-blue,#2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_90qiy);transition-timing-function:ease-in-out}.___SBar_90qiy_gg_.__color_90qiy_gg_{fill:var(--color_90qiy)}.___SBar_90qiy_gg_.__hide_90qiy_gg_{display:none}.___SBackground_90qiy_gg_{fill:var(--intergalactic-chart-palette-order-other-data,#c4c7cf)}"
48
48
  /*__inner_css_end__*/
49
- , "r812c_gg_")
49
+ , "90qiy_gg_")
50
50
  /*__reshadow_css_end__*/
51
51
  , {
52
- "__SBar": "___SBar_r812c_gg_",
53
- "--duration": "--duration_r812c",
54
- "_color": "__color_r812c_gg_",
55
- "--color": "--color_r812c",
56
- "_hide": "__hide_r812c_gg_",
57
- "__SBackground": "___SBackground_r812c_gg_"
52
+ "__SBar": "___SBar_90qiy_gg_",
53
+ "--duration": "--duration_90qiy",
54
+ "_color": "__color_90qiy_gg_",
55
+ "--color": "--color_90qiy",
56
+ "_hide": "__hide_90qiy_gg_",
57
+ "__SBackground": "___SBackground_90qiy_gg_"
58
58
  });
59
59
 
60
60
  var BarRoot = /*#__PURE__*/function (_Component) {
package/lib/cjs/Bubble.js CHANGED
@@ -56,19 +56,19 @@ var style = (
56
56
  /*__reshadow_css_start__*/
57
57
  _core.sstyled.insert(
58
58
  /*__inner_css_start__*/
59
- ".___SBubble_156oi_gg_{fill:var(--intergalactic-chart-palette-order-blue,#2bb3ff);stroke:var(--intergalactic-chart-grid-border,#fff);stroke-width:2px;transition-property:cx,cy;transition-duration:var(--duration_156oi);transition-timing-function:ease-in-out;opacity:.5}.___SBubble_156oi_gg_:hover{opacity:.8}.___SBubble_156oi_gg_.__color_156oi_gg_{fill:var(--color_156oi)}.___SCenter_156oi_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-blue,#2bb3ff)}.___SCenter_156oi_gg_.__color_156oi_gg_{stroke:var(--color_156oi)}.___SLabel_156oi_gg_{fill:var(--intergalactic-chart-palette-order-blue,#2bb3ff)}.___SLabel_156oi_gg_._position_right_156oi_gg_{text-anchor:end}.___SLabel_156oi_gg_._position_left_156oi_gg_{text-anchor:start}.___SLabel_156oi_gg_.__color_156oi_gg_{fill:var(--color_156oi)}"
59
+ ".___SBubble_9zikn_gg_{fill:var(--intergalactic-chart-palette-order-blue,#2bb3ff);stroke:var(--intergalactic-chart-grid-border,#fff);stroke-width:2px;transition-property:cx,cy;transition-duration:var(--duration_9zikn);transition-timing-function:ease-in-out;opacity:.5}.___SBubble_9zikn_gg_:hover{opacity:.8}.___SBubble_9zikn_gg_.__color_9zikn_gg_{fill:var(--color_9zikn)}.___SCenter_9zikn_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-blue,#2bb3ff)}.___SCenter_9zikn_gg_.__color_9zikn_gg_{stroke:var(--color_9zikn)}.___SLabel_9zikn_gg_{fill:var(--intergalactic-chart-palette-order-blue,#2bb3ff)}.___SLabel_9zikn_gg_._position_right_9zikn_gg_{text-anchor:end}.___SLabel_9zikn_gg_._position_left_9zikn_gg_{text-anchor:start}.___SLabel_9zikn_gg_.__color_9zikn_gg_{fill:var(--color_9zikn)}"
60
60
  /*__inner_css_end__*/
61
- , "156oi_gg_")
61
+ , "9zikn_gg_")
62
62
  /*__reshadow_css_end__*/
63
63
  , {
64
- "__SBubble": "___SBubble_156oi_gg_",
65
- "--duration": "--duration_156oi",
66
- "_color": "__color_156oi_gg_",
67
- "--color": "--color_156oi",
68
- "__SCenter": "___SCenter_156oi_gg_",
69
- "__SLabel": "___SLabel_156oi_gg_",
70
- "_position_right": "_position_right_156oi_gg_",
71
- "_position_left": "_position_left_156oi_gg_"
64
+ "__SBubble": "___SBubble_9zikn_gg_",
65
+ "--duration": "--duration_9zikn",
66
+ "_color": "__color_9zikn_gg_",
67
+ "--color": "--color_9zikn",
68
+ "__SCenter": "___SCenter_9zikn_gg_",
69
+ "__SLabel": "___SLabel_9zikn_gg_",
70
+ "_position_right": "_position_right_9zikn_gg_",
71
+ "_position_left": "_position_left_9zikn_gg_"
72
72
  });
73
73
 
74
74
  var BubbleRoot = /*#__PURE__*/function (_Component) {
package/lib/cjs/Donut.js CHANGED
@@ -66,16 +66,16 @@ var style = (
66
66
  /*__reshadow_css_start__*/
67
67
  _core.sstyled.insert(
68
68
  /*__inner_css_start__*/
69
- ".___SPie_kylww_gg_{stroke:var(--intergalactic-chart-grid-border,#fff);fill:var(--intergalactic-chart-palette-order-blue,#2bb3ff)}.___SPie_kylww_gg_.__color_kylww_gg_{fill:var(--color_kylww)}.___SEmptyData_kylww_gg_{fill:var(--intergalactic-chart-palette-order-null,#e0e1e9)}.___SEmptyData_kylww_gg_.__color_kylww_gg_{fill:var(--color_kylww)}.___SLabel_kylww_gg_{text-anchor:middle;vertical-anchor:middle}"
69
+ ".___SPie_g1k4k_gg_{stroke:var(--intergalactic-chart-grid-border,#fff);fill:var(--intergalactic-chart-palette-order-blue,#2bb3ff)}.___SPie_g1k4k_gg_.__color_g1k4k_gg_{fill:var(--color_g1k4k)}.___SEmptyData_g1k4k_gg_{fill:var(--intergalactic-chart-palette-order-null,#e0e1e9)}.___SEmptyData_g1k4k_gg_.__color_g1k4k_gg_{fill:var(--color_g1k4k)}.___SLabel_g1k4k_gg_{text-anchor:middle;vertical-anchor:middle}"
70
70
  /*__inner_css_end__*/
71
- , "kylww_gg_")
71
+ , "g1k4k_gg_")
72
72
  /*__reshadow_css_end__*/
73
73
  , {
74
- "__SPie": "___SPie_kylww_gg_",
75
- "_color": "__color_kylww_gg_",
76
- "--color": "--color_kylww",
77
- "__SEmptyData": "___SEmptyData_kylww_gg_",
78
- "__SLabel": "___SLabel_kylww_gg_"
74
+ "__SPie": "___SPie_g1k4k_gg_",
75
+ "_color": "__color_g1k4k_gg_",
76
+ "--color": "--color_g1k4k",
77
+ "__SEmptyData": "___SEmptyData_g1k4k_gg_",
78
+ "__SLabel": "___SLabel_g1k4k_gg_"
79
79
  });
80
80
  var DEFAULT_INSTANCE = Symbol('DEFAULT_INSTANCE');
81
81
 
package/lib/cjs/Dots.js CHANGED
@@ -32,18 +32,18 @@ var style = (
32
32
  /*__reshadow_css_start__*/
33
33
  _core.sstyled.insert(
34
34
  /*__inner_css_start__*/
35
- ".___SDots_6eln9_gg_ .___SDot_6eln9_gg_{transition-duration:var(--duration_6eln9)}.___SDot_6eln9_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border,#fff);r:6px;fill:var(--intergalactic-chart-palette-order-blue,#2bb3ff);transition-property:cx,cy;transition-timing-function:ease-in-out}.___SDot_6eln9_gg_.__hide_6eln9_gg_{display:none}.___SDot_6eln9_gg_.__active_6eln9_gg_{r:8px}.___SDot_6eln9_gg_.__color_6eln9_gg_{fill:var(--color_6eln9)}"
35
+ ".___SDots_ovjyg_gg_ .___SDot_ovjyg_gg_{transition-duration:var(--duration_ovjyg)}.___SDot_ovjyg_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border,#fff);r:6px;fill:var(--intergalactic-chart-palette-order-blue,#2bb3ff);transition-property:cx,cy;transition-timing-function:ease-in-out}.___SDot_ovjyg_gg_.__hide_ovjyg_gg_{display:none}.___SDot_ovjyg_gg_.__active_ovjyg_gg_{r:8px}.___SDot_ovjyg_gg_.__color_ovjyg_gg_{fill:var(--color_ovjyg)}"
36
36
  /*__inner_css_end__*/
37
- , "6eln9_gg_")
37
+ , "ovjyg_gg_")
38
38
  /*__reshadow_css_end__*/
39
39
  , {
40
- "__SDots": "___SDots_6eln9_gg_",
41
- "__SDot": "___SDot_6eln9_gg_",
42
- "--duration": "--duration_6eln9",
43
- "_hide": "__hide_6eln9_gg_",
44
- "_active": "__active_6eln9_gg_",
45
- "_color": "__color_6eln9_gg_",
46
- "--color": "--color_6eln9"
40
+ "__SDots": "___SDots_ovjyg_gg_",
41
+ "__SDot": "___SDot_ovjyg_gg_",
42
+ "--duration": "--duration_ovjyg",
43
+ "_hide": "__hide_ovjyg_gg_",
44
+ "_active": "__active_ovjyg_gg_",
45
+ "_color": "__color_ovjyg_gg_",
46
+ "--color": "--color_ovjyg"
47
47
  });
48
48
  var EXCLUDE_PROPS = ['data', 'scale', 'value', 'display'];
49
49
 
@@ -42,17 +42,17 @@ var style = (
42
42
  /*__reshadow_css_start__*/
43
43
  _core.sstyled.insert(
44
44
  /*__inner_css_start__*/
45
- ".___SBar_r812c_gg_{fill:var(--intergalactic-chart-palette-order-blue,#2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_r812c);transition-timing-function:ease-in-out}.___SBar_r812c_gg_.__color_r812c_gg_{fill:var(--color_r812c)}.___SBar_r812c_gg_.__hide_r812c_gg_{display:none}.___SBackground_r812c_gg_{fill:var(--intergalactic-chart-palette-order-other-data,#c4c7cf)}"
45
+ ".___SBar_90qiy_gg_{fill:var(--intergalactic-chart-palette-order-blue,#2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_90qiy);transition-timing-function:ease-in-out}.___SBar_90qiy_gg_.__color_90qiy_gg_{fill:var(--color_90qiy)}.___SBar_90qiy_gg_.__hide_90qiy_gg_{display:none}.___SBackground_90qiy_gg_{fill:var(--intergalactic-chart-palette-order-other-data,#c4c7cf)}"
46
46
  /*__inner_css_end__*/
47
- , "r812c_gg_")
47
+ , "90qiy_gg_")
48
48
  /*__reshadow_css_end__*/
49
49
  , {
50
- "__SBar": "___SBar_r812c_gg_",
51
- "--duration": "--duration_r812c",
52
- "_color": "__color_r812c_gg_",
53
- "--color": "--color_r812c",
54
- "_hide": "__hide_r812c_gg_",
55
- "__SBackground": "___SBackground_r812c_gg_"
50
+ "__SBar": "___SBar_90qiy_gg_",
51
+ "--duration": "--duration_90qiy",
52
+ "_color": "__color_90qiy_gg_",
53
+ "--color": "--color_90qiy",
54
+ "_hide": "__hide_90qiy_gg_",
55
+ "__SBackground": "___SBackground_90qiy_gg_"
56
56
  });
57
57
 
58
58
  var HorizontalBarRoot = /*#__PURE__*/function (_Component) {
package/lib/cjs/Hover.js CHANGED
@@ -44,13 +44,13 @@ var style = (
44
44
  /*__reshadow_css_start__*/
45
45
  _core.sstyled.insert(
46
46
  /*__inner_css_start__*/
47
- ".___SHoverLine_cffre_gg_{stroke:var(--intergalactic-chart-grid-x-axis,#c4c7cf)}.___SHoverRect_cffre_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover,rgba(196,199,207,.3))}"
47
+ ".___SHoverLine_1x0iv_gg_{stroke:var(--intergalactic-chart-grid-x-axis,#c4c7cf)}.___SHoverRect_1x0iv_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover,rgba(196,199,207,.3))}"
48
48
  /*__inner_css_end__*/
49
- , "cffre_gg_")
49
+ , "1x0iv_gg_")
50
50
  /*__reshadow_css_end__*/
51
51
  , {
52
- "__SHoverLine": "___SHoverLine_cffre_gg_",
53
- "__SHoverRect": "___SHoverRect_cffre_gg_"
52
+ "__SHoverLine": "___SHoverLine_1x0iv_gg_",
53
+ "__SHoverRect": "___SHoverRect_1x0iv_gg_"
54
54
  });
55
55
 
56
56
  var Hover = /*#__PURE__*/function (_Component) {
package/lib/cjs/Line.js CHANGED
@@ -46,17 +46,17 @@ var style = (
46
46
  /*__reshadow_css_start__*/
47
47
  _core.sstyled.insert(
48
48
  /*__inner_css_start__*/
49
- ".___SLine_byqcx_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-blue,#2bb3ff);transition-property:d;transition-duration:var(--duration_byqcx);transition-timing-function:ease-in-out}.___SLine_byqcx_gg_.__color_byqcx_gg_{stroke:var(--color_byqcx)}.___SLine_byqcx_gg_.__hide_byqcx_gg_{display:none}.___SNull_byqcx_gg_{fill:transparent;stroke:var(-intergalactic-border-primary);stroke-dasharray:4}.___SNull_byqcx_gg_.__hide_byqcx_gg_{display:none}"
49
+ ".___SLine_1rjfy_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-blue,#2bb3ff);transition-property:d;transition-duration:var(--duration_1rjfy);transition-timing-function:ease-in-out}.___SLine_1rjfy_gg_.__color_1rjfy_gg_{stroke:var(--color_1rjfy)}.___SLine_1rjfy_gg_.__hide_1rjfy_gg_{display:none}.___SNull_1rjfy_gg_{fill:transparent;stroke:var(-intergalactic-border-primary);stroke-dasharray:4}.___SNull_1rjfy_gg_.__hide_1rjfy_gg_{display:none}"
50
50
  /*__inner_css_end__*/
51
- , "byqcx_gg_")
51
+ , "1rjfy_gg_")
52
52
  /*__reshadow_css_end__*/
53
53
  , {
54
- "__SLine": "___SLine_byqcx_gg_",
55
- "--duration": "--duration_byqcx",
56
- "_color": "__color_byqcx_gg_",
57
- "--color": "--color_byqcx",
58
- "_hide": "__hide_byqcx_gg_",
59
- "__SNull": "___SNull_byqcx_gg_"
54
+ "__SLine": "___SLine_1rjfy_gg_",
55
+ "--duration": "--duration_1rjfy",
56
+ "_color": "__color_1rjfy_gg_",
57
+ "--color": "--color_1rjfy",
58
+ "_hide": "__hide_1rjfy_gg_",
59
+ "__SNull": "___SNull_1rjfy_gg_"
60
60
  });
61
61
 
62
62
  var LineRoot = /*#__PURE__*/function (_Component) {
package/lib/cjs/Plot.js CHANGED
@@ -58,13 +58,13 @@ var style = (
58
58
  /*__reshadow_css_start__*/
59
59
  _core.sstyled.insert(
60
60
  /*__inner_css_start__*/
61
- ".___SPlot_1ii1w_gg_{overflow:hidden}.___SPlot_1ii1w_gg_:active,.___SPlot_1ii1w_gg_:focus{outline:0;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_1ii1w_gg_.__keyboardFocused_1ii1w_gg_{border:1px solid var(--intergalactic-chart-palette-order-blue-second-order,#008ff8);box-shadow:var(--intergalactic-keyboard-focus,0 0 0 3px rgba(0,143,248,.3))}"
61
+ ".___SPlot_5dzp6_gg_{overflow:hidden}.___SPlot_5dzp6_gg_:active,.___SPlot_5dzp6_gg_:focus{outline:0;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_5dzp6_gg_.__keyboardFocused_5dzp6_gg_{border:1px solid var(--intergalactic-chart-palette-order-blue-second-order,#008ff8);box-shadow:var(--intergalactic-keyboard-focus,0 0 0 3px rgba(0,143,248,.3))}"
62
62
  /*__inner_css_end__*/
63
- , "1ii1w_gg_")
63
+ , "5dzp6_gg_")
64
64
  /*__reshadow_css_end__*/
65
65
  , {
66
- "__SPlot": "___SPlot_1ii1w_gg_",
67
- "_keyboardFocused": "__keyboardFocused_1ii1w_gg_"
66
+ "__SPlot": "___SPlot_5dzp6_gg_",
67
+ "_keyboardFocused": "__keyboardFocused_5dzp6_gg_"
68
68
  });
69
69
 
70
70
  var PlotRoot = /*#__PURE__*/function (_Component) {
@@ -60,20 +60,20 @@ var style = (
60
60
  /*__reshadow_css_start__*/
61
61
  _core.sstyled.insert(
62
62
  /*__inner_css_start__*/
63
- ".___SRadian_nh54w_gg_{cursor:pointer;fill:var(--intergalactic-chart-palette-order-blue-second-order,#008ff8)}.___SLine_nh54w_gg_{stroke:var(--intergalactic-chart-palette-order-blue-second-order,#008ff8)}.___SLine_nh54w_gg_.__color_nh54w_gg_{stroke:var(--color_nh54w)}.___SCap_nh54w_gg_{transition:r .1s}.___SLabel_nh54w_gg_{fill:var(--color_nh54w);cursor:var(--text-cursor_nh54w)}.___SRadian_nh54w_gg_:hover .___SLabel_nh54w_gg_{fill:var(--color-hovered_nh54w)}@media (prefers-reduced-motion){.___SLineCap_nh54w_gg_{transition:none}}"
63
+ ".___SRadian_1brtg_gg_{cursor:pointer;fill:var(--intergalactic-chart-palette-order-blue-second-order,#008ff8)}.___SLine_1brtg_gg_{stroke:var(--intergalactic-chart-palette-order-blue-second-order,#008ff8)}.___SLine_1brtg_gg_.__color_1brtg_gg_{stroke:var(--color_1brtg)}.___SCap_1brtg_gg_{transition:r .1s}.___SLabel_1brtg_gg_{fill:var(--color_1brtg);cursor:var(--text-cursor_1brtg)}.___SRadian_1brtg_gg_:hover .___SLabel_1brtg_gg_{fill:var(--color-hovered_1brtg)}@media (prefers-reduced-motion){.___SLineCap_1brtg_gg_{transition:none}}"
64
64
  /*__inner_css_end__*/
65
- , "nh54w_gg_")
65
+ , "1brtg_gg_")
66
66
  /*__reshadow_css_end__*/
67
67
  , {
68
- "__SRadian": "___SRadian_nh54w_gg_",
69
- "__SLine": "___SLine_nh54w_gg_",
70
- "_color": "__color_nh54w_gg_",
71
- "--color": "--color_nh54w",
72
- "__SCap": "___SCap_nh54w_gg_",
73
- "__SLabel": "___SLabel_nh54w_gg_",
74
- "--text-cursor": "--text-cursor_nh54w",
75
- "--color-hovered": "--color-hovered_nh54w",
76
- "__SLineCap": "___SLineCap_nh54w_gg_"
68
+ "__SRadian": "___SRadian_1brtg_gg_",
69
+ "__SLine": "___SLine_1brtg_gg_",
70
+ "_color": "__color_1brtg_gg_",
71
+ "--color": "--color_1brtg",
72
+ "__SCap": "___SCap_1brtg_gg_",
73
+ "__SLabel": "___SLabel_1brtg_gg_",
74
+ "--text-cursor": "--text-cursor_1brtg",
75
+ "--color-hovered": "--color-hovered_1brtg",
76
+ "__SLineCap": "___SLineCap_1brtg_gg_"
77
77
  });
78
78
  var baseAngle = -Math.PI / 2; // The top vertical line
79
79
 
@@ -42,19 +42,19 @@ var style = (
42
42
  /*__reshadow_css_start__*/
43
43
  _core.sstyled.insert(
44
44
  /*__inner_css_start__*/
45
- ".___SReferenceLine_1e2tq_gg_{fill:none;stroke:var(--intergalactic-chart-grid-x-axis,#c4c7cf)}.___STitle_1e2tq_gg_{font-size:var(--intergalactic-fs-100,12px);fill:var(--intergalactic-chart-grid-text-label,#6c6e79);transform-origin:var(--transform-origin_1e2tq)}.___STitle_1e2tq_gg_._position_top_1e2tq_gg_{text-anchor:middle}.___STitle_1e2tq_gg_._position_bottom_1e2tq_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_1e2tq_gg_._position_right_1e2tq_gg_{transform:rotate(-90deg);alignment-baseline:middle;text-anchor:middle}.___STitle_1e2tq_gg_._position_left_1e2tq_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___SBackground_1e2tq_gg_{fill:var(--intergalactic-chart-grid-period-bg,rgba(196,199,207,.2))}"
45
+ ".___SReferenceLine_153xq_gg_{fill:none;stroke:var(--intergalactic-chart-grid-x-axis,#c4c7cf)}.___STitle_153xq_gg_{font-size:var(--intergalactic-fs-100,12px);fill:var(--intergalactic-chart-grid-text-label,#6c6e79);transform-origin:var(--transform-origin_153xq)}.___STitle_153xq_gg_._position_top_153xq_gg_{text-anchor:middle}.___STitle_153xq_gg_._position_bottom_153xq_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_153xq_gg_._position_right_153xq_gg_{transform:rotate(-90deg);alignment-baseline:middle;text-anchor:middle}.___STitle_153xq_gg_._position_left_153xq_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___SBackground_153xq_gg_{fill:var(--intergalactic-chart-grid-period-bg,rgba(196,199,207,.2))}"
46
46
  /*__inner_css_end__*/
47
- , "1e2tq_gg_")
47
+ , "153xq_gg_")
48
48
  /*__reshadow_css_end__*/
49
49
  , {
50
- "__SReferenceLine": "___SReferenceLine_1e2tq_gg_",
51
- "__STitle": "___STitle_1e2tq_gg_",
52
- "--transform-origin": "--transform-origin_1e2tq",
53
- "_position_top": "_position_top_1e2tq_gg_",
54
- "_position_bottom": "_position_bottom_1e2tq_gg_",
55
- "_position_right": "_position_right_1e2tq_gg_",
56
- "_position_left": "_position_left_1e2tq_gg_",
57
- "__SBackground": "___SBackground_1e2tq_gg_"
50
+ "__SReferenceLine": "___SReferenceLine_153xq_gg_",
51
+ "__STitle": "___STitle_153xq_gg_",
52
+ "--transform-origin": "--transform-origin_153xq",
53
+ "_position_top": "_position_top_153xq_gg_",
54
+ "_position_bottom": "_position_bottom_153xq_gg_",
55
+ "_position_right": "_position_right_153xq_gg_",
56
+ "_position_left": "_position_left_153xq_gg_",
57
+ "__SBackground": "___SBackground_153xq_gg_"
58
58
  });
59
59
  var side2direction = {
60
60
  left: 'vertical',
@@ -52,16 +52,16 @@ var style = (
52
52
  /*__reshadow_css_start__*/
53
53
  _core.sstyled.insert(
54
54
  /*__inner_css_start__*/
55
- ".___SScatterPlot_16r5l_gg_{fill:var(--intergalactic-chart-palette-order-blue,#2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_16r5l);transition-timing-function:ease-in-out;opacity:.5}.___SScatterPlot_16r5l_gg_:hover{opacity:.8}.___SScatterPlot_16r5l_gg_.__color_16r5l_gg_{fill:var(--color_16r5l)}.___SValue_16r5l_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50,10px);stroke:var(--intergalactic-chart-palette-order-blue-second-order,#008ff8)}.___SValue_16r5l_gg_.__color_16r5l_gg_{stroke:var(--color_16r5l)}"
55
+ ".___SScatterPlot_17cjn_gg_{fill:var(--intergalactic-chart-palette-order-blue,#2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_17cjn);transition-timing-function:ease-in-out;opacity:.5}.___SScatterPlot_17cjn_gg_:hover{opacity:.8}.___SScatterPlot_17cjn_gg_.__color_17cjn_gg_{fill:var(--color_17cjn)}.___SValue_17cjn_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50,10px);stroke:var(--intergalactic-chart-palette-order-blue-second-order,#008ff8)}.___SValue_17cjn_gg_.__color_17cjn_gg_{stroke:var(--color_17cjn)}"
56
56
  /*__inner_css_end__*/
57
- , "16r5l_gg_")
57
+ , "17cjn_gg_")
58
58
  /*__reshadow_css_end__*/
59
59
  , {
60
- "__SScatterPlot": "___SScatterPlot_16r5l_gg_",
61
- "--duration": "--duration_16r5l",
62
- "_color": "__color_16r5l_gg_",
63
- "--color": "--color_16r5l",
64
- "__SValue": "___SValue_16r5l_gg_"
60
+ "__SScatterPlot": "___SScatterPlot_17cjn_gg_",
61
+ "--duration": "--duration_17cjn",
62
+ "_color": "__color_17cjn_gg_",
63
+ "--color": "--color_17cjn",
64
+ "__SValue": "___SValue_17cjn_gg_"
65
65
  });
66
66
 
67
67
  var ScatterPlotRoot = /*#__PURE__*/function (_Component) {
@@ -60,17 +60,17 @@ var style = (
60
60
  /*__reshadow_css_start__*/
61
61
  _core.sstyled.insert(
62
62
  /*__inner_css_start__*/
63
- ".___STooltip_17u9r_gg_{font-size:var(--intergalactic-fs-100,12px);line-height:var(--intergalactic-lh-100,133%);position:relative;background-color:var(--intergalactic-bg-primary-neutral,#fff);border-radius:var(--intergalactic-rounded-medium,6px);border:1px solid var(--intergalactic-border-secondary,#e0e1e9);box-sizing:border-box;box-shadow:var(--intergalactic-box-shadow-popper,0 1px 12px 0 rgba(25,27,35,.15));padding:var(--intergalactic-spacing-3x,12px)}.___STitle_17u9r_gg_{color:var(--intergalactic-text-secondary,#6c6e79);margin-bottom:var(--intergalactic-spacing-2x,8px)}.___SDotGroup_17u9r_gg_{display:flex;align-items:center}.___SDot_17u9r_gg_{width:8px;height:8px;border-radius:50%;margin-right:var(--intergalactic-spacing-2x,8px);background:var(--intergalactic-icon-secondary-info,#2bb3ff)}.___SDot_17u9r_gg_.__color_17u9r_gg_{background:var(--color_17u9r)}"
63
+ ".___STooltip_13lja_gg_{font-size:var(--intergalactic-fs-100,12px);line-height:var(--intergalactic-lh-100,133%);position:relative;background-color:var(--intergalactic-bg-primary-neutral,#fff);border-radius:var(--intergalactic-rounded-medium,6px);border:1px solid var(--intergalactic-border-secondary,#e0e1e9);box-sizing:border-box;box-shadow:var(--intergalactic-box-shadow-popper,0 1px 12px 0 rgba(25,27,35,.15));padding:var(--intergalactic-spacing-3x,12px)}.___STitle_13lja_gg_{color:var(--intergalactic-text-secondary,#6c6e79);margin-bottom:var(--intergalactic-spacing-2x,8px)}.___SDotGroup_13lja_gg_{display:flex;align-items:center}.___SDot_13lja_gg_{width:8px;height:8px;border-radius:50%;margin-right:var(--intergalactic-spacing-2x,8px);background:var(--intergalactic-icon-secondary-info,#2bb3ff)}.___SDot_13lja_gg_.__color_13lja_gg_{background:var(--color_13lja)}"
64
64
  /*__inner_css_end__*/
65
- , "17u9r_gg_")
65
+ , "13lja_gg_")
66
66
  /*__reshadow_css_end__*/
67
67
  , {
68
- "__STooltip": "___STooltip_17u9r_gg_",
69
- "__STitle": "___STitle_17u9r_gg_",
70
- "__SDotGroup": "___SDotGroup_17u9r_gg_",
71
- "__SDot": "___SDot_17u9r_gg_",
72
- "_color": "__color_17u9r_gg_",
73
- "--color": "--color_17u9r"
68
+ "__STooltip": "___STooltip_13lja_gg_",
69
+ "__STitle": "___STitle_13lja_gg_",
70
+ "__SDotGroup": "___SDotGroup_13lja_gg_",
71
+ "__SDot": "___SDot_13lja_gg_",
72
+ "_color": "__color_13lja_gg_",
73
+ "--color": "--color_13lja"
74
74
  });
75
75
 
76
76
  var TooltipRoot = /*#__PURE__*/function (_Component) {
package/lib/cjs/Venn.js CHANGED
@@ -48,16 +48,16 @@ var style = (
48
48
  /*__reshadow_css_start__*/
49
49
  _core.sstyled.insert(
50
50
  /*__inner_css_start__*/
51
- ".___SCircle_g31rb_gg_{fill:var(--intergalactic-chart-palette-order-green,#59ddaa);stroke:var(--intergalactic-chart-grid-border,#fff);stroke-width:2px;fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_g31rb);transition-timing-function:ease-in-out}.___SCircle_g31rb_gg_:hover{fill-opacity:.7}.___SCircle_g31rb_gg_.__color_g31rb_gg_{fill:var(--color_g31rb)}.___SIntersection_g31rb_gg_{stroke:var(--intergalactic-chart-grid-border,#fff);stroke-width:2px;fill-opacity:0}.___SIntersection_g31rb_gg_:hover{fill-opacity:.1}"
51
+ ".___SCircle_9soeo_gg_{fill:var(--intergalactic-chart-palette-order-green,#59ddaa);stroke:var(--intergalactic-chart-grid-border,#fff);stroke-width:2px;fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_9soeo);transition-timing-function:ease-in-out}.___SCircle_9soeo_gg_:hover{fill-opacity:.7}.___SCircle_9soeo_gg_.__color_9soeo_gg_{fill:var(--color_9soeo)}.___SIntersection_9soeo_gg_{stroke:var(--intergalactic-chart-grid-border,#fff);stroke-width:2px;fill-opacity:0}.___SIntersection_9soeo_gg_:hover{fill-opacity:.1}"
52
52
  /*__inner_css_end__*/
53
- , "g31rb_gg_")
53
+ , "9soeo_gg_")
54
54
  /*__reshadow_css_end__*/
55
55
  , {
56
- "__SCircle": "___SCircle_g31rb_gg_",
57
- "--duration": "--duration_g31rb",
58
- "_color": "__color_g31rb_gg_",
59
- "--color": "--color_g31rb",
60
- "__SIntersection": "___SIntersection_g31rb_gg_"
56
+ "__SCircle": "___SCircle_9soeo_gg_",
57
+ "--duration": "--duration_9soeo",
58
+ "_color": "__color_9soeo_gg_",
59
+ "--color": "--color_9soeo",
60
+ "__SIntersection": "___SIntersection_9soeo_gg_"
61
61
  });
62
62
 
63
63
  var VennRoot = /*#__PURE__*/function (_Component) {
@@ -21,7 +21,7 @@ var _react = _interopRequireDefault(require("react"));
21
21
 
22
22
  var _locale = require("./locale");
23
23
 
24
- var _translations = require("./translations/module/translations");
24
+ var _intergalacticDynamicLocales = require("./translations/module/__intergalactic-dynamic-locales");
25
25
 
26
26
  var _WithI18n = require("@semcore/utils/lib/enhances/WithI18n");
27
27
 
@@ -40,12 +40,12 @@ var styles = (
40
40
  /*__reshadow_css_start__*/
41
41
  _core.sstyled.insert(
42
42
  /*__inner_css_start__*/
43
- ".___SPlotA11yModule_6qnh5_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_6qnh5_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}"
43
+ ".___SPlotA11yModule_1cv35_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_1cv35_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}"
44
44
  /*__inner_css_end__*/
45
- , "6qnh5_gg_")
45
+ , "1cv35_gg_")
46
46
  /*__reshadow_css_end__*/
47
47
  , {
48
- "__SPlotA11yModule": "___SPlotA11yModule_6qnh5_gg_"
48
+ "__SPlotA11yModule": "___SPlotA11yModule_1cv35_gg_"
49
49
  });
50
50
  var globalWasFocused = false;
51
51
  var globalNavWithKeyboard = false;
@@ -91,12 +91,10 @@ var PlotA11yModule = function PlotA11yModule(props) {
91
91
  var locale = _react["default"].useMemo(function () {
92
92
  var _props$locale;
93
93
 
94
- return (0, _locale.normalizeLocale)((_props$locale = props.locale) !== null && _props$locale !== void 0 ? _props$locale : contextLocale, _translations.translations);
94
+ return (0, _locale.normalizeLocale)((_props$locale = props.locale) !== null && _props$locale !== void 0 ? _props$locale : contextLocale, _intergalacticDynamicLocales.localizedMessages);
95
95
  }, [props.locale]);
96
96
 
97
- var texts = _react["default"].useMemo(function () {
98
- return locale ? _translations.translations[locale] : {};
99
- }, [locale]);
97
+ var t = (0, _WithI18n.useI18n)(_intergalacticDynamicLocales.localizedMessages, locale);
100
98
 
101
99
  _react["default"].useEffect(function () {
102
100
  var _props$plotRef$curren;
@@ -175,7 +173,7 @@ var PlotA11yModule = function PlotA11yModule(props) {
175
173
  return _ref3 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SPlotA11yModule, _ref3.cn("SPlotA11yModule", _objectSpread({}, (0, _core.assignProps)({
176
174
  "tabIndex": 0,
177
175
  "aria-live": "assertive"
178
- }, _ref))), texts.failed);
176
+ }, _ref))), t('failed'));
179
177
  }
180
178
 
181
179
  if (loading) {
@@ -184,13 +182,13 @@ var PlotA11yModule = function PlotA11yModule(props) {
184
182
  return _ref4 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SPlotA11yModule, _ref4.cn("SPlotA11yModule", _objectSpread({}, (0, _core.assignProps)({
185
183
  "tabIndex": 0,
186
184
  "aria-live": "polite"
187
- }, _ref))), texts.loading);
185
+ }, _ref))), t('loading'));
188
186
  }
189
187
 
190
188
  return _ref5 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SPlotA11yModule, _ref5.cn("SPlotA11yModule", _objectSpread({}, (0, _core.assignProps)({
191
189
  "tabIndex": 0,
192
190
  "onFocus": hadnleHiddenElementsFocus
193
- }, _ref))), texts.disabled);
191
+ }, _ref))), t('disabled'));
194
192
  };
195
193
 
196
194
  exports.PlotA11yModule = PlotA11yModule;
@@ -1 +1 @@
1
- {"version":3,"file":"PlotA11yModule.js","names":["globalWasFocused","globalNavWithKeyboard","PlotA11yModule","props","SPlotA11yModule","Box","React","useState","wasFocused","setWasFocused","navWithKeyboard","setNavWithKeyboard","plotA11yView","setPlotA11yView","hadnleHiddenElementsFocus","useCallback","loading","setLoading","error","setError","contextLocale","useContext","I18nContext","locale","useMemo","normalizeLocale","translations","texts","useEffect","focusListener","plotRef","current","addEventListener","removeEventListener","keyboardListener","event","navigationKeys","includes","key","document","body","shouldDisplayView","then","PlotA11yView","Component","console","sstyled","styles","failed","disabled"],"sources":["../../../src/a11y/PlotA11yModule.tsx"],"sourcesContent":["import React from 'react';\nimport { DataStructureHints, PartialDataSummarizationConfig } from './hints';\nimport { normalizeLocale } from './locale';\nimport { translations } from './translations/module/translations';\nimport { Root, sstyled } from '@semcore/core';\nimport styles from '../style/plotA11yModule.shadow.css';\nimport { Context as I18nContext } from '@semcore/utils/lib/enhances/WithI18n';\nimport { Box } from '@semcore/flex-box';\n\nlet globalWasFocused = false;\nlet globalNavWithKeyboard = false;\n\nexport type A11yViewProps = {\n id: string;\n data: Record<string, unknown>[];\n hints: DataStructureHints;\n plotLabel: string;\n locale: NavigatorLanguage['language'];\n config: PartialDataSummarizationConfig;\n // eslint-disable-next-line ssr-friendly/no-dom-globals-in-module-scope\n plotRef: React.RefObject<Element>;\n};\n\nexport const PlotA11yModule: React.FC<A11yViewProps> = (props) => {\n const SPlotA11yModule = Root;\n const [wasFocused, setWasFocused] = React.useState(globalWasFocused);\n const [navWithKeyboard, setNavWithKeyboard] = React.useState(globalNavWithKeyboard);\n const [plotA11yView, setPlotA11yView] = React.useState<{\n Component: React.FC<A11yViewProps>;\n } | null>(null);\n\n const hadnleHiddenElementsFocus = React.useCallback(() => {\n setWasFocused(true);\n setNavWithKeyboard(true);\n }, []);\n\n const [loading, setLoading] = React.useState(false);\n const [error, setError] = React.useState<Error | null>(null);\n\n const contextLocale = React.useContext(I18nContext);\n const locale = React.useMemo(\n () => normalizeLocale(props.locale ?? contextLocale, translations),\n [props.locale],\n );\n const texts = React.useMemo(() => (locale ? translations[locale] : {}), [locale]);\n\n React.useEffect(() => {\n if (wasFocused) return;\n const focusListener = () => {\n globalWasFocused = true;\n setWasFocused(true);\n };\n\n props.plotRef.current?.addEventListener('focus', focusListener);\n return () => props.plotRef.current?.removeEventListener('focus', focusListener);\n }, [wasFocused, props.plotRef]);\n React.useEffect(() => {\n if (navWithKeyboard) return;\n const keyboardListener = (event: Event) => {\n const navigationKeys = [\n 'Tab',\n 'ArrowUp',\n 'ArrowLeft',\n 'ArrowDown',\n 'ArrowRight',\n 'ArrowUp',\n 'ArrowLeft',\n ];\n if ('key' in event && navigationKeys.includes((event as KeyboardEvent).key)) {\n setNavWithKeyboard(true);\n globalNavWithKeyboard = true;\n }\n };\n document.body?.addEventListener('keydown', keyboardListener);\n return () => document.body?.removeEventListener('keydown', keyboardListener);\n }, [navWithKeyboard]);\n\n const shouldDisplayView = wasFocused && navWithKeyboard;\n\n React.useEffect(() => {\n if (!shouldDisplayView) return;\n if (plotA11yView) return;\n if (loading) return;\n\n setLoading(true);\n\n import('./PlotA11yView')\n .then(({ PlotA11yView }) => {\n setPlotA11yView({ Component: PlotA11yView });\n setLoading(false);\n setError(null);\n })\n .catch((error) => {\n // eslint-disable-next-line no-console\n console.error(error);\n setError(error);\n });\n }, [plotA11yView, shouldDisplayView, loading, setLoading]);\n\n if (plotA11yView) {\n return sstyled(styles)(\n <plotA11yView.Component {...props} locale={locale!} />,\n ) as React.ReactElement;\n }\n\n if (error) {\n return sstyled(styles)(\n <SPlotA11yModule render={Box} tabIndex={0} aria-live=\"assertive\">\n {texts.failed}\n </SPlotA11yModule>,\n ) as React.ReactElement;\n }\n if (loading) {\n return sstyled(styles)(\n <SPlotA11yModule render={Box} tabIndex={0} aria-live=\"polite\">\n {texts.loading}\n </SPlotA11yModule>,\n ) as React.ReactElement;\n }\n\n return sstyled(styles)(\n <SPlotA11yModule render={Box} tabIndex={0} onFocus={hadnleHiddenElementsFocus}>\n {texts.disabled}\n </SPlotA11yModule>,\n ) as React.ReactElement;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AAIA;;AAJA;;AAEA;;AACA;;AAGA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAIA,gBAAgB,GAAG,KAAvB;AACA,IAAIC,qBAAqB,GAAG,KAA5B;;AAaO,IAAMC,cAAuC,GAAG,SAA1CA,cAA0C,CAACC,KAAD,EAAW;EAAA;EAAA;;EAChE,IAAMC,eAAe,GAiGMC,YAjG3B;;EACA,sBAAoCC,iBAAA,CAAMC,QAAN,CAAeP,gBAAf,CAApC;EAAA;EAAA,IAAOQ,UAAP;EAAA,IAAmBC,aAAnB;;EACA,uBAA8CH,iBAAA,CAAMC,QAAN,CAAeN,qBAAf,CAA9C;EAAA;EAAA,IAAOS,eAAP;EAAA,IAAwBC,kBAAxB;;EACA,uBAAwCL,iBAAA,CAAMC,QAAN,CAE9B,IAF8B,CAAxC;EAAA;EAAA,IAAOK,YAAP;EAAA,IAAqBC,eAArB;;EAIA,IAAMC,yBAAyB,GAAGR,iBAAA,CAAMS,WAAN,CAAkB,YAAM;IACxDN,aAAa,CAAC,IAAD,CAAb;IAC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,CAAR;IACD,CAVH;EAWD,CAlBD,EAkBG,CAACN,YAAD,EAAe6B,iBAAf,EAAkCzB,OAAlC,EAA2CC,UAA3C,CAlBH;;EAoBA,IAAIL,YAAJ,EAAkB;IAAA;;IAChB,eAAO,IAAAkC,aAAA,EAAQC,MAAR,CAAP,eACE,gCAAC,YAAD,CAAc,SAAd,gCAA4B5C,KAA5B;MAAmC,MAAM,EAAEoB;IAA3C,GADF;EAGD;;EAED,IAAIL,KAAJ,EAAW;IAAA;;IACT,eAAO,IAAA4B,aAAA,EAAQC,MAAR,CAAP,eACE,gCAAC,eAAD;MAAA,YAAwC,CAAxC;MAAA,aAAqD;IAArD,YACGpB,KAAK,CAACqB,MADT,CADF;EAKD;;EACD,IAAIhC,OAAJ,EAAa;IAAA;;IACX,eAAO,IAAA8B,aAAA,EAAQC,MAAR,CAAP,eACE,gCAAC,eAAD;MAAA,YAAwC,CAAxC;MAAA,aAAqD;IAArD,YACGpB,KAAK,CAACX,OADT,CADF;EAKD;;EAED,eAAO,IAAA8B,aAAA,EAAQC,MAAR,CAAP,eACE,gCAAC,eAAD;IAAA,YAAwC,CAAxC;IAAA,WAAoDjC;EAApD,YACGa,KAAK,CAACsB,QADT,CADF;AAKD,CAtGM"}
1
+ {"version":3,"file":"PlotA11yModule.js","names":["globalWasFocused","globalNavWithKeyboard","PlotA11yModule","props","SPlotA11yModule","Box","React","useState","wasFocused","setWasFocused","navWithKeyboard","setNavWithKeyboard","plotA11yView","setPlotA11yView","hadnleHiddenElementsFocus","useCallback","loading","setLoading","error","setError","contextLocale","useContext","I18nContext","locale","useMemo","normalizeLocale","localizedMessages","t","useI18n","useEffect","focusListener","plotRef","current","addEventListener","removeEventListener","keyboardListener","event","navigationKeys","includes","key","document","body","shouldDisplayView","then","PlotA11yView","Component","console","sstyled","styles"],"sources":["../../../src/a11y/PlotA11yModule.tsx"],"sourcesContent":["import React from 'react';\nimport { DataStructureHints, PartialDataSummarizationConfig } from './hints';\nimport { normalizeLocale } from './locale';\nimport { localizedMessages } from './translations/module/__intergalactic-dynamic-locales';\nimport { Root, sstyled } from '@semcore/core';\nimport styles from '../style/plotA11yModule.shadow.css';\nimport { Context as I18nContext, useI18n } from '@semcore/utils/lib/enhances/WithI18n';\nimport { Box } from '@semcore/flex-box';\n\nlet globalWasFocused = false;\nlet globalNavWithKeyboard = false;\n\nexport type A11yViewProps = {\n id: string;\n data: Record<string, unknown>[];\n hints: DataStructureHints;\n plotLabel: string;\n locale: NavigatorLanguage['language'];\n config: PartialDataSummarizationConfig;\n // eslint-disable-next-line ssr-friendly/no-dom-globals-in-module-scope\n plotRef: React.RefObject<Element>;\n};\n\nexport const PlotA11yModule: React.FC<A11yViewProps> = (props) => {\n const SPlotA11yModule = Root;\n const [wasFocused, setWasFocused] = React.useState(globalWasFocused);\n const [navWithKeyboard, setNavWithKeyboard] = React.useState(globalNavWithKeyboard);\n const [plotA11yView, setPlotA11yView] = React.useState<{\n Component: React.FC<A11yViewProps>;\n } | null>(null);\n\n const hadnleHiddenElementsFocus = React.useCallback(() => {\n setWasFocused(true);\n setNavWithKeyboard(true);\n }, []);\n\n const [loading, setLoading] = React.useState(false);\n const [error, setError] = React.useState<Error | null>(null);\n\n const contextLocale = React.useContext(I18nContext);\n const locale = React.useMemo(\n () => normalizeLocale(props.locale ?? contextLocale, localizedMessages),\n [props.locale],\n );\n const t = useI18n(localizedMessages, locale);\n\n React.useEffect(() => {\n if (wasFocused) return;\n const focusListener = () => {\n globalWasFocused = true;\n setWasFocused(true);\n };\n\n props.plotRef.current?.addEventListener('focus', focusListener);\n return () => props.plotRef.current?.removeEventListener('focus', focusListener);\n }, [wasFocused, props.plotRef]);\n React.useEffect(() => {\n if (navWithKeyboard) return;\n const keyboardListener = (event: Event) => {\n const navigationKeys = [\n 'Tab',\n 'ArrowUp',\n 'ArrowLeft',\n 'ArrowDown',\n 'ArrowRight',\n 'ArrowUp',\n 'ArrowLeft',\n ];\n if ('key' in event && navigationKeys.includes((event as KeyboardEvent).key)) {\n setNavWithKeyboard(true);\n globalNavWithKeyboard = true;\n }\n };\n document.body?.addEventListener('keydown', keyboardListener);\n return () => document.body?.removeEventListener('keydown', keyboardListener);\n }, [navWithKeyboard]);\n\n const shouldDisplayView = wasFocused && navWithKeyboard;\n\n React.useEffect(() => {\n if (!shouldDisplayView) return;\n if (plotA11yView) return;\n if (loading) return;\n\n setLoading(true);\n\n import('./PlotA11yView')\n .then(({ PlotA11yView }) => {\n setPlotA11yView({ Component: PlotA11yView });\n setLoading(false);\n setError(null);\n })\n .catch((error) => {\n // eslint-disable-next-line no-console\n console.error(error);\n setError(error);\n });\n }, [plotA11yView, shouldDisplayView, loading, setLoading]);\n\n if (plotA11yView) {\n return sstyled(styles)(\n <plotA11yView.Component {...props} locale={locale!} />,\n ) as React.ReactElement;\n }\n\n if (error) {\n return sstyled(styles)(\n <SPlotA11yModule render={Box} tabIndex={0} aria-live=\"assertive\">\n {t('failed')}\n </SPlotA11yModule>,\n ) as React.ReactElement;\n }\n if (loading) {\n return sstyled(styles)(\n <SPlotA11yModule render={Box} tabIndex={0} aria-live=\"polite\">\n {t('loading')}\n </SPlotA11yModule>,\n ) as React.ReactElement;\n }\n\n return sstyled(styles)(\n <SPlotA11yModule render={Box} tabIndex={0} onFocus={hadnleHiddenElementsFocus}>\n {t('disabled')}\n </SPlotA11yModule>,\n ) as React.ReactElement;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AAIA;;AAJA;;AAEA;;AACA;;AAGA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAIA,gBAAgB,GAAG,KAAvB;AACA,IAAIC,qBAAqB,GAAG,KAA5B;;AAaO,IAAMC,cAAuC,GAAG,SAA1CA,cAA0C,CAACC,KAAD,EAAW;EAAA;EAAA;;EAChE,IAAMC,eAAe,GAiGMC,YAjG3B;;EACA,sBAAoCC,iBAAA,CAAMC,QAAN,CAAeP,gBAAf,CAApC;EAAA;EAAA,IAAOQ,UAAP;EAAA,IAAmBC,aAAnB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