@gooddata/sdk-ui-geo 11.28.0-alpha.8 → 11.28.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 (59) hide show
  1. package/esm/GeoChart.d.ts +1 -1
  2. package/esm/index.d.ts +1 -1
  3. package/esm/index.d.ts.map +1 -1
  4. package/esm/index.js +0 -1
  5. package/esm/index.js.map +1 -1
  6. package/esm/next/components/GeoChartDataLoader.d.ts.map +1 -1
  7. package/esm/next/components/GeoChartDataLoader.js +1 -2
  8. package/esm/next/components/GeoChartDataLoader.js.map +1 -1
  9. package/esm/next/hooks/map/useMapInitialization.d.ts.map +1 -1
  10. package/esm/next/hooks/map/useMapInitialization.js +1 -21
  11. package/esm/next/hooks/map/useMapInitialization.js.map +1 -1
  12. package/esm/next/layers/area/adapter.d.ts.map +1 -1
  13. package/esm/next/layers/area/adapter.js +7 -1
  14. package/esm/next/layers/area/adapter.js.map +1 -1
  15. package/esm/next/layers/common/constants.d.ts +11 -0
  16. package/esm/next/layers/common/constants.d.ts.map +1 -1
  17. package/esm/next/layers/common/constants.js +11 -0
  18. package/esm/next/layers/common/constants.js.map +1 -1
  19. package/esm/next/layers/execution/prepareGeoIconExecution.d.ts +16 -0
  20. package/esm/next/layers/execution/prepareGeoIconExecution.d.ts.map +1 -0
  21. package/esm/next/layers/execution/prepareGeoIconExecution.js +45 -0
  22. package/esm/next/layers/execution/prepareGeoIconExecution.js.map +1 -0
  23. package/esm/next/layers/execution/prepareTooltipExecution.d.ts +11 -2
  24. package/esm/next/layers/execution/prepareTooltipExecution.d.ts.map +1 -1
  25. package/esm/next/layers/execution/prepareTooltipExecution.js +13 -42
  26. package/esm/next/layers/execution/prepareTooltipExecution.js.map +1 -1
  27. package/esm/next/layers/execution/resolveAttributeDisplayForms.d.ts +22 -0
  28. package/esm/next/layers/execution/resolveAttributeDisplayForms.d.ts.map +1 -0
  29. package/esm/next/layers/execution/resolveAttributeDisplayForms.js +44 -0
  30. package/esm/next/layers/execution/resolveAttributeDisplayForms.js.map +1 -0
  31. package/esm/next/layers/pushpin/adapter.d.ts.map +1 -1
  32. package/esm/next/layers/pushpin/adapter.js +10 -1
  33. package/esm/next/layers/pushpin/adapter.js.map +1 -1
  34. package/esm/next/map/runtime/mapInitialization.d.ts +1 -1
  35. package/esm/next/map/runtime/mapInitialization.d.ts.map +1 -1
  36. package/esm/next/map/runtime/mapInitialization.js +2 -2
  37. package/esm/next/map/runtime/mapInitialization.js.map +1 -1
  38. package/esm/next/map/style/styleEndpoint.d.ts +5 -7
  39. package/esm/next/map/style/styleEndpoint.d.ts.map +1 -1
  40. package/esm/next/map/style/styleEndpoint.js +19 -12
  41. package/esm/next/map/style/styleEndpoint.js.map +1 -1
  42. package/esm/next/types/config/areaChart.d.ts +3 -13
  43. package/esm/next/types/config/areaChart.d.ts.map +1 -1
  44. package/esm/next/types/config/legend.d.ts +6 -1
  45. package/esm/next/types/config/legend.d.ts.map +1 -1
  46. package/esm/next/types/config/pushpinChart.d.ts +3 -13
  47. package/esm/next/types/config/pushpinChart.d.ts.map +1 -1
  48. package/esm/next/types/config/unified.d.ts +3 -13
  49. package/esm/next/types/config/unified.d.ts.map +1 -1
  50. package/esm/next/types/map/basemap.d.ts +4 -15
  51. package/esm/next/types/map/basemap.d.ts.map +1 -1
  52. package/esm/next/types/map/basemap.js +1 -8
  53. package/esm/next/types/map/basemap.js.map +1 -1
  54. package/esm/next/types/map/provider.d.ts +2 -9
  55. package/esm/next/types/map/provider.d.ts.map +1 -1
  56. package/esm/next/types/props/pushpinChart/public.d.ts +6 -1
  57. package/esm/next/types/props/pushpinChart/public.d.ts.map +1 -1
  58. package/esm/sdk-ui-geo.d.ts +25 -58
  59. package/package.json +11 -11
@@ -97,13 +97,6 @@ export declare function createAreaLayer(layer: Omit<IGeoLayerArea, "type" | "id"
97
97
  */
98
98
  export declare function createPushpinLayer(layer: Omit<IGeoLayerPushpin, "type" | "id">, id?: string): IGeoLayerPushpin;
99
99
 
100
- /**
101
- * Returns whether the basemap supports light/dark color variants.
102
- *
103
- * @alpha
104
- */
105
- export declare function doesGeoBasemapSupportColorScheme(basemap: GeoBasemap): boolean;
106
-
107
100
  /**
108
101
  * @public
109
102
  * @deprecated Kept only for the legacy Mapbox-based implementation.
@@ -122,11 +115,15 @@ export declare function enrichMapboxToken<T>(config?: T & {
122
115
  export declare function GeoAreaChart(props: IGeoAreaChartProps): ReactElement;
123
116
 
124
117
  /**
125
- * Supported basemap identifiers passed to the location style endpoint.
118
+ * Basemap style identifier passed to the location style endpoint.
119
+ *
120
+ * @remarks
121
+ * The available identifiers are dynamic and fetched from the
122
+ * `GET /api/v1/location/styles` endpoint (e.g. `"standard-light"`, `"satellite"`).
126
123
  *
127
124
  * @alpha
128
125
  */
129
- export declare type GeoBasemap = "standard" | "satellite" | "monochrome" | "hybrid" | "none";
126
+ export declare type GeoBasemap = string;
130
127
 
131
128
  /**
132
129
  * GeoChart renders a MapLibre-based geo visualization composed of one or more data layers.
@@ -160,16 +157,6 @@ export declare type GeoChartPushpinSizeOption = "0.5x" | "0.75x" | "normal" | "1
160
157
  */
161
158
  export declare type GeoChartShapeType = "circle" | "iconByValue" | "oneIcon";
162
159
 
163
- /**
164
- * Color scheme for the map style.
165
- *
166
- * @remarks
167
- * Ignored for `satellite`, `hybrid`, and `none` basemaps.
168
- *
169
- * @alpha
170
- */
171
- export declare type GeoColorScheme = "light" | "dark";
172
-
173
160
  /**
174
161
  * Layer types supported by GeoChart.
175
162
  *
@@ -270,7 +257,7 @@ export declare interface IGeoAreaChartConfig {
270
257
  */
271
258
  mapStyle?: string | StyleSpecification;
272
259
  /**
273
- * Selected basemap.
260
+ * Selected basemap style identifier (e.g. `"standard-light"`, `"satellite"`).
274
261
  *
275
262
  * @remarks
276
263
  * `undefined` uses the backend default basemap.
@@ -278,16 +265,6 @@ export declare interface IGeoAreaChartConfig {
278
265
  * @alpha
279
266
  */
280
267
  basemap?: GeoBasemap;
281
- /**
282
- * Color scheme for the map style.
283
- *
284
- * @remarks
285
- * `undefined` uses the backend default color scheme for the selected basemap.
286
- * Ignored for `satellite` and `none` basemaps.
287
- *
288
- * @alpha
289
- */
290
- colorScheme?: GeoColorScheme;
291
268
  /**
292
269
  * Maximum zoom level allowed on the map.
293
270
  *
@@ -317,7 +294,7 @@ export declare interface IGeoAreaChartConfig {
317
294
  */
318
295
  enableGeoChartA11yImprovements?: boolean;
319
296
  /**
320
- * Enables basemap and color-scheme configuration that relies on backend style support.
297
+ * Enables basemap configuration that relies on backend style support.
321
298
  *
322
299
  * @internal
323
300
  */
@@ -421,7 +398,7 @@ export declare interface IGeoChartConfig {
421
398
  */
422
399
  mapStyle?: string | StyleSpecification;
423
400
  /**
424
- * Selected basemap.
401
+ * Selected basemap style identifier (e.g. `"standard-light"`, `"satellite"`).
425
402
  *
426
403
  * @remarks
427
404
  * `undefined` uses the backend default basemap.
@@ -429,16 +406,6 @@ export declare interface IGeoChartConfig {
429
406
  * @alpha
430
407
  */
431
408
  basemap?: GeoBasemap;
432
- /**
433
- * Color scheme for the map style.
434
- *
435
- * @remarks
436
- * `undefined` uses the backend default color scheme for the selected basemap.
437
- * Ignored for `satellite` and `none` basemaps.
438
- *
439
- * @alpha
440
- */
441
- colorScheme?: GeoColorScheme;
442
409
  /**
443
410
  * Maximum zoom level allowed on the map.
444
411
  *
@@ -493,7 +460,7 @@ export declare interface IGeoChartConfig {
493
460
  */
494
461
  enableGeoChartA11yImprovements?: boolean;
495
462
  /**
496
- * Enables basemap and color-scheme configuration that relies on backend style support.
463
+ * Enables basemap configuration that relies on backend style support.
497
464
  *
498
465
  * @internal
499
466
  */
@@ -564,7 +531,12 @@ export declare interface IGeoChartLegendConfig {
564
531
  */
565
532
  position?: GeoLegendPosition | LegacyGeoLegendPosition;
566
533
  /**
567
- * Responsive behavior: `true` switches to fluid layout, `"autoPositionWithPopup"` renders a popup legend.
534
+ * Responsive behavior for the geo legend.
535
+ *
536
+ * @remarks
537
+ * `true` enables responsive legend layout.
538
+ * The legacy `"autoPositionWithPopup"` value is kept for backward compatibility and preserves
539
+ * the automatic legend placement heuristics used in smaller containers.
568
540
  *
569
541
  * @defaultValue false
570
542
  */
@@ -1103,7 +1075,7 @@ export declare interface IGeoLegendConfig {
1103
1075
  *
1104
1076
  * @remarks
1105
1077
  * Legend items will be rendered horizontally on screens smaller than 767px.
1106
- * For the popup legend must be a flag set to `autoPositionWithPopup`
1078
+ * The legacy `autoPositionWithPopup` value preserves automatic legend placement heuristics.
1107
1079
  */
1108
1080
  responsive?: boolean | "autoPositionWithPopup";
1109
1081
  }
@@ -1219,7 +1191,7 @@ export declare interface IGeoPushpinChartConfig {
1219
1191
  */
1220
1192
  mapStyle?: string | StyleSpecification;
1221
1193
  /**
1222
- * Selected basemap.
1194
+ * Selected basemap style identifier (e.g. `"standard-light"`, `"satellite"`).
1223
1195
  *
1224
1196
  * @remarks
1225
1197
  * `undefined` uses the backend default basemap.
@@ -1227,16 +1199,6 @@ export declare interface IGeoPushpinChartConfig {
1227
1199
  * @alpha
1228
1200
  */
1229
1201
  basemap?: GeoBasemap;
1230
- /**
1231
- * Color scheme for the map style.
1232
- *
1233
- * @remarks
1234
- * `undefined` uses the backend default color scheme for the selected basemap.
1235
- * Ignored for `satellite` and `none` basemaps.
1236
- *
1237
- * @alpha
1238
- */
1239
- colorScheme?: GeoColorScheme;
1240
1202
  /**
1241
1203
  * Maximum zoom level allowed on the map.
1242
1204
  *
@@ -1266,7 +1228,7 @@ export declare interface IGeoPushpinChartConfig {
1266
1228
  */
1267
1229
  enableGeoChartA11yImprovements?: boolean;
1268
1230
  /**
1269
- * Enables basemap and color-scheme configuration that relies on backend style support.
1231
+ * Enables basemap configuration that relies on backend style support.
1270
1232
  *
1271
1233
  * @internal
1272
1234
  */
@@ -1308,7 +1270,10 @@ export declare interface IGeoPushpinChartLatitudeLongitudeProps extends IGeoPush
1308
1270
  * Props for {@link GeoPushpinChart} in the (legacy) single-attribute mode.
1309
1271
  *
1310
1272
  * @remarks
1311
- * The `location` prop is not supported on Tiger and will fail at runtime, but is kept for backward-compatible typing.
1273
+ * The `location` prop is kept for backward compatibility with older applications.
1274
+ * For GoodData Cloud / Tiger, use separate `latitude` and `longitude` attributes instead.
1275
+ *
1276
+ * @deprecated Use separate `latitude` and `longitude` attributes instead.
1312
1277
  *
1313
1278
  * @public
1314
1279
  */
@@ -1316,6 +1281,8 @@ export declare interface IGeoPushpinChartLocationProps extends IGeoPushpinChartB
1316
1281
  /**
1317
1282
  * The attribute definition or placeholder that determines the longitude and latitude of the pins.
1318
1283
  * Values expected in format lat;long.
1284
+ *
1285
+ * @deprecated Use separate `latitude` and `longitude` attributes instead.
1319
1286
  */
1320
1287
  location: AttributeOrPlaceholder;
1321
1288
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-geo",
3
- "version": "11.28.0-alpha.8",
3
+ "version": "11.28.0",
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.28.0-alpha.8",
47
- "@gooddata/sdk-ui": "11.28.0-alpha.8",
48
- "@gooddata/sdk-model": "11.28.0-alpha.8",
49
- "@gooddata/sdk-ui-kit": "11.28.0-alpha.8",
50
- "@gooddata/sdk-ui-vis-commons": "11.28.0-alpha.8",
51
- "@gooddata/sdk-ui-theme-provider": "11.28.0-alpha.8"
46
+ "@gooddata/sdk-backend-spi": "11.28.0",
47
+ "@gooddata/sdk-model": "11.28.0",
48
+ "@gooddata/sdk-ui": "11.28.0",
49
+ "@gooddata/sdk-ui-kit": "11.28.0",
50
+ "@gooddata/sdk-ui-theme-provider": "11.28.0",
51
+ "@gooddata/sdk-ui-vis-commons": "11.28.0"
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.28.0-alpha.8",
95
- "@gooddata/oxlint-config": "11.28.0-alpha.8",
96
- "@gooddata/stylelint-config": "11.28.0-alpha.8",
97
- "@gooddata/sdk-backend-mockingbird": "11.28.0-alpha.8"
94
+ "@gooddata/eslint-config": "11.28.0",
95
+ "@gooddata/oxlint-config": "11.28.0",
96
+ "@gooddata/sdk-backend-mockingbird": "11.28.0",
97
+ "@gooddata/stylelint-config": "11.28.0"
98
98
  },
99
99
  "peerDependencies": {
100
100
  "react": "^18.0.0 || ^19.0.0",