@splunk/visualizations 28.2.0 → 28.2.1

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 (55) hide show
  1. package/Area.js +3 -9
  2. package/Area.js.map +2 -2
  3. package/Bar.js +3 -9
  4. package/Bar.js.map +2 -2
  5. package/Bubble.js +3 -9
  6. package/Bubble.js.map +2 -2
  7. package/CHANGELOG.external.md +16 -0
  8. package/ChoroplethSvg.js +3 -9
  9. package/ChoroplethSvg.js.map +2 -2
  10. package/Column.js +3 -9
  11. package/Column.js.map +2 -2
  12. package/Ellipse.js +3 -9
  13. package/Ellipse.js.map +2 -2
  14. package/Events.js +3 -9
  15. package/Events.js.map +2 -2
  16. package/FillerGauge.js +3 -9
  17. package/FillerGauge.js.map +2 -2
  18. package/Image.js +3 -9
  19. package/Image.js.map +2 -2
  20. package/Line.js +3 -9
  21. package/Line.js.map +2 -2
  22. package/LinkGraph.js +3 -9
  23. package/LinkGraph.js.map +2 -2
  24. package/Map.js +3 -9
  25. package/Map.js.map +2 -2
  26. package/Markdown.js +3 -9
  27. package/Markdown.js.map +2 -2
  28. package/MarkerGauge.js +3 -9
  29. package/MarkerGauge.js.map +2 -2
  30. package/ParallelCoordinates.js +3 -9
  31. package/ParallelCoordinates.js.map +2 -2
  32. package/Pie.js +3 -9
  33. package/Pie.js.map +2 -2
  34. package/Punchcard.js +3 -9
  35. package/Punchcard.js.map +2 -2
  36. package/Rectangle.js +3 -9
  37. package/Rectangle.js.map +2 -2
  38. package/Sankey.js +3 -9
  39. package/Sankey.js.map +2 -2
  40. package/Scatter.js +3 -9
  41. package/Scatter.js.map +2 -2
  42. package/SingleValue.js +3 -9
  43. package/SingleValue.js.map +2 -2
  44. package/SingleValueIcon.js +3 -9
  45. package/SingleValueIcon.js.map +2 -2
  46. package/SingleValueRadial.js +3 -9
  47. package/SingleValueRadial.js.map +2 -2
  48. package/Table.js +3 -9
  49. package/Table.js.map +2 -2
  50. package/Timeline.js +3 -9
  51. package/Timeline.js.map +2 -2
  52. package/common/withDashboardViz.js +3 -9
  53. package/common/withDashboardViz.js.map +2 -2
  54. package/dist/types/common/components/IconPlaceholder.d.ts.map +1 -1
  55. package/package.json +15 -15
@@ -4,6 +4,22 @@ 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.2.1 (2025-10-07)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * **SCP-78054:** fix overflow layout for icon placeholder (fa9e4fb)
13
+
14
+
15
+
16
+
17
+ # Change Log
18
+
19
+ All notable changes to this project will be documented in this file.
20
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
21
+
22
+
7
23
  # 28.2.0 (2025-09-30)
8
24
 
9
25
 
package/ChoroplethSvg.js CHANGED
@@ -505,7 +505,7 @@ var Cover = styled_components_default.div`
505
505
  bottom: 0;
506
506
  `;
507
507
  var Blocker = styled_components_default.div.attrs({
508
- "data-splunk-visualization-version": "28.2.0 - 7eea200d8"
508
+ "data-splunk-visualization-version": "28.2.1 - b6faf8893"
509
509
  })`
510
510
  position: relative;
511
511
  width: 100%;
@@ -599,7 +599,7 @@ var withFixedSizeContainer = (Viz) => {
599
599
  FixSizeItem,
600
600
  {
601
601
  "data-test": "fix-size-item",
602
- "data-splunk-visualization-version": "28.2.0 - 7eea200d8",
602
+ "data-splunk-visualization-version": "28.2.1 - b6faf8893",
603
603
  width,
604
604
  height,
605
605
  backgroundColor
@@ -628,12 +628,6 @@ var IconPlaceholder = (props) => {
628
628
  iconColor,
629
629
  backgroundColor
630
630
  } = props;
631
- const cachedHandleResize = react_exports.useCallback((w, h) => {
632
- setContainerWidth(w);
633
- setContainerHeight(h);
634
- }, []);
635
- const [containerWidth, setContainerWidth] = react_exports.useState(Number(width));
636
- const [containerHeight, setContainerHeight] = react_exports.useState(Number(height));
637
631
  let content = /* @__PURE__ */ react_exports.createElement(Message_default, { width, height, level: "warning", message: (0, i18n_exports._)("No DataSource Connected") });
638
632
  if (icon) {
639
633
  content = react_exports.createElement(icon, {
@@ -650,7 +644,7 @@ var IconPlaceholder = (props) => {
650
644
  "data-test": "icon-placeholder"
651
645
  });
652
646
  }
653
- return /* @__PURE__ */ react_exports.createElement("div", { style: { width: containerWidth, height: containerHeight, background: backgroundColor } }, /* @__PURE__ */ react_exports.createElement(SizeAwareWrapper_default, { width, height, onResize: cachedHandleResize }), content);
647
+ return /* @__PURE__ */ react_exports.createElement("div", { style: { width, height, background: backgroundColor } }, content);
654
648
  };
655
649
  var IconPlaceholder_default = FixedSizeContainer_default(IconPlaceholder);
656
650