@gooddata/sdk-ui-pivot 11.44.0-alpha.2 → 11.44.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.
@@ -19,7 +19,7 @@ export declare function getEffectivePageSize(pageSize: number): number;
19
19
  export declare function isAutoPageSize(pageSize: number): boolean;
20
20
  /**
21
21
  * Checks if pagination is enabled based on the config.
22
- * Pagination requires `config.pagination.enabled` to be true and `config.enablePivotTablePagination` to not be false,
22
+ * Pagination requires `config.pagination.enabled` to be true,
23
23
  * OR accessibility mode to be enabled (which enforces pagination).
24
24
  *
25
25
  * @param config - The pivot table configuration
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/next/features/pagination/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAElE;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAE7D;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAExD;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAWzE"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/next/features/pagination/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAElE;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAE7D;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAExD;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CASzE"}
@@ -24,7 +24,7 @@ export function isAutoPageSize(pageSize) {
24
24
  }
25
25
  /**
26
26
  * Checks if pagination is enabled based on the config.
27
- * Pagination requires `config.pagination.enabled` to be true and `config.enablePivotTablePagination` to not be false,
27
+ * Pagination requires `config.pagination.enabled` to be true,
28
28
  * OR accessibility mode to be enabled (which enforces pagination).
29
29
  *
30
30
  * @param config - The pivot table configuration
@@ -37,7 +37,5 @@ export function isPaginationEnabled(config) {
37
37
  if (accessibilityEnabled) {
38
38
  return true;
39
39
  }
40
- const paginationConfigEnabled = config.pagination?.enabled ?? false;
41
- const paginationFeatureEnabled = config.enablePivotTablePagination ?? true;
42
- return paginationConfigEnabled && paginationFeatureEnabled;
40
+ return config.pagination?.enabled ?? false;
43
41
  }
@@ -3,7 +3,7 @@ import { type AgGridProps } from "../types/agGrid.js";
3
3
  * Returns ag-grid props for pagination configuration.
4
4
  *
5
5
  * @remarks
6
- * Pagination is only enabled if config.pagination.enabled is true and config.enablePivotTablePagination is not false.
6
+ * Pagination is only enabled if config.pagination.enabled is true.
7
7
  *
8
8
  * @internal
9
9
  */
@@ -6,7 +6,7 @@ import { isAutoPageSize, isPaginationEnabled } from "../features/pagination/util
6
6
  * Returns ag-grid props for pagination configuration.
7
7
  *
8
8
  * @remarks
9
- * Pagination is only enabled if config.pagination.enabled is true and config.enablePivotTablePagination is not false.
9
+ * Pagination is only enabled if config.pagination.enabled is true.
10
10
  *
11
11
  * @internal
12
12
  */
@@ -3,12 +3,5 @@
3
3
  *
4
4
  * @public
5
5
  */
6
- export type PivotTableNextExperimentalConfig = {
7
- /**
8
- * Enable pagination for the pivot table.
9
- *
10
- * Default: true
11
- */
12
- enablePivotTablePagination?: boolean;
13
- };
6
+ export type PivotTableNextExperimentalConfig = Record<never, never>;
14
7
  //# sourceMappingURL=experimental.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../../../src/next/types/experimental.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,MAAM,gCAAgC,GAAG;IAC3C;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACxC,CAAC"}
1
+ {"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../../../src/next/types/experimental.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,MAAM,gCAAgC,GAAG,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC"}
@@ -1376,14 +1376,7 @@ export declare type PivotTableNextExecutionCancellingConfig = {
1376
1376
  *
1377
1377
  * @public
1378
1378
  */
1379
- export declare type PivotTableNextExperimentalConfig = {
1380
- /**
1381
- * Enable pagination for the pivot table.
1382
- *
1383
- * Default: true
1384
- */
1385
- enablePivotTablePagination?: boolean;
1386
- };
1379
+ export declare type PivotTableNextExperimentalConfig = Record<never, never>;
1387
1380
 
1388
1381
  /**
1389
1382
  * Configuration for formatting.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-pivot",
3
- "version": "11.44.0-alpha.2",
3
+ "version": "11.44.0",
4
4
  "description": "GoodData.UI SDK - Pivot Table",
5
5
  "license": "MIT",
6
6
  "author": "GoodData Corporation",
@@ -42,12 +42,12 @@
42
42
  "ts-invariant": "0.10.3",
43
43
  "tslib": "2.8.1",
44
44
  "uuid": "11.1.1",
45
- "@gooddata/sdk-backend-spi": "11.44.0-alpha.2",
46
- "@gooddata/sdk-model": "11.44.0-alpha.2",
47
- "@gooddata/sdk-ui": "11.44.0-alpha.2",
48
- "@gooddata/sdk-ui-theme-provider": "11.44.0-alpha.2",
49
- "@gooddata/sdk-ui-kit": "11.44.0-alpha.2",
50
- "@gooddata/sdk-ui-vis-commons": "11.44.0-alpha.2"
45
+ "@gooddata/sdk-backend-spi": "11.44.0",
46
+ "@gooddata/sdk-model": "11.44.0",
47
+ "@gooddata/sdk-ui-kit": "11.44.0",
48
+ "@gooddata/sdk-ui": "11.44.0",
49
+ "@gooddata/sdk-ui-theme-provider": "11.44.0",
50
+ "@gooddata/sdk-ui-vis-commons": "11.44.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@microsoft/api-documenter": "^7.17.0",
@@ -89,12 +89,12 @@
89
89
  "typescript": "5.9.3",
90
90
  "vitest": "4.1.8",
91
91
  "vitest-dom": "0.1.1",
92
- "@gooddata/eslint-config": "11.44.0-alpha.2",
93
- "@gooddata/oxlint-config": "11.44.0-alpha.2",
94
- "@gooddata/sdk-backend-base": "11.44.0-alpha.2",
95
- "@gooddata/sdk-backend-mockingbird": "11.44.0-alpha.2",
96
- "@gooddata/reference-workspace": "11.44.0-alpha.2",
97
- "@gooddata/stylelint-config": "11.44.0-alpha.2"
92
+ "@gooddata/eslint-config": "11.44.0",
93
+ "@gooddata/oxlint-config": "11.44.0",
94
+ "@gooddata/reference-workspace": "11.44.0",
95
+ "@gooddata/sdk-backend-base": "11.44.0",
96
+ "@gooddata/sdk-backend-mockingbird": "11.44.0",
97
+ "@gooddata/stylelint-config": "11.44.0"
98
98
  },
99
99
  "peerDependencies": {
100
100
  "react": "^18.0.0 || ^19.0.0",