@react-spectrum/table 3.10.1-nightly.4052 → 3.10.1-nightly.4061
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/dist/import.mjs +0 -2
- package/dist/main.js +0 -2
- package/dist/main.js.map +1 -1
- package/dist/module.js +0 -2
- package/dist/module.js.map +1 -1
- package/package.json +32 -32
- package/src/TableViewBase.tsx +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-spectrum/table",
|
|
3
|
-
"version": "3.10.1-nightly.
|
|
3
|
+
"version": "3.10.1-nightly.4061+6d3277337",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -36,39 +36,39 @@
|
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@react-aria/button": "3.0.0-nightly.
|
|
40
|
-
"@react-aria/focus": "3.0.0-nightly.
|
|
41
|
-
"@react-aria/grid": "3.8.1-nightly.
|
|
42
|
-
"@react-aria/i18n": "3.0.0-nightly.
|
|
43
|
-
"@react-aria/interactions": "3.0.0-nightly.
|
|
44
|
-
"@react-aria/table": "3.10.1-nightly.
|
|
45
|
-
"@react-aria/utils": "3.0.0-nightly.
|
|
46
|
-
"@react-aria/virtualizer": "3.9.1-nightly.
|
|
47
|
-
"@react-aria/visually-hidden": "3.0.0-nightly.
|
|
48
|
-
"@react-spectrum/button": "3.0.0-nightly.
|
|
49
|
-
"@react-spectrum/checkbox": "3.0.0-nightly.
|
|
50
|
-
"@react-spectrum/dnd": "3.3.1-nightly.
|
|
51
|
-
"@react-spectrum/layout": "3.5.4-nightly.
|
|
52
|
-
"@react-spectrum/menu": "3.12.1-nightly.
|
|
53
|
-
"@react-spectrum/progress": "3.0.0-nightly.
|
|
54
|
-
"@react-spectrum/tooltip": "3.0.0-nightly.
|
|
55
|
-
"@react-spectrum/utils": "3.0.0-nightly.
|
|
56
|
-
"@react-stately/collections": "3.0.0-nightly.
|
|
57
|
-
"@react-stately/flags": "3.0.0-nightly.
|
|
58
|
-
"@react-stately/grid": "3.7.1-nightly.
|
|
59
|
-
"@react-stately/layout": "3.12.3-nightly.
|
|
60
|
-
"@react-stately/table": "3.10.1-nightly.
|
|
61
|
-
"@react-stately/virtualizer": "3.6.1-nightly.
|
|
62
|
-
"@react-types/grid": "3.1.9-nightly.
|
|
63
|
-
"@react-types/shared": "3.0.0-nightly.
|
|
64
|
-
"@react-types/table": "3.7.1-nightly.
|
|
65
|
-
"@spectrum-icons/ui": "3.0.0-nightly.
|
|
39
|
+
"@react-aria/button": "3.0.0-nightly.2356+6d3277337",
|
|
40
|
+
"@react-aria/focus": "3.0.0-nightly.2356+6d3277337",
|
|
41
|
+
"@react-aria/grid": "3.8.1-nightly.4061+6d3277337",
|
|
42
|
+
"@react-aria/i18n": "3.0.0-nightly.2356+6d3277337",
|
|
43
|
+
"@react-aria/interactions": "3.0.0-nightly.2356+6d3277337",
|
|
44
|
+
"@react-aria/table": "3.10.1-nightly.4061+6d3277337",
|
|
45
|
+
"@react-aria/utils": "3.0.0-nightly.2356+6d3277337",
|
|
46
|
+
"@react-aria/virtualizer": "3.9.1-nightly.4061+6d3277337",
|
|
47
|
+
"@react-aria/visually-hidden": "3.0.0-nightly.2356+6d3277337",
|
|
48
|
+
"@react-spectrum/button": "3.0.0-nightly.2356+6d3277337",
|
|
49
|
+
"@react-spectrum/checkbox": "3.0.0-nightly.2356+6d3277337",
|
|
50
|
+
"@react-spectrum/dnd": "3.3.1-nightly.4061+6d3277337",
|
|
51
|
+
"@react-spectrum/layout": "3.5.4-nightly.4061+6d3277337",
|
|
52
|
+
"@react-spectrum/menu": "3.12.1-nightly.4061+6d3277337",
|
|
53
|
+
"@react-spectrum/progress": "3.0.0-nightly.2356+6d3277337",
|
|
54
|
+
"@react-spectrum/tooltip": "3.0.0-nightly.2356+6d3277337",
|
|
55
|
+
"@react-spectrum/utils": "3.0.0-nightly.2356+6d3277337",
|
|
56
|
+
"@react-stately/collections": "3.0.0-nightly.2356+6d3277337",
|
|
57
|
+
"@react-stately/flags": "3.0.0-nightly.4061+6d3277337",
|
|
58
|
+
"@react-stately/grid": "3.7.1-nightly.4061+6d3277337",
|
|
59
|
+
"@react-stately/layout": "3.12.3-nightly.4061+6d3277337",
|
|
60
|
+
"@react-stately/table": "3.10.1-nightly.4061+6d3277337",
|
|
61
|
+
"@react-stately/virtualizer": "3.6.1-nightly.4061+6d3277337",
|
|
62
|
+
"@react-types/grid": "3.1.9-nightly.4061+6d3277337",
|
|
63
|
+
"@react-types/shared": "3.0.0-nightly.2356+6d3277337",
|
|
64
|
+
"@react-types/table": "3.7.1-nightly.4061+6d3277337",
|
|
65
|
+
"@spectrum-icons/ui": "3.0.0-nightly.2356+6d3277337",
|
|
66
66
|
"@swc/helpers": "^0.5.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@adobe/spectrum-css-temp": "3.0.0-nightly.
|
|
70
|
-
"@react-aria/dnd": "3.3.1-nightly.
|
|
71
|
-
"@react-stately/dnd": "3.2.3-nightly.
|
|
69
|
+
"@adobe/spectrum-css-temp": "3.0.0-nightly.2356+6d3277337",
|
|
70
|
+
"@react-aria/dnd": "3.3.1-nightly.4061+6d3277337",
|
|
71
|
+
"@react-stately/dnd": "3.2.3-nightly.4061+6d3277337"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
74
|
"@react-spectrum/provider": "^3.0.0",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"publishConfig": {
|
|
79
79
|
"access": "public"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "6d3277337aa875dcb176a5f6a3f1e380875a94fc"
|
|
82
82
|
}
|
package/src/TableViewBase.tsx
CHANGED
|
@@ -612,7 +612,6 @@ function TableVirtualizer(props) {
|
|
|
612
612
|
}, [state.contentSize, headerRef, bodyRef, domRef]);
|
|
613
613
|
|
|
614
614
|
let headerHeight = layout.getLayoutInfo('header')?.rect.height || 0;
|
|
615
|
-
let visibleRect = state.virtualizer.visibleRect;
|
|
616
615
|
|
|
617
616
|
// Sync the scroll position from the table body to the header container.
|
|
618
617
|
let onScroll = useCallback(() => {
|
|
@@ -649,7 +648,6 @@ function TableVirtualizer(props) {
|
|
|
649
648
|
role="presentation"
|
|
650
649
|
className={classNames(styles, 'spectrum-Table-headWrapper')}
|
|
651
650
|
style={{
|
|
652
|
-
width: visibleRect.width,
|
|
653
651
|
height: headerHeight,
|
|
654
652
|
overflow: 'hidden',
|
|
655
653
|
position: 'relative',
|