@react-spectrum/table 3.11.2-nightly.4153 → 3.11.2-nightly.4162
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 +300 -282
- package/dist/main.css +1 -1
- package/dist/main.js +300 -282
- package/dist/main.js.map +1 -1
- package/dist/module.js +300 -282
- package/dist/module.js.map +1 -1
- package/package.json +32 -32
- package/src/TableViewBase.tsx +2 -2
- package/src/table.css +1 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-spectrum/table",
|
|
3
|
-
"version": "3.11.2-nightly.
|
|
3
|
+
"version": "3.11.2-nightly.4162+e79cff031",
|
|
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.3-nightly.
|
|
42
|
-
"@react-aria/i18n": "3.0.0-nightly.
|
|
43
|
-
"@react-aria/interactions": "3.0.0-nightly.
|
|
44
|
-
"@react-aria/table": "3.12.1-nightly.
|
|
45
|
-
"@react-aria/utils": "3.0.0-nightly.
|
|
46
|
-
"@react-aria/virtualizer": "3.9.3-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.3-nightly.
|
|
51
|
-
"@react-spectrum/layout": "3.5.6-nightly.
|
|
52
|
-
"@react-spectrum/menu": "3.14.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.1-nightly.
|
|
58
|
-
"@react-stately/grid": "3.8.2-nightly.
|
|
59
|
-
"@react-stately/layout": "3.13.2-nightly.
|
|
60
|
-
"@react-stately/table": "3.11.2-nightly.
|
|
61
|
-
"@react-stately/virtualizer": "3.6.3-nightly.
|
|
62
|
-
"@react-types/grid": "3.2.2-nightly.
|
|
63
|
-
"@react-types/shared": "3.0.0-nightly.
|
|
64
|
-
"@react-types/table": "3.8.2-nightly.
|
|
65
|
-
"@spectrum-icons/ui": "3.0.0-nightly.
|
|
39
|
+
"@react-aria/button": "3.0.0-nightly.2453+e79cff031",
|
|
40
|
+
"@react-aria/focus": "3.0.0-nightly.2453+e79cff031",
|
|
41
|
+
"@react-aria/grid": "3.8.3-nightly.4162+e79cff031",
|
|
42
|
+
"@react-aria/i18n": "3.0.0-nightly.2453+e79cff031",
|
|
43
|
+
"@react-aria/interactions": "3.0.0-nightly.2453+e79cff031",
|
|
44
|
+
"@react-aria/table": "3.12.1-nightly.4162+e79cff031",
|
|
45
|
+
"@react-aria/utils": "3.0.0-nightly.2453+e79cff031",
|
|
46
|
+
"@react-aria/virtualizer": "3.9.3-nightly.4162+e79cff031",
|
|
47
|
+
"@react-aria/visually-hidden": "3.0.0-nightly.2453+e79cff031",
|
|
48
|
+
"@react-spectrum/button": "3.0.0-nightly.2453+e79cff031",
|
|
49
|
+
"@react-spectrum/checkbox": "3.0.0-nightly.2453+e79cff031",
|
|
50
|
+
"@react-spectrum/dnd": "3.3.3-nightly.4162+e79cff031",
|
|
51
|
+
"@react-spectrum/layout": "3.5.6-nightly.4162+e79cff031",
|
|
52
|
+
"@react-spectrum/menu": "3.14.1-nightly.4162+e79cff031",
|
|
53
|
+
"@react-spectrum/progress": "3.0.0-nightly.2453+e79cff031",
|
|
54
|
+
"@react-spectrum/tooltip": "3.0.0-nightly.2453+e79cff031",
|
|
55
|
+
"@react-spectrum/utils": "3.0.0-nightly.2453+e79cff031",
|
|
56
|
+
"@react-stately/collections": "3.0.0-nightly.2453+e79cff031",
|
|
57
|
+
"@react-stately/flags": "3.0.1-nightly.4162+e79cff031",
|
|
58
|
+
"@react-stately/grid": "3.8.2-nightly.4162+e79cff031",
|
|
59
|
+
"@react-stately/layout": "3.13.2-nightly.4162+e79cff031",
|
|
60
|
+
"@react-stately/table": "3.11.2-nightly.4162+e79cff031",
|
|
61
|
+
"@react-stately/virtualizer": "3.6.3-nightly.4162+e79cff031",
|
|
62
|
+
"@react-types/grid": "3.2.2-nightly.4162+e79cff031",
|
|
63
|
+
"@react-types/shared": "3.0.0-nightly.2453+e79cff031",
|
|
64
|
+
"@react-types/table": "3.8.2-nightly.4162+e79cff031",
|
|
65
|
+
"@spectrum-icons/ui": "3.0.0-nightly.2453+e79cff031",
|
|
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.4.2-nightly.
|
|
71
|
-
"@react-stately/dnd": "3.2.5-nightly.
|
|
69
|
+
"@adobe/spectrum-css-temp": "3.0.0-nightly.2453+e79cff031",
|
|
70
|
+
"@react-aria/dnd": "3.4.2-nightly.4162+e79cff031",
|
|
71
|
+
"@react-stately/dnd": "3.2.5-nightly.4162+e79cff031"
|
|
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": "e79cff031ecf3cea7242daddf308625d638fd056"
|
|
82
82
|
}
|
package/src/TableViewBase.tsx
CHANGED
|
@@ -1348,6 +1348,7 @@ function TableCell({cell}) {
|
|
|
1348
1348
|
{
|
|
1349
1349
|
'spectrum-Table-cell--divider': columnProps.showDivider && cell.column.nextKey !== null,
|
|
1350
1350
|
'spectrum-Table-cell--hideHeader': columnProps.hideHeader,
|
|
1351
|
+
'spectrum-Table-cell--hasExpandCollapseButton': showExpandCollapseButton,
|
|
1351
1352
|
'is-disabled': isDisabled
|
|
1352
1353
|
},
|
|
1353
1354
|
classNames(
|
|
@@ -1356,8 +1357,7 @@ function TableCell({cell}) {
|
|
|
1356
1357
|
{
|
|
1357
1358
|
'react-spectrum-Table-cell--alignStart': columnProps.align === 'start',
|
|
1358
1359
|
'react-spectrum-Table-cell--alignCenter': columnProps.align === 'center',
|
|
1359
|
-
'react-spectrum-Table-cell--alignEnd': columnProps.align === 'end'
|
|
1360
|
-
'react-spectrum-Table-cell--hasExpandCollapseButton': showExpandCollapseButton
|
|
1360
|
+
'react-spectrum-Table-cell--alignEnd': columnProps.align === 'end'
|
|
1361
1361
|
}
|
|
1362
1362
|
)
|
|
1363
1363
|
)
|
package/src/table.css
CHANGED
|
@@ -34,13 +34,6 @@
|
|
|
34
34
|
.react-spectrum-Table-cell {
|
|
35
35
|
display: flex;
|
|
36
36
|
align-items: center;
|
|
37
|
-
|
|
38
|
-
&.react-spectrum-Table-cell--hasExpandCollapseButton {
|
|
39
|
-
display: grid;
|
|
40
|
-
grid-template-columns: var(--spectrum-global-dimension-size-400) 1fr;
|
|
41
|
-
grid-template-rows: 1fr;
|
|
42
|
-
grid-template-areas: "expand-button contents";
|
|
43
|
-
}
|
|
44
37
|
}
|
|
45
38
|
|
|
46
39
|
.react-spectrum-Table-cellWrapper > .react-spectrum-Table-cell {
|
|
@@ -194,7 +187,7 @@
|
|
|
194
187
|
border-radius: var(--spectrum-alias-border-radius-regular);
|
|
195
188
|
padding: var(--spectrum-global-dimension-size-10);
|
|
196
189
|
|
|
197
|
-
&:focus-
|
|
190
|
+
&:focus-visible {
|
|
198
191
|
box-shadow: inset 0 0 0 2px var(--spectrum-table-cell-border-color-key-focus);
|
|
199
192
|
outline: none;
|
|
200
193
|
|