@splunk/visualizations 28.0.0 → 28.1.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 (63) hide show
  1. package/Area.js +3 -3
  2. package/Area.js.map +2 -2
  3. package/Bar.js +3 -3
  4. package/Bar.js.map +2 -2
  5. package/Bubble.js +3 -3
  6. package/Bubble.js.map +2 -2
  7. package/CHANGELOG.external.md +30 -2
  8. package/ChoroplethSvg.js +15 -11
  9. package/ChoroplethSvg.js.map +2 -2
  10. package/Column.js +3 -3
  11. package/Column.js.map +2 -2
  12. package/Ellipse.js +3 -3
  13. package/Ellipse.js.map +2 -2
  14. package/Events.js +3 -3
  15. package/Events.js.map +2 -2
  16. package/FillerGauge.config.js +124 -3
  17. package/FillerGauge.config.js.map +3 -3
  18. package/FillerGauge.js +816 -75
  19. package/FillerGauge.js.map +4 -4
  20. package/Image.js +3 -3
  21. package/Image.js.map +2 -2
  22. package/Line.js +3 -3
  23. package/Line.js.map +2 -2
  24. package/LinkGraph.js +4 -4
  25. package/LinkGraph.js.map +2 -2
  26. package/Map.config.js +47 -3
  27. package/Map.config.js.map +2 -2
  28. package/Map.js +50 -6
  29. package/Map.js.map +2 -2
  30. package/Markdown.js +7 -4
  31. package/Markdown.js.map +2 -2
  32. package/MarkerGauge.js +3 -3
  33. package/MarkerGauge.js.map +2 -2
  34. package/ParallelCoordinates.js +3 -3
  35. package/ParallelCoordinates.js.map +2 -2
  36. package/Pie.js +3 -3
  37. package/Pie.js.map +2 -2
  38. package/Punchcard.js +3 -3
  39. package/Punchcard.js.map +2 -2
  40. package/Rectangle.js +3 -3
  41. package/Rectangle.js.map +2 -2
  42. package/Sankey.js +3 -3
  43. package/Sankey.js.map +2 -2
  44. package/Scatter.js +3 -3
  45. package/Scatter.js.map +2 -2
  46. package/SingleValue.js +5 -3
  47. package/SingleValue.js.map +2 -2
  48. package/SingleValueIcon.js +3 -3
  49. package/SingleValueIcon.js.map +2 -2
  50. package/SingleValueRadial.js +3 -3
  51. package/SingleValueRadial.js.map +2 -2
  52. package/TRELLIS.md +2 -2
  53. package/Table.config.js +22 -1
  54. package/Table.config.js.map +2 -2
  55. package/Table.js +233 -59
  56. package/Table.js.map +4 -4
  57. package/Timeline.js +66 -26
  58. package/Timeline.js.map +2 -2
  59. package/common/utils/tableUtils.js +59 -0
  60. package/common/utils/tableUtils.js.map +7 -0
  61. package/common/withDashboardViz.js +3 -3
  62. package/common/withDashboardViz.js.map +2 -2
  63. package/package.json +25 -25
@@ -4,6 +4,35 @@ All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
6
 
7
+ # 28.1.0 (2025-08-19)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * **SCP-76604:** DSL - gradient formatter should work for tables with strings and time fields (e12ca7f)
13
+ * **SCP-76756:** Markdown - code blocks should wrap on overflow (468ec54)
14
+ * **SCP-76950:** Timeline - cursor scale issues with grid layout (72779cb)
15
+ * SVI - expose alt prop for RemoteIcon.jsx, default alt set to 'Remote Icon' (3e00022)
16
+ * **SCP-73715:** LinkGraph - fix for wrongly count nodes (ad5ede8)
17
+ * **SCP-76210:** SV - can not be clicked at smaller sizes (c665b29)
18
+
19
+
20
+ ### Features
21
+
22
+ * **SCP-55382:** Map - add dynamic colors editor UI - choropleth layer (1467679)
23
+ * **SCP-73706:** Filler gauge - enable trelllis (c0a5265)
24
+ * **SCP-76366:** Table - display footer totals and percentage (7bfb4a8)
25
+ * **SPL-280621:** ChoroplethSVG - dispatch focus event on choropleth svg on click (6e9a10f)
26
+
27
+
28
+
29
+
30
+ # Change Log
31
+
32
+ All notable changes to this project will be documented in this file.
33
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
34
+
35
+
7
36
  # 28.0.0 (2025-07-14)
8
37
 
9
38
 
@@ -27,8 +56,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
27
56
 
28
57
  ### BREAKING CHANGES
29
58
 
30
- * **SCP-68696:** Upgrade to React 18 and SUI 5 (3ba06ca)
31
-
59
+ * **SCP-68696:** Upgrade to React 18 and SUI 5, see Migration docs for details (3ba06ca)
32
60
 
33
61
 
34
62
 
package/ChoroplethSvg.js CHANGED
@@ -520,7 +520,7 @@ var withFixedSizeContainer = (Viz) => {
520
520
  FixSizeItem,
521
521
  {
522
522
  "data-test": "fix-size-item",
523
- "data-splunk-visualization-version": "28.0.0 - 0c5f07712",
523
+ "data-splunk-visualization-version": "28.1.0 - 4a1bff08b",
524
524
  width,
525
525
  height,
526
526
  backgroundColor
@@ -586,7 +586,7 @@ var Cover = styled_components_default.div`
586
586
  bottom: 0;
587
587
  `;
588
588
  var Blocker = styled_components_default.div.attrs({
589
- "data-splunk-visualization-version": "28.0.0 - 0c5f07712"
589
+ "data-splunk-visualization-version": "28.1.0 - 4a1bff08b"
590
590
  })`
591
591
  position: relative;
592
592
  width: 100%;
@@ -1309,7 +1309,7 @@ var withDashboardViz = (opts) => {
1309
1309
  }
1310
1310
  eventCallbackProps[eventCallbackPropName] = (ev) => {
1311
1311
  if (ev && ev.payload) {
1312
- payload = ev.payload;
1312
+ payload = __spreadValues({}, ev.payload);
1313
1313
  }
1314
1314
  return onEventTrigger({
1315
1315
  originalEvent: ev,
@@ -1499,7 +1499,8 @@ var _SvgMutator = class _SvgMutator {
1499
1499
  frameBorder: 0,
1500
1500
  sandbox: "allow-scripts",
1501
1501
  id: "svgChoroplethIframe",
1502
- "data-test": "svgChoroplethIframe"
1502
+ "data-test": "svgChoroplethIframe",
1503
+ "data-viz-supports-simulated-clicks": true
1503
1504
  });
1504
1505
  let intervalID = null;
1505
1506
  let messageListener = null;
@@ -1782,6 +1783,15 @@ value: ${data.values[i]}`;
1782
1783
  name
1783
1784
  }
1784
1785
  }, eventSetting));
1786
+ const outlineDiv = div.closest('[data-test="select-outline"]');
1787
+ if (outlineDiv) {
1788
+ const focusEvent = new FocusEvent("focus", {
1789
+ bubbles: true,
1790
+ cancelable: true,
1791
+ relatedTarget: outlineDiv
1792
+ });
1793
+ outlineDiv.dispatchEvent(focusEvent);
1794
+ }
1785
1795
  } else {
1786
1796
  mEvent = new MouseEvent(eventType, __spreadValues({
1787
1797
  clientX: realClientX,
@@ -1922,7 +1932,7 @@ var computeSvgDynamicProps = (_a) => {
1922
1932
  };
1923
1933
  var PureChoroplethSvg = (_a) => {
1924
1934
  var props = __objRest(_a, []);
1925
- const { width, height, backgroundColor } = props;
1935
+ const { width = "100%", height = 250, backgroundColor } = props;
1926
1936
  const cachedHandleResize = react_exports.useCallback((w, h) => {
1927
1937
  setContainerWidth(w);
1928
1938
  setContainerHeight(h);
@@ -1941,12 +1951,6 @@ var PureChoroplethSvg = (_a) => {
1941
1951
  };
1942
1952
  return /* @__PURE__ */ react_exports.createElement(Container, { width, height }, /* @__PURE__ */ react_exports.createElement(ChoroplethSvgWrapper, null, /* @__PURE__ */ react_exports.createElement(SizeAwareWrapper_default, { width, height, onResize: cachedHandleResize }), renderVisualization()));
1943
1953
  };
1944
- PureChoroplethSvg.defaultProps = {
1945
- width: "100%",
1946
- height: 250,
1947
- onAreaClick: () => {
1948
- }
1949
- };
1950
1954
  var PureChoroplethSvg_default = PureChoroplethSvg;
1951
1955
 
1952
1956
  // esm-externals:@splunk/visualization-schemas