@react-spectrum/table 3.12.10-nightly.4624 → 3.12.11-nightly.4629
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.
|
|
3
|
+
"version": "3.12.11-nightly.4629+c34886769",
|
|
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.0.0-nightly.
|
|
40
|
-
"@react-aria/focus": "3.0.0-nightly.
|
|
41
|
-
"@react-aria/i18n": "3.0.0-nightly.
|
|
42
|
-
"@react-aria/interactions": "3.0.0-nightly.
|
|
43
|
-
"@react-aria/overlays": "3.0.0-nightly.
|
|
44
|
-
"@react-aria/table": "3.14.
|
|
45
|
-
"@react-aria/utils": "3.0.0-nightly.
|
|
46
|
-
"@react-aria/virtualizer": "3.10.
|
|
47
|
-
"@react-aria/visually-hidden": "3.0.0-nightly.
|
|
48
|
-
"@react-spectrum/checkbox": "3.0.0-nightly.
|
|
49
|
-
"@react-spectrum/dnd": "3.3.
|
|
50
|
-
"@react-spectrum/layout": "3.6.
|
|
51
|
-
"@react-spectrum/menu": "3.19.
|
|
52
|
-
"@react-spectrum/progress": "3.0.0-nightly.
|
|
53
|
-
"@react-spectrum/tooltip": "3.0.0-nightly.
|
|
54
|
-
"@react-spectrum/utils": "3.0.0-nightly.
|
|
55
|
-
"@react-stately/flags": "3.0.
|
|
56
|
-
"@react-stately/layout": "3.13.
|
|
57
|
-
"@react-stately/table": "3.11.
|
|
58
|
-
"@react-stately/virtualizer": "3.7.
|
|
59
|
-
"@react-types/grid": "3.2.
|
|
60
|
-
"@react-types/shared": "3.0.0-nightly.
|
|
61
|
-
"@react-types/table": "3.9.
|
|
62
|
-
"@spectrum-icons/ui": "3.0.0-nightly.
|
|
39
|
+
"@react-aria/button": "3.0.0-nightly.2917+c34886769",
|
|
40
|
+
"@react-aria/focus": "3.0.0-nightly.2917+c34886769",
|
|
41
|
+
"@react-aria/i18n": "3.0.0-nightly.2917+c34886769",
|
|
42
|
+
"@react-aria/interactions": "3.0.0-nightly.2917+c34886769",
|
|
43
|
+
"@react-aria/overlays": "3.0.0-nightly.2917+c34886769",
|
|
44
|
+
"@react-aria/table": "3.14.2-nightly.4629+c34886769",
|
|
45
|
+
"@react-aria/utils": "3.0.0-nightly.2917+c34886769",
|
|
46
|
+
"@react-aria/virtualizer": "3.10.2-nightly.4629+c34886769",
|
|
47
|
+
"@react-aria/visually-hidden": "3.0.0-nightly.2917+c34886769",
|
|
48
|
+
"@react-spectrum/checkbox": "3.0.0-nightly.2917+c34886769",
|
|
49
|
+
"@react-spectrum/dnd": "3.3.11-nightly.4629+c34886769",
|
|
50
|
+
"@react-spectrum/layout": "3.6.6-nightly.4629+c34886769",
|
|
51
|
+
"@react-spectrum/menu": "3.19.2-nightly.4629+c34886769",
|
|
52
|
+
"@react-spectrum/progress": "3.0.0-nightly.2917+c34886769",
|
|
53
|
+
"@react-spectrum/tooltip": "3.0.0-nightly.2917+c34886769",
|
|
54
|
+
"@react-spectrum/utils": "3.0.0-nightly.2917+c34886769",
|
|
55
|
+
"@react-stately/flags": "3.0.4-nightly.4629+c34886769",
|
|
56
|
+
"@react-stately/layout": "3.13.10-nightly.4629+c34886769",
|
|
57
|
+
"@react-stately/table": "3.11.9-nightly.4629+c34886769",
|
|
58
|
+
"@react-stately/virtualizer": "3.7.2-nightly.4629+c34886769",
|
|
59
|
+
"@react-types/grid": "3.2.7-nightly.4629+c34886769",
|
|
60
|
+
"@react-types/shared": "3.0.0-nightly.2917+c34886769",
|
|
61
|
+
"@react-types/table": "3.9.6-nightly.4629+c34886769",
|
|
62
|
+
"@spectrum-icons/ui": "3.0.0-nightly.2917+c34886769",
|
|
63
63
|
"@swc/helpers": "^0.5.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@adobe/spectrum-css-temp": "3.0.0-nightly.
|
|
67
|
-
"@react-aria/dnd": "3.6.
|
|
68
|
-
"@react-stately/dnd": "3.3.
|
|
66
|
+
"@adobe/spectrum-css-temp": "3.0.0-nightly.2917+c34886769",
|
|
67
|
+
"@react-aria/dnd": "3.6.2-nightly.4629+c34886769",
|
|
68
|
+
"@react-stately/dnd": "3.3.2-nightly.4629+c34886769"
|
|
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": "c34886769d3e69bb56553a02eead6a0fd877e754"
|
|
79
79
|
}
|