@gooddata/sdk-ui-geo 11.62.0-alpha.2 → 11.62.0-alpha.4

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.
@@ -34,7 +34,7 @@ export function withMapboxToken(InnerComponent) {
34
34
  export function enrichMapboxToken(config, mapboxToken) {
35
35
  return mapboxToken
36
36
  ? {
37
- ...(config || {}),
37
+ ...config,
38
38
  mapboxToken: config?.mapboxToken || mapboxToken,
39
39
  }
40
40
  : config;
@@ -236,7 +236,7 @@ export const areaAdapter = {
236
236
  return undefined;
237
237
  }
238
238
  const config = {
239
- ...(context.config ?? {}),
239
+ ...context.config,
240
240
  customTooltip: resolveLayerCustomTooltip(layer, context.config),
241
241
  };
242
242
  const ids = getAreaLayerIds(layer.id);
@@ -8,7 +8,7 @@ import { getAreaAreaColors } from "./coloring/palette.js";
8
8
  import { DEFAULT_AREA_FILL_COLOR } from "./constants.js";
9
9
  function toMaplibreProperties(base, updates) {
10
10
  return {
11
- ...(base ?? {}),
11
+ ...base,
12
12
  ...updates,
13
13
  };
14
14
  }
@@ -355,7 +355,7 @@ export const pushpinAdapter = {
355
355
  return undefined;
356
356
  }
357
357
  const config = {
358
- ...(context.config ?? {}),
358
+ ...context.config,
359
359
  customTooltip: resolveLayerCustomTooltip(layer, context.config),
360
360
  };
361
361
  const ids = getPushpinLayerIds(layer.id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-geo",
3
- "version": "11.62.0-alpha.2",
3
+ "version": "11.62.0-alpha.4",
4
4
  "description": "GoodData.UI SDK - Geo Charts",
5
5
  "license": "MIT",
6
6
  "author": "GoodData Corporation",
@@ -44,17 +44,18 @@
44
44
  "ts-invariant": "0.10.3",
45
45
  "tslib": "2.8.1",
46
46
  "uuid": "11.1.1",
47
- "@gooddata/sdk-model": "11.62.0-alpha.2",
48
- "@gooddata/sdk-ui": "11.62.0-alpha.2",
49
- "@gooddata/sdk-backend-spi": "11.62.0-alpha.2",
50
- "@gooddata/sdk-ui-kit": "11.62.0-alpha.2",
51
- "@gooddata/sdk-ui-vis-commons": "11.62.0-alpha.2",
52
- "@gooddata/sdk-ui-theme-provider": "11.62.0-alpha.2"
47
+ "@gooddata/sdk-ui": "11.62.0-alpha.4",
48
+ "@gooddata/sdk-backend-spi": "11.62.0-alpha.4",
49
+ "@gooddata/sdk-ui-vis-commons": "11.62.0-alpha.4",
50
+ "@gooddata/sdk-model": "11.62.0-alpha.4",
51
+ "@gooddata/sdk-ui-kit": "11.62.0-alpha.4",
52
+ "@gooddata/sdk-ui-theme-provider": "11.62.0-alpha.4"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@microsoft/api-documenter": "7.30.16",
56
56
  "@microsoft/api-extractor": "7.59.2",
57
57
  "@testing-library/dom": "10.4.2",
58
+ "@testing-library/jest-dom": "7.0.1",
58
59
  "@testing-library/react": "16.3.0",
59
60
  "@types/geojson": "^7946.0.16",
60
61
  "@types/lodash-es": "4.17.12",
@@ -86,12 +87,11 @@
86
87
  "sass": "1.104.1",
87
88
  "stylelint": "16.26.1",
88
89
  "typescript": "7.0.2",
89
- "vitest": "4.1.11",
90
- "vitest-dom": "0.1.1",
91
- "@gooddata/eslint-config": "11.62.0-alpha.2",
92
- "@gooddata/oxlint-config": "11.62.0-alpha.2",
93
- "@gooddata/sdk-backend-mockingbird": "11.62.0-alpha.2",
94
- "@gooddata/stylelint-config": "11.62.0-alpha.2"
90
+ "vitest": "5.0.4",
91
+ "@gooddata/eslint-config": "11.62.0-alpha.4",
92
+ "@gooddata/oxlint-config": "11.62.0-alpha.4",
93
+ "@gooddata/sdk-backend-mockingbird": "11.62.0-alpha.4",
94
+ "@gooddata/stylelint-config": "11.62.0-alpha.4"
95
95
  },
96
96
  "peerDependencies": {
97
97
  "react": "^18.0.0 || ^19.0.0",