@gooddata/sdk-ui-charts 11.61.0-alpha.4 → 11.61.0-alpha.5

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.
@@ -1 +1 @@
1
- {"version":3,"file":"autohidePieLabels.d.ts","sourceRoot":"","sources":["../../../../../src/highcharts/adapter/plugins/autohideLabels/autohidePieLabels.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC;AAY3D,eAAO,MAAM,iBAAiB,UAAW,UAAU,CAAC,KAAK,KAAG,IAkC3D,CAAC"}
1
+ {"version":3,"file":"autohidePieLabels.d.ts","sourceRoot":"","sources":["../../../../../src/highcharts/adapter/plugins/autohideLabels/autohidePieLabels.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC;AAmB3D,eAAO,MAAM,iBAAiB,UAAW,UAAU,CAAC,KAAK,KAAG,IAoC3D,CAAC"}
@@ -1,7 +1,5 @@
1
- // (C) 2007-2025 GoodData Corporation
1
+ // (C) 2007-2026 GoodData Corporation
2
2
  import { getDataPoints, getVisibleSeries, isIntersecting, } from "../../../chartTypes/_chartCreators/helpers.js";
3
- // delete this plugin once we upgrade to newer highcharts,
4
- // set allowOverlap: false to get this behaviour
5
3
  export const autohidePieLabels = (chart) => {
6
4
  const visibleSeries = getVisibleSeries(chart);
7
5
  const visiblePoints = getDataPoints(visibleSeries);
@@ -27,9 +25,11 @@ export const autohidePieLabels = (chart) => {
27
25
  if (intersects) {
28
26
  visibilityMap[neighborIdx] = false;
29
27
  neighborLabel.hide?.();
28
+ neighborLabel.connector?.hide?.();
30
29
  }
31
30
  else {
32
31
  neighborLabel.show?.();
32
+ neighborLabel.connector?.show?.();
33
33
  }
34
34
  }
35
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-charts",
3
- "version": "11.61.0-alpha.4",
3
+ "version": "11.61.0-alpha.5",
4
4
  "description": "GoodData.UI SDK - Charts",
5
5
  "license": "LicenseRef-LICENSE",
6
6
  "author": "GoodData Corporation",
@@ -69,13 +69,13 @@
69
69
  "ts-invariant": "0.10.3",
70
70
  "tslib": "2.8.1",
71
71
  "uuid": "11.1.1",
72
- "@gooddata/sdk-model": "11.61.0-alpha.4",
73
- "@gooddata/sdk-backend-spi": "11.61.0-alpha.4",
74
- "@gooddata/sdk-ui": "11.61.0-alpha.4",
75
- "@gooddata/sdk-ui-kit": "11.61.0-alpha.4",
76
- "@gooddata/sdk-ui-theme-provider": "11.61.0-alpha.4",
77
- "@gooddata/sdk-ui-vis-commons": "11.61.0-alpha.4",
78
- "@gooddata/util": "11.61.0-alpha.4"
72
+ "@gooddata/sdk-backend-spi": "11.61.0-alpha.5",
73
+ "@gooddata/sdk-ui": "11.61.0-alpha.5",
74
+ "@gooddata/sdk-model": "11.61.0-alpha.5",
75
+ "@gooddata/sdk-ui-kit": "11.61.0-alpha.5",
76
+ "@gooddata/sdk-ui-theme-provider": "11.61.0-alpha.5",
77
+ "@gooddata/sdk-ui-vis-commons": "11.61.0-alpha.5",
78
+ "@gooddata/util": "11.61.0-alpha.5"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@microsoft/api-documenter": "7.30.16",
@@ -116,11 +116,11 @@
116
116
  "typescript": "7.0.2",
117
117
  "vitest": "4.1.11",
118
118
  "vitest-dom": "0.1.1",
119
- "@gooddata/eslint-config": "11.61.0-alpha.4",
120
- "@gooddata/oxlint-config": "11.61.0-alpha.4",
121
- "@gooddata/reference-workspace": "11.61.0-alpha.4",
122
- "@gooddata/sdk-backend-mockingbird": "11.61.0-alpha.4",
123
- "@gooddata/stylelint-config": "11.61.0-alpha.4"
119
+ "@gooddata/eslint-config": "11.61.0-alpha.5",
120
+ "@gooddata/oxlint-config": "11.61.0-alpha.5",
121
+ "@gooddata/sdk-backend-mockingbird": "11.61.0-alpha.5",
122
+ "@gooddata/stylelint-config": "11.61.0-alpha.5",
123
+ "@gooddata/reference-workspace": "11.61.0-alpha.5"
124
124
  },
125
125
  "peerDependencies": {
126
126
  "react": "^18.0.0 || ^19.0.0",