intergalactic 15.93.0-prerelease.0 → 15.94.0-prerelease.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 (207) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/accordion/lib/cjs/Accordion.js +7 -7
  3. package/accordion/lib/es6/Accordion.js +7 -7
  4. package/breadcrumbs/lib/cjs/Breadcrumbs.js +25 -24
  5. package/breadcrumbs/lib/cjs/Breadcrumbs.js.map +1 -1
  6. package/breadcrumbs/lib/cjs/style/breadcrumbs.shadow.css +48 -36
  7. package/breadcrumbs/lib/es6/Breadcrumbs.js +25 -24
  8. package/breadcrumbs/lib/es6/Breadcrumbs.js.map +1 -1
  9. package/breadcrumbs/lib/es6/style/breadcrumbs.shadow.css +48 -36
  10. package/button/lib/cjs/Button.js +95 -55
  11. package/button/lib/cjs/Button.js.map +1 -1
  12. package/button/lib/es6/Button.js +95 -55
  13. package/button/lib/es6/Button.js.map +1 -1
  14. package/card/index.d.ts +5 -1
  15. package/card/lib/cjs/Card.js +17 -13
  16. package/card/lib/cjs/Card.js.map +1 -1
  17. package/card/lib/cjs/index.d.js.map +1 -1
  18. package/card/lib/es6/Card.js +17 -13
  19. package/card/lib/es6/Card.js.map +1 -1
  20. package/card/lib/es6/index.d.js.map +1 -1
  21. package/card/lib/types/index.d.ts +5 -1
  22. package/carousel/lib/cjs/Carousel.js +19 -19
  23. package/carousel/lib/cjs/style/carousel.shadow.css +1 -1
  24. package/carousel/lib/es6/Carousel.js +19 -19
  25. package/carousel/lib/es6/style/carousel.shadow.css +1 -1
  26. package/color-picker/lib/cjs/ColorPicker.js +23 -23
  27. package/color-picker/lib/cjs/PaletteManager.js +23 -23
  28. package/color-picker/lib/cjs/components/InputColor.js +23 -23
  29. package/color-picker/lib/es6/ColorPicker.js +23 -23
  30. package/color-picker/lib/es6/PaletteManager.js +23 -23
  31. package/color-picker/lib/es6/components/InputColor.js +23 -23
  32. package/components.json +31 -30
  33. package/d3-chart/{ReferenceLine.d.ts → Reference.d.ts} +31 -5
  34. package/d3-chart/index.d.ts +1 -2
  35. package/d3-chart/lib/cjs/Area.js +11 -11
  36. package/d3-chart/lib/cjs/Axis.js +14 -14
  37. package/d3-chart/lib/cjs/Bar.js +10 -10
  38. package/d3-chart/lib/cjs/Bubble.js +12 -12
  39. package/d3-chart/lib/cjs/Donut.js +9 -9
  40. package/d3-chart/lib/cjs/Dots.js +8 -8
  41. package/d3-chart/lib/cjs/HorizontalBar.js +10 -10
  42. package/d3-chart/lib/cjs/Hover.js +3 -3
  43. package/d3-chart/lib/cjs/Line.js +9 -9
  44. package/d3-chart/lib/cjs/Plot.js +3 -3
  45. package/d3-chart/lib/cjs/Radar.js +19 -19
  46. package/d3-chart/lib/cjs/RadialTree.js +11 -11
  47. package/d3-chart/lib/cjs/{ReferenceLine.js → Reference.js} +91 -48
  48. package/d3-chart/lib/cjs/Reference.js.map +1 -0
  49. package/d3-chart/lib/cjs/ScatterPlot.js +9 -9
  50. package/d3-chart/lib/cjs/Tooltip.js +9 -9
  51. package/d3-chart/lib/cjs/Venn.js +9 -9
  52. package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +2 -2
  53. package/d3-chart/lib/cjs/a11y/PlotA11yView.js +2 -2
  54. package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  55. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
  56. package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  57. package/d3-chart/lib/cjs/index.js +14 -2
  58. package/d3-chart/lib/cjs/index.js.map +1 -1
  59. package/d3-chart/lib/{es6/style/reference-line.shadow.css → cjs/style/reference.shadow.css} +8 -0
  60. package/d3-chart/lib/cjs/types/Reference.d.js +2 -0
  61. package/d3-chart/lib/cjs/types/Reference.d.js.map +1 -0
  62. package/d3-chart/lib/cjs/types/index.d.js +4 -11
  63. package/d3-chart/lib/cjs/types/index.d.js.map +1 -1
  64. package/d3-chart/lib/es6/Area.js +11 -11
  65. package/d3-chart/lib/es6/Axis.js +14 -14
  66. package/d3-chart/lib/es6/Bar.js +10 -10
  67. package/d3-chart/lib/es6/Bubble.js +12 -12
  68. package/d3-chart/lib/es6/Donut.js +9 -9
  69. package/d3-chart/lib/es6/Dots.js +8 -8
  70. package/d3-chart/lib/es6/HorizontalBar.js +10 -10
  71. package/d3-chart/lib/es6/Hover.js +3 -3
  72. package/d3-chart/lib/es6/Line.js +9 -9
  73. package/d3-chart/lib/es6/Plot.js +3 -3
  74. package/d3-chart/lib/es6/Radar.js +19 -19
  75. package/d3-chart/lib/es6/RadialTree.js +11 -11
  76. package/d3-chart/lib/es6/{ReferenceLine.js → Reference.js} +88 -47
  77. package/d3-chart/lib/es6/Reference.js.map +1 -0
  78. package/d3-chart/lib/es6/ScatterPlot.js +9 -9
  79. package/d3-chart/lib/es6/Tooltip.js +9 -9
  80. package/d3-chart/lib/es6/Venn.js +9 -9
  81. package/d3-chart/lib/es6/a11y/PlotA11yModule.js +2 -2
  82. package/d3-chart/lib/es6/a11y/PlotA11yView.js +2 -2
  83. package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  84. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
  85. package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  86. package/d3-chart/lib/es6/index.js +1 -1
  87. package/d3-chart/lib/es6/index.js.map +1 -1
  88. package/d3-chart/lib/{cjs/style/reference-line.shadow.css → es6/style/reference.shadow.css} +8 -0
  89. package/d3-chart/lib/es6/types/Reference.d.js +2 -0
  90. package/d3-chart/lib/es6/types/Reference.d.js.map +1 -0
  91. package/d3-chart/lib/es6/types/index.d.js +1 -2
  92. package/d3-chart/lib/es6/types/index.d.js.map +1 -1
  93. package/d3-chart/lib/types/{ReferenceLine.d.ts → Reference.d.ts} +31 -5
  94. package/d3-chart/lib/types/index.d.ts +1 -2
  95. package/data-table/lib/cjs/DataTable.js +37 -37
  96. package/data-table/lib/es6/DataTable.js +37 -37
  97. package/date-picker/lib/cjs/components/Calendar.js +21 -21
  98. package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +29 -29
  99. package/date-picker/lib/cjs/components/InputTrigger.js +29 -29
  100. package/date-picker/lib/cjs/components/PickerAbstract.js +29 -29
  101. package/date-picker/lib/cjs/components/RangePickerAbstract.js +29 -29
  102. package/date-picker/lib/es6/components/Calendar.js +21 -21
  103. package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +29 -29
  104. package/date-picker/lib/es6/components/InputTrigger.js +29 -29
  105. package/date-picker/lib/es6/components/PickerAbstract.js +29 -29
  106. package/date-picker/lib/es6/components/RangePickerAbstract.js +29 -29
  107. package/drag-and-drop/lib/cjs/DragAndDrop.js +16 -16
  108. package/drag-and-drop/lib/es6/DragAndDrop.js +16 -16
  109. package/dropdown/lib/cjs/Dropdown.js +3 -3
  110. package/dropdown/lib/cjs/Dropdown.js.map +1 -1
  111. package/dropdown/lib/es6/Dropdown.js +3 -3
  112. package/dropdown/lib/es6/Dropdown.js.map +1 -1
  113. package/dropdown-menu/lib/cjs/DropdownMenu.js +16 -16
  114. package/dropdown-menu/lib/cjs/styleScrollArea.js +6 -6
  115. package/dropdown-menu/lib/es6/DropdownMenu.js +16 -16
  116. package/dropdown-menu/lib/es6/styleScrollArea.js +6 -6
  117. package/ellipsis/lib/cjs/Ellipsis.js +10 -10
  118. package/ellipsis/lib/es6/Ellipsis.js +10 -10
  119. package/errors/lib/cjs/Error.js +9 -9
  120. package/errors/lib/es6/Error.js +9 -9
  121. package/feature-popover/lib/cjs/FeaturePopover.js +10 -10
  122. package/feature-popover/lib/es6/FeaturePopover.js +10 -10
  123. package/feedback-form/index.d.ts +12 -2
  124. package/feedback-form/lib/cjs/FeedbackForm.js +7 -7
  125. package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js +3 -3
  126. package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js +2 -2
  127. package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +6 -6
  128. package/feedback-form/lib/cjs/index.d.js.map +1 -1
  129. package/feedback-form/lib/es6/FeedbackForm.js +7 -7
  130. package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +3 -3
  131. package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +2 -2
  132. package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +6 -6
  133. package/feedback-form/lib/es6/index.d.js.map +1 -1
  134. package/feedback-form/lib/types/index.d.ts +12 -2
  135. package/fullscreen-modal/lib/cjs/FullscreenModal.js +16 -14
  136. package/fullscreen-modal/lib/cjs/FullscreenModal.js.map +1 -1
  137. package/fullscreen-modal/lib/es6/FullscreenModal.js +16 -14
  138. package/fullscreen-modal/lib/es6/FullscreenModal.js.map +1 -1
  139. package/inline-input/lib/cjs/InlineInput.js +14 -14
  140. package/inline-input/lib/es6/InlineInput.js +14 -14
  141. package/input/index.d.ts +4 -0
  142. package/input/lib/cjs/Input.js +17 -17
  143. package/input/lib/cjs/index.d.js.map +1 -1
  144. package/input/lib/es6/Input.js +17 -17
  145. package/input/lib/es6/index.d.js.map +1 -1
  146. package/input/lib/types/index.d.ts +4 -0
  147. package/input-mask/lib/cjs/InputMask.js +6 -6
  148. package/input-mask/lib/es6/InputMask.js +6 -6
  149. package/input-number/lib/cjs/InputNumber.js +19 -13
  150. package/input-number/lib/cjs/InputNumber.js.map +1 -1
  151. package/input-number/lib/es6/InputNumber.js +19 -13
  152. package/input-number/lib/es6/InputNumber.js.map +1 -1
  153. package/input-tags/lib/cjs/InputTags.js +12 -12
  154. package/input-tags/lib/es6/InputTags.js +12 -12
  155. package/link/lib/cjs/Link.js +75 -35
  156. package/link/lib/cjs/Link.js.map +1 -1
  157. package/link/lib/cjs/style/link.shadow.css +1 -1
  158. package/link/lib/es6/Link.js +75 -35
  159. package/link/lib/es6/Link.js.map +1 -1
  160. package/link/lib/es6/style/link.shadow.css +1 -1
  161. package/package.json +4 -2
  162. package/pagination/lib/cjs/Pagination.js +10 -10
  163. package/pagination/lib/es6/Pagination.js +10 -10
  164. package/popper/lib/cjs/Popper.js +7 -7
  165. package/popper/lib/cjs/Popper.js.map +1 -1
  166. package/popper/lib/es6/Popper.js +7 -7
  167. package/popper/lib/es6/Popper.js.map +1 -1
  168. package/scroll-area/lib/cjs/ScrollArea.js +74 -42
  169. package/scroll-area/lib/cjs/ScrollArea.js.map +1 -1
  170. package/scroll-area/lib/cjs/ScrollBar.js +6 -6
  171. package/scroll-area/lib/cjs/style/scroll-area.shadow.css +9 -3
  172. package/scroll-area/lib/es6/ScrollArea.js +74 -42
  173. package/scroll-area/lib/es6/ScrollArea.js.map +1 -1
  174. package/scroll-area/lib/es6/ScrollBar.js +6 -6
  175. package/scroll-area/lib/es6/style/scroll-area.shadow.css +9 -3
  176. package/select/lib/cjs/InputSearch.js +6 -6
  177. package/select/lib/cjs/Select.js +9 -9
  178. package/select/lib/cjs/Select.js.map +1 -1
  179. package/select/lib/es6/InputSearch.js +6 -6
  180. package/select/lib/es6/Select.js +9 -9
  181. package/select/lib/es6/Select.js.map +1 -1
  182. package/stylelint-plugin/index.d.ts +1 -0
  183. package/stylelint-plugin/index.js +8 -0
  184. package/stylelint-plugin/index.mjs +1 -0
  185. package/stylelint-plugin/lib/cjs/index.js +102 -0
  186. package/stylelint-plugin/lib/cjs/index.js.map +1 -0
  187. package/stylelint-plugin/lib/es6/index.js +99 -0
  188. package/stylelint-plugin/lib/es6/index.js.map +1 -0
  189. package/stylelint-plugin/lib/types/index.d.ts +1 -0
  190. package/time-picker/lib/cjs/TimePicker.js +12 -12
  191. package/time-picker/lib/es6/TimePicker.js +12 -12
  192. package/tooltip/index.d.ts +9 -17
  193. package/tooltip/lib/cjs/Tooltip.js +27 -17
  194. package/tooltip/lib/cjs/Tooltip.js.map +1 -1
  195. package/tooltip/lib/cjs/index.d.js.map +1 -1
  196. package/tooltip/lib/cjs/style/tooltip.shadow.css +5 -2
  197. package/tooltip/lib/es6/Tooltip.js +27 -17
  198. package/tooltip/lib/es6/Tooltip.js.map +1 -1
  199. package/tooltip/lib/es6/index.d.js.map +1 -1
  200. package/tooltip/lib/es6/style/tooltip.shadow.css +5 -2
  201. package/tooltip/lib/types/index.d.ts +9 -17
  202. package/d3-chart/lib/cjs/ReferenceLine.js.map +0 -1
  203. package/d3-chart/lib/cjs/types/ReferenceLine.d.js +0 -2
  204. package/d3-chart/lib/cjs/types/ReferenceLine.d.js.map +0 -1
  205. package/d3-chart/lib/es6/ReferenceLine.js.map +0 -1
  206. package/d3-chart/lib/es6/types/ReferenceLine.d.js +0 -2
  207. package/d3-chart/lib/es6/types/ReferenceLine.d.js.map +0 -1
@@ -7,14 +7,14 @@ import trottle from 'intergalactic/utils/lib/rafTrottle';
7
7
  import createElement from './createElement';
8
8
  import { eventToPoint, invert, interpolateValue, getChartDefaultColorName } from './utils';
9
9
  /*__reshadow-styles__:"./style/dot.shadow.css"*/
10
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SDots_dzqin_gg_ .___SDot_dzqin_gg_{transition-duration:var(--duration_dzqin)}.___SDot_dzqin_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_dzqin_gg_.__hide_dzqin_gg_{display:none}.___SDot_dzqin_gg_.__color_dzqin_gg_{fill:var(--color_dzqin)}.___SDot_dzqin_gg_.__transparent_dzqin_gg_{opacity:.3}" /*__inner_css_end__*/, "dzqin_gg_") /*__reshadow_css_end__*/, {
11
- "__SDot": "___SDot_dzqin_gg_",
12
- "_hide": "__hide_dzqin_gg_",
13
- "_color": "__color_dzqin_gg_",
14
- "--color": "--color_dzqin",
15
- "_transparent": "__transparent_dzqin_gg_",
16
- "__SDots": "___SDots_dzqin_gg_",
17
- "--duration": "--duration_dzqin"
10
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SDots_td26d_gg_ .___SDot_td26d_gg_{transition-duration:var(--duration_td26d)}.___SDot_td26d_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_td26d_gg_.__hide_td26d_gg_{display:none}.___SDot_td26d_gg_.__color_td26d_gg_{fill:var(--color_td26d)}.___SDot_td26d_gg_.__transparent_td26d_gg_{opacity:.3}" /*__inner_css_end__*/, "td26d_gg_") /*__reshadow_css_end__*/, {
11
+ "__SDot": "___SDot_td26d_gg_",
12
+ "_hide": "__hide_td26d_gg_",
13
+ "_color": "__color_td26d_gg_",
14
+ "--color": "--color_td26d",
15
+ "_transparent": "__transparent_td26d_gg_",
16
+ "__SDots": "___SDots_td26d_gg_",
17
+ "--duration": "--duration_td26d"
18
18
  });
19
19
  import { PatternSymbol, getPatternSymbolSize } from './Pattern';
20
20
  var EXCLUDE_PROPS = ['data', 'scale', 'value', 'display'];
@@ -13,16 +13,16 @@ import AnimatedClipPath from './AnimatedClipPath';
13
13
  import { scaleToBand, roundedPath } from './utils';
14
14
  import { PatternFill } from './Pattern';
15
15
  /*__reshadow-styles__:"./style/bar.shadow.css"*/
16
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_37vp7_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_37vp7);transition-timing-function:ease-in-out}.___SBar_37vp7_gg_.__color_37vp7_gg_{fill:var(--color_37vp7)}.___SBar_37vp7_gg_.__pattern_37vp7_gg_.__color_37vp7_gg_{fill:var(--pattern_37vp7);stroke:var(--color_37vp7);stroke-width:1px}.___SBar_37vp7_gg_.__hide_37vp7_gg_{display:none}.___SBar_37vp7_gg_.__transparent_37vp7_gg_{opacity:.3}.___SBackground_37vp7_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}" /*__inner_css_end__*/, "37vp7_gg_") /*__reshadow_css_end__*/, {
17
- "__SBar": "___SBar_37vp7_gg_",
18
- "--duration": "--duration_37vp7",
19
- "_color": "__color_37vp7_gg_",
20
- "--color": "--color_37vp7",
21
- "_pattern": "__pattern_37vp7_gg_",
22
- "--pattern": "--pattern_37vp7",
23
- "_hide": "__hide_37vp7_gg_",
24
- "_transparent": "__transparent_37vp7_gg_",
25
- "__SBackground": "___SBackground_37vp7_gg_"
16
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_1cm1b_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1cm1b);transition-timing-function:ease-in-out}.___SBar_1cm1b_gg_.__color_1cm1b_gg_{fill:var(--color_1cm1b)}.___SBar_1cm1b_gg_.__pattern_1cm1b_gg_.__color_1cm1b_gg_{fill:var(--pattern_1cm1b);stroke:var(--color_1cm1b);stroke-width:1px}.___SBar_1cm1b_gg_.__hide_1cm1b_gg_{display:none}.___SBar_1cm1b_gg_.__transparent_1cm1b_gg_{opacity:.3}.___SBackground_1cm1b_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg, #e0e1e9)}" /*__inner_css_end__*/, "1cm1b_gg_") /*__reshadow_css_end__*/, {
17
+ "__SBar": "___SBar_1cm1b_gg_",
18
+ "--duration": "--duration_1cm1b",
19
+ "_color": "__color_1cm1b_gg_",
20
+ "--color": "--color_1cm1b",
21
+ "_pattern": "__pattern_1cm1b_gg_",
22
+ "--pattern": "--pattern_1cm1b",
23
+ "_hide": "__hide_1cm1b_gg_",
24
+ "_transparent": "__transparent_1cm1b_gg_",
25
+ "__SBackground": "___SBackground_1cm1b_gg_"
26
26
  });
27
27
  export var MIN_WIDTH = 2;
28
28
  var calcPartBarX = function calcPartBarX(x, minWidth, width) {
@@ -16,9 +16,9 @@ import trottle from 'intergalactic/utils/lib/rafTrottle';
16
16
  import createElement from './createElement';
17
17
  import { scaleOfBandwidth, getIndexFromData, eventToPoint, invert, scaleToBand } from './utils';
18
18
  /*__reshadow-styles__:"./style/hover.shadow.css"*/
19
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SHoverLine_147t8_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_147t8_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "147t8_gg_") /*__reshadow_css_end__*/, {
20
- "__SHoverLine": "___SHoverLine_147t8_gg_",
21
- "__SHoverRect": "___SHoverRect_147t8_gg_"
19
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SHoverLine_1w2gj_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_1w2gj_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "1w2gj_gg_") /*__reshadow_css_end__*/, {
20
+ "__SHoverLine": "___SHoverLine_1w2gj_gg_",
21
+ "__SHoverRect": "___SHoverRect_1w2gj_gg_"
22
22
  });
23
23
  import Tooltip from './Tooltip';
24
24
  var Hover = /*#__PURE__*/function (_Component) {
@@ -15,15 +15,15 @@ import Dots from './Dots';
15
15
  import AnimatedClipPath from './AnimatedClipPath';
16
16
  import { resolvePatternDasharray } from './Pattern';
17
17
  /*__reshadow-styles__:"./style/line.shadow.css"*/
18
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLine_ioqpx_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_ioqpx);transition-timing-function:ease-in-out}.___SLine_ioqpx_gg_.__color_ioqpx_gg_{stroke:var(--color_ioqpx)}.___SLine_ioqpx_gg_.__hide_ioqpx_gg_{display:none}.___SLine_ioqpx_gg_.__transparent_ioqpx_gg_{opacity:.3}.___SNull_ioqpx_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_ioqpx_gg_.__hide_ioqpx_gg_{display:none}.___SLineArea_ioqpx_gg_{transition-property:d;transition-duration:var(--duration_ioqpx);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLineArea_ioqpx_gg_.__color_ioqpx_gg_{fill:var(--color_ioqpx)}" /*__inner_css_end__*/, "ioqpx_gg_") /*__reshadow_css_end__*/, {
19
- "__SLine": "___SLine_ioqpx_gg_",
20
- "--duration": "--duration_ioqpx",
21
- "_color": "__color_ioqpx_gg_",
22
- "--color": "--color_ioqpx",
23
- "_hide": "__hide_ioqpx_gg_",
24
- "_transparent": "__transparent_ioqpx_gg_",
25
- "__SNull": "___SNull_ioqpx_gg_",
26
- "__SLineArea": "___SLineArea_ioqpx_gg_"
18
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLine_7o1qy_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_7o1qy);transition-timing-function:ease-in-out}.___SLine_7o1qy_gg_.__color_7o1qy_gg_{stroke:var(--color_7o1qy)}.___SLine_7o1qy_gg_.__hide_7o1qy_gg_{display:none}.___SLine_7o1qy_gg_.__transparent_7o1qy_gg_{opacity:.3}.___SNull_7o1qy_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_7o1qy_gg_.__hide_7o1qy_gg_{display:none}.___SLineArea_7o1qy_gg_{transition-property:d;transition-duration:var(--duration_7o1qy);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLineArea_7o1qy_gg_.__color_7o1qy_gg_{fill:var(--color_7o1qy)}" /*__inner_css_end__*/, "7o1qy_gg_") /*__reshadow_css_end__*/, {
19
+ "__SLine": "___SLine_7o1qy_gg_",
20
+ "--duration": "--duration_7o1qy",
21
+ "_color": "__color_7o1qy_gg_",
22
+ "--color": "--color_7o1qy",
23
+ "_hide": "__hide_7o1qy_gg_",
24
+ "_transparent": "__transparent_7o1qy_gg_",
25
+ "__SNull": "___SNull_7o1qy_gg_",
26
+ "__SLineArea": "___SLineArea_7o1qy_gg_"
27
27
  });
28
28
  var LineRoot = /*#__PURE__*/function (_Component) {
29
29
  _inherits(LineRoot, _Component);
@@ -18,9 +18,9 @@ import { PlotA11yModule } from './a11y/PlotA11yModule';
18
18
  import { makeDataHintsHandlers, makeDataHintsContainer } from './a11y/hints';
19
19
  import colorResolverEnhance from 'intergalactic/utils/lib/enhances/resolveColorEnhance';
20
20
  /*__reshadow-styles__:"./style/plot.shadow.css"*/
21
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlot_xdh81_gg_{overflow:hidden}.___SPlot_xdh81_gg_:active,.___SPlot_xdh81_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_xdh81_gg_.__keyboardFocused_xdh81_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__*/, "xdh81_gg_") /*__reshadow_css_end__*/, {
22
- "__SPlot": "___SPlot_xdh81_gg_",
23
- "_keyboardFocused": "__keyboardFocused_xdh81_gg_"
21
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlot_nnsvp_gg_{overflow:hidden}.___SPlot_nnsvp_gg_:active,.___SPlot_nnsvp_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_nnsvp_gg_.__keyboardFocused_nnsvp_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__*/, "nnsvp_gg_") /*__reshadow_css_end__*/, {
22
+ "__SPlot": "___SPlot_nnsvp_gg_",
23
+ "_keyboardFocused": "__keyboardFocused_nnsvp_gg_"
24
24
  });
25
25
  var PlotRoot = /*#__PURE__*/function (_Component) {
26
26
  _inherits(PlotRoot, _Component);
@@ -22,25 +22,25 @@ import { eventToPoint, getChartDefaultColorName, measureText } from './utils';
22
22
  import Tooltip from './Tooltip';
23
23
  import { PatternFill, PatternSymbol, getPatternSymbolSize } from './Pattern';
24
24
  /*__reshadow-styles__:"./style/radar.shadow.css"*/
25
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxisLine_1plyi_gg_,.___SAxisTick_1plyi_gg_,.___SAxis_1plyi_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_1plyi_gg_,.___SAxisTick_1plyi_gg_{stroke-dasharray:2}.___SAxisLine_1plyi_gg_.__active_1plyi_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_1plyi_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_1plyi_gg_.__xDirection_1plyi_gg_{text-anchor:var(--xDirection_1plyi)}.___SAxisLabel_1plyi_gg_.__yDirection_1plyi_gg_{dominant-baseline:var(--yDirection_1plyi)}.___SPolygonDot_1plyi_gg_,.___SPolygon_1plyi_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_1plyi_gg_{opacity:.2}.___SPolygon_1plyi_gg_.__color_1plyi_gg_{fill:var(--color_1plyi)}.___SPolygon_1plyi_gg_.__pattern_1plyi_gg_.__color_1plyi_gg_{fill:var(--pattern_1plyi);stroke:var(--color_1plyi);stroke-width:1px}.___SPolygonDot_1plyi_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_1plyi_gg_.__transparent_1plyi_gg_{opacity:.3}.___SPolygonDot_1plyi_gg_.__color_1plyi_gg_{fill:var(--color_1plyi)}.___SPolygonLine_1plyi_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_1plyi_gg_.__transparent_1plyi_gg_{opacity:.3}.___SPolygonLine_1plyi_gg_.__color_1plyi_gg_{stroke:var(--color_1plyi)}.___SPieRect_1plyi_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "1plyi_gg_") /*__reshadow_css_end__*/, {
26
- "__SAxis": "___SAxis_1plyi_gg_",
27
- "__SAxisLine": "___SAxisLine_1plyi_gg_",
28
- "__SAxisTick": "___SAxisTick_1plyi_gg_",
29
- "_active": "__active_1plyi_gg_",
30
- "__SAxisLabel": "___SAxisLabel_1plyi_gg_",
31
- "_xDirection": "__xDirection_1plyi_gg_",
32
- "--xDirection": "--xDirection_1plyi",
33
- "_yDirection": "__yDirection_1plyi_gg_",
34
- "--yDirection": "--yDirection_1plyi",
35
- "__SPolygon": "___SPolygon_1plyi_gg_",
36
- "_color": "__color_1plyi_gg_",
37
- "--color": "--color_1plyi",
38
- "_pattern": "__pattern_1plyi_gg_",
39
- "--pattern": "--pattern_1plyi",
40
- "__SPolygonDot": "___SPolygonDot_1plyi_gg_",
41
- "_transparent": "__transparent_1plyi_gg_",
42
- "__SPolygonLine": "___SPolygonLine_1plyi_gg_",
43
- "__SPieRect": "___SPieRect_1plyi_gg_"
25
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxisLine_16in1_gg_,.___SAxisTick_16in1_gg_,.___SAxis_16in1_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_16in1_gg_,.___SAxisTick_16in1_gg_{stroke-dasharray:2}.___SAxisLine_16in1_gg_.__active_16in1_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_16in1_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_16in1_gg_.__xDirection_16in1_gg_{text-anchor:var(--xDirection_16in1)}.___SAxisLabel_16in1_gg_.__yDirection_16in1_gg_{dominant-baseline:var(--yDirection_16in1)}.___SPolygonDot_16in1_gg_,.___SPolygon_16in1_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_16in1_gg_{opacity:.2}.___SPolygon_16in1_gg_.__color_16in1_gg_{fill:var(--color_16in1)}.___SPolygon_16in1_gg_.__pattern_16in1_gg_.__color_16in1_gg_{fill:var(--pattern_16in1);stroke:var(--color_16in1);stroke-width:1px}.___SPolygonDot_16in1_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_16in1_gg_.__transparent_16in1_gg_{opacity:.3}.___SPolygonDot_16in1_gg_.__color_16in1_gg_{fill:var(--color_16in1)}.___SPolygonLine_16in1_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_16in1_gg_.__transparent_16in1_gg_{opacity:.3}.___SPolygonLine_16in1_gg_.__color_16in1_gg_{stroke:var(--color_16in1)}.___SPieRect_16in1_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "16in1_gg_") /*__reshadow_css_end__*/, {
26
+ "__SAxis": "___SAxis_16in1_gg_",
27
+ "__SAxisLine": "___SAxisLine_16in1_gg_",
28
+ "__SAxisTick": "___SAxisTick_16in1_gg_",
29
+ "_active": "__active_16in1_gg_",
30
+ "__SAxisLabel": "___SAxisLabel_16in1_gg_",
31
+ "_xDirection": "__xDirection_16in1_gg_",
32
+ "--xDirection": "--xDirection_16in1",
33
+ "_yDirection": "__yDirection_16in1_gg_",
34
+ "--yDirection": "--yDirection_16in1",
35
+ "__SPolygon": "___SPolygon_16in1_gg_",
36
+ "_color": "__color_16in1_gg_",
37
+ "--color": "--color_16in1",
38
+ "_pattern": "__pattern_16in1_gg_",
39
+ "--pattern": "--pattern_16in1",
40
+ "__SPolygonDot": "___SPolygonDot_16in1_gg_",
41
+ "_transparent": "__transparent_16in1_gg_",
42
+ "__SPolygonLine": "___SPolygonLine_16in1_gg_",
43
+ "__SPieRect": "___SPieRect_16in1_gg_"
44
44
  });
45
45
  var clampAngle = function clampAngle(angle) {
46
46
  angle = angle % (2 * Math.PI);
@@ -21,17 +21,17 @@ import createElement from './createElement';
21
21
  import { getChartDefaultColorName, measureText } from './utils';
22
22
  import { PatternSymbol, getPatternSymbolSize } from './Pattern';
23
23
  /*__reshadow-styles__:"./style/radial-tree.shadow.css"*/
24
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SRadian_cx7ye_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_cx7ye_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_cx7ye_gg_.__color_cx7ye_gg_{stroke:var(--color_cx7ye)}.___SLine_cx7ye_gg_.__transparent_cx7ye_gg_{opacity:.3}.___SCap_cx7ye_gg_{transition:r .1s}.___SCap_cx7ye_gg_.__pattern_cx7ye_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_cx7ye_gg_.__transparent_cx7ye_gg_,.___SIcon_cx7ye_gg_.__transparent_cx7ye_gg_,.___SLabel_cx7ye_gg_.__transparent_cx7ye_gg_{opacity:.3}.___SLabel_cx7ye_gg_{fill:var(--color_cx7ye)}@media (hover:hover){.___SRadian_cx7ye_gg_:hover .___SLabel_cx7ye_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_cx7ye_gg_{transition:none}}" /*__inner_css_end__*/, "cx7ye_gg_") /*__reshadow_css_end__*/, {
25
- "__SRadian": "___SRadian_cx7ye_gg_",
26
- "__SLine": "___SLine_cx7ye_gg_",
27
- "_color": "__color_cx7ye_gg_",
28
- "--color": "--color_cx7ye",
29
- "_transparent": "__transparent_cx7ye_gg_",
30
- "__SCap": "___SCap_cx7ye_gg_",
31
- "_pattern": "__pattern_cx7ye_gg_",
32
- "__SIcon": "___SIcon_cx7ye_gg_",
33
- "__SLabel": "___SLabel_cx7ye_gg_",
34
- "__SLineCap": "___SLineCap_cx7ye_gg_"
24
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SRadian_wk8ap_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_wk8ap_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_wk8ap_gg_.__color_wk8ap_gg_{stroke:var(--color_wk8ap)}.___SLine_wk8ap_gg_.__transparent_wk8ap_gg_{opacity:.3}.___SCap_wk8ap_gg_{transition:r .1s}.___SCap_wk8ap_gg_.__pattern_wk8ap_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_wk8ap_gg_.__transparent_wk8ap_gg_,.___SIcon_wk8ap_gg_.__transparent_wk8ap_gg_,.___SLabel_wk8ap_gg_.__transparent_wk8ap_gg_{opacity:.3}.___SLabel_wk8ap_gg_{fill:var(--color_wk8ap)}@media (hover:hover){.___SRadian_wk8ap_gg_:hover .___SLabel_wk8ap_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_wk8ap_gg_{transition:none}}" /*__inner_css_end__*/, "wk8ap_gg_") /*__reshadow_css_end__*/, {
25
+ "__SRadian": "___SRadian_wk8ap_gg_",
26
+ "__SLine": "___SLine_wk8ap_gg_",
27
+ "_color": "__color_wk8ap_gg_",
28
+ "--color": "--color_wk8ap",
29
+ "_transparent": "__transparent_wk8ap_gg_",
30
+ "__SCap": "___SCap_wk8ap_gg_",
31
+ "_pattern": "__pattern_wk8ap_gg_",
32
+ "__SIcon": "___SIcon_wk8ap_gg_",
33
+ "__SLabel": "___SLabel_wk8ap_gg_",
34
+ "__SLineCap": "___SLineCap_wk8ap_gg_"
35
35
  });
36
36
  var baseAngle = -Math.PI / 2; // The top vertical line
37
37
  var RadialTreeBase = /*#__PURE__*/function (_Component) {
@@ -8,18 +8,22 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
8
8
  import { sstyled as _sstyled } from 'intergalactic/utils/lib/core/index';
9
9
  import React from 'react';
10
10
  import { Component, sstyled } from 'intergalactic/core';
11
+ import uniqueIDEnhancement from 'intergalactic/utils/lib/uniqueID';
11
12
  import createElement from './createElement';
12
13
  import { scaleOfBandwidth } from './utils';
13
- /*__reshadow-styles__:"./style/reference-line.shadow.css"*/
14
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SReferenceLine_1ksee_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___STitle_1ksee_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_1ksee)}.___STitle_1ksee_gg_._position_top_1ksee_gg_{text-anchor:middle}.___STitle_1ksee_gg_._position_bottom_1ksee_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_1ksee_gg_._position_left_1ksee_gg_,.___STitle_1ksee_gg_._position_right_1ksee_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_1ksee_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}" /*__inner_css_end__*/, "1ksee_gg_") /*__reshadow_css_end__*/, {
15
- "__SReferenceLine": "___SReferenceLine_1ksee_gg_",
16
- "__STitle": "___STitle_1ksee_gg_",
17
- "--transform-origin": "--transform-origin_1ksee",
18
- "_position_top": "_position_top_1ksee_gg_",
19
- "_position_bottom": "_position_bottom_1ksee_gg_",
20
- "_position_right": "_position_right_1ksee_gg_",
21
- "_position_left": "_position_left_1ksee_gg_",
22
- "__SBackground": "___SBackground_1ksee_gg_"
14
+ /*__reshadow-styles__:"./style/reference.shadow.css"*/
15
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SReferenceLine_1u4cb_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___STitle_1u4cb_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_1u4cb)}.___STitle_1u4cb_gg_._position_top_1u4cb_gg_{text-anchor:middle}.___STitle_1u4cb_gg_._position_bottom_1u4cb_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_1u4cb_gg_._position_left_1u4cb_gg_,.___STitle_1u4cb_gg_._position_right_1u4cb_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_1u4cb_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}.___SStripes_1u4cb_gg_{fill:var(--fill_1u4cb)}.___SStripesPatternPath_1u4cb_gg_{stroke:var(--intergalactic-chart-grid-period-pattern, rgba(25, 27, 35, 0.15));stroke-width:1px}" /*__inner_css_end__*/, "1u4cb_gg_") /*__reshadow_css_end__*/, {
16
+ "__SReferenceLine": "___SReferenceLine_1u4cb_gg_",
17
+ "__STitle": "___STitle_1u4cb_gg_",
18
+ "--transform-origin": "--transform-origin_1u4cb",
19
+ "_position_top": "_position_top_1u4cb_gg_",
20
+ "_position_bottom": "_position_bottom_1u4cb_gg_",
21
+ "_position_right": "_position_right_1u4cb_gg_",
22
+ "_position_left": "_position_left_1u4cb_gg_",
23
+ "__SBackground": "___SBackground_1u4cb_gg_",
24
+ "__SStripes": "___SStripes_1u4cb_gg_",
25
+ "--fill": "--fill_1u4cb",
26
+ "__SStripesPatternPath": "___SStripesPatternPath_1u4cb_gg_"
23
27
  });
24
28
  var side2direction = {
25
29
  left: 'vertical',
@@ -28,10 +32,10 @@ var side2direction = {
28
32
  bottom: 'horizontal'
29
33
  };
30
34
  var lineDirection2props = {
31
- vertical: function vertical(_ref4, value) {
32
- var _ref5 = _slicedToArray(_ref4, 2),
33
- xScale = _ref5[0],
34
- yScale = _ref5[1];
35
+ vertical: function vertical(_ref5, value) {
36
+ var _ref6 = _slicedToArray(_ref5, 2),
37
+ xScale = _ref6[0],
38
+ yScale = _ref6[1];
35
39
  var yRange = yScale.range();
36
40
  var x = scaleOfBandwidth(xScale, value);
37
41
  return {
@@ -41,10 +45,10 @@ var lineDirection2props = {
41
45
  y2: yRange[1]
42
46
  };
43
47
  },
44
- horizontal: function horizontal(_ref6, value) {
45
- var _ref7 = _slicedToArray(_ref6, 2),
46
- xScale = _ref7[0],
47
- yScale = _ref7[1];
48
+ horizontal: function horizontal(_ref7, value) {
49
+ var _ref8 = _slicedToArray(_ref7, 2),
50
+ xScale = _ref8[0],
51
+ yScale = _ref8[1];
48
52
  var xRange = xScale.range();
49
53
  var y = scaleOfBandwidth(yScale, value);
50
54
  return {
@@ -56,10 +60,10 @@ var lineDirection2props = {
56
60
  }
57
61
  };
58
62
  var rectDirection2props = {
59
- vertical: function vertical(_ref8, value, endValue) {
60
- var _ref9 = _slicedToArray(_ref8, 2),
61
- xScale = _ref9[0],
62
- yScale = _ref9[1];
63
+ vertical: function vertical(_ref9, value, endValue) {
64
+ var _ref10 = _slicedToArray(_ref9, 2),
65
+ xScale = _ref10[0],
66
+ yScale = _ref10[1];
63
67
  var yRange = yScale.range();
64
68
  var x = scaleOfBandwidth(xScale, value);
65
69
  var width = endValue !== undefined ? scaleOfBandwidth(xScale, endValue) - x : 100;
@@ -70,10 +74,10 @@ var rectDirection2props = {
70
74
  height: yRange[0] - yRange[1]
71
75
  };
72
76
  },
73
- horizontal: function horizontal(_ref10, value, endValue) {
74
- var _ref11 = _slicedToArray(_ref10, 2),
75
- xScale = _ref11[0],
76
- yScale = _ref11[1];
77
+ horizontal: function horizontal(_ref11, value, endValue) {
78
+ var _ref12 = _slicedToArray(_ref11, 2),
79
+ xScale = _ref12[0],
80
+ yScale = _ref12[1];
77
81
  var xRange = xScale.range();
78
82
  var y = scaleOfBandwidth(yScale, value);
79
83
  var height = endValue !== undefined ? scaleOfBandwidth(yScale, endValue) - y : 100;
@@ -87,10 +91,10 @@ var rectDirection2props = {
87
91
  };
88
92
  var titleOffset = 10;
89
93
  var titleSideToProps = {
90
- left: function left(_ref12, value) {
91
- var _ref13 = _slicedToArray(_ref12, 2),
92
- xScale = _ref13[0],
93
- yScale = _ref13[1];
94
+ left: function left(_ref13, value) {
95
+ var _ref14 = _slicedToArray(_ref13, 2),
96
+ xScale = _ref14[0],
97
+ yScale = _ref14[1];
94
98
  var yRange = yScale.range();
95
99
  var x = scaleOfBandwidth(xScale, value);
96
100
  return {
@@ -98,10 +102,10 @@ var titleSideToProps = {
98
102
  y: (yRange[0] + yRange[1]) / 2
99
103
  };
100
104
  },
101
- right: function right(_ref14, value) {
102
- var _ref15 = _slicedToArray(_ref14, 2),
103
- xScale = _ref15[0],
104
- yScale = _ref15[1];
105
+ right: function right(_ref15, value) {
106
+ var _ref16 = _slicedToArray(_ref15, 2),
107
+ xScale = _ref16[0],
108
+ yScale = _ref16[1];
105
109
  var yRange = yScale.range();
106
110
  var x = scaleOfBandwidth(xScale, value);
107
111
  return {
@@ -109,10 +113,10 @@ var titleSideToProps = {
109
113
  y: (yRange[0] + yRange[1]) / 2
110
114
  };
111
115
  },
112
- top: function top(_ref16, value) {
113
- var _ref17 = _slicedToArray(_ref16, 2),
114
- xScale = _ref17[0],
115
- yScale = _ref17[1];
116
+ top: function top(_ref17, value) {
117
+ var _ref18 = _slicedToArray(_ref17, 2),
118
+ xScale = _ref18[0],
119
+ yScale = _ref18[1];
116
120
  var xRange = xScale.range();
117
121
  var y = scaleOfBandwidth(yScale, value);
118
122
  return {
@@ -120,10 +124,10 @@ var titleSideToProps = {
120
124
  y: y - titleOffset
121
125
  };
122
126
  },
123
- bottom: function bottom(_ref18, value) {
124
- var _ref19 = _slicedToArray(_ref18, 2),
125
- xScale = _ref19[0],
126
- yScale = _ref19[1];
127
+ bottom: function bottom(_ref19, value) {
128
+ var _ref20 = _slicedToArray(_ref19, 2),
129
+ xScale = _ref20[0],
130
+ yScale = _ref20[1];
127
131
  var xRange = xScale.range();
128
132
  var y = scaleOfBandwidth(yScale, value);
129
133
  return {
@@ -218,7 +222,8 @@ function Background(props) {
218
222
  var SBackground = props.Element,
219
223
  styles = props.styles,
220
224
  scale = props.scale,
221
- position = props.position,
225
+ _props$position = props.position,
226
+ position = _props$position === void 0 ? 'left' : _props$position,
222
227
  value = props.value,
223
228
  endValue = props.endValue;
224
229
  var positionProps = rectDirection2props[side2direction[position]];
@@ -227,9 +232,45 @@ function Background(props) {
227
232
  "childrenPosition": 'inside'
228
233
  }, positionProps(scale, value, endValue))));
229
234
  }
230
- var ReferenceLine = createElement(ReferenceLineRoot, {
235
+ Background.style = style;
236
+ var diagonalGap = 8;
237
+ var gap = Math.sqrt(Math.pow(diagonalGap, 2) + Math.pow(diagonalGap, 2));
238
+ var gap12 = gap * (1 / 2);
239
+ var gap32 = gap * (3 / 2);
240
+ var path = "M-".concat(gap, ",-").concat(gap12, " L").concat(gap, ",").concat(gap32, " M-").concat(gap12, ",-").concat(gap, " L").concat(gap32, ",").concat(gap);
241
+ function Stripes(props) {
242
+ var _ref4;
243
+ var SStripes = props.Element,
244
+ styles = props.styles,
245
+ scale = props.scale,
246
+ _props$position2 = props.position,
247
+ position = _props$position2 === void 0 ? 'left' : _props$position2,
248
+ value = props.value,
249
+ endValue = props.endValue,
250
+ uid = props.uid;
251
+ var SStripesPatternPath = 'path';
252
+ var positionProps = rectDirection2props[side2direction[position]];
253
+ var patternId = "".concat(uid, "-pattern");
254
+ return _ref4 = sstyled(styles), /*#__PURE__*/React.createElement("g", _ref4.cn("g", {}), /*#__PURE__*/React.createElement(SStripes, _ref4.cn("SStripes", _objectSpread({
255
+ "render": 'rect',
256
+ "childrenPosition": 'inside',
257
+ "fill": "url(#".concat(patternId, ")")
258
+ }, positionProps(scale, value, endValue)))), /*#__PURE__*/React.createElement("pattern", _ref4.cn("pattern", {
259
+ "id": patternId,
260
+ "patternUnits": 'userSpaceOnUse',
261
+ "width": gap,
262
+ "height": gap
263
+ }), /*#__PURE__*/React.createElement(SStripesPatternPath, _ref4.cn("SStripesPatternPath", {
264
+ "d": path
265
+ }))));
266
+ }
267
+ Stripes.style = style;
268
+ Stripes.enhance = [uniqueIDEnhancement()];
269
+ export var ReferenceLine = createElement(ReferenceLineRoot, {
231
270
  Title: Title,
232
- Background: Background
271
+ Background: Background,
272
+ Stripes: Stripes
233
273
  });
234
- export default ReferenceLine;
235
- //# sourceMappingURL=ReferenceLine.js.map
274
+ export var ReferenceBackground = createElement(Background);
275
+ export var ReferenceStripes = createElement(Stripes);
276
+ //# sourceMappingURL=Reference.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Reference.js","names":["React","Component","sstyled","uniqueIDEnhancement","createElement","scaleOfBandwidth","style","_sstyled","insert","side2direction","left","right","top","bottom","lineDirection2props","vertical","_ref5","value","_ref6","_slicedToArray","xScale","yScale","yRange","range","x","x1","x2","y1","y2","horizontal","_ref7","_ref8","xRange","y","rectDirection2props","_ref9","endValue","_ref10","width","undefined","height","_ref11","_ref12","titleOffset","titleSideToProps","_ref13","_ref14","_ref15","_ref16","_ref17","_ref18","_ref19","_ref20","ReferenceLineRoot","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","getTitleProps","_this$asProps","asProps","position","getBackgroundProps","_this$asProps2","render","_ref","SReferenceLine","Element","_this$asProps3","title","scale","color","resolveColor","styles","positionProps","Fragment","cn","_objectSpread","ReferenceLine","Title","_defineProperty","props","_ref2","STitle","_titleSideToProps$pos","sstyles","sTitleStyles","concat","toFixed","className","Background","_ref3","SBackground","_props$position","diagonalGap","gap","Math","sqrt","pow","gap12","gap32","path","Stripes","_ref4","SStripes","_props$position2","uid","SStripesPatternPath","patternId","enhance","ReferenceBackground","ReferenceStripes"],"sources":["../../src/Reference.jsx"],"sourcesContent":["import React from 'react';\nimport { Component, sstyled } from '@semcore/core';\nimport uniqueIDEnhancement from '@semcore/utils/lib/uniqueID';\nimport createElement from './createElement';\nimport { scaleOfBandwidth } from './utils';\n\nimport style from './style/reference.shadow.css';\n\nconst side2direction = {\n left: 'vertical',\n right: 'vertical',\n top: 'horizontal',\n bottom: 'horizontal',\n};\n\nconst lineDirection2props = {\n vertical: ([xScale, yScale], value) => {\n const yRange = yScale.range();\n const x = scaleOfBandwidth(xScale, value);\n return {\n x1: x,\n x2: x,\n y1: yRange[0],\n y2: yRange[1],\n };\n },\n horizontal: ([xScale, yScale], value) => {\n const xRange = xScale.range();\n const y = scaleOfBandwidth(yScale, value);\n return {\n x1: xRange[0],\n x2: xRange[1],\n y1: y,\n y2: y,\n };\n },\n};\n\nconst rectDirection2props = {\n vertical: ([xScale, yScale], value, endValue) => {\n const yRange = yScale.range();\n const x = scaleOfBandwidth(xScale, value);\n const width = endValue !== undefined ? scaleOfBandwidth(xScale, endValue) - x : 100;\n return {\n x: x,\n y: yRange[1],\n width,\n height: yRange[0] - yRange[1],\n };\n },\n horizontal: ([xScale, yScale], value, endValue) => {\n const xRange = xScale.range();\n const y = scaleOfBandwidth(yScale, value);\n const height = endValue !== undefined ? scaleOfBandwidth(yScale, endValue) - y : 100;\n return {\n x: xRange[0],\n y: y,\n width: xRange[1] - xRange[0],\n height,\n };\n },\n};\n\nconst titleOffset = 10;\nconst titleSideToProps = {\n left: ([xScale, yScale], value) => {\n const yRange = yScale.range();\n const x = scaleOfBandwidth(xScale, value);\n return {\n x: x - titleOffset,\n y: (yRange[0] + yRange[1]) / 2,\n };\n },\n right: ([xScale, yScale], value) => {\n const yRange = yScale.range();\n const x = scaleOfBandwidth(xScale, value);\n return {\n x: x + titleOffset,\n y: (yRange[0] + yRange[1]) / 2,\n };\n },\n top: ([xScale, yScale], value) => {\n const xRange = xScale.range();\n const y = scaleOfBandwidth(yScale, value);\n return {\n x: (xRange[1] + xRange[0]) / 2,\n y: y - titleOffset,\n };\n },\n bottom: ([xScale, yScale], value) => {\n const xRange = xScale.range();\n const y = scaleOfBandwidth(yScale, value);\n return {\n x: (xRange[1] + xRange[0]) / 2,\n y: y + titleOffset,\n };\n },\n};\n\nclass ReferenceLineRoot extends Component {\n static displayName = 'ReferenceLine';\n static style = style;\n static defaultProps = {\n position: 'left',\n };\n\n getTitleProps() {\n const { position, value } = this.asProps;\n return { position, value };\n }\n\n getBackgroundProps() {\n const { position, value } = this.asProps;\n return { position, value };\n }\n\n render() {\n const SReferenceLine = this.Element;\n const { title, scale, position, value, color, resolveColor, styles } = this.asProps;\n const positionProps = lineDirection2props[side2direction[position]];\n\n return sstyled(styles)(\n <>\n <SReferenceLine\n render='line'\n __excludeProps={['data', 'scale', 'format', 'value', 'color']}\n stroke={resolveColor(color)}\n {...positionProps(scale, value)}\n />\n {title && <ReferenceLine.Title>{title}</ReferenceLine.Title>}\n </>,\n );\n }\n}\n\nfunction Title(props) {\n const { Element: STitle, styles, scale, position, value } = props;\n const { x, y } = titleSideToProps[position](scale, value);\n\n const sstyles = sstyled(styles);\n const sTitleStyles = sstyles.cn('STitle', {\n 'transform-origin': `${x.toFixed(2)}px ${y.toFixed(2)}px`,\n });\n\n return sstyled(styles)(\n <STitle\n render='text'\n childrenPosition='inside'\n className={sTitleStyles.className}\n style={sTitleStyles.style}\n position={position}\n x={x}\n y={y}\n />,\n );\n}\nfunction Background(props) {\n const { Element: SBackground, styles, scale, position = 'left', value, endValue } = props;\n const positionProps = rectDirection2props[side2direction[position]];\n\n return sstyled(styles)(\n <SBackground\n render='rect'\n childrenPosition='inside'\n {...positionProps(scale, value, endValue)}\n />,\n );\n}\nBackground.style = style;\n\nconst diagonalGap = 8;\nconst gap = Math.sqrt(diagonalGap ** 2 + diagonalGap ** 2);\nconst gap12 = gap * (1 / 2);\nconst gap32 = gap * (3 / 2);\nconst path = `M-${gap},-${gap12} L${gap},${gap32} M-${gap12},-${gap} L${gap32},${gap}`;\nfunction Stripes(props) {\n const { Element: SStripes, styles, scale, position = 'left', value, endValue, uid } = props;\n const SStripesPatternPath = 'path';\n const positionProps = rectDirection2props[side2direction[position]];\n const patternId = `${uid}-pattern`;\n\n return sstyled(styles)(\n <g>\n <SStripes\n render='rect'\n childrenPosition='inside'\n fill={`url(#${patternId})`}\n {...positionProps(scale, value, endValue)}\n />\n <pattern id={patternId} patternUnits='userSpaceOnUse' width={gap} height={gap}>\n <SStripesPatternPath d={path} />\n </pattern>\n </g>,\n );\n}\nStripes.style = style;\nStripes.enhance = [uniqueIDEnhancement()];\n\nexport const ReferenceLine = createElement(ReferenceLineRoot, {\n Title,\n Background,\n Stripes,\n});\n\nexport const ReferenceBackground = createElement(Background);\nexport const ReferenceStripes = createElement(Stripes);\n"],"mappings":";;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,SAAS,EAAEC,OAAO,QAAQ,eAAe;AAClD,OAAOC,mBAAmB,MAAM,6BAA6B;AAC7D,OAAOC,aAAa,MAAM,iBAAiB;AAC3C,SAASC,gBAAgB,QAAQ,SAAS;AAAC;AAAA,IAAAC,KAAA,+BAAAC,QAAA,CAAAC,MAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAI3C,IAAMC,cAAc,GAAG;EACrBC,IAAI,EAAE,UAAU;EAChBC,KAAK,EAAE,UAAU;EACjBC,GAAG,EAAE,YAAY;EACjBC,MAAM,EAAE;AACV,CAAC;AAED,IAAMC,mBAAmB,GAAG;EAC1BC,QAAQ,EAAE,SAAAA,SAAAC,KAAA,EAAmBC,KAAK,EAAK;IAAA,IAAAC,KAAA,GAAAC,cAAA,CAAAH,KAAA;MAA3BI,MAAM,GAAAF,KAAA;MAAEG,MAAM,GAAAH,KAAA;IACxB,IAAMI,MAAM,GAAGD,MAAM,C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
19
  import { PatternFill } from './Pattern';
20
20
  /*__reshadow-styles__:"./style/scatterplot.shadow.css"*/
21
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SScatterPlot_1e2mv_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_1e2mv);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_1e2mv_gg_:hover{opacity:.8}}.___SScatterPlot_1e2mv_gg_.__color_1e2mv_gg_{fill:var(--color_1e2mv)}.___SScatterPlot_1e2mv_gg_.__pattern_1e2mv_gg_.__color_1e2mv_gg_{fill:var(--pattern_1e2mv);stroke:var(--color_1e2mv);stroke-width:1px}.___SScatterPlot_1e2mv_gg_.__transparent_1e2mv_gg_{opacity:.3}.___SValue_1e2mv_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_1e2mv_gg_.__color_1e2mv_gg_{stroke:var(--color_1e2mv)}.___SValue_1e2mv_gg_.__transparent_1e2mv_gg_{opacity:.3}" /*__inner_css_end__*/, "1e2mv_gg_") /*__reshadow_css_end__*/, {
22
- "__SScatterPlot": "___SScatterPlot_1e2mv_gg_",
23
- "_color": "__color_1e2mv_gg_",
24
- "--color": "--color_1e2mv",
25
- "_pattern": "__pattern_1e2mv_gg_",
26
- "--pattern": "--pattern_1e2mv",
27
- "_transparent": "__transparent_1e2mv_gg_",
28
- "__SValue": "___SValue_1e2mv_gg_",
29
- "--duration": "--duration_1e2mv"
21
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SScatterPlot_t40s5_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_t40s5);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_t40s5_gg_:hover{opacity:.8}}.___SScatterPlot_t40s5_gg_.__color_t40s5_gg_{fill:var(--color_t40s5)}.___SScatterPlot_t40s5_gg_.__pattern_t40s5_gg_.__color_t40s5_gg_{fill:var(--pattern_t40s5);stroke:var(--color_t40s5);stroke-width:1px}.___SScatterPlot_t40s5_gg_.__transparent_t40s5_gg_{opacity:.3}.___SValue_t40s5_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_t40s5_gg_.__color_t40s5_gg_{stroke:var(--color_t40s5)}.___SValue_t40s5_gg_.__transparent_t40s5_gg_{opacity:.3}" /*__inner_css_end__*/, "t40s5_gg_") /*__reshadow_css_end__*/, {
22
+ "__SScatterPlot": "___SScatterPlot_t40s5_gg_",
23
+ "_color": "__color_t40s5_gg_",
24
+ "--color": "--color_t40s5",
25
+ "_pattern": "__pattern_t40s5_gg_",
26
+ "--pattern": "--pattern_t40s5",
27
+ "_transparent": "__transparent_t40s5_gg_",
28
+ "__SValue": "___SValue_t40s5_gg_",
29
+ "--duration": "--duration_t40s5"
30
30
  });
31
31
  var ScatterPlotRoot = /*#__PURE__*/function (_Component) {
32
32
  _inherits(ScatterPlotRoot, _Component);
@@ -21,15 +21,15 @@ import createElement from './createElement';
21
21
  import { getChartDefaultColorName } from './utils';
22
22
  import { useColorResolver } from 'intergalactic/utils/lib/use/useColorResolver';
23
23
  /*__reshadow-styles__:"./style/tooltip.shadow.css"*/
24
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___STooltip_1gdh1_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_1gdh1_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_1gdh1_gg_{display:flex;align-items:center}.___SDot_1gdh1_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_1gdh1_gg_.__color_1gdh1_gg_{background-color:var(--color_1gdh1);width:8px;height:8px;border-radius:50%}.___SFooter_1gdh1_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__*/, "1gdh1_gg_") /*__reshadow_css_end__*/, {
25
- "__STooltip": "___STooltip_1gdh1_gg_",
26
- "__STitle": "___STitle_1gdh1_gg_",
27
- "__SDotGroup": "___SDotGroup_1gdh1_gg_",
28
- "__SDot": "___SDot_1gdh1_gg_",
29
- "__SDotCircle": "___SDotCircle_1gdh1_gg_",
30
- "_color": "__color_1gdh1_gg_",
31
- "--color": "--color_1gdh1",
32
- "__SFooter": "___SFooter_1gdh1_gg_"
24
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___STooltip_ytxol_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_ytxol_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_ytxol_gg_{display:flex;align-items:center}.___SDot_ytxol_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_ytxol_gg_.__color_ytxol_gg_{background-color:var(--color_ytxol);width:8px;height:8px;border-radius:50%}.___SFooter_ytxol_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__*/, "ytxol_gg_") /*__reshadow_css_end__*/, {
25
+ "__STooltip": "___STooltip_ytxol_gg_",
26
+ "__STitle": "___STitle_ytxol_gg_",
27
+ "__SDotGroup": "___SDotGroup_ytxol_gg_",
28
+ "__SDot": "___SDot_ytxol_gg_",
29
+ "__SDotCircle": "___SDotCircle_ytxol_gg_",
30
+ "_color": "__color_ytxol_gg_",
31
+ "--color": "--color_ytxol",
32
+ "__SFooter": "___SFooter_ytxol_gg_"
33
33
  });
34
34
  import { PatternSymbol } from './Pattern';
35
35
 
@@ -20,15 +20,15 @@ import Tooltip from './Tooltip';
20
20
  import { PatternFill } from './Pattern';
21
21
  import uniqueIDEnhancement from 'intergalactic/utils/lib/uniqueID';
22
22
  /*__reshadow-styles__:"./style/venn.shadow.css"*/
23
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SCircle_1vmme_gg_,.___SIntersection_1vmme_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_1vmme_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_1vmme);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_1vmme_gg_:hover{fill-opacity:.7}}.___SCircle_1vmme_gg_.__color_1vmme_gg_{fill:var(--color_1vmme)}.___SCircle_1vmme_gg_.__pattern_1vmme_gg_.__color_1vmme_gg_{fill:var(--pattern_1vmme);fill-opacity:.7;stroke:var(--color_1vmme);stroke-width:1px}@media (hover:hover){.___SCircle_1vmme_gg_.__pattern_1vmme_gg_.__color_1vmme_gg_:hover{fill-opacity:.85}}.___SCircle_1vmme_gg_.__transparent_1vmme_gg_{opacity:.3}.___SIntersection_1vmme_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_1vmme_gg_:hover{fill-opacity:.1}}.___SIntersection_1vmme_gg_.__transparent_1vmme_gg_{opacity:.3}" /*__inner_css_end__*/, "1vmme_gg_") /*__reshadow_css_end__*/, {
24
- "__SCircle": "___SCircle_1vmme_gg_",
25
- "_color": "__color_1vmme_gg_",
26
- "--color": "--color_1vmme",
27
- "_transparent": "__transparent_1vmme_gg_",
28
- "__SIntersection": "___SIntersection_1vmme_gg_",
29
- "--duration": "--duration_1vmme",
30
- "_pattern": "__pattern_1vmme_gg_",
31
- "--pattern": "--pattern_1vmme"
23
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SCircle_1i130_gg_,.___SIntersection_1i130_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_1i130_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_1i130);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_1i130_gg_:hover{fill-opacity:.7}}.___SCircle_1i130_gg_.__color_1i130_gg_{fill:var(--color_1i130)}.___SCircle_1i130_gg_.__pattern_1i130_gg_.__color_1i130_gg_{fill:var(--pattern_1i130);fill-opacity:.7;stroke:var(--color_1i130);stroke-width:1px}@media (hover:hover){.___SCircle_1i130_gg_.__pattern_1i130_gg_.__color_1i130_gg_:hover{fill-opacity:.85}}.___SCircle_1i130_gg_.__transparent_1i130_gg_{opacity:.3}.___SIntersection_1i130_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_1i130_gg_:hover{fill-opacity:.1}}.___SIntersection_1i130_gg_.__transparent_1i130_gg_{opacity:.3}" /*__inner_css_end__*/, "1i130_gg_") /*__reshadow_css_end__*/, {
24
+ "__SCircle": "___SCircle_1i130_gg_",
25
+ "_color": "__color_1i130_gg_",
26
+ "--color": "--color_1i130",
27
+ "_transparent": "__transparent_1i130_gg_",
28
+ "__SIntersection": "___SIntersection_1i130_gg_",
29
+ "--duration": "--duration_1i130",
30
+ "_pattern": "__pattern_1i130_gg_",
31
+ "--pattern": "--pattern_1i130"
32
32
  });
33
33
  var VennRoot = /*#__PURE__*/function (_Component) {
34
34
  _inherits(VennRoot, _Component);
@@ -10,8 +10,8 @@ import { normalizeLocale } from './locale';
10
10
  import { localizedMessages } from './translations/module/__intergalactic-dynamic-locales';
11
11
  import { Root, sstyled } from 'intergalactic/core';
12
12
  /*__reshadow-styles__:"../style/plotA11yModule.shadow.css"*/
13
- var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlotA11yModule_gi63x_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_gi63x_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}" /*__inner_css_end__*/, "gi63x_gg_") /*__reshadow_css_end__*/, {
14
- "__SPlotA11yModule": "___SPlotA11yModule_gi63x_gg_"
13
+ var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlotA11yModule_1o618_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_1o618_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}" /*__inner_css_end__*/, "1o618_gg_") /*__reshadow_css_end__*/, {
14
+ "__SPlotA11yModule": "___SPlotA11yModule_1o618_gg_"
15
15
  });
16
16
  import { Context as I18nContext, useI18n } from 'intergalactic/utils/lib/enhances/WithI18n';
17
17
  import { Box } from 'intergalactic/flex-box';
@@ -9,8 +9,8 @@ import { getIntl } from './intl';
9
9
  import { summarize } from './summarize';
10
10
  import { Root, sstyled } from 'intergalactic/core';
11
11
  /*__reshadow-styles__:"../style/plotA11yView.shadow.css"*/
12
- var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlotA11yView_5t700_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_5t700_gg_:focus,.___SPlotA11yView_5t700_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_5t700_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_5t700_gg_ table,.___SPlotA11yView_5t700_gg_ td,.___SPlotA11yView_5t700_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}" /*__inner_css_end__*/, "5t700_gg_") /*__reshadow_css_end__*/, {
13
- "__SPlotA11yView": "___SPlotA11yView_5t700_gg_"
12
+ var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlotA11yView_17q02_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_17q02_gg_:focus,.___SPlotA11yView_17q02_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_17q02_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_17q02_gg_ table,.___SPlotA11yView_17q02_gg_ td,.___SPlotA11yView_17q02_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}" /*__inner_css_end__*/, "17q02_gg_") /*__reshadow_css_end__*/, {
13
+ "__SPlotA11yView": "___SPlotA11yView_17q02_gg_"
14
14
  });
15
15
  import { Box } from 'intergalactic/flex-box';
16
16
  import { useAsyncI18nMessages } from 'intergalactic/utils/lib/enhances/i18nEnhance';
@@ -10,10 +10,10 @@ import React from 'react';
10
10
  import createComponent, { sstyled, Root } from 'intergalactic/core';
11
11
  import { Flex } from 'intergalactic/flex-box';
12
12
  /*__reshadow-styles__:"./legend-flex.shadow.css"*/
13
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLegendFlex_61zb4_gg_._direction_row_61zb4_gg_{align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_61zb4_gg_._direction_column_61zb4_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}" /*__inner_css_end__*/, "61zb4_gg_") /*__reshadow_css_end__*/, {
14
- "__SLegendFlex": "___SLegendFlex_61zb4_gg_",
15
- "_direction_row": "_direction_row_61zb4_gg_",
16
- "_direction_column": "_direction_column_61zb4_gg_"
13
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLegendFlex_v6736_gg_._direction_row_v6736_gg_{align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_v6736_gg_._direction_column_v6736_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}" /*__inner_css_end__*/, "v6736_gg_") /*__reshadow_css_end__*/, {
14
+ "__SLegendFlex": "___SLegendFlex_v6736_gg_",
15
+ "_direction_row": "_direction_row_v6736_gg_",
16
+ "_direction_column": "_direction_column_v6736_gg_"
17
17
  });
18
18
  import { LegendItemComponent } from '../LegendItem/LegendItem';
19
19
  import Divider from 'intergalactic/divider';