@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.
- package/Area.js +3 -3
- package/Area.js.map +2 -2
- package/Bar.js +3 -3
- package/Bar.js.map +2 -2
- package/Bubble.js +3 -3
- package/Bubble.js.map +2 -2
- package/CHANGELOG.external.md +30 -2
- package/ChoroplethSvg.js +15 -11
- package/ChoroplethSvg.js.map +2 -2
- package/Column.js +3 -3
- package/Column.js.map +2 -2
- package/Ellipse.js +3 -3
- package/Ellipse.js.map +2 -2
- package/Events.js +3 -3
- package/Events.js.map +2 -2
- package/FillerGauge.config.js +124 -3
- package/FillerGauge.config.js.map +3 -3
- package/FillerGauge.js +816 -75
- package/FillerGauge.js.map +4 -4
- package/Image.js +3 -3
- package/Image.js.map +2 -2
- package/Line.js +3 -3
- package/Line.js.map +2 -2
- package/LinkGraph.js +4 -4
- package/LinkGraph.js.map +2 -2
- package/Map.config.js +47 -3
- package/Map.config.js.map +2 -2
- package/Map.js +50 -6
- package/Map.js.map +2 -2
- package/Markdown.js +7 -4
- package/Markdown.js.map +2 -2
- package/MarkerGauge.js +3 -3
- package/MarkerGauge.js.map +2 -2
- package/ParallelCoordinates.js +3 -3
- package/ParallelCoordinates.js.map +2 -2
- package/Pie.js +3 -3
- package/Pie.js.map +2 -2
- package/Punchcard.js +3 -3
- package/Punchcard.js.map +2 -2
- package/Rectangle.js +3 -3
- package/Rectangle.js.map +2 -2
- package/Sankey.js +3 -3
- package/Sankey.js.map +2 -2
- package/Scatter.js +3 -3
- package/Scatter.js.map +2 -2
- package/SingleValue.js +5 -3
- package/SingleValue.js.map +2 -2
- package/SingleValueIcon.js +3 -3
- package/SingleValueIcon.js.map +2 -2
- package/SingleValueRadial.js +3 -3
- package/SingleValueRadial.js.map +2 -2
- package/TRELLIS.md +2 -2
- package/Table.config.js +22 -1
- package/Table.config.js.map +2 -2
- package/Table.js +233 -59
- package/Table.js.map +4 -4
- package/Timeline.js +66 -26
- package/Timeline.js.map +2 -2
- package/common/utils/tableUtils.js +59 -0
- package/common/utils/tableUtils.js.map +7 -0
- package/common/withDashboardViz.js +3 -3
- package/common/withDashboardViz.js.map +2 -2
- package/package.json +25 -25
package/CHANGELOG.external.md
CHANGED
|
@@ -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.
|
|
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.
|
|
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
|