@gooddata/sdk-ui-pivot 11.43.0-alpha.0 → 11.43.0-alpha.2
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":"agGridDefaultProps.d.ts","sourceRoot":"","sources":["../../../src/next/constants/agGridDefaultProps.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"agGridDefaultProps.d.ts","sourceRoot":"","sources":["../../../src/next/constants/agGridDefaultProps.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AA6DtD;;;GAGG;AACH,eAAO,MAAM,oCAAoC,MAAM,CAAC;AAuFxD;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,WAenC,CAAC"}
|
|
@@ -17,9 +17,11 @@ import { HEADER_CELL_CLASSNAME } from "../features/styling/bem.js";
|
|
|
17
17
|
function suppressKeyboardEvent(params) {
|
|
18
18
|
const { event } = params;
|
|
19
19
|
const { key } = event;
|
|
20
|
-
// Prevent Space key from scrolling the page
|
|
20
|
+
// Prevent Space key from scrolling the page. Space itself is custom-handled in
|
|
21
|
+
// onCellKeyDown (drilling, Ctrl+Space/Shift+Space selection), so suppress AG Grid's default.
|
|
21
22
|
if (key === " " || key === "Space") {
|
|
22
23
|
event.preventDefault();
|
|
24
|
+
return true;
|
|
23
25
|
}
|
|
24
26
|
// Suppress Tab - handled in onCellKeyDown (useInteractionProps.ts)
|
|
25
27
|
if (key === "Tab") {
|
|
@@ -28,18 +30,14 @@ function suppressKeyboardEvent(params) {
|
|
|
28
30
|
// Suppress custom navigation keys - handled in onCellKeyDown (useInteractionProps.ts):
|
|
29
31
|
// - Home/End (custom row navigation)
|
|
30
32
|
// - Ctrl+Home/End (jump to first/last cell in grid)
|
|
31
|
-
|
|
32
|
-
if (isCustomNavigationKey) {
|
|
33
|
+
if (key === "Home" || key === "End") {
|
|
33
34
|
return true;
|
|
34
35
|
}
|
|
35
|
-
// Let AG Grid handle standard navigation
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
key === "PageUp" ||
|
|
41
|
-
key === "PageDown";
|
|
42
|
-
return !isStandardNavigationKey;
|
|
36
|
+
// Let AG Grid handle everything else. This covers its standard cell navigation (arrows,
|
|
37
|
+
// Page Up/Down) as well as its built-in clipboard shortcuts (Ctrl/Cmd+C copy via
|
|
38
|
+
// processCellForClipboard, Ctrl/Cmd+A select all). Returning a blanket true here would
|
|
39
|
+
// suppress those clipboard shortcuts and break copy (LX-2606).
|
|
40
|
+
return false;
|
|
43
41
|
}
|
|
44
42
|
function suppressHeaderKeyboardEvent(params) {
|
|
45
43
|
const { event } = params;
|
package/esm/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-pivot",
|
|
3
|
-
"version": "11.43.0-alpha.
|
|
3
|
+
"version": "11.43.0-alpha.2",
|
|
4
4
|
"description": "GoodData.UI SDK - Pivot Table",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"ts-invariant": "0.10.3",
|
|
44
44
|
"tslib": "2.8.1",
|
|
45
45
|
"uuid": "11.1.1",
|
|
46
|
-
"@gooddata/sdk-backend-spi": "11.43.0-alpha.
|
|
47
|
-
"@gooddata/sdk-model": "11.43.0-alpha.
|
|
48
|
-
"@gooddata/sdk-ui": "11.43.0-alpha.
|
|
49
|
-
"@gooddata/sdk-ui-kit": "11.43.0-alpha.
|
|
50
|
-
"@gooddata/sdk-ui
|
|
51
|
-
"@gooddata/sdk-ui-vis-commons": "11.43.0-alpha.
|
|
46
|
+
"@gooddata/sdk-backend-spi": "11.43.0-alpha.2",
|
|
47
|
+
"@gooddata/sdk-model": "11.43.0-alpha.2",
|
|
48
|
+
"@gooddata/sdk-ui-theme-provider": "11.43.0-alpha.2",
|
|
49
|
+
"@gooddata/sdk-ui-kit": "11.43.0-alpha.2",
|
|
50
|
+
"@gooddata/sdk-ui": "11.43.0-alpha.2",
|
|
51
|
+
"@gooddata/sdk-ui-vis-commons": "11.43.0-alpha.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -90,12 +90,12 @@
|
|
|
90
90
|
"typescript": "5.9.3",
|
|
91
91
|
"vitest": "4.1.8",
|
|
92
92
|
"vitest-dom": "0.1.1",
|
|
93
|
-
"@gooddata/eslint-config": "11.43.0-alpha.
|
|
94
|
-
"@gooddata/oxlint-config": "11.43.0-alpha.
|
|
95
|
-
"@gooddata/
|
|
96
|
-
"@gooddata/
|
|
97
|
-
"@gooddata/sdk-backend-mockingbird": "11.43.0-alpha.
|
|
98
|
-
"@gooddata/stylelint-config": "11.43.0-alpha.
|
|
93
|
+
"@gooddata/eslint-config": "11.43.0-alpha.2",
|
|
94
|
+
"@gooddata/oxlint-config": "11.43.0-alpha.2",
|
|
95
|
+
"@gooddata/sdk-backend-base": "11.43.0-alpha.2",
|
|
96
|
+
"@gooddata/reference-workspace": "11.43.0-alpha.2",
|
|
97
|
+
"@gooddata/sdk-backend-mockingbird": "11.43.0-alpha.2",
|
|
98
|
+
"@gooddata/stylelint-config": "11.43.0-alpha.2"
|
|
99
99
|
},
|
|
100
100
|
"peerDependencies": {
|
|
101
101
|
"react": "^18.0.0 || ^19.0.0",
|