@gooddata/sdk-ui-dashboard 11.40.0-alpha.4 → 11.40.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.
package/NOTICE CHANGED
@@ -7,9 +7,9 @@
7
7
 
8
8
  The following 3rd-party software packages may be used by or distributed with gooddata-ui-sdk. Any information relevant to third-party vendors listed below are collected using common, reasonable means.
9
9
 
10
- Date generated: 2026-6-1
10
+ Date generated: 2026-6-2
11
11
 
12
- Revision ID: 58bde4b356bb7df1b4f63c7ebd5ae8a4fee89f71
12
+ Revision ID: 9578d3fcaf586a5a43aa0d269f308f27a7f322ef
13
13
 
14
14
  ================================================================================
15
15
  ================================================================================
@@ -38471,4 +38471,4 @@ POSSIBILITY OF SUCH DAMAGE.
38471
38471
  --------------------------------------------------------------------------------
38472
38472
  --------------------------------------------------------------------------------
38473
38473
 
38474
- Report Generated by FOSSA on 2026-6-1
38474
+ Report Generated by FOSSA on 2026-6-2
@@ -1,3 +1,3 @@
1
- export declare const LIB_VERSION = "11.40.0-alpha.4";
1
+ export declare const LIB_VERSION = "11.40.0-alpha.5";
2
2
  export declare const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
3
3
  export declare const LIB_NAME = "@gooddata/sdk-ui-dashboard";
package/esm/__version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // (C) 2021 GoodData Corporation
2
2
  // DO NOT CHANGE THIS FILE, IT IS RE-GENERATED ON EVERY BUILD
3
- export const LIB_VERSION = "11.40.0-alpha.4";
3
+ export const LIB_VERSION = "11.40.0-alpha.5";
4
4
  export const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
5
5
  export const LIB_NAME = "@gooddata/sdk-ui-dashboard";
@@ -265,9 +265,6 @@ const selectKdaByWidgetRef = createMemoizedSelector((ref) => createSelector(sele
265
265
  return undefined;
266
266
  }
267
267
  // construct predicates for all available attributes and measures
268
- const attributePredicates = [
269
- HeaderPredicates.localIdentifierMatch(date.attribute.attributeHeader.localIdentifier),
270
- ];
271
268
  const measurePredicates = compact(availableDrillTargets?.availableDrillTargets?.measures?.map((drillMeasure) => {
272
269
  const isMetricDisabled = getMetricDisabled(widgetInsight, drillMeasure.measure.measureHeaderItem.localIdentifier);
273
270
  if (isMetricDisabled) {
@@ -284,7 +281,7 @@ const selectKdaByWidgetRef = createMemoizedSelector((ref) => createSelector(sele
284
281
  transition: "in-place",
285
282
  origin: {},
286
283
  },
287
- predicates: [...attributePredicates, ...measurePredicates],
284
+ predicates: [...measurePredicates],
288
285
  };
289
286
  }));
290
287
  /**
@@ -38,9 +38,14 @@ export function DefaultDashboardFilterGroup(props) {
38
38
  }, []);
39
39
  const isFilterActive = useCallback((filter) => {
40
40
  if (isFilterBarMeasureValueFilter(filter)) {
41
+ // Measure value filters have no working selection, so they always reflect the
42
+ // committed filter regardless of the apply mode.
41
43
  return !isAllDashboardMeasureValueFilter(filter.filter);
42
44
  }
43
- const dashboardFilter = filter.filter;
45
+ // In apply-all-at-once mode the uncommitted (working) selection should be reflected in
46
+ // the group button subtitle immediately, without waiting for the Apply button. Fall back
47
+ // to the committed filter when there is no working selection.
48
+ const dashboardFilter = isApplyAllAtOnceEnabledAndSet && filter.workingFilter ? filter.workingFilter : filter.filter;
44
49
  if (isDashboardAttributeFilter(dashboardFilter)) {
45
50
  return getSelectedElementsCount(dashboardFilter) > 0;
46
51
  }
@@ -51,7 +56,7 @@ export function DefaultDashboardFilterGroup(props) {
51
56
  return dashboardFilter.matchAttributeFilter.literal.length > 0;
52
57
  }
53
58
  return true;
54
- }, []);
59
+ }, [isApplyAllAtOnceEnabledAndSet]);
55
60
  const renderFilter = useCallback((filter, AttributeFilterComponent, MeasureValueFilterComponent) => {
56
61
  if (isFilterBarMeasureValueFilter(filter)) {
57
62
  const localId = dashboardFilterLocalIdentifier(filter.filter);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-dashboard",
3
- "version": "11.40.0-alpha.4",
3
+ "version": "11.40.0-alpha.5",
4
4
  "description": "GoodData SDK - Dashboard Component",
5
5
  "license": "LicenseRef-LICENSE",
6
6
  "author": "GoodData Corporation",
@@ -60,19 +60,19 @@
60
60
  "ts-invariant": "0.10.3",
61
61
  "tslib": "2.8.1",
62
62
  "uuid": "11.1.0",
63
- "@gooddata/sdk-backend-base": "11.40.0-alpha.4",
64
- "@gooddata/sdk-backend-spi": "11.40.0-alpha.4",
65
- "@gooddata/sdk-model": "11.40.0-alpha.4",
66
- "@gooddata/sdk-ui": "11.40.0-alpha.4",
67
- "@gooddata/sdk-ui-charts": "11.40.0-alpha.4",
68
- "@gooddata/sdk-ui-ext": "11.40.0-alpha.4",
69
- "@gooddata/sdk-ui-filters": "11.40.0-alpha.4",
70
- "@gooddata/sdk-ui-geo": "11.40.0-alpha.4",
71
- "@gooddata/sdk-ui-kit": "11.40.0-alpha.4",
72
- "@gooddata/sdk-ui-pivot": "11.40.0-alpha.4",
73
- "@gooddata/sdk-ui-vis-commons": "11.40.0-alpha.4",
74
- "@gooddata/sdk-ui-theme-provider": "11.40.0-alpha.4",
75
- "@gooddata/util": "11.40.0-alpha.4"
63
+ "@gooddata/sdk-backend-base": "11.40.0-alpha.5",
64
+ "@gooddata/sdk-backend-spi": "11.40.0-alpha.5",
65
+ "@gooddata/sdk-ui": "11.40.0-alpha.5",
66
+ "@gooddata/sdk-model": "11.40.0-alpha.5",
67
+ "@gooddata/sdk-ui-charts": "11.40.0-alpha.5",
68
+ "@gooddata/sdk-ui-ext": "11.40.0-alpha.5",
69
+ "@gooddata/sdk-ui-filters": "11.40.0-alpha.5",
70
+ "@gooddata/sdk-ui-geo": "11.40.0-alpha.5",
71
+ "@gooddata/sdk-ui-kit": "11.40.0-alpha.5",
72
+ "@gooddata/sdk-ui-pivot": "11.40.0-alpha.5",
73
+ "@gooddata/sdk-ui-theme-provider": "11.40.0-alpha.5",
74
+ "@gooddata/sdk-ui-vis-commons": "11.40.0-alpha.5",
75
+ "@gooddata/util": "11.40.0-alpha.5"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@microsoft/api-documenter": "^7.17.0",
@@ -118,12 +118,12 @@
118
118
  "typescript": "5.9.3",
119
119
  "vitest": "4.1.8",
120
120
  "vitest-dom": "0.1.1",
121
- "@gooddata/eslint-config": "11.40.0-alpha.4",
122
- "@gooddata/i18n-toolkit": "11.40.0-alpha.4",
123
- "@gooddata/oxlint-config": "11.40.0-alpha.4",
124
- "@gooddata/reference-workspace": "11.40.0-alpha.4",
125
- "@gooddata/sdk-backend-mockingbird": "11.40.0-alpha.4",
126
- "@gooddata/stylelint-config": "11.40.0-alpha.4"
121
+ "@gooddata/eslint-config": "11.40.0-alpha.5",
122
+ "@gooddata/i18n-toolkit": "11.40.0-alpha.5",
123
+ "@gooddata/oxlint-config": "11.40.0-alpha.5",
124
+ "@gooddata/reference-workspace": "11.40.0-alpha.5",
125
+ "@gooddata/sdk-backend-mockingbird": "11.40.0-alpha.5",
126
+ "@gooddata/stylelint-config": "11.40.0-alpha.5"
127
127
  },
128
128
  "peerDependencies": {
129
129
  "react": "^18.0.0 || ^19.0.0",