@gooddata/sdk-ui-geo 11.35.0-alpha.5 → 11.35.0-alpha.6

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.
@@ -3,6 +3,7 @@ import { type DataViewFacade } from "@gooddata/sdk-ui";
3
3
  import { type IColorStrategy } from "@gooddata/sdk-ui-vis-commons";
4
4
  import type { ILayerPreparedData } from "../hooks/layers/useLayersPrepare.js";
5
5
  import type { GeoJSONSourceSpecification } from "../layers/common/mapFacade.js";
6
+ import type { ITooltipReferenceMaps } from "../layers/registry/adapterTypes.js";
6
7
  import { type IAvailableLegends, type IGeoLegendItem } from "../types/common/legends.js";
7
8
  import { type IAreaGeoData } from "../types/geoData/area.js";
8
9
  import { type IPushpinGeoData } from "../types/geoData/pushpin.js";
@@ -55,6 +56,10 @@ export interface IGeoLayerData {
55
56
  * Initial viewport hint derived from the layer data.
56
57
  */
57
58
  initialViewport: Partial<IMapViewport> | null;
59
+ /**
60
+ * Reference id maps for custom-tooltip resolution.
61
+ */
62
+ tooltipReferenceMaps?: ITooltipReferenceMaps;
58
63
  }
59
64
  /**
60
65
  * Context value for multi-layer geo data.
@@ -34,6 +34,7 @@ export function GeoLayersProvider({ children, layerExecutions, layerOutputs, })
34
34
  baseLegendItems: prepared.output?.legend.items ?? EMPTY_LEGEND_ITEMS,
35
35
  availableLegends: prepared.output?.legend.available ?? EMPTY_AVAILABLE_LEGENDS,
36
36
  initialViewport: prepared.output?.initialViewport ?? null,
37
+ tooltipReferenceMaps: prepared.output?.tooltipReferenceMaps,
37
38
  });
38
39
  }
39
40
  }
@@ -17,5 +17,6 @@ export function buildOutputFromLayerData(layerData) {
17
17
  geoData: layerData.geoData,
18
18
  colorStrategy: layerData.colorStrategy,
19
19
  initialViewport: layerData.initialViewport,
20
+ tooltipReferenceMaps: layerData.tooltipReferenceMaps,
20
21
  };
21
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-geo",
3
- "version": "11.35.0-alpha.5",
3
+ "version": "11.35.0-alpha.6",
4
4
  "description": "GoodData.UI SDK - Geo Charts",
5
5
  "license": "MIT",
6
6
  "author": "GoodData Corporation",
@@ -43,12 +43,12 @@
43
43
  "ts-invariant": "0.10.3",
44
44
  "tslib": "2.8.1",
45
45
  "uuid": "11.1.0",
46
- "@gooddata/sdk-backend-spi": "11.35.0-alpha.5",
47
- "@gooddata/sdk-model": "11.35.0-alpha.5",
48
- "@gooddata/sdk-ui": "11.35.0-alpha.5",
49
- "@gooddata/sdk-ui-kit": "11.35.0-alpha.5",
50
- "@gooddata/sdk-ui-vis-commons": "11.35.0-alpha.5",
51
- "@gooddata/sdk-ui-theme-provider": "11.35.0-alpha.5"
46
+ "@gooddata/sdk-backend-spi": "11.35.0-alpha.6",
47
+ "@gooddata/sdk-ui-theme-provider": "11.35.0-alpha.6",
48
+ "@gooddata/sdk-ui-kit": "11.35.0-alpha.6",
49
+ "@gooddata/sdk-model": "11.35.0-alpha.6",
50
+ "@gooddata/sdk-ui": "11.35.0-alpha.6",
51
+ "@gooddata/sdk-ui-vis-commons": "11.35.0-alpha.6"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@microsoft/api-documenter": "^7.17.0",
@@ -91,10 +91,10 @@
91
91
  "typescript": "5.9.3",
92
92
  "vitest": "4.1.0",
93
93
  "vitest-dom": "0.1.1",
94
- "@gooddata/eslint-config": "11.35.0-alpha.5",
95
- "@gooddata/oxlint-config": "11.35.0-alpha.5",
96
- "@gooddata/sdk-backend-mockingbird": "11.35.0-alpha.5",
97
- "@gooddata/stylelint-config": "11.35.0-alpha.5"
94
+ "@gooddata/eslint-config": "11.35.0-alpha.6",
95
+ "@gooddata/oxlint-config": "11.35.0-alpha.6",
96
+ "@gooddata/sdk-backend-mockingbird": "11.35.0-alpha.6",
97
+ "@gooddata/stylelint-config": "11.35.0-alpha.6"
98
98
  },
99
99
  "peerDependencies": {
100
100
  "react": "^18.0.0 || ^19.0.0",
@@ -108,7 +108,7 @@
108
108
  "build": "bash scripts/build.sh",
109
109
  "build-check": "tsgo",
110
110
  "build-ts": "tsgo -p tsconfig.build.json",
111
- "clean": "../../common/scripts/clean-command-state.sh && rm -rf ci dist esm styles/css coverage *.log tsconfig.tsbuildinfo",
111
+ "clean": "../../common/scripts/clean-command-state.sh && rm -rf ci dist esm styles/css coverage temp *.log tsconfig.tsbuildinfo",
112
112
  "dep-cruiser": "depcruise --validate .dependency-cruiser.js --output-type err-long src/",
113
113
  "format-check": "oxfmt --check .",
114
114
  "format-write": "oxfmt .",