@gooddata/sdk-ui-ext 11.51.0-alpha.5 → 11.51.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.
@@ -1 +1 @@
1
- {"version":3,"file":"InsightRenderer.d.ts","sourceRoot":"","sources":["../../src/insightView/InsightRenderer.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,qBAAqB,EAAc,MAAM,YAAY,CAAC;AAOpE,OAAO,EAGH,KAAK,sBAAsB,EAC9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,MAAM,EACX,KAAK,qBAAqB,EAM7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAKH,KAAK,OAAO,EACZ,KAAK,aAAa,EAGlB,KAAK,OAAO,EAMf,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAGH,KAAK,iBAAiB,EAIzB,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAC/C,iBAAiB,EACjB,SAAS,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,WAAW,CACjE;IACG,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACxC,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAC7C,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,YAAY,EAAE,aAAa,GAAG,SAAS,CAAC;IACxC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB;;;OAGG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;CAC3B;AA4RD,eAAO,MAAM,mBAAmB;;;;;;CAA2D,CAAC;AAwB5F;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,qBAAqB,kDAuC3D"}
1
+ {"version":3,"file":"InsightRenderer.d.ts","sourceRoot":"","sources":["../../src/insightView/InsightRenderer.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,qBAAqB,EAAc,MAAM,YAAY,CAAC;AAOpE,OAAO,EAGH,KAAK,sBAAsB,EAC9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,MAAM,EACX,KAAK,qBAAqB,EAM7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAKH,KAAK,OAAO,EACZ,KAAK,aAAa,EAGlB,KAAK,OAAO,EAMf,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAGH,KAAK,iBAAiB,EAIzB,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAC/C,iBAAiB,EACjB,SAAS,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,WAAW,CACjE;IACG,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACxC,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAC7C,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,YAAY,EAAE,aAAa,GAAG,SAAS,CAAC;IACxC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB;;;OAGG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;CAC3B;AA+RD,eAAO,MAAM,mBAAmB;;;;;;CAA2D,CAAC;AAwB5F;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,qBAAqB,kDAuC3D"}
@@ -119,11 +119,16 @@ class InsightRendererCore extends PureComponent {
119
119
  onExportReady: this.onExportReadyDecorator,
120
120
  afterRender: this.props.afterRender,
121
121
  },
122
- configPanelElement: () => {
123
- const rootNode = this.containerRef.current?.getRootNode() ?? document;
124
- // this is apparently a well-know constant (see BaseVisualization)
125
- return rootNode.querySelector(".gd-configuration-panel-content");
126
- },
122
+ // This renderer has no configuration panel of its own — it renders read-only insights.
123
+ // It used to resolve the panel with a document-wide lookup of the well-known
124
+ // `.gd-configuration-panel-content` class (see BaseVisualization), which only ever
125
+ // matched nothing in a plain dashboard. Once AD runs in-process on the same page (the
126
+ // insight-edit overlay opened from Dashboards), that lookup started matching AD's
127
+ // configuration panel: every re-render of a dashboard widget then created a second
128
+ // React root on AD's panel node and replaced its content with a dashboards-environment
129
+ // panel, losing the drill-down hierarchies and detaching the panel from AD's store.
130
+ // fix STL-3184
131
+ configPanelElement: () => null,
127
132
  element: () => {
128
133
  const rootNode = this.containerRef.current?.getRootNode() ?? document;
129
134
  return rootNode.querySelector(`#${this.elementId}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-ext",
3
- "version": "11.51.0-alpha.5",
3
+ "version": "11.51.0",
4
4
  "description": "GoodData.UI SDK - Extensions",
5
5
  "license": "LicenseRef-LICENSE",
6
6
  "author": "GoodData Corporation",
@@ -63,20 +63,20 @@
63
63
  "ts-invariant": "0.10.3",
64
64
  "tslib": "2.8.1",
65
65
  "uuid": "11.1.1",
66
- "@gooddata/sdk-backend-base": "11.51.0-alpha.5",
67
- "@gooddata/sdk-embedding": "11.51.0-alpha.5",
68
- "@gooddata/sdk-backend-spi": "11.51.0-alpha.5",
69
- "@gooddata/sdk-ui": "11.51.0-alpha.5",
70
- "@gooddata/sdk-model": "11.51.0-alpha.5",
71
- "@gooddata/sdk-ui-filters": "11.51.0-alpha.5",
72
- "@gooddata/sdk-ui-charts": "11.51.0-alpha.5",
73
- "@gooddata/sdk-ui-geo": "11.51.0-alpha.5",
74
- "@gooddata/sdk-ui-pivot": "11.51.0-alpha.5",
75
- "@gooddata/sdk-ui-semantic-search": "11.51.0-alpha.5",
76
- "@gooddata/sdk-ui-kit": "11.51.0-alpha.5",
77
- "@gooddata/sdk-ui-theme-provider": "11.51.0-alpha.5",
78
- "@gooddata/util": "11.51.0-alpha.5",
79
- "@gooddata/sdk-ui-vis-commons": "11.51.0-alpha.5"
66
+ "@gooddata/sdk-backend-base": "11.51.0",
67
+ "@gooddata/sdk-backend-spi": "11.51.0",
68
+ "@gooddata/sdk-embedding": "11.51.0",
69
+ "@gooddata/sdk-ui": "11.51.0",
70
+ "@gooddata/sdk-model": "11.51.0",
71
+ "@gooddata/sdk-ui-filters": "11.51.0",
72
+ "@gooddata/sdk-ui-charts": "11.51.0",
73
+ "@gooddata/sdk-ui-kit": "11.51.0",
74
+ "@gooddata/sdk-ui-pivot": "11.51.0",
75
+ "@gooddata/sdk-ui-semantic-search": "11.51.0",
76
+ "@gooddata/sdk-ui-geo": "11.51.0",
77
+ "@gooddata/sdk-ui-theme-provider": "11.51.0",
78
+ "@gooddata/util": "11.51.0",
79
+ "@gooddata/sdk-ui-vis-commons": "11.51.0"
80
80
  },
81
81
  "devDependencies": {
82
82
  "@microsoft/api-documenter": "^7.17.0",
@@ -124,12 +124,12 @@
124
124
  "typescript": "5.9.3",
125
125
  "vitest": "4.1.8",
126
126
  "vitest-dom": "0.1.1",
127
- "@gooddata/i18n-toolkit": "11.51.0-alpha.5",
128
- "@gooddata/eslint-config": "11.51.0-alpha.5",
129
- "@gooddata/oxlint-config": "11.51.0-alpha.5",
130
- "@gooddata/reference-workspace": "11.51.0-alpha.5",
131
- "@gooddata/sdk-backend-mockingbird": "11.51.0-alpha.5",
132
- "@gooddata/stylelint-config": "11.51.0-alpha.5"
127
+ "@gooddata/i18n-toolkit": "11.51.0",
128
+ "@gooddata/eslint-config": "11.51.0",
129
+ "@gooddata/reference-workspace": "11.51.0",
130
+ "@gooddata/oxlint-config": "11.51.0",
131
+ "@gooddata/sdk-backend-mockingbird": "11.51.0",
132
+ "@gooddata/stylelint-config": "11.51.0"
133
133
  },
134
134
  "peerDependencies": {
135
135
  "react": "^18.0.0 || ^19.0.0",