@react-aria/tree 3.0.0-nightly.2911 → 3.0.0-nightly.2917

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.
@@ -19,7 +19,7 @@ $parcel$export(module.exports, "useTreeGridList", () => $41ae298c995bc55f$export
19
19
  */
20
20
  function $41ae298c995bc55f$export$abb2211d46906a63(props, state, ref) {
21
21
  let { gridProps: gridProps } = (0, $fE5UD$reactariagridlist.useGridList)(props, state, ref);
22
- gridProps.role = "treegrid";
22
+ gridProps.role = 'treegrid';
23
23
  return {
24
24
  gridProps: gridProps
25
25
  };
@@ -13,7 +13,7 @@ import {useGridList as $2nLyh$useGridList} from "@react-aria/gridlist";
13
13
  */
14
14
  function $1642482277341dec$export$abb2211d46906a63(props, state, ref) {
15
15
  let { gridProps: gridProps } = (0, $2nLyh$useGridList)(props, state, ref);
16
- gridProps.role = "treegrid";
16
+ gridProps.role = 'treegrid';
17
17
  return {
18
18
  gridProps: gridProps
19
19
  };
@@ -13,7 +13,7 @@ import {useGridList as $2nLyh$useGridList} from "@react-aria/gridlist";
13
13
  */
14
14
  function $1642482277341dec$export$abb2211d46906a63(props, state, ref) {
15
15
  let { gridProps: gridProps } = (0, $2nLyh$useGridList)(props, state, ref);
16
- gridProps.role = "treegrid";
16
+ gridProps.role = 'treegrid';
17
17
  return {
18
18
  gridProps: gridProps
19
19
  };
@@ -30,8 +30,8 @@ $parcel$export(module.exports, "useTreeGridListItem", () => $89b99a0b1379ba07$ex
30
30
  function $89b99a0b1379ba07$export$8001083cb3f61028(props, state, ref) {
31
31
  let { node: node } = props;
32
32
  let gridListAria = (0, $gqXxM$reactariagridlist.useGridListItem)(props, state, ref);
33
- let isExpanded = gridListAria.rowProps["aria-expanded"] === true;
34
- let stringFormatter = (0, $gqXxM$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($6fc07bed32f3daee$exports))), "@react-aria/tree");
33
+ let isExpanded = gridListAria.rowProps['aria-expanded'] === true;
34
+ let stringFormatter = (0, $gqXxM$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($6fc07bed32f3daee$exports))), '@react-aria/tree');
35
35
  let expandButtonProps = {
36
36
  onPress: ()=>{
37
37
  if (!gridListAria.isDisabled) {
@@ -40,9 +40,9 @@ function $89b99a0b1379ba07$export$8001083cb3f61028(props, state, ref) {
40
40
  state.selectionManager.setFocusedKey(node.key);
41
41
  }
42
42
  },
43
- "aria-label": isExpanded ? stringFormatter.format("collapse") : stringFormatter.format("expand"),
43
+ 'aria-label': isExpanded ? stringFormatter.format('collapse') : stringFormatter.format('expand'),
44
44
  tabIndex: (0, $gqXxM$reactariautils.isAndroid)() ? -1 : null,
45
- "data-react-aria-prevent-focus": true
45
+ 'data-react-aria-prevent-focus': true
46
46
  };
47
47
  // TODO: should it return a state specifically for isExpanded? Or is aria attribute sufficient?
48
48
  return {
@@ -24,8 +24,8 @@ function $parcel$interopDefault(a) {
24
24
  function $0cbbe9a595ac1615$export$8001083cb3f61028(props, state, ref) {
25
25
  let { node: node } = props;
26
26
  let gridListAria = (0, $ho3NY$useGridListItem)(props, state, ref);
27
- let isExpanded = gridListAria.rowProps["aria-expanded"] === true;
28
- let stringFormatter = (0, $ho3NY$useLocalizedStringFormatter)((0, ($parcel$interopDefault($ho3NY$intlStringsmodulejs))), "@react-aria/tree");
27
+ let isExpanded = gridListAria.rowProps['aria-expanded'] === true;
28
+ let stringFormatter = (0, $ho3NY$useLocalizedStringFormatter)((0, ($parcel$interopDefault($ho3NY$intlStringsmodulejs))), '@react-aria/tree');
29
29
  let expandButtonProps = {
30
30
  onPress: ()=>{
31
31
  if (!gridListAria.isDisabled) {
@@ -34,9 +34,9 @@ function $0cbbe9a595ac1615$export$8001083cb3f61028(props, state, ref) {
34
34
  state.selectionManager.setFocusedKey(node.key);
35
35
  }
36
36
  },
37
- "aria-label": isExpanded ? stringFormatter.format("collapse") : stringFormatter.format("expand"),
37
+ 'aria-label': isExpanded ? stringFormatter.format('collapse') : stringFormatter.format('expand'),
38
38
  tabIndex: (0, $ho3NY$isAndroid)() ? -1 : null,
39
- "data-react-aria-prevent-focus": true
39
+ 'data-react-aria-prevent-focus': true
40
40
  };
41
41
  // TODO: should it return a state specifically for isExpanded? Or is aria attribute sufficient?
42
42
  return {
@@ -24,8 +24,8 @@ function $parcel$interopDefault(a) {
24
24
  function $0cbbe9a595ac1615$export$8001083cb3f61028(props, state, ref) {
25
25
  let { node: node } = props;
26
26
  let gridListAria = (0, $ho3NY$useGridListItem)(props, state, ref);
27
- let isExpanded = gridListAria.rowProps["aria-expanded"] === true;
28
- let stringFormatter = (0, $ho3NY$useLocalizedStringFormatter)((0, ($parcel$interopDefault($ho3NY$intlStringsmodulejs))), "@react-aria/tree");
27
+ let isExpanded = gridListAria.rowProps['aria-expanded'] === true;
28
+ let stringFormatter = (0, $ho3NY$useLocalizedStringFormatter)((0, ($parcel$interopDefault($ho3NY$intlStringsmodulejs))), '@react-aria/tree');
29
29
  let expandButtonProps = {
30
30
  onPress: ()=>{
31
31
  if (!gridListAria.isDisabled) {
@@ -34,9 +34,9 @@ function $0cbbe9a595ac1615$export$8001083cb3f61028(props, state, ref) {
34
34
  state.selectionManager.setFocusedKey(node.key);
35
35
  }
36
36
  },
37
- "aria-label": isExpanded ? stringFormatter.format("collapse") : stringFormatter.format("expand"),
37
+ 'aria-label': isExpanded ? stringFormatter.format('collapse') : stringFormatter.format('expand'),
38
38
  tabIndex: (0, $ho3NY$isAndroid)() ? -1 : null,
39
- "data-react-aria-prevent-focus": true
39
+ 'data-react-aria-prevent-focus': true
40
40
  };
41
41
  // TODO: should it return a state specifically for isExpanded? Or is aria attribute sufficient?
42
42
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-aria/tree",
3
- "version": "3.0.0-nightly.2911+b294de874",
3
+ "version": "3.0.0-nightly.2917+c34886769",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -22,13 +22,13 @@
22
22
  "url": "https://github.com/adobe/react-spectrum"
23
23
  },
24
24
  "dependencies": {
25
- "@react-aria/gridlist": "3.8.1-nightly.4623+b294de874",
26
- "@react-aria/i18n": "3.0.0-nightly.2911+b294de874",
27
- "@react-aria/selection": "3.0.0-nightly.2911+b294de874",
28
- "@react-aria/utils": "3.0.0-nightly.2911+b294de874",
29
- "@react-stately/tree": "3.0.0-nightly.2911+b294de874",
30
- "@react-types/button": "3.9.4-nightly.4623+b294de874",
31
- "@react-types/shared": "3.0.0-nightly.2911+b294de874",
25
+ "@react-aria/gridlist": "3.8.2-nightly.4629+c34886769",
26
+ "@react-aria/i18n": "3.0.0-nightly.2917+c34886769",
27
+ "@react-aria/selection": "3.0.0-nightly.2917+c34886769",
28
+ "@react-aria/utils": "3.0.0-nightly.2917+c34886769",
29
+ "@react-stately/tree": "3.0.0-nightly.2917+c34886769",
30
+ "@react-types/button": "3.9.5-nightly.4629+c34886769",
31
+ "@react-types/shared": "3.0.0-nightly.2917+c34886769",
32
32
  "@swc/helpers": "^0.5.0"
33
33
  },
34
34
  "peerDependencies": {
@@ -38,5 +38,5 @@
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "b294de874c16fad64bc4b930ccee1c9ffeb1c20f"
41
+ "gitHead": "c34886769d3e69bb56553a02eead6a0fd877e754"
42
42
  }