@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.
@@ -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 !== "highlight");
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 === "highlight" ? "replace" : "toggle"
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 !== "replace";
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 !== "highlight");
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 === "highlight" ? "replace" : "toggle"
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 !== "replace";
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 !== "highlight");
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 === "highlight" ? "replace" : "toggle"
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 !== "replace";
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-nightly.4624+d80999e89",
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.2912+d80999e89",
40
- "@react-aria/focus": "3.0.0-nightly.2912+d80999e89",
41
- "@react-aria/i18n": "3.0.0-nightly.2912+d80999e89",
42
- "@react-aria/interactions": "3.0.0-nightly.2912+d80999e89",
43
- "@react-aria/overlays": "3.0.0-nightly.2912+d80999e89",
44
- "@react-aria/table": "3.14.1-nightly.4624+d80999e89",
45
- "@react-aria/utils": "3.0.0-nightly.2912+d80999e89",
46
- "@react-aria/virtualizer": "3.10.1-nightly.4624+d80999e89",
47
- "@react-aria/visually-hidden": "3.0.0-nightly.2912+d80999e89",
48
- "@react-spectrum/checkbox": "3.0.0-nightly.2912+d80999e89",
49
- "@react-spectrum/dnd": "3.3.10-nightly.4624+d80999e89",
50
- "@react-spectrum/layout": "3.6.5-nightly.4624+d80999e89",
51
- "@react-spectrum/menu": "3.19.1-nightly.4624+d80999e89",
52
- "@react-spectrum/progress": "3.0.0-nightly.2912+d80999e89",
53
- "@react-spectrum/tooltip": "3.0.0-nightly.2912+d80999e89",
54
- "@react-spectrum/utils": "3.0.0-nightly.2912+d80999e89",
55
- "@react-stately/flags": "3.0.3-nightly.4624+d80999e89",
56
- "@react-stately/layout": "3.13.9-nightly.4624+d80999e89",
57
- "@react-stately/table": "3.11.8-nightly.4624+d80999e89",
58
- "@react-stately/virtualizer": "3.7.1-nightly.4624+d80999e89",
59
- "@react-types/grid": "3.2.6-nightly.4624+d80999e89",
60
- "@react-types/shared": "3.0.0-nightly.2912+d80999e89",
61
- "@react-types/table": "3.9.5-nightly.4624+d80999e89",
62
- "@spectrum-icons/ui": "3.0.0-nightly.2912+d80999e89",
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.2912+d80999e89",
67
- "@react-aria/dnd": "3.6.1-nightly.4624+d80999e89",
68
- "@react-stately/dnd": "3.3.1-nightly.4624+d80999e89"
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": "d80999e897b4d4db9fcfb4e9b8fcdc9fdd700882"
78
+ "gitHead": "c34886769d3e69bb56553a02eead6a0fd877e754"
79
79
  }