@semcore/d3-chart 18.0.0-prerelease.1 → 18.0.0-prerelease.2

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 (273) hide show
  1. package/CHANGELOG.md +10 -1
  2. package/lib/cjs/Area.js +123 -23
  3. package/lib/cjs/Area.js.map +1 -1
  4. package/lib/cjs/Axis.js +109 -97
  5. package/lib/cjs/Axis.js.map +1 -1
  6. package/lib/cjs/Bar.js +16 -16
  7. package/lib/cjs/Bubble.js +14 -14
  8. package/lib/cjs/ChartMetaData.js +44 -0
  9. package/lib/cjs/ChartMetaData.js.map +1 -0
  10. package/lib/cjs/CompactHorizontalBar.js +16 -16
  11. package/lib/cjs/Donut.js +18 -19
  12. package/lib/cjs/Donut.js.map +1 -1
  13. package/lib/cjs/Dots.js +67 -13
  14. package/lib/cjs/Dots.js.map +1 -1
  15. package/lib/cjs/HorizontalBar.js +16 -16
  16. package/lib/cjs/Hover.js +66 -52
  17. package/lib/cjs/Hover.js.map +1 -1
  18. package/lib/cjs/Line.js +82 -17
  19. package/lib/cjs/Line.js.map +1 -1
  20. package/lib/cjs/Pattern.js +113 -2
  21. package/lib/cjs/Pattern.js.map +1 -1
  22. package/lib/cjs/Plot.js +5 -2
  23. package/lib/cjs/Plot.js.map +1 -1
  24. package/lib/cjs/Radar.js +19 -19
  25. package/lib/cjs/RadialTree.js +12 -12
  26. package/lib/cjs/Reference.js +55 -18
  27. package/lib/cjs/Reference.js.map +1 -1
  28. package/lib/cjs/ScatterPlot.js +9 -9
  29. package/lib/cjs/Tooltip.js +16 -14
  30. package/lib/cjs/Tooltip.js.map +1 -1
  31. package/lib/cjs/a11y/PlotA11yView.js +2 -2
  32. package/lib/cjs/component/Chart/AbstractChart.js +21 -18
  33. package/lib/cjs/component/Chart/AbstractChart.js.map +1 -1
  34. package/lib/cjs/component/Chart/AbstractChart.type.js +19 -0
  35. package/lib/cjs/component/Chart/AbstractChart.type.js.map +1 -1
  36. package/lib/cjs/component/Chart/AreaChart.js +21 -7
  37. package/lib/cjs/component/Chart/AreaChart.js.map +1 -1
  38. package/lib/cjs/component/Chart/AreaChart.type.js.map +1 -1
  39. package/lib/cjs/component/Chart/BarChart.js +6 -3
  40. package/lib/cjs/component/Chart/BarChart.js.map +1 -1
  41. package/lib/cjs/component/Chart/BarChart.type.js.map +1 -1
  42. package/lib/cjs/component/Chart/BubbleChart.js +4 -0
  43. package/lib/cjs/component/Chart/BubbleChart.js.map +1 -1
  44. package/lib/cjs/component/Chart/BubbleChart.type.js.map +1 -1
  45. package/lib/cjs/component/Chart/CigaretteChart.type.js.map +1 -1
  46. package/lib/cjs/component/Chart/CompactHorizontalBarChart.type.js.map +1 -1
  47. package/lib/cjs/component/Chart/DonutChart.js +0 -1
  48. package/lib/cjs/component/Chart/DonutChart.js.map +1 -1
  49. package/lib/cjs/component/Chart/DonutChart.type.js.map +1 -1
  50. package/lib/cjs/component/Chart/HistogramChart.js +6 -3
  51. package/lib/cjs/component/Chart/HistogramChart.js.map +1 -1
  52. package/lib/cjs/component/Chart/HistogramChart.type.js.map +1 -1
  53. package/lib/cjs/component/Chart/LineChart.js +16 -6
  54. package/lib/cjs/component/Chart/LineChart.js.map +1 -1
  55. package/lib/cjs/component/Chart/LineChart.type.js.map +1 -1
  56. package/lib/cjs/component/Chart/RadarChart.type.js.map +1 -1
  57. package/lib/cjs/component/Chart/ScatterPlotChart.type.js.map +1 -1
  58. package/lib/cjs/component/Chart/VennChart.type.js.map +1 -1
  59. package/lib/cjs/component/Chart/index.js +43 -0
  60. package/lib/cjs/component/Chart/index.js.map +1 -1
  61. package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  62. package/lib/cjs/component/ChartLegend/LegendFlex/legend-flex.shadow.css +2 -2
  63. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +16 -16
  64. package/lib/cjs/component/ChartLegend/LegendItem/legend-item.shadow.css +11 -11
  65. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +7 -7
  66. package/lib/cjs/component/ChartLegend/LegendTable/legend-table.shadow.css +2 -2
  67. package/lib/cjs/index.js +55 -1
  68. package/lib/cjs/index.js.map +1 -1
  69. package/lib/cjs/style/abstract-chart.shadow.css +13 -3
  70. package/lib/cjs/style/area.shadow.css +8 -5
  71. package/lib/cjs/style/axis.shadow.css +51 -60
  72. package/lib/cjs/style/bar.shadow.css +6 -6
  73. package/lib/cjs/style/bubble.shadow.css +3 -3
  74. package/lib/cjs/style/donut.shadow.css +2 -2
  75. package/lib/cjs/style/dot.shadow.css +37 -2
  76. package/lib/cjs/style/hover.shadow.css +30 -13
  77. package/lib/cjs/style/line.shadow.css +3 -3
  78. package/lib/cjs/style/pattern.shadow.css +10 -0
  79. package/lib/cjs/style/plotA11yView.shadow.css +3 -3
  80. package/lib/cjs/style/radar.shadow.css +7 -7
  81. package/lib/cjs/style/radial-tree.shadow.css +2 -2
  82. package/lib/cjs/style/reference.shadow.css +4 -4
  83. package/lib/cjs/style/scatterplot.shadow.css +1 -1
  84. package/lib/cjs/style/tooltip.shadow.css +12 -12
  85. package/lib/cjs/types/Axis.d.js.map +1 -1
  86. package/lib/cjs/types/Donut.d.js.map +1 -1
  87. package/lib/cjs/types/Hover.d.js.map +1 -1
  88. package/lib/cjs/utils.js +21 -1
  89. package/lib/cjs/utils.js.map +1 -1
  90. package/lib/es6/Area.js +125 -25
  91. package/lib/es6/Area.js.map +1 -1
  92. package/lib/es6/Axis.js +109 -97
  93. package/lib/es6/Axis.js.map +1 -1
  94. package/lib/es6/Bar.js +16 -16
  95. package/lib/es6/Bubble.js +14 -14
  96. package/lib/es6/ChartMetaData.js +36 -0
  97. package/lib/es6/ChartMetaData.js.map +1 -0
  98. package/lib/es6/CompactHorizontalBar.js +16 -16
  99. package/lib/es6/Donut.js +18 -19
  100. package/lib/es6/Donut.js.map +1 -1
  101. package/lib/es6/Dots.js +68 -14
  102. package/lib/es6/Dots.js.map +1 -1
  103. package/lib/es6/HorizontalBar.js +16 -16
  104. package/lib/es6/Hover.js +66 -52
  105. package/lib/es6/Hover.js.map +1 -1
  106. package/lib/es6/Line.js +84 -19
  107. package/lib/es6/Line.js.map +1 -1
  108. package/lib/es6/Pattern.js +108 -2
  109. package/lib/es6/Pattern.js.map +1 -1
  110. package/lib/es6/Plot.js +5 -2
  111. package/lib/es6/Plot.js.map +1 -1
  112. package/lib/es6/Radar.js +19 -19
  113. package/lib/es6/RadialTree.js +12 -12
  114. package/lib/es6/Reference.js +55 -18
  115. package/lib/es6/Reference.js.map +1 -1
  116. package/lib/es6/ScatterPlot.js +9 -9
  117. package/lib/es6/Tooltip.js +16 -14
  118. package/lib/es6/Tooltip.js.map +1 -1
  119. package/lib/es6/a11y/PlotA11yView.js +2 -2
  120. package/lib/es6/component/Chart/AbstractChart.js +21 -18
  121. package/lib/es6/component/Chart/AbstractChart.js.map +1 -1
  122. package/lib/es6/component/Chart/AbstractChart.type.js +14 -1
  123. package/lib/es6/component/Chart/AbstractChart.type.js.map +1 -1
  124. package/lib/es6/component/Chart/AreaChart.js +21 -7
  125. package/lib/es6/component/Chart/AreaChart.js.map +1 -1
  126. package/lib/es6/component/Chart/AreaChart.type.js.map +1 -1
  127. package/lib/es6/component/Chart/BarChart.js +6 -3
  128. package/lib/es6/component/Chart/BarChart.js.map +1 -1
  129. package/lib/es6/component/Chart/BarChart.type.js.map +1 -1
  130. package/lib/es6/component/Chart/BubbleChart.js +4 -0
  131. package/lib/es6/component/Chart/BubbleChart.js.map +1 -1
  132. package/lib/es6/component/Chart/BubbleChart.type.js.map +1 -1
  133. package/lib/es6/component/Chart/CigaretteChart.type.js.map +1 -1
  134. package/lib/es6/component/Chart/CompactHorizontalBarChart.type.js.map +1 -1
  135. package/lib/es6/component/Chart/DonutChart.js +0 -1
  136. package/lib/es6/component/Chart/DonutChart.js.map +1 -1
  137. package/lib/es6/component/Chart/DonutChart.type.js.map +1 -1
  138. package/lib/es6/component/Chart/HistogramChart.js +6 -3
  139. package/lib/es6/component/Chart/HistogramChart.js.map +1 -1
  140. package/lib/es6/component/Chart/HistogramChart.type.js.map +1 -1
  141. package/lib/es6/component/Chart/LineChart.js +14 -4
  142. package/lib/es6/component/Chart/LineChart.js.map +1 -1
  143. package/lib/es6/component/Chart/LineChart.type.js.map +1 -1
  144. package/lib/es6/component/Chart/RadarChart.type.js.map +1 -1
  145. package/lib/es6/component/Chart/ScatterPlotChart.type.js.map +1 -1
  146. package/lib/es6/component/Chart/VennChart.type.js.map +1 -1
  147. package/lib/es6/component/Chart/index.js +2 -0
  148. package/lib/es6/component/Chart/index.js.map +1 -1
  149. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  150. package/lib/es6/component/ChartLegend/LegendFlex/legend-flex.shadow.css +2 -2
  151. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +16 -16
  152. package/lib/es6/component/ChartLegend/LegendItem/legend-item.shadow.css +11 -11
  153. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +7 -7
  154. package/lib/es6/component/ChartLegend/LegendTable/legend-table.shadow.css +2 -2
  155. package/lib/es6/index.js +1 -0
  156. package/lib/es6/index.js.map +1 -1
  157. package/lib/es6/style/abstract-chart.shadow.css +13 -3
  158. package/lib/es6/style/area.shadow.css +8 -5
  159. package/lib/es6/style/axis.shadow.css +51 -60
  160. package/lib/es6/style/bar.shadow.css +6 -6
  161. package/lib/es6/style/bubble.shadow.css +3 -3
  162. package/lib/es6/style/donut.shadow.css +2 -2
  163. package/lib/es6/style/dot.shadow.css +37 -2
  164. package/lib/es6/style/hover.shadow.css +30 -13
  165. package/lib/es6/style/line.shadow.css +3 -3
  166. package/lib/es6/style/pattern.shadow.css +10 -0
  167. package/lib/es6/style/plotA11yView.shadow.css +3 -3
  168. package/lib/es6/style/radar.shadow.css +7 -7
  169. package/lib/es6/style/radial-tree.shadow.css +2 -2
  170. package/lib/es6/style/reference.shadow.css +4 -4
  171. package/lib/es6/style/scatterplot.shadow.css +1 -1
  172. package/lib/es6/style/tooltip.shadow.css +12 -12
  173. package/lib/es6/types/Axis.d.js.map +1 -1
  174. package/lib/es6/types/Donut.d.js.map +1 -1
  175. package/lib/es6/types/Hover.d.js.map +1 -1
  176. package/lib/es6/utils.js +18 -0
  177. package/lib/es6/utils.js.map +1 -1
  178. package/lib/esm/Area.mjs +127 -26
  179. package/lib/esm/Axis.mjs +110 -98
  180. package/lib/esm/Bar.mjs +17 -17
  181. package/lib/esm/Bubble.mjs +15 -15
  182. package/lib/esm/ChartMetaData.mjs +38 -0
  183. package/lib/esm/CompactHorizontalBar.mjs +17 -17
  184. package/lib/esm/Donut.mjs +19 -20
  185. package/lib/esm/Dots.mjs +66 -15
  186. package/lib/esm/HorizontalBar.mjs +17 -17
  187. package/lib/esm/Hover.mjs +67 -53
  188. package/lib/esm/Line.mjs +86 -20
  189. package/lib/esm/Pattern.mjs +119 -0
  190. package/lib/esm/Plot.mjs +6 -3
  191. package/lib/esm/Radar.mjs +20 -20
  192. package/lib/esm/RadialTree.mjs +13 -13
  193. package/lib/esm/Reference.mjs +56 -19
  194. package/lib/esm/ScatterPlot.mjs +10 -10
  195. package/lib/esm/Tooltip.mjs +17 -15
  196. package/lib/esm/a11y/PlotA11yView.mjs +3 -3
  197. package/lib/esm/component/Chart/AbstractChart.mjs +22 -19
  198. package/lib/esm/component/Chart/AbstractChart.type.mjs +16 -0
  199. package/lib/esm/component/Chart/AreaChart.mjs +21 -7
  200. package/lib/esm/component/Chart/BarChart.mjs +6 -3
  201. package/lib/esm/component/Chart/BubbleChart.mjs +4 -0
  202. package/lib/esm/component/Chart/DonutChart.mjs +0 -1
  203. package/lib/esm/component/Chart/HistogramChart.mjs +6 -3
  204. package/lib/esm/component/Chart/LineChart.mjs +14 -4
  205. package/lib/esm/component/Chart/index.mjs +8 -0
  206. package/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +5 -5
  207. package/lib/esm/component/ChartLegend/LegendFlex/legend-flex.shadow.css +2 -2
  208. package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +17 -17
  209. package/lib/esm/component/ChartLegend/LegendItem/legend-item.shadow.css +11 -11
  210. package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +8 -8
  211. package/lib/esm/component/ChartLegend/LegendTable/legend-table.shadow.css +2 -2
  212. package/lib/esm/index.mjs +8 -0
  213. package/lib/esm/style/abstract-chart.shadow.css +13 -3
  214. package/lib/esm/style/area.shadow.css +8 -5
  215. package/lib/esm/style/axis.shadow.css +51 -60
  216. package/lib/esm/style/bar.shadow.css +6 -6
  217. package/lib/esm/style/bubble.shadow.css +3 -3
  218. package/lib/esm/style/donut.shadow.css +2 -2
  219. package/lib/esm/style/dot.shadow.css +37 -2
  220. package/lib/esm/style/hover.shadow.css +30 -13
  221. package/lib/esm/style/line.shadow.css +3 -3
  222. package/lib/esm/style/pattern.shadow.css +10 -0
  223. package/lib/esm/style/plotA11yView.shadow.css +3 -3
  224. package/lib/esm/style/radar.shadow.css +7 -7
  225. package/lib/esm/style/radial-tree.shadow.css +2 -2
  226. package/lib/esm/style/reference.shadow.css +4 -4
  227. package/lib/esm/style/scatterplot.shadow.css +1 -1
  228. package/lib/esm/style/tooltip.shadow.css +12 -12
  229. package/lib/esm/utils.mjs +20 -0
  230. package/lib/types/Axis.d.ts +3 -2
  231. package/lib/types/ChartMetaData.d.ts +17 -0
  232. package/lib/types/ChartMetaData.d.ts.map +1 -0
  233. package/lib/types/Donut.d.ts +1 -1
  234. package/lib/types/Hover.d.ts +2 -0
  235. package/lib/types/Pattern.d.ts +18 -0
  236. package/lib/types/Pattern.d.ts.map +1 -1
  237. package/lib/types/component/Chart/AbstractChart.d.ts.map +1 -1
  238. package/lib/types/component/Chart/AbstractChart.type.d.ts +22 -4
  239. package/lib/types/component/Chart/AbstractChart.type.d.ts.map +1 -1
  240. package/lib/types/component/Chart/AreaChart.d.ts.map +1 -1
  241. package/lib/types/component/Chart/AreaChart.type.d.ts +8 -4
  242. package/lib/types/component/Chart/AreaChart.type.d.ts.map +1 -1
  243. package/lib/types/component/Chart/BarChart.d.ts.map +1 -1
  244. package/lib/types/component/Chart/BarChart.type.d.ts +1 -0
  245. package/lib/types/component/Chart/BarChart.type.d.ts.map +1 -1
  246. package/lib/types/component/Chart/BubbleChart.d.ts.map +1 -1
  247. package/lib/types/component/Chart/BubbleChart.type.d.ts +1 -1
  248. package/lib/types/component/Chart/BubbleChart.type.d.ts.map +1 -1
  249. package/lib/types/component/Chart/CigaretteChart.type.d.ts +1 -1
  250. package/lib/types/component/Chart/CigaretteChart.type.d.ts.map +1 -1
  251. package/lib/types/component/Chart/CompactHorizontalBarChart.type.d.ts +1 -1
  252. package/lib/types/component/Chart/CompactHorizontalBarChart.type.d.ts.map +1 -1
  253. package/lib/types/component/Chart/DonutChart.d.ts.map +1 -1
  254. package/lib/types/component/Chart/DonutChart.type.d.ts +1 -2
  255. package/lib/types/component/Chart/DonutChart.type.d.ts.map +1 -1
  256. package/lib/types/component/Chart/HistogramChart.d.ts.map +1 -1
  257. package/lib/types/component/Chart/HistogramChart.type.d.ts +1 -0
  258. package/lib/types/component/Chart/HistogramChart.type.d.ts.map +1 -1
  259. package/lib/types/component/Chart/LineChart.d.ts.map +1 -1
  260. package/lib/types/component/Chart/LineChart.type.d.ts +1 -0
  261. package/lib/types/component/Chart/LineChart.type.d.ts.map +1 -1
  262. package/lib/types/component/Chart/RadarChart.type.d.ts +1 -1
  263. package/lib/types/component/Chart/RadarChart.type.d.ts.map +1 -1
  264. package/lib/types/component/Chart/ScatterPlotChart.type.d.ts +1 -1
  265. package/lib/types/component/Chart/ScatterPlotChart.type.d.ts.map +1 -1
  266. package/lib/types/component/Chart/VennChart.type.d.ts +1 -1
  267. package/lib/types/component/Chart/VennChart.type.d.ts.map +1 -1
  268. package/lib/types/component/Chart/index.d.ts +2 -0
  269. package/lib/types/component/Chart/index.d.ts.map +1 -1
  270. package/lib/types/utils.d.ts +4 -1
  271. package/lib/types/utils.d.ts.map +1 -1
  272. package/package.json +15 -15
  273. package/lib/esm/utils/TextMeasurer.mjs +0 -27
@@ -1,6 +1,24 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
+ import { sstyled } from "@semcore/core";
2
3
  import propsForElement from "@semcore/core/lib/utils/propsForElement";
3
4
  import React from "react";
5
+ /*!__reshadow-styles__:"./style/pattern.shadow.css"*/
6
+ const style = (
7
+ /*__reshadow_css_start__*/
8
+ (sstyled.insert(
9
+ /*__inner_css_start__*/
10
+ ".___SLinearGradient_1yi6g_gg_ .___SStopFrom_1yi6g_gg_{stop-color:var(--violet-300_1yi6g,#c08eff)}@media (color-gamut:p3){.___SLinearGradient_1yi6g_gg_ .___SStopFrom_1yi6g_gg_{stop-color:var(--violet-300_1yi6g,oklch(.74 .17 303))}}.___SLinearGradient_1yi6g_gg_ .___SStopTo_1yi6g_gg_{stop-color:var(--green-100_1yi6g,oklch(.9 .11 175))}",
11
+ /*__inner_css_end__*/
12
+ "1yi6g_gg_"
13
+ ), /*__reshadow_css_end__*/
14
+ {
15
+ "__SLinearGradient": "___SLinearGradient_1yi6g_gg_",
16
+ "__SStopFrom": "___SStopFrom_1yi6g_gg_",
17
+ "--violet-300": "--violet-300_1yi6g",
18
+ "__SStopTo": "___SStopTo_1yi6g_gg_",
19
+ "--green-100": "--green-100_1yi6g"
20
+ })
21
+ );
4
22
  const defaultDasharrays = ["4 4", "8 8", "2 4", "4 8", "8 2", "8 4", "12 4", "2 2"];
5
23
  const defaultPatterns = {
6
24
  starSmall: {
@@ -456,6 +474,102 @@ const resolvePattern = (patternKey, patternsConfig = true) => {
456
474
  patternIndex = patternIndex % patterns.length;
457
475
  return patterns[patternIndex];
458
476
  };
477
+ const DefaultStrokePattern = (props) => {
478
+ return /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("pattern", {
479
+ id: props.id,
480
+ width: "10",
481
+ height: "8",
482
+ patternUnits: "userSpaceOnUse",
483
+ patternTransform: "rotate(-117)"
484
+ }, /* @__PURE__ */ React.createElement("rect", {
485
+ width: "10",
486
+ height: "8",
487
+ fill: "transparent"
488
+ }), /* @__PURE__ */ React.createElement("line", {
489
+ x1: "0",
490
+ y1: "0",
491
+ x2: "0",
492
+ y2: "8",
493
+ stroke: "#fff",
494
+ strokeWidth: "8"
495
+ })));
496
+ };
497
+ const LightStrokePattern = (props) => {
498
+ return /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("pattern", {
499
+ id: props.id,
500
+ width: "4",
501
+ height: "4",
502
+ patternUnits: "userSpaceOnUse",
503
+ patternTransform: "rotate(40)"
504
+ }, /* @__PURE__ */ React.createElement("line", {
505
+ x1: "3",
506
+ y1: "0",
507
+ x2: "3",
508
+ y2: "4",
509
+ stroke: "white",
510
+ strokeWidth: "2"
511
+ })));
512
+ };
513
+ const StrokeMask = (props) => {
514
+ return /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement(LightStrokePattern, {
515
+ id: `${props.id}-stroke`
516
+ }), /* @__PURE__ */ React.createElement("mask", {
517
+ id: props.id
518
+ }, /* @__PURE__ */ React.createElement("rect", {
519
+ width: "100%",
520
+ height: "100%",
521
+ fill: props.color
522
+ }), /* @__PURE__ */ React.createElement("rect", {
523
+ width: "100%",
524
+ height: "100%",
525
+ fill: `url(#${props.id}-stroke)`
526
+ })));
527
+ };
528
+ const ForecastGradient = (props) => {
529
+ return /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("linearGradient", {
530
+ id: props.id,
531
+ x1: "0%",
532
+ y1: "0%",
533
+ x2: "0%",
534
+ y2: "100%"
535
+ }, /* @__PURE__ */ React.createElement("stop", {
536
+ offset: "0%",
537
+ stopColor: props.color,
538
+ stopOpacity: "0.4"
539
+ }), /* @__PURE__ */ React.createElement("stop", {
540
+ offset: "100%",
541
+ stopColor: "#fff",
542
+ stopOpacity: "0.1"
543
+ })));
544
+ };
545
+ const PotentialGradient = (props) => {
546
+ var _ref;
547
+ const SLinearGradient = "linearGradient";
548
+ const SStopFrom = "stop";
549
+ const SStopTo = "stop";
550
+ const isLine = props.type === "line";
551
+ const isArea = props.type === "area";
552
+ let gradientTransform = "rotate(-90 0.5 0.5)";
553
+ if (isLine) {
554
+ gradientTransform = "";
555
+ } else if (isArea) {
556
+ gradientTransform = "rotate(-30 0.5 0.5)";
557
+ }
558
+ return _ref = sstyled(style), /* @__PURE__ */ React.createElement("defs", _ref.cn("defs", {}), /* @__PURE__ */ React.createElement(SLinearGradient, _ref.cn("SLinearGradient", {
559
+ "id": props.id,
560
+ "x1": "0%",
561
+ "y1": "0%",
562
+ "x2": isLine ? "100%" : "0",
563
+ "y2": isLine ? "0" : "100%",
564
+ "gradientTransform": gradientTransform
565
+ }), /* @__PURE__ */ React.createElement(SStopFrom, _ref.cn("SStopFrom", {
566
+ "offset": "0%",
567
+ "stopOpacity": 1
568
+ })), /* @__PURE__ */ React.createElement(SStopTo, _ref.cn("SStopTo", {
569
+ "offset": "100%",
570
+ "stopOpacity": isArea ? 0 : 1
571
+ }))));
572
+ };
459
573
  const PatternFill = ({
460
574
  id,
461
575
  color,
@@ -518,8 +632,13 @@ const resolvePatternDasharray = (patternKey, patterns) => {
518
632
  return pattern?.dasharray;
519
633
  };
520
634
  export {
635
+ DefaultStrokePattern,
636
+ ForecastGradient,
637
+ LightStrokePattern,
521
638
  PatternFill,
522
639
  PatternSymbol,
640
+ PotentialGradient,
641
+ StrokeMask,
523
642
  getPatternSymbolSize,
524
643
  resolvePatternDasharray
525
644
  };
package/lib/esm/Plot.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- import { sstyled, Component, assignProps, createComponent } from "@semcore/core";
2
+ import { createComponent, sstyled, Component, assignProps } from "@semcore/core";
3
3
  import { Box } from "@semcore/base-components";
4
4
  import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
5
5
  import resolveColorEnhance from "@semcore/core/lib/utils/enhances/resolveColorEnhance";
@@ -7,6 +7,7 @@ import EventEmitter from "@semcore/core/lib/utils/eventEmitter";
7
7
  import React from "react";
8
8
  import { makeDataHintsContainer, makeDataHintsHandlers } from "./a11y/hints.mjs";
9
9
  import { PlotA11yModule } from "./a11y/PlotA11yModule.mjs";
10
+ import { ChartMetaData } from "./ChartMetaData.mjs";
10
11
  import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
11
12
  import { uniqueId, eventToPoint } from "./utils.mjs";
12
13
  /*!__reshadow-styles__:"./style/plot.shadow.css"*/
@@ -14,7 +15,7 @@ const style = (
14
15
  /*__reshadow_css_start__*/
15
16
  (sstyled.insert(
16
17
  /*__inner_css_start__*/
17
- ".___SPlot_1f5de_gg_{overflow:hidden}.___SPlot_1f5de_gg_:focus{outline:none}.___SPlot_1f5de_gg_:active{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_1f5de_gg_:has(foreignObject[data-aria-only]:focus-within){outline-color:var(--intergalactic-keyboard-focus-outline,#0020dd78);outline-style:solid;outline-width:2px;outline-offset:2px;transition-duration:calc(var(--intergalactic-duration-extra-fast, 100)*1ms);transition-timing-function:ease-in-out;transition-property:outline-color,outline-width,outline-offset;border-radius:var(--intergalactic-surface-rounded,8px)}@media (color-gamut:p3){.___SPlot_1f5de_gg_:has(foreignObject[data-aria-only]:focus-within){outline-color:var(--intergalactic-keyboard-focus-outline,oklch(.424 .269 264.2/.469))}}",
18
+ ".___SPlot_1f5de_gg_{overflow:hidden}.___SPlot_1f5de_gg_:focus{outline:none}.___SPlot_1f5de_gg_:active{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_1f5de_gg_:has(foreignObject[data-aria-only]:focus-within){outline-color:var(--intergalactic-keyboard-focus-outline,oklch(.23 .009 245));outline-style:solid;outline-width:2px;outline-offset:2px;transition-duration:calc(var(--intergalactic-duration-extra-fast, 100)*1ms);transition-timing-function:ease-in-out;transition-property:outline-color,outline-width,outline-offset;border-radius:var(--intergalactic-surface-rounded,8px)}",
18
19
  /*__inner_css_end__*/
19
20
  "1f5de_gg_"
20
21
  ), /*__reshadow_css_end__*/
@@ -52,6 +53,7 @@ class PlotRoot extends Component {
52
53
  this.eventEmitter.emit("onMouseLeaveChart", e);
53
54
  });
54
55
  this.eventEmitter = props.eventEmitter || new EventEmitter();
56
+ this.meta = new ChartMetaData();
55
57
  }
56
58
  setContext() {
57
59
  const {
@@ -81,7 +83,8 @@ class PlotRoot extends Component {
81
83
  resolveColor,
82
84
  patterns,
83
85
  duration,
84
- plotId: this.plotId
86
+ plotId: this.plotId,
87
+ meta: this.meta
85
88
  }
86
89
  };
87
90
  }
package/lib/esm/Radar.mjs CHANGED
@@ -16,29 +16,29 @@ const style = (
16
16
  /*__reshadow_css_start__*/
17
17
  (sstyled.insert(
18
18
  /*__inner_css_start__*/
19
- ".___SAxisLine_1hpm6_gg_,.___SAxisTick_1hpm6_gg_,.___SAxis_1hpm6_gg_{stroke:var(--intergalactic-chart-grid-line,oklch(.95 .002 180));stroke-width:1;fill:#0000}.___SAxisLine_1hpm6_gg_,.___SAxisTick_1hpm6_gg_{stroke-dasharray:2}.___SAxisLine_1hpm6_gg_.__active_1hpm6_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line,oklch(.88 .002 175.6))}.___SAxisLabel_1hpm6_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_1hpm6_gg_.__xDirection_1hpm6_gg_{text-anchor:var(--xDirection_1hpm6)}.___SAxisLabel_1hpm6_gg_.__yDirection_1hpm6_gg_{dominant-baseline:var(--yDirection_1hpm6)}.___SPolygon_1hpm6_gg_{fill:var(--intergalactic-chart-palette-order-1,oklch(.23 .01 140));opacity:.2}.___SPolygon_1hpm6_gg_.__color_1hpm6_gg_{fill:var(--color_1hpm6)}.___SPolygon_1hpm6_gg_.__pattern_1hpm6_gg_.__color_1hpm6_gg_{fill:var(--pattern_1hpm6);stroke:var(--color_1hpm6);stroke-width:1px}.___SPolygonDot_1hpm6_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border,#fff);r:6px;fill:var(--intergalactic-chart-palette-order-1,oklch(.23 .01 140))}.___SPolygonDot_1hpm6_gg_.__transparent_1hpm6_gg_{opacity:.3}.___SPolygonDot_1hpm6_gg_.__color_1hpm6_gg_{fill:var(--color_1hpm6)}.___SPolygonLine_1hpm6_gg_{stroke:var(--intergalactic-chart-palette-order-1,oklch(.23 .01 140));stroke-width:3;fill:#0000}.___SPolygonLine_1hpm6_gg_.__transparent_1hpm6_gg_{opacity:.3}.___SPolygonLine_1hpm6_gg_.__color_1hpm6_gg_{stroke:var(--color_1hpm6)}.___SPieRect_1hpm6_gg_{outline:none;fill:var(--intergalactic-chart-grid-bar-chart-hover,oklch(.177 .033 175.6/.042))}",
19
+ ".___SAxisLine_1i4jk_gg_,.___SAxisTick_1i4jk_gg_,.___SAxis_1i4jk_gg_{stroke:var(--intergalactic-chart-grid-line,oklch(.7 .021 242));stroke-width:1;fill:#0000}.___SAxisLine_1i4jk_gg_,.___SAxisTick_1i4jk_gg_{stroke-dasharray:2}.___SAxisLine_1i4jk_gg_.__active_1i4jk_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line,oklch(.88 .011 234.9))}.___SAxisLabel_1i4jk_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_1i4jk_gg_.__xDirection_1i4jk_gg_{text-anchor:var(--xDirection_1i4jk)}.___SAxisLabel_1i4jk_gg_.__yDirection_1i4jk_gg_{dominant-baseline:var(--yDirection_1i4jk)}.___SPolygon_1i4jk_gg_{fill:var(--intergalactic-chart-palette-order-1,oklch(.23 .009 245));opacity:.2}.___SPolygon_1i4jk_gg_.__color_1i4jk_gg_{fill:var(--color_1i4jk)}.___SPolygon_1i4jk_gg_.__pattern_1i4jk_gg_.__color_1i4jk_gg_{fill:var(--pattern_1i4jk);stroke:var(--color_1i4jk);stroke-width:1px}.___SPolygonDot_1i4jk_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border,#fff);r:6px;fill:var(--intergalactic-chart-palette-order-1,oklch(.23 .009 245))}.___SPolygonDot_1i4jk_gg_.__transparent_1i4jk_gg_{opacity:.3}.___SPolygonDot_1i4jk_gg_.__color_1i4jk_gg_{fill:var(--color_1i4jk)}.___SPolygonLine_1i4jk_gg_{stroke:var(--intergalactic-chart-palette-order-1,oklch(.23 .009 245));stroke-width:3;fill:#0000}.___SPolygonLine_1i4jk_gg_.__transparent_1i4jk_gg_{opacity:.3}.___SPolygonLine_1i4jk_gg_.__color_1i4jk_gg_{stroke:var(--color_1i4jk)}.___SPieRect_1i4jk_gg_{outline:none;fill:var(--intergalactic-chart-grid-bar-hover,oklch(.375 .09 242.7/.05))}",
20
20
  /*__inner_css_end__*/
21
- "1hpm6_gg_"
21
+ "1i4jk_gg_"
22
22
  ), /*__reshadow_css_end__*/
23
23
  {
24
- "__SAxis": "___SAxis_1hpm6_gg_",
25
- "__SAxisLine": "___SAxisLine_1hpm6_gg_",
26
- "__SAxisTick": "___SAxisTick_1hpm6_gg_",
27
- "_active": "__active_1hpm6_gg_",
28
- "__SAxisLabel": "___SAxisLabel_1hpm6_gg_",
29
- "_xDirection": "__xDirection_1hpm6_gg_",
30
- "--xDirection": "--xDirection_1hpm6",
31
- "_yDirection": "__yDirection_1hpm6_gg_",
32
- "--yDirection": "--yDirection_1hpm6",
33
- "__SPolygon": "___SPolygon_1hpm6_gg_",
34
- "_color": "__color_1hpm6_gg_",
35
- "--color": "--color_1hpm6",
36
- "_pattern": "__pattern_1hpm6_gg_",
37
- "--pattern": "--pattern_1hpm6",
38
- "__SPolygonDot": "___SPolygonDot_1hpm6_gg_",
39
- "_transparent": "__transparent_1hpm6_gg_",
40
- "__SPolygonLine": "___SPolygonLine_1hpm6_gg_",
41
- "__SPieRect": "___SPieRect_1hpm6_gg_"
24
+ "__SAxis": "___SAxis_1i4jk_gg_",
25
+ "__SAxisLine": "___SAxisLine_1i4jk_gg_",
26
+ "__SAxisTick": "___SAxisTick_1i4jk_gg_",
27
+ "_active": "__active_1i4jk_gg_",
28
+ "__SAxisLabel": "___SAxisLabel_1i4jk_gg_",
29
+ "_xDirection": "__xDirection_1i4jk_gg_",
30
+ "--xDirection": "--xDirection_1i4jk",
31
+ "_yDirection": "__yDirection_1i4jk_gg_",
32
+ "--yDirection": "--yDirection_1i4jk",
33
+ "__SPolygon": "___SPolygon_1i4jk_gg_",
34
+ "_color": "__color_1i4jk_gg_",
35
+ "--color": "--color_1i4jk",
36
+ "_pattern": "__pattern_1i4jk_gg_",
37
+ "--pattern": "--pattern_1i4jk",
38
+ "__SPolygonDot": "___SPolygonDot_1i4jk_gg_",
39
+ "_transparent": "__transparent_1i4jk_gg_",
40
+ "__SPolygonLine": "___SPolygonLine_1i4jk_gg_",
41
+ "__SPieRect": "___SPieRect_1i4jk_gg_"
42
42
  })
43
43
  );
44
44
  const clampAngle = (angle) => {
@@ -14,22 +14,22 @@ const style = (
14
14
  /*__reshadow_css_start__*/
15
15
  (sstyled.insert(
16
16
  /*__inner_css_start__*/
17
- ".___SRadian_ojwuj_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info,oklch(.6 .166 277.7))}.___SLine_ojwuj_gg_{stroke:var(--intergalactic-text-large-info,oklch(.6 .166 277.7))}.___SLine_ojwuj_gg_.__stroke_ojwuj_gg_{stroke:var(--stroke_ojwuj)}.___SLine_ojwuj_gg_.__transparent_ojwuj_gg_{opacity:.3}.___SCap_ojwuj_gg_{transition:r .1s}.___SCap_ojwuj_gg_.__pattern_ojwuj_gg_{stroke:var(--intergalactic-chart-grid-border,#fff);stroke-width:1px}.___SCap_ojwuj_gg_.__transparent_ojwuj_gg_,.___SIcon_ojwuj_gg_.__transparent_ojwuj_gg_{opacity:.3}.___SLabel_ojwuj_gg_{fill:var(--color_ojwuj)}.___SLabel_ojwuj_gg_.__transparent_ojwuj_gg_{opacity:.3}@media (hover:hover){.___SRadian_ojwuj_gg_:hover .___SLabel_ojwuj_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_ojwuj_gg_{transition:none}}",
17
+ ".___SRadian_tu12w_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info,oklch(.23 .009 245))}.___SLine_tu12w_gg_{stroke:var(--intergalactic-text-large-info,oklch(.23 .009 245))}.___SLine_tu12w_gg_.__stroke_tu12w_gg_{stroke:var(--stroke_tu12w)}.___SLine_tu12w_gg_.__transparent_tu12w_gg_{opacity:.3}.___SCap_tu12w_gg_{transition:r .1s}.___SCap_tu12w_gg_.__pattern_tu12w_gg_{stroke:var(--intergalactic-chart-grid-border,#fff);stroke-width:1px}.___SCap_tu12w_gg_.__transparent_tu12w_gg_,.___SIcon_tu12w_gg_.__transparent_tu12w_gg_{opacity:.3}.___SLabel_tu12w_gg_{fill:var(--color_tu12w)}.___SLabel_tu12w_gg_.__transparent_tu12w_gg_{opacity:.3}@media (hover:hover){.___SRadian_tu12w_gg_:hover .___SLabel_tu12w_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_tu12w_gg_{transition:none}}",
18
18
  /*__inner_css_end__*/
19
- "ojwuj_gg_"
19
+ "tu12w_gg_"
20
20
  ), /*__reshadow_css_end__*/
21
21
  {
22
- "__SRadian": "___SRadian_ojwuj_gg_",
23
- "__SLine": "___SLine_ojwuj_gg_",
24
- "_stroke": "__stroke_ojwuj_gg_",
25
- "--stroke": "--stroke_ojwuj",
26
- "_transparent": "__transparent_ojwuj_gg_",
27
- "__SCap": "___SCap_ojwuj_gg_",
28
- "_pattern": "__pattern_ojwuj_gg_",
29
- "__SIcon": "___SIcon_ojwuj_gg_",
30
- "__SLabel": "___SLabel_ojwuj_gg_",
31
- "--color": "--color_ojwuj",
32
- "__SLineCap": "___SLineCap_ojwuj_gg_"
22
+ "__SRadian": "___SRadian_tu12w_gg_",
23
+ "__SLine": "___SLine_tu12w_gg_",
24
+ "_stroke": "__stroke_tu12w_gg_",
25
+ "--stroke": "--stroke_tu12w",
26
+ "_transparent": "__transparent_tu12w_gg_",
27
+ "__SCap": "___SCap_tu12w_gg_",
28
+ "_pattern": "__pattern_tu12w_gg_",
29
+ "__SIcon": "___SIcon_tu12w_gg_",
30
+ "__SLabel": "___SLabel_tu12w_gg_",
31
+ "--color": "--color_tu12w",
32
+ "__SLineCap": "___SLineCap_tu12w_gg_"
33
33
  })
34
34
  );
35
35
  const baseAngle = -Math.PI / 2;
@@ -9,24 +9,27 @@ const style = (
9
9
  /*__reshadow_css_start__*/
10
10
  (sstyled.insert(
11
11
  /*__inner_css_start__*/
12
- ".___SReferenceLine_1ycra_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line,oklch(.88 .002 175.6))}.___STitle_1ycra_gg_{font-size:var(--intergalactic-fs-100,12px);fill:var(--intergalactic-chart-grid-text-label,oklch(.097 .023 156.5/.468));transform-origin:var(--transform-origin_1ycra)}.___STitle_1ycra_gg_._position_top_1ycra_gg_{text-anchor:middle}.___STitle_1ycra_gg_._position_bottom_1ycra_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_1ycra_gg_._position_left_1ycra_gg_,.___STitle_1ycra_gg_._position_right_1ycra_gg_{transform:rotate(-90deg);dominant-baseline:middle;text-anchor:middle}.___SBackground_1ycra_gg_{fill:var(--intergalactic-chart-grid-period-bg,oklch(.96 .001 180))}.___SStripes_1ycra_gg_{fill:var(--fill_1ycra)}.___SStripesPatternPath_1ycra_gg_{stroke:var(--intergalactic-chart-grid-period-pattern,oklch(.95 .002 180));stroke-width:1px}",
12
+ ".___SReferenceLine_w3kqr_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line,oklch(.88 .011 234.9))}.___STitle_w3kqr_gg_{font-size:var(--intergalactic-fs-100,12px);fill:var(--intergalactic-chart-grid-text-label,#00132466);transform-origin:var(--transform-origin_w3kqr)}.___STitle_w3kqr_gg_._position_top_w3kqr_gg_{text-anchor:middle}.___STitle_w3kqr_gg_._position_bottom_w3kqr_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_w3kqr_gg_._position_left_w3kqr_gg_,.___STitle_w3kqr_gg_._position_right_w3kqr_gg_{transform:rotate(-90deg);dominant-baseline:middle;text-anchor:middle}.___SBackground_w3kqr_gg_{fill:var(--intergalactic-chart-grid-period-bg,oklch(.96 .005 232.5))}.___SStripes_w3kqr_gg_{fill:var(--fill_w3kqr)}.___SStripesPatternPath_w3kqr_gg_{stroke:var(--intergalactic-chart-grid-period-pattern,oklch(.95 .006 232.7));stroke-width:1px}",
13
13
  /*__inner_css_end__*/
14
- "1ycra_gg_"
14
+ "w3kqr_gg_"
15
15
  ), /*__reshadow_css_end__*/
16
16
  {
17
- "__SReferenceLine": "___SReferenceLine_1ycra_gg_",
18
- "__STitle": "___STitle_1ycra_gg_",
19
- "--transform-origin": "--transform-origin_1ycra",
20
- "_position_top": "_position_top_1ycra_gg_",
21
- "_position_bottom": "_position_bottom_1ycra_gg_",
22
- "_position_right": "_position_right_1ycra_gg_",
23
- "_position_left": "_position_left_1ycra_gg_",
24
- "__SBackground": "___SBackground_1ycra_gg_",
25
- "__SStripes": "___SStripes_1ycra_gg_",
26
- "--fill": "--fill_1ycra",
27
- "__SStripesPatternPath": "___SStripesPatternPath_1ycra_gg_"
17
+ "__SReferenceLine": "___SReferenceLine_w3kqr_gg_",
18
+ "__STitle": "___STitle_w3kqr_gg_",
19
+ "--transform-origin": "--transform-origin_w3kqr",
20
+ "_position_top": "_position_top_w3kqr_gg_",
21
+ "_position_bottom": "_position_bottom_w3kqr_gg_",
22
+ "_position_right": "_position_right_w3kqr_gg_",
23
+ "_position_left": "_position_left_w3kqr_gg_",
24
+ "__SBackground": "___SBackground_w3kqr_gg_",
25
+ "__SStripes": "___SStripes_w3kqr_gg_",
26
+ "--fill": "--fill_w3kqr",
27
+ "__SStripesPatternPath": "___SStripesPatternPath_w3kqr_gg_"
28
28
  })
29
29
  );
30
+ const STROKE_WIDTH = 1;
31
+ const NOTCH_WIDTH = 9;
32
+ const NOTCH_DELTA = NOTCH_WIDTH / 2 - STROKE_WIDTH / 4;
30
33
  const side2direction = {
31
34
  left: "vertical",
32
35
  right: "vertical",
@@ -41,7 +44,19 @@ const lineDirection2props = {
41
44
  x1: x,
42
45
  x2: x,
43
46
  y1: yRange[0],
44
- y2: yRange[1]
47
+ y2: yRange[1],
48
+ notchFirst: {
49
+ x1: x - NOTCH_DELTA,
50
+ x2: x + NOTCH_DELTA,
51
+ y1: yRange[0],
52
+ y2: yRange[0]
53
+ },
54
+ notchLast: {
55
+ x1: x - NOTCH_DELTA,
56
+ x2: x + NOTCH_DELTA,
57
+ y1: yRange[1],
58
+ y2: yRange[1]
59
+ }
45
60
  };
46
61
  },
47
62
  horizontal: ([xScale, yScale], value) => {
@@ -51,7 +66,19 @@ const lineDirection2props = {
51
66
  x1: xRange[0],
52
67
  x2: xRange[1],
53
68
  y1: y,
54
- y2: y
69
+ y2: y,
70
+ notchFirst: {
71
+ x1: xRange[0],
72
+ x2: xRange[0],
73
+ y1: y - NOTCH_DELTA,
74
+ y2: y + NOTCH_DELTA
75
+ },
76
+ notchLast: {
77
+ x1: xRange[1],
78
+ x2: xRange[1],
79
+ y1: y - NOTCH_DELTA,
80
+ y2: y + NOTCH_DELTA
81
+ }
55
82
  };
56
83
  }
57
84
  };
@@ -148,12 +175,22 @@ class ReferenceLineRoot extends Component {
148
175
  styles
149
176
  } = this.asProps;
150
177
  const positionProps = lineDirection2props[side2direction[position]];
178
+ const {
179
+ notchFirst,
180
+ notchLast,
181
+ ...line
182
+ } = positionProps(scale, value);
151
183
  return _ref = sstyled(styles), /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(SReferenceLine, _ref.cn("SReferenceLine", {
152
- "render": "line",
184
+ "render": "g",
153
185
  "__excludeProps": ["data", "scale", "format", "value", "color"],
154
- "stroke": resolveColor(color),
155
- ...positionProps(scale, value)
156
- })), title && /* @__PURE__ */ React.createElement(ReferenceLine.Title, null, title));
186
+ "stroke": resolveColor(color)
187
+ }), /* @__PURE__ */ React.createElement("line", _ref.cn("line", {
188
+ ...notchFirst
189
+ })), /* @__PURE__ */ React.createElement("line", _ref.cn("line", {
190
+ ...line
191
+ })), /* @__PURE__ */ React.createElement("line", _ref.cn("line", {
192
+ ...notchLast
193
+ }))), title && /* @__PURE__ */ React.createElement(ReferenceLine.Title, null, title));
157
194
  }
158
195
  }
159
196
  _defineProperty(ReferenceLineRoot, "displayName", "ReferenceLine");
@@ -13,19 +13,19 @@ const style = (
13
13
  /*__reshadow_css_start__*/
14
14
  (sstyled.insert(
15
15
  /*__inner_css_start__*/
16
- ".___SScatterPlot_1kxs7_gg_{fill:var(--intergalactic-chart-palette-order-1,oklch(.23 .01 140));transition-property:cx,cy;transition-duration:var(--duration_1kxs7);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_1kxs7_gg_:hover{opacity:.8}}.___SScatterPlot_1kxs7_gg_.__color_1kxs7_gg_{fill:var(--color_1kxs7)}.___SScatterPlot_1kxs7_gg_.__pattern_1kxs7_gg_.__color_1kxs7_gg_{fill:var(--pattern_1kxs7);stroke:var(--color_1kxs7);stroke-width:1px}.___SScatterPlot_1kxs7_gg_.__transparent_1kxs7_gg_{opacity:.3}.___SValue_1kxs7_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50,10px);stroke:var(--intergalactic-chart-palette-order-9,oklch(.53 .157 279.2))}.___SValue_1kxs7_gg_.__color_1kxs7_gg_{stroke:var(--color_1kxs7)}.___SValue_1kxs7_gg_.__transparent_1kxs7_gg_{opacity:.3}",
16
+ ".___SScatterPlot_srw2j_gg_{fill:var(--intergalactic-chart-palette-order-1,oklch(.23 .009 245));transition-property:cx,cy;transition-duration:var(--duration_srw2j);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_srw2j_gg_:hover{opacity:.8}}.___SScatterPlot_srw2j_gg_.__color_srw2j_gg_{fill:var(--color_srw2j)}.___SScatterPlot_srw2j_gg_.__pattern_srw2j_gg_.__color_srw2j_gg_{fill:var(--pattern_srw2j);stroke:var(--color_srw2j);stroke-width:1px}.___SScatterPlot_srw2j_gg_.__transparent_srw2j_gg_{opacity:.3}.___SValue_srw2j_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50,10px);stroke:var(--intergalactic-chart-palette-order-9,oklch(.53 .157 279.2))}.___SValue_srw2j_gg_.__color_srw2j_gg_{stroke:var(--color_srw2j)}.___SValue_srw2j_gg_.__transparent_srw2j_gg_{opacity:.3}",
17
17
  /*__inner_css_end__*/
18
- "1kxs7_gg_"
18
+ "srw2j_gg_"
19
19
  ), /*__reshadow_css_end__*/
20
20
  {
21
- "__SScatterPlot": "___SScatterPlot_1kxs7_gg_",
22
- "_color": "__color_1kxs7_gg_",
23
- "--color": "--color_1kxs7",
24
- "_pattern": "__pattern_1kxs7_gg_",
25
- "--pattern": "--pattern_1kxs7",
26
- "_transparent": "__transparent_1kxs7_gg_",
27
- "__SValue": "___SValue_1kxs7_gg_",
28
- "--duration": "--duration_1kxs7"
21
+ "__SScatterPlot": "___SScatterPlot_srw2j_gg_",
22
+ "_color": "__color_srw2j_gg_",
23
+ "--color": "--color_srw2j",
24
+ "_pattern": "__pattern_srw2j_gg_",
25
+ "--pattern": "--pattern_srw2j",
26
+ "_transparent": "__transparent_srw2j_gg_",
27
+ "__SValue": "___SValue_srw2j_gg_",
28
+ "--duration": "--duration_srw2j"
29
29
  })
30
30
  );
31
31
  class ScatterPlotRoot extends Component {
@@ -12,22 +12,22 @@ const style = (
12
12
  /*__reshadow_css_start__*/
13
13
  (sstyled.insert(
14
14
  /*__inner_css_start__*/
15
- '.___STooltip_oee7t_gg_{font-size:var(--intergalactic-fs-100,12px);line-height:var(--intergalactic-lh-100,1.3334);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;position:relative;color:var(--intergalactic-text-primary-invert,oklch(.999 .001 180/.949));background-color:var(--intergalactic-tooltip-bg-invert,oklch(.23 .01 140));border-radius:var(--intergalactic-popper-rounded,6px);border:1px solid var(--intergalactic-tooltip-border-invert,oklch(.4 .004 140));box-sizing:border-box;box-shadow:var(--intergalactic-box-shadow-popper,1px 1px 10px 0 #00151012);padding:var(--intergalactic-spacing-content-padding-medium,12px)}@media (color-gamut:p3){.___STooltip_oee7t_gg_{box-shadow:var(--intergalactic-box-shadow-popper,1px 1px 10px 0 oklch(.176 .033 175.7/.07))}}.___STitle_oee7t_gg_{color:var(--intergalactic-text-secondary-invert,oklch(.997 .004 165.9/.684));margin-bottom:var(--intergalactic-spacing-content-gap-large,8px)}.___SDotGroup_oee7t_gg_{display:flex;align-items:center}.___SDot_oee7t_gg_{margin-right:var(--intergalactic-spacing-content-gap-large,8px)}.___SDotCircle_oee7t_gg_.__color_oee7t_gg_.__lightness_oee7t_gg_{background-color:var(--color_oee7t);width:10px;height:10px;border-radius:50%;box-shadow:0 0 0 1px oklch(from var(--color_oee7t) calc(l + var(--lightness_oee7t)) c h)}.___SFooter_oee7t_gg_{background:var(--intergalactic-bg-secondary-invert,oklch(.969 .057 140/.118));color:var(--intergalactic-text-secondary-invert,oklch(.997 .004 165.9/.684));padding:var(--intergalactic-spacing-content-padding-xsmall,4px) var(--intergalactic-spacing-content-padding-medium,12px);border-radius:0 0 var(--intergalactic-rounded-medium,6px) var(--intergalactic-rounded-medium,6px);margin:var(--intergalactic-spacing-content-gap-xlarge,12px) calc(var(--intergalactic-spacing-content-gap-xlarge, 12px)*-1) calc(var(--intergalactic-spacing-content-gap-xlarge, 12px)*-1)}.___SDotPattern_oee7t_gg_{stroke-width:1px;stroke:oklch(from var(--intergalactic-chart-grid-border,#fff) l c h/.5)}',
15
+ '.___STooltip_5s0wq_gg_{font-size:var(--intergalactic-fs-100,12px);line-height:var(--intergalactic-lh-100,1.3334);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;position:relative;color:var(--intergalactic-text-primary-invert,oklch(.991 .005 232.5/.959));background-color:var(--intergalactic-tooltip-bg-invert,oklch(.23 .009 245));border-radius:var(--intergalactic-popper-rounded,6px);border:1px solid var(--intergalactic-tooltip-border-invert,oklch(.4 .015 245));box-sizing:border-box;box-shadow:var(--intergalactic-box-shadow-popper,1px 1px 10px 0 oklch(.324 .077 242.1/.079));padding:var(--intergalactic-spacing-3x,12px)}.___STitle_5s0wq_gg_{color:var(--intergalactic-text-secondary-invert,#e1f2ffb9);margin-bottom:var(--intergalactic-spacing-2x,8px)}@media (color-gamut:p3){.___STitle_5s0wq_gg_{color:var(--intergalactic-text-secondary-invert,oklch(.953 .025 240.1/.726))}}.___SDotGroup_5s0wq_gg_{display:flex;align-items:center}.___SDot_5s0wq_gg_{margin-right:var(--intergalactic-spacing-2x,8px)}.___SDotCircle_5s0wq_gg_.__color_5s0wq_gg_.__lightness_5s0wq_gg_{background-color:var(--color_5s0wq);width:10px;height:10px;border-radius:50%;box-shadow:0 0 0 1px oklch(from var(--color_5s0wq) calc(l + var(--lightness_5s0wq)) c h)}.___SFooter_5s0wq_gg_{background:var(--intergalactic-bg-secondary-invert,oklch(.907 .048 245.2/.129));color:var(--intergalactic-text-secondary-invert,#e1f2ffb9);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(var(--intergalactic-spacing-3x, 12px)*-1) calc(var(--intergalactic-spacing-3x, 12px)*-1)}@media (color-gamut:p3){.___SFooter_5s0wq_gg_{color:var(--intergalactic-text-secondary-invert,oklch(.953 .025 240.1/.726))}}.___SDotPattern_5s0wq_gg_{stroke-width:1px;stroke:oklch(from var(--intergalactic-chart-grid-border,#fff) l c h/.5)}',
16
16
  /*__inner_css_end__*/
17
- "oee7t_gg_"
17
+ "5s0wq_gg_"
18
18
  ), /*__reshadow_css_end__*/
19
19
  {
20
- "__STooltip": "___STooltip_oee7t_gg_",
21
- "__STitle": "___STitle_oee7t_gg_",
22
- "__SDotGroup": "___SDotGroup_oee7t_gg_",
23
- "__SDot": "___SDot_oee7t_gg_",
24
- "__SDotCircle": "___SDotCircle_oee7t_gg_",
25
- "_color": "__color_oee7t_gg_",
26
- "_lightness": "__lightness_oee7t_gg_",
27
- "--color": "--color_oee7t",
28
- "--lightness": "--lightness_oee7t",
29
- "__SFooter": "___SFooter_oee7t_gg_",
30
- "__SDotPattern": "___SDotPattern_oee7t_gg_"
20
+ "__STooltip": "___STooltip_5s0wq_gg_",
21
+ "__STitle": "___STitle_5s0wq_gg_",
22
+ "__SDotGroup": "___SDotGroup_5s0wq_gg_",
23
+ "__SDot": "___SDot_5s0wq_gg_",
24
+ "__SDotCircle": "___SDotCircle_5s0wq_gg_",
25
+ "_color": "__color_5s0wq_gg_",
26
+ "_lightness": "__lightness_5s0wq_gg_",
27
+ "--color": "--color_5s0wq",
28
+ "--lightness": "--lightness_5s0wq",
29
+ "__SFooter": "___SFooter_5s0wq_gg_",
30
+ "__SDotPattern": "___SDotPattern_5s0wq_gg_"
31
31
  })
32
32
  );
33
33
  const TooltipDotRenderContext = /* @__PURE__ */ React.createContext({
@@ -69,12 +69,14 @@ class TooltipRoot extends Component {
69
69
  const {
70
70
  x,
71
71
  y,
72
- hideHoverLine
72
+ hideHoverLine,
73
+ hideTickHover
73
74
  } = this.asProps;
74
75
  return {
75
76
  x,
76
77
  y,
77
- hideHoverLine
78
+ hideHoverLine,
79
+ hideTickHover
78
80
  };
79
81
  }
80
82
  getPopperProps() {
@@ -13,12 +13,12 @@ const styles = (
13
13
  /*__reshadow_css_start__*/
14
14
  (sstyled.insert(
15
15
  /*__inner_css_start__*/
16
- ".___SPlotA11yView_25i2q_gg_{position:relative;display:block;background-color:var(--intergalactic-bg-primary-neutral,oklch(1 0 0));color:var(--intergalactic-text-primary,oklch(.1 .03 137/.899));border:3px solid var(--intergalactic-border-primary,#000c0829);font-size:var(--intergalactic-fs-50,10px);z-index:var(--intergalactic-z-index-overlay,500);padding:2px;width:200px;height:200px;max-width:80%;max-height:80%;overflow:auto}@media (color-gamut:p3){.___SPlotA11yView_25i2q_gg_{border:3px solid var(--intergalactic-border-primary,oklch(.137 .026 175.7/.161))}}.___SPlotA11yView_25i2q_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x,8px);display:block}.___SPlotA11yView_25i2q_gg_ :is(table,td,th){border:1px solid var(--intergalactic-border-primary,#000c0829)}@media (color-gamut:p3){.___SPlotA11yView_25i2q_gg_ :is(table,td,th){border:1px solid var(--intergalactic-border-primary,oklch(.137 .026 175.7/.161))}}",
16
+ ".___SPlotA11yView_h2yn2_gg_{position:relative;display:block;background-color:var(--intergalactic-bg-primary-neutral,oklch(1 0 0));color:var(--intergalactic-text-primary,oklch(.23 .009 245));border:3px solid var(--intergalactic-border-primary,oklch(.277 .066 242.6/.18));font-size:var(--intergalactic-fs-50,10px);z-index:var(--intergalactic-z-index-overlay,500);padding:2px;width:200px;height:200px;max-width:80%;max-height:80%;overflow:auto}.___SPlotA11yView_h2yn2_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x,8px);display:block}.___SPlotA11yView_h2yn2_gg_ :is(table,td,th){border:1px solid var(--intergalactic-border-primary,oklch(.277 .066 242.6/.18))}",
17
17
  /*__inner_css_end__*/
18
- "25i2q_gg_"
18
+ "h2yn2_gg_"
19
19
  ), /*__reshadow_css_end__*/
20
20
  {
21
- "__SPlotA11yView": "___SPlotA11yView_25i2q_gg_"
21
+ "__SPlotA11yView": "___SPlotA11yView_h2yn2_gg_"
22
22
  })
23
23
  );
24
24
  function PlotA11yView({
@@ -25,28 +25,29 @@ const style = (
25
25
  /*__reshadow_css_start__*/
26
26
  (sstyled.insert(
27
27
  /*__inner_css_start__*/
28
- ".___SChart_1vcn7_gg_{width:100%;height:100%;min-width:0;min-height:0}.___STooltipChildrenWrapper_1vcn7_gg_{display:grid;grid-gap:var(--intergalactic-spacing-content-gap-large,8px);gap:var(--intergalactic-spacing-content-gap-large,8px);align-items:center}.___STooltipChildrenWrapper_1vcn7_gg_._columnsCount_2_1vcn7_gg_{grid-template-columns:auto minmax(28px,max-content)}.___STooltipChildrenWrapper_1vcn7_gg_._columnsCount_2_1vcn7_gg_ .___STooltipDivider_1vcn7_gg_{grid-column:span 2}.___STooltipChildrenWrapper_1vcn7_gg_._columnsCount_3_1vcn7_gg_{grid-template-columns:auto minmax(28px,max-content) minmax(28px,max-content)}.___STooltipChildrenWrapper_1vcn7_gg_._columnsCount_3_1vcn7_gg_ .___STooltipDivider_1vcn7_gg_{grid-column:span 3}.___STooltipDeltaWrapper_1vcn7_gg_{gap:var(--intergalactic-spacing-content-gap-xsmall,2px);justify-content:flex-end}.___STooltipDeltaWrapper_1vcn7_gg_._trend_upward_1vcn7_gg_{color:var(--intergalactic-chart-data-success,oklch(.82 .19 143))}.___STooltipDeltaWrapper_1vcn7_gg_._trend_downward_1vcn7_gg_{color:var(--intergalactic-chart-data-critical,#ff7d7d)}@media (color-gamut:p3){.___STooltipDeltaWrapper_1vcn7_gg_._trend_downward_1vcn7_gg_{color:var(--intergalactic-chart-data-critical,oklch(.74 .19 22))}}.___STooltipDeltaWrapper_1vcn7_gg_._trend_stable_1vcn7_gg_{color:var(--intergalactic-text-secondary-invert,oklch(.997 .004 165.9/.684))}.___STooltipDeltaWrapper_1vcn7_gg_ .___STooltipDeltaIcon_1vcn7_gg_{align-self:center}",
28
+ ".___SChart_1e5sk_gg_{width:100%;height:100%;min-width:0;min-height:0}.___STooltipChildrenWrapper_1e5sk_gg_{display:grid;grid-gap:var(--intergalactic-spacing-2x,8px);gap:var(--intergalactic-spacing-2x,8px);align-items:center}.___STooltipChildrenWrapper_1e5sk_gg_._columnsCount_2_1e5sk_gg_{grid-template-columns:auto minmax(28px,max-content)}.___STooltipChildrenWrapper_1e5sk_gg_._columnsCount_2_1e5sk_gg_ .___STooltipDivider_1e5sk_gg_{grid-column:span 2}.___STooltipChildrenWrapper_1e5sk_gg_._columnsCount_3_1e5sk_gg_{grid-template-columns:auto minmax(28px,max-content) minmax(28px,max-content)}.___STooltipChildrenWrapper_1e5sk_gg_._columnsCount_3_1e5sk_gg_ .___STooltipDivider_1e5sk_gg_{grid-column:span 3}.___STooltipDeltaWrapper_1e5sk_gg_{gap:var(--intergalactic-spacing-05x,2px);justify-content:flex-end}.___STooltipDeltaWrapper_1e5sk_gg_._trend_upward_1e5sk_gg_{color:var(--intergalactic-chart-data-success,oklch(.82 .19 143))}.___STooltipDeltaWrapper_1e5sk_gg_._trend_downward_1e5sk_gg_{color:var(--intergalactic-chart-data-critical,#ff7d7d)}@media (color-gamut:p3){.___STooltipDeltaWrapper_1e5sk_gg_._trend_downward_1e5sk_gg_{color:var(--intergalactic-chart-data-critical,oklch(.74 .19 22))}}.___STooltipDeltaWrapper_1e5sk_gg_._trend_stable_1e5sk_gg_{color:var(--intergalactic-text-secondary-invert,#e1f2ffb9)}@media (color-gamut:p3){.___STooltipDeltaWrapper_1e5sk_gg_._trend_stable_1e5sk_gg_{color:var(--intergalactic-text-secondary-invert,oklch(.953 .025 240.1/.726))}}.___STooltipDeltaWrapper_1e5sk_gg_._deltaPercentGrowthColor_critical_1e5sk_gg_._trend_upward_1e5sk_gg_{color:var(--intergalactic-chart-data-critical,#ff7d7d)}@media (color-gamut:p3){.___STooltipDeltaWrapper_1e5sk_gg_._deltaPercentGrowthColor_critical_1e5sk_gg_._trend_upward_1e5sk_gg_{color:var(--intergalactic-chart-data-critical,oklch(.74 .19 22))}}.___STooltipDeltaWrapper_1e5sk_gg_._deltaPercentGrowthColor_critical_1e5sk_gg_._trend_downward_1e5sk_gg_{color:var(--intergalactic-chart-data-success,oklch(.82 .19 143))}.___STooltipDeltaWrapper_1e5sk_gg_ .___STooltipDeltaIcon_1e5sk_gg_{align-self:center}",
29
29
  /*__inner_css_end__*/
30
- "1vcn7_gg_"
30
+ "1e5sk_gg_"
31
31
  ), /*__reshadow_css_end__*/
32
32
  {
33
- "__SChart": "___SChart_1vcn7_gg_",
34
- "__STooltipChildrenWrapper": "___STooltipChildrenWrapper_1vcn7_gg_",
35
- "_columnsCount_2": "_columnsCount_2_1vcn7_gg_",
36
- "__STooltipDivider": "___STooltipDivider_1vcn7_gg_",
37
- "_columnsCount_3": "_columnsCount_3_1vcn7_gg_",
38
- "__STooltipDeltaWrapper": "___STooltipDeltaWrapper_1vcn7_gg_",
39
- "_trend_upward": "_trend_upward_1vcn7_gg_",
40
- "_trend_downward": "_trend_downward_1vcn7_gg_",
41
- "_trend_stable": "_trend_stable_1vcn7_gg_",
42
- "__STooltipDeltaIcon": "___STooltipDeltaIcon_1vcn7_gg_"
33
+ "__SChart": "___SChart_1e5sk_gg_",
34
+ "__STooltipChildrenWrapper": "___STooltipChildrenWrapper_1e5sk_gg_",
35
+ "_columnsCount_2": "_columnsCount_2_1e5sk_gg_",
36
+ "__STooltipDivider": "___STooltipDivider_1e5sk_gg_",
37
+ "_columnsCount_3": "_columnsCount_3_1e5sk_gg_",
38
+ "__STooltipDeltaWrapper": "___STooltipDeltaWrapper_1e5sk_gg_",
39
+ "_trend_upward": "_trend_upward_1e5sk_gg_",
40
+ "_trend_downward": "_trend_downward_1e5sk_gg_",
41
+ "_trend_stable": "_trend_stable_1e5sk_gg_",
42
+ "_deltaPercentGrowthColor_critical": "_deltaPercentGrowthColor_critical_1e5sk_gg_",
43
+ "__STooltipDeltaIcon": "___STooltipDeltaIcon_1e5sk_gg_"
43
44
  })
44
45
  );
45
46
  const NOT_A_VALUE = "n/a";
46
47
  class AbstractChart extends Component {
47
48
  constructor(props) {
48
49
  super(props);
49
- _defineProperty(this, "plotPadding", 6);
50
+ _defineProperty(this, "plotPadding", 10);
50
51
  _defineProperty(this, "dataHints", makeDataHintsContainer());
51
52
  _defineProperty(this, "chartRef", /* @__PURE__ */ React.createRef());
52
53
  _defineProperty(this, "legendRef", /* @__PURE__ */ React.createRef());
@@ -470,7 +471,8 @@ class AbstractChart extends Component {
470
471
  const curr = data[index][key];
471
472
  if (typeof prev !== "number" || typeof curr !== "number") return null;
472
473
  if (prev === 0) return curr === 0 ? 0 : null;
473
- return (curr - prev) / Math.abs(prev) * 100;
474
+ const percent = (curr - prev) / Math.abs(prev) * 100;
475
+ return Number(percent.toFixed(1));
474
476
  }
475
477
  getTooltipChildren(options) {
476
478
  var _ref2;
@@ -526,24 +528,25 @@ class AbstractChart extends Component {
526
528
  renderTooltipPercentDelta(delta) {
527
529
  var _ref3;
528
530
  const {
529
- styles
531
+ styles,
532
+ deltaPercentGrowthColor
530
533
  } = this.asProps;
531
534
  const trend = this.getTooltipPercentDeltaTrend(delta);
532
535
  const STooltipDeltaWrapper = Flex;
533
536
  const STooltipDeltaIcon = trend === "upward" ? DiffUp : DiffDown;
534
- const displayedDelta = delta !== null ? this.defaultTooltipFormatter(Math.abs(delta)) : null;
535
537
  return _ref3 = sstyled(styles), /* @__PURE__ */ React.createElement(
536
538
  STooltipDeltaWrapper,
537
539
  _ref3.cn("STooltipDeltaWrapper", {
538
- "trend": trend
540
+ "trend": trend,
541
+ "deltaPercentGrowthColor": deltaPercentGrowthColor
539
542
  }),
540
543
  (trend === "upward" || trend === "downward") && /* @__PURE__ */ React.createElement(STooltipDeltaIcon, _ref3.cn("STooltipDeltaIcon", {
541
544
  "width": 8.5,
542
545
  "height": 8.5
543
546
  })),
544
- trend !== "unknown" && displayedDelta && /* @__PURE__ */ React.createElement(Text, _ref3.cn("Text", {
547
+ trend !== "unknown" && /* @__PURE__ */ React.createElement(Text, _ref3.cn("Text", {
545
548
  "size": 100
546
- }), displayedDelta, "%")
549
+ }), Math.abs(delta), "%")
547
550
  );
548
551
  }
549
552
  renderTooltipTotalLine(dataItem) {
@@ -0,0 +1,16 @@
1
+ const GOOD = /* @__PURE__ */ Symbol("GOOD");
2
+ const BAD = /* @__PURE__ */ Symbol("BAD");
3
+ const INSIGHTFUL = /* @__PURE__ */ Symbol("INSIGHTFUL");
4
+ const HIGHLIGHT_DOT = /* @__PURE__ */ Symbol("HIGHLIGHT_DOT");
5
+ const DATA_TYPE = /* @__PURE__ */ Symbol("DATA_TYPE");
6
+ const FORECAST = /* @__PURE__ */ Symbol("FORECAST_DATA");
7
+ const POTENTIAL = /* @__PURE__ */ Symbol("POTENTIAL_DATA");
8
+ export {
9
+ BAD,
10
+ DATA_TYPE,
11
+ FORECAST,
12
+ GOOD,
13
+ HIGHLIGHT_DOT,
14
+ INSIGHTFUL,
15
+ POTENTIAL
16
+ };