@dynatrace/strato-geo 3.0.1 → 3.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 (166) hide show
  1. package/esm/map/MapView.js +4 -1
  2. package/esm/map/MapView.js.map +2 -2
  3. package/esm/map/components/BaseLayerDataError.js +1 -1
  4. package/esm/map/components/BaseLayerDataError.js.map +1 -1
  5. package/esm/map/components/BubbleLayer/BubbleCircleLayer.js +4 -2
  6. package/esm/map/components/BubbleLayer/BubbleCircleLayer.js.map +2 -2
  7. package/esm/map/components/BubbleLayer/BubbleLayer.js +10 -1
  8. package/esm/map/components/BubbleLayer/BubbleLayer.js.map +2 -2
  9. package/esm/map/components/BubbleLayer/BubbleLayerTooltip.js +1 -1
  10. package/esm/map/components/BubbleLayer/BubbleLayerTooltip.js.map +1 -1
  11. package/esm/map/components/BubbleLayer/BubbleOutlineLayer.js +1 -1
  12. package/esm/map/components/BubbleLayer/BubbleOutlineLayer.js.map +1 -1
  13. package/esm/map/components/BubbleLayer/utils/parse-bubble-data-to-geo-json.js +1 -1
  14. package/esm/map/components/BubbleLayer/utils/parse-bubble-data-to-geo-json.js.map +1 -1
  15. package/esm/map/components/ChoroplethLayer/ChoroplethLayer.js +4 -1
  16. package/esm/map/components/ChoroplethLayer/ChoroplethLayer.js.map +2 -2
  17. package/esm/map/components/ChoroplethLayer/ChoroplethLayerTooltip.js +1 -1
  18. package/esm/map/components/ChoroplethLayer/ChoroplethLayerTooltip.js.map +1 -1
  19. package/esm/map/components/ChoroplethLayer/ChoroplethOutlineLayer.js +1 -1
  20. package/esm/map/components/ChoroplethLayer/ChoroplethOutlineLayer.js.map +1 -1
  21. package/esm/map/components/ChoroplethLayer/utils/parse-region-data-to-geo-json.js +2 -2
  22. package/esm/map/components/ChoroplethLayer/utils/parse-region-data-to-geo-json.js.map +1 -1
  23. package/esm/map/components/ConnectionLayer/ConnectionLayer.js +3 -0
  24. package/esm/map/components/ConnectionLayer/ConnectionLayer.js.map +2 -2
  25. package/esm/map/components/ConnectionLayer/ConnectionLayerLine.js +6 -3
  26. package/esm/map/components/ConnectionLayer/ConnectionLayerLine.js.map +2 -2
  27. package/esm/map/components/ConnectionLayer/ConnectionLayerTooltip.js +1 -1
  28. package/esm/map/components/ConnectionLayer/ConnectionLayerTooltip.js.map +2 -2
  29. package/esm/map/components/ConnectionLayer/utils/parse-connection-data-to-geo-json.js +1 -1
  30. package/esm/map/components/ConnectionLayer/utils/parse-connection-data-to-geo-json.js.map +1 -1
  31. package/esm/map/components/ConnectionLayer/utils/restore-null-props.js.map +1 -1
  32. package/esm/map/components/DefaultTooltip/DefaultTooltip.js +1 -1
  33. package/esm/map/components/DefaultTooltip/DefaultTooltip.js.map +1 -1
  34. package/esm/map/components/DefaultTooltip/utils/get-default-actions.js +1 -1
  35. package/esm/map/components/DefaultTooltip/utils/get-default-actions.js.map +1 -1
  36. package/esm/map/components/DotLayer/DotLayer.js +4 -1
  37. package/esm/map/components/DotLayer/DotLayer.js.map +2 -2
  38. package/esm/map/components/DotLayer/DotLayerTooltip.js +1 -1
  39. package/esm/map/components/DotLayer/DotLayerTooltip.js.map +1 -1
  40. package/esm/map/components/DotLayer/utils/parse-dot-data-to-geo-json.js +1 -1
  41. package/esm/map/components/DotLayer/utils/parse-dot-data-to-geo-json.js.map +1 -1
  42. package/esm/map/components/DotLayer/utils/resolve-icon-background.js +1 -1
  43. package/esm/map/components/DotLayer/utils/resolve-icon-background.js.map +1 -1
  44. package/esm/map/components/MapContent.js +2 -2
  45. package/esm/map/components/MapContent.js.map +1 -1
  46. package/esm/map/components/legend/CategoricalLegendRenderer.js +1 -1
  47. package/esm/map/components/legend/CategoricalLegendRenderer.js.map +1 -1
  48. package/esm/map/components/legend/SequentialLegendRenderer.js +1 -1
  49. package/esm/map/components/legend/SequentialLegendRenderer.js.map +1 -1
  50. package/esm/map/components/legend/ThresholdLegendRenderer.js +1 -1
  51. package/esm/map/components/legend/ThresholdLegendRenderer.js.map +1 -1
  52. package/esm/map/components/toolbar/MapToolbar.js +1 -1
  53. package/esm/map/components/toolbar/MapToolbar.js.map +1 -1
  54. package/esm/map/components/toolbar/buttons/MapDownloadDataButton.js +1 -1
  55. package/esm/map/components/toolbar/buttons/MapDownloadDataButton.js.map +1 -1
  56. package/esm/map/components/toolbar/buttons/MapResetButton.js +1 -1
  57. package/esm/map/components/toolbar/buttons/MapResetButton.js.map +1 -1
  58. package/esm/map/components/toolbar/buttons/MapZoomInOutButtons.js +1 -1
  59. package/esm/map/components/toolbar/buttons/MapZoomInOutButtons.js.map +1 -1
  60. package/esm/map/components/toolbar/buttons/MapZoomToFitButton.js +1 -1
  61. package/esm/map/components/toolbar/buttons/MapZoomToFitButton.js.map +1 -1
  62. package/esm/map/components/toolbar/hooks/use-a11y-toolbar-tab-index.js +1 -1
  63. package/esm/map/components/toolbar/hooks/use-a11y-toolbar-tab-index.js.map +1 -1
  64. package/esm/map/contexts/formatter.context.js.map +1 -1
  65. package/esm/map/hooks/use-formatter-context.js.map +1 -1
  66. package/esm/map/hooks/use-resolve-color.js +1 -1
  67. package/esm/map/hooks/use-resolve-color.js.map +2 -2
  68. package/esm/map/index.js.map +1 -1
  69. package/esm/map/slots/Tooltip.js +1 -1
  70. package/esm/map/slots/Tooltip.js.map +1 -1
  71. package/esm/map/slots/states/DisabledState.js +1 -1
  72. package/esm/map/slots/states/DisabledState.js.map +1 -1
  73. package/esm/map/store/map-store.context.js +1 -3
  74. package/esm/map/store/map-store.context.js.map +2 -2
  75. package/esm/map/store/map-store.provider.js +1 -3
  76. package/esm/map/store/map-store.provider.js.map +2 -2
  77. package/esm/map/store/selectors.js +1 -3
  78. package/esm/map/store/selectors.js.map +2 -2
  79. package/esm/map/types/bubble-layer.js.map +2 -2
  80. package/esm/map/types/coloring.js.map +2 -2
  81. package/esm/map/utils/attach-image-from-string.js +1 -1
  82. package/esm/map/utils/attach-image-from-string.js.map +1 -1
  83. package/esm/map/utils/build-and-download-csv.js +2 -2
  84. package/esm/map/utils/build-and-download-csv.js.map +1 -1
  85. package/esm/map/utils/build-categorical-scale.js.map +1 -1
  86. package/esm/map/utils/build-scale-from-legend-config.js +1 -1
  87. package/esm/map/utils/build-scale-from-legend-config.js.map +1 -1
  88. package/esm/map/utils/calculate-hovered-color.js +1 -1
  89. package/esm/map/utils/calculate-hovered-color.js.map +1 -1
  90. package/esm/map/utils/create-categorical-color-scheme-from-legend-props.js +1 -1
  91. package/esm/map/utils/create-categorical-color-scheme-from-legend-props.js.map +1 -1
  92. package/esm/map/utils/get-data-layers-bounding-box.js +1 -1
  93. package/esm/map/utils/get-data-layers-bounding-box.js.map +1 -1
  94. package/esm/map/utils/iterate-config-slots.js +1 -1
  95. package/esm/map/utils/iterate-config-slots.js.map +1 -1
  96. package/esm/map/utils/replace-infinite-values-in-ranges.js.map +1 -1
  97. package/esm/map/utils/tabularize-layers-data.js +1 -1
  98. package/esm/map/utils/tabularize-layers-data.js.map +1 -1
  99. package/map/MapView.js +4 -1
  100. package/map/components/BaseLayerDataError.js +1 -1
  101. package/map/components/BubbleLayer/BubbleCircleLayer.d.ts +3 -2
  102. package/map/components/BubbleLayer/BubbleCircleLayer.js +4 -2
  103. package/map/components/BubbleLayer/BubbleLayer.js +10 -1
  104. package/map/components/BubbleLayer/BubbleLayerTooltip.js +1 -1
  105. package/map/components/BubbleLayer/BubbleOutlineLayer.js +1 -1
  106. package/map/components/BubbleLayer/utils/parse-bubble-data-to-geo-json.js +1 -1
  107. package/map/components/ChoroplethLayer/ChoroplethLayer.js +4 -1
  108. package/map/components/ChoroplethLayer/ChoroplethLayerTooltip.js +1 -1
  109. package/map/components/ChoroplethLayer/ChoroplethOutlineLayer.js +1 -1
  110. package/map/components/ChoroplethLayer/utils/parse-region-data-to-geo-json.js +2 -2
  111. package/map/components/ConnectionLayer/ConnectionLayer.js +3 -0
  112. package/map/components/ConnectionLayer/ConnectionLayerLine.js +6 -3
  113. package/map/components/ConnectionLayer/ConnectionLayerTooltip.d.ts +0 -7
  114. package/map/components/ConnectionLayer/ConnectionLayerTooltip.js +1 -1
  115. package/map/components/ConnectionLayer/utils/parse-connection-data-to-geo-json.js +1 -1
  116. package/map/components/ConnectionLayer/utils/restore-null-props.d.ts +1 -1
  117. package/map/components/DefaultTooltip/DefaultTooltip.js +1 -1
  118. package/map/components/DefaultTooltip/utils/get-default-actions.js +1 -1
  119. package/map/components/DotLayer/DotLayer.js +4 -1
  120. package/map/components/DotLayer/DotLayerTooltip.js +1 -1
  121. package/map/components/DotLayer/utils/parse-dot-data-to-geo-json.js +1 -1
  122. package/map/components/DotLayer/utils/resolve-icon-background.js +1 -1
  123. package/map/components/MapContent.js +2 -2
  124. package/map/components/legend/CategoricalLegendRenderer.js +1 -1
  125. package/map/components/legend/SequentialLegendRenderer.js +1 -1
  126. package/map/components/legend/ThresholdLegendRenderer.js +1 -1
  127. package/map/components/toolbar/MapToolbar.js +1 -1
  128. package/map/components/toolbar/buttons/MapDownloadDataButton.js +1 -1
  129. package/map/components/toolbar/buttons/MapResetButton.js +1 -1
  130. package/map/components/toolbar/buttons/MapZoomInOutButtons.js +1 -1
  131. package/map/components/toolbar/buttons/MapZoomToFitButton.js +1 -1
  132. package/map/components/toolbar/hooks/use-a11y-toolbar-tab-index.js +1 -1
  133. package/map/contexts/formatter.context.d.ts +1 -1
  134. package/map/hooks/use-formatter-context.d.ts +1 -1
  135. package/map/hooks/use-resolve-color.d.ts +2 -2
  136. package/map/hooks/use-resolve-color.js +1 -1
  137. package/map/index.d.ts +2 -2
  138. package/map/slots/Tooltip.d.ts +1 -1
  139. package/map/slots/Tooltip.js +1 -1
  140. package/map/slots/states/DisabledState.js +1 -1
  141. package/map/store/map-store.context.d.ts +1 -1
  142. package/map/store/map-store.context.js +1 -1
  143. package/map/store/map-store.provider.js +1 -1
  144. package/map/store/selectors.js +1 -1
  145. package/map/types/bubble-layer.d.ts +2 -1
  146. package/map/types/choropleth-layer.d.ts +2 -1
  147. package/map/types/coloring.d.ts +0 -13
  148. package/map/types/connection-layer.d.ts +22 -2
  149. package/map/types/dot-layer.d.ts +2 -1
  150. package/map/types/legend.d.ts +1 -1
  151. package/map/types/map-view.d.ts +3 -3
  152. package/map/types/state.d.ts +1 -1
  153. package/map/types/toolbar.d.ts +1 -1
  154. package/map/types/tooltip.d.ts +1 -1
  155. package/map/utils/attach-image-from-string.js +1 -1
  156. package/map/utils/build-and-download-csv.js +2 -2
  157. package/map/utils/build-categorical-scale.d.ts +1 -1
  158. package/map/utils/build-scale-from-legend-config.js +1 -1
  159. package/map/utils/calculate-hovered-color.js +1 -1
  160. package/map/utils/create-categorical-color-scheme-from-legend-props.d.ts +1 -1
  161. package/map/utils/create-categorical-color-scheme-from-legend-props.js +1 -1
  162. package/map/utils/get-data-layers-bounding-box.js +1 -1
  163. package/map/utils/iterate-config-slots.js +1 -1
  164. package/map/utils/replace-infinite-values-in-ranges.d.ts +1 -1
  165. package/map/utils/tabularize-layers-data.js +1 -1
  166. package/package.json +5 -6
@@ -1,10 +1,11 @@
1
+ import type { BehaviorTrackingProps } from '@dynatrace/strato-components/core';
1
2
  import type { ChoroplethCustomColorProps, LegendColorLayerProps } from './coloring.js';
2
3
  /**
3
4
  * Base props to configure a ChoroplethLayer
4
5
  * @typeParam T - Object extending a record of string keys and any type of values
5
6
  * @public
6
7
  */
7
- export interface ChoroplethLayerBaseProps<T extends Record<string, unknown>> {
8
+ export interface ChoroplethLayerBaseProps<T extends Record<string, unknown>> extends BehaviorTrackingProps {
8
9
  /**
9
10
  * An array of data items representing regions to be displayed in the ChoroplethLayer
10
11
  */
@@ -1,4 +1,3 @@
1
- import type { Connection } from './connection-layer.js';
2
1
  import type { Location } from './location.js';
3
2
  /**
4
3
  * Props to configure any Layer with custom coloring
@@ -9,18 +8,6 @@ export interface LocationColorProps<T extends Location> {
9
8
  /** Custom color to apply to the layer */
10
9
  color?: string | ((item: T) => string);
11
10
  }
12
- /**
13
- * Props to configure a connection Layer with custom coloring
14
- * @typeParam T - Object extending Connection
15
- * @public
16
- */
17
- export interface ConnectionColorProps<T extends Connection> {
18
- /**
19
- * Specifies the color of the connection layer.
20
- * @defaultValue Colors.Charts.Categorical.Color03.Default
21
- */
22
- color?: string | ((connection: T) => string);
23
- }
24
11
  /**
25
12
  * Props to configure any Layer with legend coloring
26
13
  * @public
@@ -1,5 +1,6 @@
1
1
  import type GeoJSON from 'geojson';
2
- import type { ConnectionColorProps, LegendColorLayerProps } from './coloring.js';
2
+ import type { BehaviorTrackingProps } from '@dynatrace/strato-components/core';
3
+ import type { LegendColorLayerProps } from './coloring.js';
3
4
  import type { Location } from './location.js';
4
5
  /**
5
6
  * Data type for connections in the Connection Layer.
@@ -21,7 +22,7 @@ export type ConnectionLayerProps<T extends Connection> = ConnectionLayerBaseProp
21
22
  * @typeParam T - Object extending Connection<L>.
22
23
  * @public
23
24
  */
24
- export interface ConnectionLayerBaseProps<T extends Connection> {
25
+ export interface ConnectionLayerBaseProps<T extends Connection> extends BehaviorTrackingProps {
25
26
  /** Set of data related to the connections */
26
27
  data: T[];
27
28
  /**
@@ -66,3 +67,22 @@ export type GeoJSONFeature<T extends GeoJSON.Geometry> = GeoJSON.Feature<T, Feat
66
67
  * @public
67
68
  */
68
69
  export type CurvedLine = 'linear' | 'smooth';
70
+ /**
71
+ * Props to configure a connection Layer with custom coloring
72
+ * @typeParam T - Object extending Connection
73
+ * @public
74
+ */
75
+ export interface ConnectionColorProps<T extends Connection> {
76
+ /**
77
+ * Specifies the color of the connection layer.
78
+ * @defaultValue Colors.Charts.Categorical.Color03.Default
79
+ */
80
+ color?: string | ((connection: T) => string);
81
+ }
82
+ /** @internal */
83
+ export type ConnectionTooltipStatePayload = {
84
+ path: Location[];
85
+ __lineColor: string;
86
+ __lineWidth: number;
87
+ __nullValues: string[] | undefined;
88
+ };
@@ -1,4 +1,5 @@
1
1
  import { type ReactNode } from 'react';
2
+ import type { BehaviorTrackingProps } from '@dynatrace/strato-components/core';
2
3
  import type { LegendColorLayerProps, LocationColorProps } from './coloring.js';
3
4
  import type { Location } from './location.js';
4
5
  import type { MapShape } from './shapes.js';
@@ -7,7 +8,7 @@ import type { MapShape } from './shapes.js';
7
8
  * @typeParam T - Object extending Location
8
9
  * @public
9
10
  */
10
- export interface DotLayerBaseProps<T extends Location> {
11
+ export interface DotLayerBaseProps<T extends Location> extends BehaviorTrackingProps {
11
12
  /**
12
13
  * An array of location data items to be displayed in the DotLayer
13
14
  */
@@ -1,4 +1,4 @@
1
- import type { ColoredRange, ColorPalette, LegendProps } from '@dynatrace/strato-components-preview/charts';
1
+ import type { ColoredRange, ColorPalette, LegendProps } from '@dynatrace/strato-components/charts';
2
2
  /**
3
3
  * The props common to all different legends
4
4
  * @public
@@ -1,7 +1,7 @@
1
1
  import { StyleSpecification } from '@maplibre/maplibre-gl-style-spec';
2
- import type { DataTestId, MaskingProps, StylingProps } from '@dynatrace/strato-components/core';
2
+ import { Formatter } from '@dynatrace/strato-components/charts';
3
+ import type { BehaviorTrackingProps, DataTestId, MaskingProps, StylingProps } from '@dynatrace/strato-components/core';
3
4
  import type { TruncationMode } from '@dynatrace/strato-components/typography';
4
- import { Formatter } from '@dynatrace/strato-components-preview/charts';
5
5
  import { ConvertibleUnit, FormatOptions, Unit } from '@dynatrace-sdk/units';
6
6
  /**
7
7
  * Type to disallow al props in a given type
@@ -50,7 +50,7 @@ export interface MapViewUncontrolledProps extends DisallowAll<ViewState> {
50
50
  * Props present in both ways of controlling a Map
51
51
  * @public
52
52
  */
53
- export interface MapViewBaseProps extends DataTestId, StylingProps, MaskingProps {
53
+ export interface MapViewBaseProps extends DataTestId, StylingProps, MaskingProps, BehaviorTrackingProps {
54
54
  /**
55
55
  * Styles of maplibre to be overridden
56
56
  */
@@ -1,5 +1,5 @@
1
1
  import type { LngLat } from 'maplibre-gl';
2
- import type { _LegendItem as LegendItem } from '@dynatrace/strato-components-preview/charts';
2
+ import type { _LegendItem as LegendItem } from '@dynatrace/strato-components/charts';
3
3
  export interface MapSelectionState {
4
4
  highlightedSeries: LegendItem | undefined;
5
5
  visible: LegendItem[] | undefined;
@@ -1,4 +1,4 @@
1
- import type { _InternalChartToolbarConfigured as InternalChartToolbarConfigured, DraggableToolbarProps, ZoomChangeHandler } from '@dynatrace/strato-components-preview/charts';
1
+ import type { _InternalChartToolbarConfigured as InternalChartToolbarConfigured, DraggableToolbarProps, ZoomChangeHandler } from '@dynatrace/strato-components/charts';
2
2
  export type ToolbarInteractionModes = 'zoom' | 'zoom-to-fit' | 'zoom-in' | 'zoom-out' | 'reset' | 'download-data';
3
3
  /**
4
4
  * Props for the ChartInteractions component
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import type { _ChartTooltipSlotsType as ChartTooltipSlotsType, _ChartTooltipTemplateType as ChartTooltipTemplateType } from '@dynatrace/strato-components-preview/charts';
2
+ import type { _ChartTooltipSlotsType as ChartTooltipSlotsType, _ChartTooltipTemplateType as ChartTooltipTemplateType } from '@dynatrace/strato-components/charts';
3
3
  import type { Connection } from './connection-layer.js';
4
4
  import type { Location } from './location.js';
5
5
  /**
@@ -21,7 +21,7 @@ __export(attach_image_from_string_exports, {
21
21
  attachImageFromString: () => attachImageFromString
22
22
  });
23
23
  module.exports = __toCommonJS(attach_image_from_string_exports);
24
- var import_core = require("@dynatrace/strato-components-preview/core");
24
+ var import_core = require("@dynatrace/strato-components/core");
25
25
  var import_attach_image_from_shape = require("./attach-image-from-shape.js");
26
26
  var import_attach_image_from_text = require("./attach-image-from-text.js");
27
27
  var import_is_valid_shape = require("./is-valid-shape.js");
@@ -21,8 +21,8 @@ __export(build_and_download_csv_exports, {
21
21
  buildAndDownloadCsv: () => buildAndDownloadCsv
22
22
  });
23
23
  module.exports = __toCommonJS(build_and_download_csv_exports);
24
- var import_charts = require("@dynatrace/strato-components-preview/charts");
25
- var import_core = require("@dynatrace/strato-components-preview/core");
24
+ var import_charts = require("@dynatrace/strato-components/charts");
25
+ var import_core = require("@dynatrace/strato-components/core");
26
26
  var import_tabularize_layers_data = require("./tabularize-layers-data.js");
27
27
  const buildAndDownloadCsv = (rawData) => {
28
28
  const csvString = (0, import_tabularize_layers_data.tabularizeLayersData)(rawData);
@@ -1,4 +1,4 @@
1
- import { type ColorPalette } from '@dynatrace/strato-components-preview/charts';
1
+ import { type ColorPalette } from '@dynatrace/strato-components/charts';
2
2
  export declare const buildCategoricalScale: (colorPalette: ColorPalette | {
3
3
  [key: string]: string;
4
4
  }) => import("d3-scale").ScaleOrdinal<string, string, never>;
@@ -24,7 +24,7 @@ __export(build_scale_from_legend_config_exports, {
24
24
  isThresholdLegend: () => isThresholdLegend
25
25
  });
26
26
  module.exports = __toCommonJS(build_scale_from_legend_config_exports);
27
- var import_charts = require("@dynatrace/strato-components-preview/charts");
27
+ var import_charts = require("@dynatrace/strato-components/charts");
28
28
  var import_build_categorical_scale = require("./build-categorical-scale.js");
29
29
  var import_constants = require("../constants.js");
30
30
  var import_create_categorical_color_scheme_from_custom_color_object = require("./create-categorical-color-scheme-from-custom-color-object.js");
@@ -32,7 +32,7 @@ __export(calculate_hovered_color_exports, {
32
32
  });
33
33
  module.exports = __toCommonJS(calculate_hovered_color_exports);
34
34
  var import_d3_interpolate = require("d3-interpolate");
35
- var import_charts = require("@dynatrace/strato-components-preview/charts");
35
+ var import_charts = require("@dynatrace/strato-components/charts");
36
36
  var import_colors = __toESM(require("@dynatrace/strato-design-tokens/colors"));
37
37
  const calculateHoveredColor = (color) => {
38
38
  return (0, import_d3_interpolate.interpolateRgb)(
@@ -1,4 +1,4 @@
1
- import { ColorPalette } from '@dynatrace/strato-components-preview/charts';
1
+ import { ColorPalette } from '@dynatrace/strato-components/charts';
2
2
  export declare const createCategoricalColorSchemeFromLegendProps: (colorPalette: string[] | ColorPalette, categories: string[]) => ColorPalette | {
3
3
  [key: string]: string;
4
4
  };
@@ -22,7 +22,7 @@ __export(create_categorical_color_scheme_from_legend_props_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(create_categorical_color_scheme_from_legend_props_exports);
24
24
  var import_lodash_es = require("lodash");
25
- var import_charts = require("@dynatrace/strato-components-preview/charts");
25
+ var import_charts = require("@dynatrace/strato-components/charts");
26
26
  var import_constants = require("../constants.js");
27
27
  const createCategoricalColorSchemeFromLegendProps = (colorPalette, categories) => {
28
28
  let obj = {};
@@ -22,7 +22,7 @@ __export(get_data_layers_bounding_box_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(get_data_layers_bounding_box_exports);
24
24
  var import_react = require("react");
25
- var import_core = require("@dynatrace/strato-components-preview/core");
25
+ var import_core = require("@dynatrace/strato-components/core");
26
26
  var import_is_component = require("./is-component.js");
27
27
  var import_BubbleLayer = require("../components/BubbleLayer/BubbleLayer.js");
28
28
  var import_ChoroplethLayer = require("../components/ChoroplethLayer/ChoroplethLayer.js");
@@ -23,7 +23,7 @@ __export(iterate_config_slots_exports, {
23
23
  module.exports = __toCommonJS(iterate_config_slots_exports);
24
24
  var import_lodash_es = require("lodash");
25
25
  var import_react = require("react");
26
- var import_charts = require("@dynatrace/strato-components-preview/charts");
26
+ var import_charts = require("@dynatrace/strato-components/charts");
27
27
  var import_constants = require("../constants.js");
28
28
  var import_is_slot = require("./is-slot.js");
29
29
  var import_replace_infinite_values_in_ranges = require("./replace-infinite-values-in-ranges.js");
@@ -1,4 +1,4 @@
1
- import { ColoredRange } from '@dynatrace/strato-components-preview/charts';
1
+ import { ColoredRange } from '@dynatrace/strato-components/charts';
2
2
  export declare const replaceInfiniteValuesInRanges: (ranges: ColoredRange[], domain: [number, number]) => {
3
3
  from: number;
4
4
  to: number;
@@ -23,7 +23,7 @@ __export(tabularize_layers_data_exports, {
23
23
  });
24
24
  module.exports = __toCommonJS(tabularize_layers_data_exports);
25
25
  var import_lodash_es = require("lodash");
26
- var import_core = require("@dynatrace/strato-components-preview/core");
26
+ var import_core = require("@dynatrace/strato-components/core");
27
27
  const NESTED_LEVELS_SUPPORTED = 2;
28
28
  const buildColumnsHeadersMapping = (columns) => new Map([...columns].map((value, index) => [value, index]));
29
29
  const getObjectHeaders = (data, objectKey = "", nestingLevel = 0) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynatrace/strato-geo",
3
- "version": "3.0.1",
3
+ "version": "3.1.0",
4
4
  "private": false,
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -54,14 +54,13 @@
54
54
  "@dynatrace-sdk/client-classic-environment-v2": "^5.1.0",
55
55
  "@dynatrace-sdk/client-platform-management-service": "^1.7.0",
56
56
  "@dynatrace-sdk/units": "^1.5.0",
57
+ "@dynatrace/strato-components": "^3.1.0",
58
+ "@dynatrace/strato-design-tokens": "^1.3.1",
59
+ "@dynatrace/strato-icons": "^2.1.0",
57
60
  "react": "^18.0.0",
58
61
  "react-dom": "^18.0.0",
59
62
  "react-intl": "^6.0.8 || ^7.0.0",
60
- "react-is": "^18.0.0",
61
- "@dynatrace/strato-components": "^3.0.1",
62
- "@dynatrace/strato-components-preview": "^3.0.1",
63
- "@dynatrace/strato-design-tokens": "^1.3.1",
64
- "@dynatrace/strato-icons": "^2.0.0"
63
+ "react-is": "^18.0.0"
65
64
  },
66
65
  "sideEffects": [
67
66
  "./map/styles/react-mapgl-styles.css",