@react-spectrum/table 3.12.10-nightly.4623 → 3.12.10
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/DragPreview.main.js +5 -5
- package/dist/DragPreview.mjs +5 -5
- package/dist/DragPreview.module.js +5 -5
- package/dist/InsertionIndicator.main.js +6 -6
- package/dist/InsertionIndicator.mjs +6 -6
- package/dist/InsertionIndicator.module.js +6 -6
- package/dist/Resizer.main.js +20 -20
- package/dist/Resizer.mjs +20 -20
- package/dist/Resizer.module.js +20 -20
- package/dist/RootDropIndicator.main.js +4 -4
- package/dist/RootDropIndicator.mjs +4 -4
- package/dist/RootDropIndicator.module.js +4 -4
- package/dist/TableView.main.js +3 -3
- package/dist/TableView.mjs +3 -3
- package/dist/TableView.module.js +3 -3
- package/dist/TableViewBase.main.js +191 -191
- package/dist/TableViewBase.mjs +191 -191
- package/dist/TableViewBase.module.js +191 -191
- package/dist/TreeGridTableView.main.js +3 -3
- package/dist/TreeGridTableView.mjs +3 -3
- package/dist/TreeGridTableView.module.js +3 -3
- package/package.json +29 -29
|
@@ -27,16 +27,16 @@ $parcel$export(module.exports, "TreeGridTableView", () => $e770cde7e93c7e49$expo
|
|
|
27
27
|
|
|
28
28
|
function $e770cde7e93c7e49$var$TreeGridTableView(props, ref) {
|
|
29
29
|
let { selectionStyle: selectionStyle, dragAndDropHooks: dragAndDropHooks } = props;
|
|
30
|
-
let [showSelectionCheckboxes, setShowSelectionCheckboxes] = (0, $5aNwD$react.useState)(selectionStyle !==
|
|
30
|
+
let [showSelectionCheckboxes, setShowSelectionCheckboxes] = (0, $5aNwD$react.useState)(selectionStyle !== 'highlight');
|
|
31
31
|
let isTableDraggable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDraggableCollectionState);
|
|
32
32
|
let state = (0, $5aNwD$reactstatelytable.UNSTABLE_useTreeGridState)({
|
|
33
33
|
...props,
|
|
34
34
|
showSelectionCheckboxes: showSelectionCheckboxes,
|
|
35
35
|
showDragButtons: isTableDraggable,
|
|
36
|
-
selectionBehavior: props.selectionStyle ===
|
|
36
|
+
selectionBehavior: props.selectionStyle === 'highlight' ? 'replace' : 'toggle'
|
|
37
37
|
});
|
|
38
38
|
// If the selection behavior changes in state, we need to update showSelectionCheckboxes here due to the circular dependency...
|
|
39
|
-
let shouldShowCheckboxes = state.selectionManager.selectionBehavior !==
|
|
39
|
+
let shouldShowCheckboxes = state.selectionManager.selectionBehavior !== 'replace';
|
|
40
40
|
if (shouldShowCheckboxes !== showSelectionCheckboxes) setShowSelectionCheckboxes(shouldShowCheckboxes);
|
|
41
41
|
return /*#__PURE__*/ (0, ($parcel$interopDefault($5aNwD$react))).createElement((0, $e39c6de4eb69450d$exports.TableViewBase), {
|
|
42
42
|
...props,
|
|
@@ -17,16 +17,16 @@ import {UNSTABLE_useTreeGridState as $5KSRY$UNSTABLE_useTreeGridState} from "@re
|
|
|
17
17
|
|
|
18
18
|
function $be90f60881eac8aa$var$TreeGridTableView(props, ref) {
|
|
19
19
|
let { selectionStyle: selectionStyle, dragAndDropHooks: dragAndDropHooks } = props;
|
|
20
|
-
let [showSelectionCheckboxes, setShowSelectionCheckboxes] = (0, $5KSRY$useState)(selectionStyle !==
|
|
20
|
+
let [showSelectionCheckboxes, setShowSelectionCheckboxes] = (0, $5KSRY$useState)(selectionStyle !== 'highlight');
|
|
21
21
|
let isTableDraggable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDraggableCollectionState);
|
|
22
22
|
let state = (0, $5KSRY$UNSTABLE_useTreeGridState)({
|
|
23
23
|
...props,
|
|
24
24
|
showSelectionCheckboxes: showSelectionCheckboxes,
|
|
25
25
|
showDragButtons: isTableDraggable,
|
|
26
|
-
selectionBehavior: props.selectionStyle ===
|
|
26
|
+
selectionBehavior: props.selectionStyle === 'highlight' ? 'replace' : 'toggle'
|
|
27
27
|
});
|
|
28
28
|
// If the selection behavior changes in state, we need to update showSelectionCheckboxes here due to the circular dependency...
|
|
29
|
-
let shouldShowCheckboxes = state.selectionManager.selectionBehavior !==
|
|
29
|
+
let shouldShowCheckboxes = state.selectionManager.selectionBehavior !== 'replace';
|
|
30
30
|
if (shouldShowCheckboxes !== showSelectionCheckboxes) setShowSelectionCheckboxes(shouldShowCheckboxes);
|
|
31
31
|
return /*#__PURE__*/ (0, $5KSRY$react).createElement((0, $bd013581c0a4b065$export$517e02184d273d69), {
|
|
32
32
|
...props,
|
|
@@ -17,16 +17,16 @@ import {UNSTABLE_useTreeGridState as $5KSRY$UNSTABLE_useTreeGridState} from "@re
|
|
|
17
17
|
|
|
18
18
|
function $be90f60881eac8aa$var$TreeGridTableView(props, ref) {
|
|
19
19
|
let { selectionStyle: selectionStyle, dragAndDropHooks: dragAndDropHooks } = props;
|
|
20
|
-
let [showSelectionCheckboxes, setShowSelectionCheckboxes] = (0, $5KSRY$useState)(selectionStyle !==
|
|
20
|
+
let [showSelectionCheckboxes, setShowSelectionCheckboxes] = (0, $5KSRY$useState)(selectionStyle !== 'highlight');
|
|
21
21
|
let isTableDraggable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDraggableCollectionState);
|
|
22
22
|
let state = (0, $5KSRY$UNSTABLE_useTreeGridState)({
|
|
23
23
|
...props,
|
|
24
24
|
showSelectionCheckboxes: showSelectionCheckboxes,
|
|
25
25
|
showDragButtons: isTableDraggable,
|
|
26
|
-
selectionBehavior: props.selectionStyle ===
|
|
26
|
+
selectionBehavior: props.selectionStyle === 'highlight' ? 'replace' : 'toggle'
|
|
27
27
|
});
|
|
28
28
|
// If the selection behavior changes in state, we need to update showSelectionCheckboxes here due to the circular dependency...
|
|
29
|
-
let shouldShowCheckboxes = state.selectionManager.selectionBehavior !==
|
|
29
|
+
let shouldShowCheckboxes = state.selectionManager.selectionBehavior !== 'replace';
|
|
30
30
|
if (shouldShowCheckboxes !== showSelectionCheckboxes) setShowSelectionCheckboxes(shouldShowCheckboxes);
|
|
31
31
|
return /*#__PURE__*/ (0, $5KSRY$react).createElement((0, $bd013581c0a4b065$export$517e02184d273d69), {
|
|
32
32
|
...props,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-spectrum/table",
|
|
3
|
-
"version": "3.12.10
|
|
3
|
+
"version": "3.12.10",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -36,36 +36,36 @@
|
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@react-aria/button": "3.
|
|
40
|
-
"@react-aria/focus": "3.
|
|
41
|
-
"@react-aria/i18n": "3.
|
|
42
|
-
"@react-aria/interactions": "3.
|
|
43
|
-
"@react-aria/overlays": "3.
|
|
44
|
-
"@react-aria/table": "3.14.1
|
|
45
|
-
"@react-aria/utils": "3.
|
|
46
|
-
"@react-aria/virtualizer": "3.10.1
|
|
47
|
-
"@react-aria/visually-hidden": "3.
|
|
48
|
-
"@react-spectrum/checkbox": "3.
|
|
49
|
-
"@react-spectrum/dnd": "3.3.10
|
|
50
|
-
"@react-spectrum/layout": "3.6.5
|
|
51
|
-
"@react-spectrum/menu": "3.19.1
|
|
52
|
-
"@react-spectrum/progress": "3.
|
|
53
|
-
"@react-spectrum/tooltip": "3.
|
|
54
|
-
"@react-spectrum/utils": "3.
|
|
55
|
-
"@react-stately/flags": "3.0.3
|
|
56
|
-
"@react-stately/layout": "3.13.9
|
|
57
|
-
"@react-stately/table": "3.11.8
|
|
58
|
-
"@react-stately/virtualizer": "3.7.1
|
|
59
|
-
"@react-types/grid": "3.2.6
|
|
60
|
-
"@react-types/shared": "3.
|
|
61
|
-
"@react-types/table": "3.9.5
|
|
62
|
-
"@spectrum-icons/ui": "3.
|
|
39
|
+
"@react-aria/button": "^3.9.5",
|
|
40
|
+
"@react-aria/focus": "^3.17.1",
|
|
41
|
+
"@react-aria/i18n": "^3.11.1",
|
|
42
|
+
"@react-aria/interactions": "^3.21.3",
|
|
43
|
+
"@react-aria/overlays": "^3.22.1",
|
|
44
|
+
"@react-aria/table": "^3.14.1",
|
|
45
|
+
"@react-aria/utils": "^3.24.1",
|
|
46
|
+
"@react-aria/virtualizer": "^3.10.1",
|
|
47
|
+
"@react-aria/visually-hidden": "^3.8.12",
|
|
48
|
+
"@react-spectrum/checkbox": "^3.9.6",
|
|
49
|
+
"@react-spectrum/dnd": "^3.3.10",
|
|
50
|
+
"@react-spectrum/layout": "^3.6.5",
|
|
51
|
+
"@react-spectrum/menu": "^3.19.1",
|
|
52
|
+
"@react-spectrum/progress": "^3.7.7",
|
|
53
|
+
"@react-spectrum/tooltip": "^3.6.7",
|
|
54
|
+
"@react-spectrum/utils": "^3.11.7",
|
|
55
|
+
"@react-stately/flags": "^3.0.3",
|
|
56
|
+
"@react-stately/layout": "^3.13.9",
|
|
57
|
+
"@react-stately/table": "^3.11.8",
|
|
58
|
+
"@react-stately/virtualizer": "^3.7.1",
|
|
59
|
+
"@react-types/grid": "^3.2.6",
|
|
60
|
+
"@react-types/shared": "^3.23.1",
|
|
61
|
+
"@react-types/table": "^3.9.5",
|
|
62
|
+
"@spectrum-icons/ui": "^3.6.7",
|
|
63
63
|
"@swc/helpers": "^0.5.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@adobe/spectrum-css-temp": "3.0.0-
|
|
67
|
-
"@react-aria/dnd": "3.
|
|
68
|
-
"@react-stately/dnd": "3.
|
|
66
|
+
"@adobe/spectrum-css-temp": "3.0.0-alpha.1",
|
|
67
|
+
"@react-aria/dnd": "^3.1.0",
|
|
68
|
+
"@react-stately/dnd": "^3.1.0"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"@react-spectrum/provider": "^3.0.0",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"publishConfig": {
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "b77d7d594dff4dcfb5359bffbcfd18142b146433"
|
|
79
79
|
}
|