@splunk/visualizations 24.5.1 → 24.5.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.
package/Area.js CHANGED
@@ -582,7 +582,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
582
582
 
583
583
  return React.createElement(FixSizeItem, {
584
584
  "data-test": "fix-size-item",
585
- "data-splunk-visualization-version": "24.5.1 - edc4c958c",
585
+ "data-splunk-visualization-version": "24.5.2 - c5ebe25a8",
586
586
  width: width,
587
587
  height: height,
588
588
  backgroundColor: backgroundColor
@@ -1555,7 +1555,7 @@ var Cover = styled_components_1.default.div.withConfig({
1555
1555
  componentId: "sc-1gsbnxb-0"
1556
1556
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1557
1557
  var Blocker = styled_components_1.default.div.attrs({
1558
- 'data-splunk-visualization-version': "24.5.1 - edc4c958c"
1558
+ 'data-splunk-visualization-version': "24.5.2 - c5ebe25a8"
1559
1559
  }).withConfig({
1560
1560
  displayName: "withEditModeCover__Blocker",
1561
1561
  componentId: "sc-1gsbnxb-1"
package/Bar.js CHANGED
@@ -582,7 +582,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
582
582
 
583
583
  return React.createElement(FixSizeItem, {
584
584
  "data-test": "fix-size-item",
585
- "data-splunk-visualization-version": "24.5.1 - edc4c958c",
585
+ "data-splunk-visualization-version": "24.5.2 - c5ebe25a8",
586
586
  width: width,
587
587
  height: height,
588
588
  backgroundColor: backgroundColor
@@ -1555,7 +1555,7 @@ var Cover = styled_components_1.default.div.withConfig({
1555
1555
  componentId: "sc-1gsbnxb-0"
1556
1556
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1557
1557
  var Blocker = styled_components_1.default.div.attrs({
1558
- 'data-splunk-visualization-version': "24.5.1 - edc4c958c"
1558
+ 'data-splunk-visualization-version': "24.5.2 - c5ebe25a8"
1559
1559
  }).withConfig({
1560
1560
  displayName: "withEditModeCover__Blocker",
1561
1561
  componentId: "sc-1gsbnxb-1"
package/Bubble.js CHANGED
@@ -582,7 +582,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
582
582
 
583
583
  return React.createElement(FixSizeItem, {
584
584
  "data-test": "fix-size-item",
585
- "data-splunk-visualization-version": "24.5.1 - edc4c958c",
585
+ "data-splunk-visualization-version": "24.5.2 - c5ebe25a8",
586
586
  width: width,
587
587
  height: height,
588
588
  backgroundColor: backgroundColor
@@ -1555,7 +1555,7 @@ var Cover = styled_components_1.default.div.withConfig({
1555
1555
  componentId: "sc-1gsbnxb-0"
1556
1556
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1557
1557
  var Blocker = styled_components_1.default.div.attrs({
1558
- 'data-splunk-visualization-version': "24.5.1 - edc4c958c"
1558
+ 'data-splunk-visualization-version': "24.5.2 - c5ebe25a8"
1559
1559
  }).withConfig({
1560
1560
  displayName: "withEditModeCover__Blocker",
1561
1561
  componentId: "sc-1gsbnxb-1"
package/ChoroplethSvg.js CHANGED
@@ -582,7 +582,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
582
582
 
583
583
  return React.createElement(FixSizeItem, {
584
584
  "data-test": "fix-size-item",
585
- "data-splunk-visualization-version": "24.5.1 - edc4c958c",
585
+ "data-splunk-visualization-version": "24.5.2 - c5ebe25a8",
586
586
  width: width,
587
587
  height: height,
588
588
  backgroundColor: backgroundColor
@@ -1550,7 +1550,7 @@ var Cover = styled_components_1.default.div.withConfig({
1550
1550
  componentId: "sc-1gsbnxb-0"
1551
1551
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1552
1552
  var Blocker = styled_components_1.default.div.attrs({
1553
- 'data-splunk-visualization-version': "24.5.1 - edc4c958c"
1553
+ 'data-splunk-visualization-version': "24.5.2 - c5ebe25a8"
1554
1554
  }).withConfig({
1555
1555
  displayName: "withEditModeCover__Blocker",
1556
1556
  componentId: "sc-1gsbnxb-1"
package/Column.js CHANGED
@@ -582,7 +582,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
582
582
 
583
583
  return React.createElement(FixSizeItem, {
584
584
  "data-test": "fix-size-item",
585
- "data-splunk-visualization-version": "24.5.1 - edc4c958c",
585
+ "data-splunk-visualization-version": "24.5.2 - c5ebe25a8",
586
586
  width: width,
587
587
  height: height,
588
588
  backgroundColor: backgroundColor
@@ -1555,7 +1555,7 @@ var Cover = styled_components_1.default.div.withConfig({
1555
1555
  componentId: "sc-1gsbnxb-0"
1556
1556
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1557
1557
  var Blocker = styled_components_1.default.div.attrs({
1558
- 'data-splunk-visualization-version': "24.5.1 - edc4c958c"
1558
+ 'data-splunk-visualization-version': "24.5.2 - c5ebe25a8"
1559
1559
  }).withConfig({
1560
1560
  displayName: "withEditModeCover__Blocker",
1561
1561
  componentId: "sc-1gsbnxb-1"
package/Ellipse.js CHANGED
@@ -582,7 +582,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
582
582
 
583
583
  return React.createElement(FixSizeItem, {
584
584
  "data-test": "fix-size-item",
585
- "data-splunk-visualization-version": "24.5.1 - edc4c958c",
585
+ "data-splunk-visualization-version": "24.5.2 - c5ebe25a8",
586
586
  width: width,
587
587
  height: height,
588
588
  backgroundColor: backgroundColor
@@ -1555,7 +1555,7 @@ var Cover = styled_components_1.default.div.withConfig({
1555
1555
  componentId: "sc-1gsbnxb-0"
1556
1556
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1557
1557
  var Blocker = styled_components_1.default.div.attrs({
1558
- 'data-splunk-visualization-version': "24.5.1 - edc4c958c"
1558
+ 'data-splunk-visualization-version': "24.5.2 - c5ebe25a8"
1559
1559
  }).withConfig({
1560
1560
  displayName: "withEditModeCover__Blocker",
1561
1561
  componentId: "sc-1gsbnxb-1"
package/FillerGauge.js CHANGED
@@ -582,7 +582,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
582
582
 
583
583
  return React.createElement(FixSizeItem, {
584
584
  "data-test": "fix-size-item",
585
- "data-splunk-visualization-version": "24.5.1 - edc4c958c",
585
+ "data-splunk-visualization-version": "24.5.2 - c5ebe25a8",
586
586
  width: width,
587
587
  height: height,
588
588
  backgroundColor: backgroundColor
@@ -1555,7 +1555,7 @@ var Cover = styled_components_1.default.div.withConfig({
1555
1555
  componentId: "sc-1gsbnxb-0"
1556
1556
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1557
1557
  var Blocker = styled_components_1.default.div.attrs({
1558
- 'data-splunk-visualization-version': "24.5.1 - edc4c958c"
1558
+ 'data-splunk-visualization-version': "24.5.2 - c5ebe25a8"
1559
1559
  }).withConfig({
1560
1560
  displayName: "withEditModeCover__Blocker",
1561
1561
  componentId: "sc-1gsbnxb-1"
package/Image.js CHANGED
@@ -390,7 +390,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
390
390
 
391
391
  return React.createElement(FixSizeItem, {
392
392
  "data-test": "fix-size-item",
393
- "data-splunk-visualization-version": "24.5.1 - edc4c958c",
393
+ "data-splunk-visualization-version": "24.5.2 - c5ebe25a8",
394
394
  width: width,
395
395
  height: height,
396
396
  backgroundColor: backgroundColor
@@ -1591,7 +1591,7 @@ var Cover = styled_components_1.default.div.withConfig({
1591
1591
  componentId: "sc-1gsbnxb-0"
1592
1592
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1593
1593
  var Blocker = styled_components_1.default.div.attrs({
1594
- 'data-splunk-visualization-version': "24.5.1 - edc4c958c"
1594
+ 'data-splunk-visualization-version': "24.5.2 - c5ebe25a8"
1595
1595
  }).withConfig({
1596
1596
  displayName: "withEditModeCover__Blocker",
1597
1597
  componentId: "sc-1gsbnxb-1"
package/Line.js CHANGED
@@ -582,7 +582,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
582
582
 
583
583
  return React.createElement(FixSizeItem, {
584
584
  "data-test": "fix-size-item",
585
- "data-splunk-visualization-version": "24.5.1 - edc4c958c",
585
+ "data-splunk-visualization-version": "24.5.2 - c5ebe25a8",
586
586
  width: width,
587
587
  height: height,
588
588
  backgroundColor: backgroundColor
@@ -1555,7 +1555,7 @@ var Cover = styled_components_1.default.div.withConfig({
1555
1555
  componentId: "sc-1gsbnxb-0"
1556
1556
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1557
1557
  var Blocker = styled_components_1.default.div.attrs({
1558
- 'data-splunk-visualization-version': "24.5.1 - edc4c958c"
1558
+ 'data-splunk-visualization-version': "24.5.2 - c5ebe25a8"
1559
1559
  }).withConfig({
1560
1560
  displayName: "withEditModeCover__Blocker",
1561
1561
  componentId: "sc-1gsbnxb-1"
package/LinkGraph.js CHANGED
@@ -582,7 +582,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
582
582
 
583
583
  return React.createElement(FixSizeItem, {
584
584
  "data-test": "fix-size-item",
585
- "data-splunk-visualization-version": "24.5.1 - edc4c958c",
585
+ "data-splunk-visualization-version": "24.5.2 - c5ebe25a8",
586
586
  width: width,
587
587
  height: height,
588
588
  backgroundColor: backgroundColor
@@ -1550,7 +1550,7 @@ var Cover = styled_components_1.default.div.withConfig({
1550
1550
  componentId: "sc-1gsbnxb-0"
1551
1551
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1552
1552
  var Blocker = styled_components_1.default.div.attrs({
1553
- 'data-splunk-visualization-version': "24.5.1 - edc4c958c"
1553
+ 'data-splunk-visualization-version': "24.5.2 - c5ebe25a8"
1554
1554
  }).withConfig({
1555
1555
  displayName: "withEditModeCover__Blocker",
1556
1556
  componentId: "sc-1gsbnxb-1"
package/Map.js CHANGED
@@ -582,7 +582,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
582
582
 
583
583
  return React.createElement(FixSizeItem, {
584
584
  "data-test": "fix-size-item",
585
- "data-splunk-visualization-version": "24.5.1 - edc4c958c",
585
+ "data-splunk-visualization-version": "24.5.2 - c5ebe25a8",
586
586
  width: width,
587
587
  height: height,
588
588
  backgroundColor: backgroundColor
@@ -1545,7 +1545,7 @@ var Cover = styled_components_1.default.div.withConfig({
1545
1545
  componentId: "sc-1gsbnxb-0"
1546
1546
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1547
1547
  var Blocker = styled_components_1.default.div.attrs({
1548
- 'data-splunk-visualization-version': "24.5.1 - edc4c958c"
1548
+ 'data-splunk-visualization-version': "24.5.2 - c5ebe25a8"
1549
1549
  }).withConfig({
1550
1550
  displayName: "withEditModeCover__Blocker",
1551
1551
  componentId: "sc-1gsbnxb-1"
@@ -2807,9 +2807,6 @@ var PureMap = function PureMap(props) {
2807
2807
  setTimeout(function () {
2808
2808
  return onMapLoad();
2809
2809
  }, 500);
2810
- });
2811
- map.current.on('zoomend', function () {
2812
- setCurrentZoomLevel(map.current.getZoom());
2813
2810
  }); // drag
2814
2811
 
2815
2812
  map.current.on('dragend', function () {
@@ -2820,11 +2817,11 @@ var PureMap = function PureMap(props) {
2820
2817
  }); // zoom
2821
2818
 
2822
2819
  map.current.on('zoomend', function () {
2820
+ setCurrentZoomLevel(map.current.getZoom());
2823
2821
  onOptionsChange({
2824
2822
  zoom: map.current.getZoom()
2825
2823
  });
2826
- }); // zoom
2827
-
2824
+ });
2828
2825
  zoomControl.current = new maplibre_gl_1.NavigationControl({
2829
2826
  showCompass: false
2830
2827
  });
@@ -2887,12 +2884,14 @@ var PureMap = function PureMap(props) {
2887
2884
  }, [tilePreset, initializeMap, initializeScale, updateScale, defaultTileLight, defaultTileDark, baseLayerTileServer, baseLayerTileServerType, themeColorScheme]);
2888
2885
  react_1.useEffect(function () {
2889
2886
  if (map.current) {
2890
- map.current.flyTo({
2891
- center: lngLatCenter,
2892
- zoom: zoomLevel
2887
+ map.current.on('load', function () {
2888
+ map.current.flyTo({
2889
+ center: lngLatCenter,
2890
+ zoom: zoomLevel
2891
+ });
2893
2892
  });
2894
2893
  }
2895
- }, [lngLatCenter, zoom]);
2894
+ }, [lngLatCenter, zoomLevel]);
2896
2895
  react_1.useEffect(function () {
2897
2896
  return function () {
2898
2897
  if (map.current) {