@react-aria/table 3.14.1-nightly.4624 → 3.14.2-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,18 +27,18 @@ function $2a795c53a101c542$export$16ea7f650bd7c1bb(props, state) {
27
27
  return {
28
28
  checkboxProps: {
29
29
  ...checkboxProps,
30
- "aria-labelledby": `${checkboxProps.id} ${(0, $2140fb2337097f2d$export$85069b70317f543)(state, key)}`
30
+ 'aria-labelledby': `${checkboxProps.id} ${(0, $2140fb2337097f2d$export$85069b70317f543)(state, key)}`
31
31
  }
32
32
  };
33
33
  }
34
34
  function $2a795c53a101c542$export$1003db6a7e384b99(state) {
35
35
  let { isEmpty: isEmpty, isSelectAll: isSelectAll, selectionMode: selectionMode } = state.selectionManager;
36
- const stringFormatter = (0, $iIuaM$useLocalizedStringFormatter)((0, ($parcel$interopDefault($iIuaM$intlStringsmodulejs))), "@react-aria/table");
36
+ const stringFormatter = (0, $iIuaM$useLocalizedStringFormatter)((0, ($parcel$interopDefault($iIuaM$intlStringsmodulejs))), '@react-aria/table');
37
37
  return {
38
38
  checkboxProps: {
39
- "aria-label": stringFormatter.format(selectionMode === "single" ? "select" : "selectAll"),
39
+ 'aria-label': stringFormatter.format(selectionMode === 'single' ? 'select' : 'selectAll'),
40
40
  isSelected: isSelectAll,
41
- isDisabled: selectionMode !== "multiple" || state.collection.size === 0,
41
+ isDisabled: selectionMode !== 'multiple' || state.collection.size === 0,
42
42
  isIndeterminate: !isEmpty && !isSelectAll,
43
43
  onChange: ()=>state.selectionManager.toggleSelectAll()
44
44
  }
@@ -19,24 +19,24 @@ $parcel$export(module.exports, "getRowLabelledBy", () => $6acf696f746f932c$expor
19
19
  * governing permissions and limitations under the License.
20
20
  */ const $6acf696f746f932c$export$552312adfd451dab = new WeakMap();
21
21
  function $6acf696f746f932c$var$normalizeKey(key) {
22
- if (typeof key === "string") return key.replace(/\s*/g, "");
23
- return "" + key;
22
+ if (typeof key === 'string') return key.replace(/\s*/g, '');
23
+ return '' + key;
24
24
  }
25
25
  function $6acf696f746f932c$export$37cd4213f2ad742e(state, columnKey) {
26
26
  let gridId = $6acf696f746f932c$export$552312adfd451dab.get(state);
27
- if (!gridId) throw new Error("Unknown grid");
27
+ if (!gridId) throw new Error('Unknown grid');
28
28
  return `${gridId}-${$6acf696f746f932c$var$normalizeKey(columnKey)}`;
29
29
  }
30
30
  function $6acf696f746f932c$export$19baff3266315d44(state, rowKey, columnKey) {
31
31
  let gridId = $6acf696f746f932c$export$552312adfd451dab.get(state);
32
- if (!gridId) throw new Error("Unknown grid");
32
+ if (!gridId) throw new Error('Unknown grid');
33
33
  return `${gridId}-${$6acf696f746f932c$var$normalizeKey(rowKey)}-${$6acf696f746f932c$var$normalizeKey(columnKey)}`;
34
34
  }
35
35
  function $6acf696f746f932c$export$85069b70317f543(state, rowKey) {
36
36
  // A row is labelled by it's row headers.
37
37
  return [
38
38
  ...state.collection.rowHeaderColumnKeys
39
- ].map((columnKey)=>$6acf696f746f932c$export$19baff3266315d44(state, rowKey, columnKey)).join(" ");
39
+ ].map((columnKey)=>$6acf696f746f932c$export$19baff3266315d44(state, rowKey, columnKey)).join(' ');
40
40
  }
41
41
 
42
42
 
package/dist/utils.mjs CHANGED
@@ -10,24 +10,24 @@
10
10
  * governing permissions and limitations under the License.
11
11
  */ const $2140fb2337097f2d$export$552312adfd451dab = new WeakMap();
12
12
  function $2140fb2337097f2d$var$normalizeKey(key) {
13
- if (typeof key === "string") return key.replace(/\s*/g, "");
14
- return "" + key;
13
+ if (typeof key === 'string') return key.replace(/\s*/g, '');
14
+ return '' + key;
15
15
  }
16
16
  function $2140fb2337097f2d$export$37cd4213f2ad742e(state, columnKey) {
17
17
  let gridId = $2140fb2337097f2d$export$552312adfd451dab.get(state);
18
- if (!gridId) throw new Error("Unknown grid");
18
+ if (!gridId) throw new Error('Unknown grid');
19
19
  return `${gridId}-${$2140fb2337097f2d$var$normalizeKey(columnKey)}`;
20
20
  }
21
21
  function $2140fb2337097f2d$export$19baff3266315d44(state, rowKey, columnKey) {
22
22
  let gridId = $2140fb2337097f2d$export$552312adfd451dab.get(state);
23
- if (!gridId) throw new Error("Unknown grid");
23
+ if (!gridId) throw new Error('Unknown grid');
24
24
  return `${gridId}-${$2140fb2337097f2d$var$normalizeKey(rowKey)}-${$2140fb2337097f2d$var$normalizeKey(columnKey)}`;
25
25
  }
26
26
  function $2140fb2337097f2d$export$85069b70317f543(state, rowKey) {
27
27
  // A row is labelled by it's row headers.
28
28
  return [
29
29
  ...state.collection.rowHeaderColumnKeys
30
- ].map((columnKey)=>$2140fb2337097f2d$export$19baff3266315d44(state, rowKey, columnKey)).join(" ");
30
+ ].map((columnKey)=>$2140fb2337097f2d$export$19baff3266315d44(state, rowKey, columnKey)).join(' ');
31
31
  }
32
32
 
33
33
 
@@ -10,24 +10,24 @@
10
10
  * governing permissions and limitations under the License.
11
11
  */ const $2140fb2337097f2d$export$552312adfd451dab = new WeakMap();
12
12
  function $2140fb2337097f2d$var$normalizeKey(key) {
13
- if (typeof key === "string") return key.replace(/\s*/g, "");
14
- return "" + key;
13
+ if (typeof key === 'string') return key.replace(/\s*/g, '');
14
+ return '' + key;
15
15
  }
16
16
  function $2140fb2337097f2d$export$37cd4213f2ad742e(state, columnKey) {
17
17
  let gridId = $2140fb2337097f2d$export$552312adfd451dab.get(state);
18
- if (!gridId) throw new Error("Unknown grid");
18
+ if (!gridId) throw new Error('Unknown grid');
19
19
  return `${gridId}-${$2140fb2337097f2d$var$normalizeKey(columnKey)}`;
20
20
  }
21
21
  function $2140fb2337097f2d$export$19baff3266315d44(state, rowKey, columnKey) {
22
22
  let gridId = $2140fb2337097f2d$export$552312adfd451dab.get(state);
23
- if (!gridId) throw new Error("Unknown grid");
23
+ if (!gridId) throw new Error('Unknown grid');
24
24
  return `${gridId}-${$2140fb2337097f2d$var$normalizeKey(rowKey)}-${$2140fb2337097f2d$var$normalizeKey(columnKey)}`;
25
25
  }
26
26
  function $2140fb2337097f2d$export$85069b70317f543(state, rowKey) {
27
27
  // A row is labelled by it's row headers.
28
28
  return [
29
29
  ...state.collection.rowHeaderColumnKeys
30
- ].map((columnKey)=>$2140fb2337097f2d$export$19baff3266315d44(state, rowKey, columnKey)).join(" ");
30
+ ].map((columnKey)=>$2140fb2337097f2d$export$19baff3266315d44(state, rowKey, columnKey)).join(' ');
31
31
  }
32
32
 
33
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-aria/table",
3
- "version": "3.14.1-nightly.4624+d80999e89",
3
+ "version": "3.14.2-nightly.4629+c34886769",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -22,21 +22,21 @@
22
22
  "url": "https://github.com/adobe/react-spectrum"
23
23
  },
24
24
  "dependencies": {
25
- "@react-aria/focus": "3.0.0-nightly.2912+d80999e89",
26
- "@react-aria/grid": "3.9.1-nightly.4624+d80999e89",
27
- "@react-aria/i18n": "3.0.0-nightly.2912+d80999e89",
28
- "@react-aria/interactions": "3.0.0-nightly.2912+d80999e89",
29
- "@react-aria/live-announcer": "3.0.0-nightly.2912+d80999e89",
30
- "@react-aria/utils": "3.0.0-nightly.2912+d80999e89",
31
- "@react-aria/visually-hidden": "3.0.0-nightly.2912+d80999e89",
32
- "@react-stately/collections": "3.0.0-nightly.2912+d80999e89",
33
- "@react-stately/flags": "3.0.3-nightly.4624+d80999e89",
34
- "@react-stately/table": "3.11.8-nightly.4624+d80999e89",
35
- "@react-stately/virtualizer": "3.7.1-nightly.4624+d80999e89",
36
- "@react-types/checkbox": "3.0.0-nightly.2912+d80999e89",
37
- "@react-types/grid": "3.2.6-nightly.4624+d80999e89",
38
- "@react-types/shared": "3.0.0-nightly.2912+d80999e89",
39
- "@react-types/table": "3.9.5-nightly.4624+d80999e89",
25
+ "@react-aria/focus": "3.0.0-nightly.2917+c34886769",
26
+ "@react-aria/grid": "3.9.2-nightly.4629+c34886769",
27
+ "@react-aria/i18n": "3.0.0-nightly.2917+c34886769",
28
+ "@react-aria/interactions": "3.0.0-nightly.2917+c34886769",
29
+ "@react-aria/live-announcer": "3.0.0-nightly.2917+c34886769",
30
+ "@react-aria/utils": "3.0.0-nightly.2917+c34886769",
31
+ "@react-aria/visually-hidden": "3.0.0-nightly.2917+c34886769",
32
+ "@react-stately/collections": "3.0.0-nightly.2917+c34886769",
33
+ "@react-stately/flags": "3.0.4-nightly.4629+c34886769",
34
+ "@react-stately/table": "3.11.9-nightly.4629+c34886769",
35
+ "@react-stately/virtualizer": "3.7.2-nightly.4629+c34886769",
36
+ "@react-types/checkbox": "3.0.0-nightly.2917+c34886769",
37
+ "@react-types/grid": "3.2.7-nightly.4629+c34886769",
38
+ "@react-types/shared": "3.0.0-nightly.2917+c34886769",
39
+ "@react-types/table": "3.9.6-nightly.4629+c34886769",
40
40
  "@swc/helpers": "^0.5.0"
41
41
  },
42
42
  "peerDependencies": {
@@ -46,5 +46,5 @@
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  },
49
- "gitHead": "d80999e897b4d4db9fcfb4e9b8fcdc9fdd700882"
49
+ "gitHead": "c34886769d3e69bb56553a02eead6a0fd877e754"
50
50
  }