@react-aria/tree
Advanced tools
Comparing version 3.0.0-nightly.2912 to 3.0.0-nightly.2917
@@ -22,3 +22,3 @@ var $fE5UD$reactariagridlist = require("@react-aria/gridlist"); | ||
let { gridProps: gridProps } = (0, $fE5UD$reactariagridlist.useGridList)(props, state, ref); | ||
gridProps.role = "treegrid"; | ||
gridProps.role = 'treegrid'; | ||
return { | ||
@@ -25,0 +25,0 @@ gridProps: gridProps |
@@ -16,3 +16,3 @@ import {useGridList as $2nLyh$useGridList} from "@react-aria/gridlist"; | ||
let { gridProps: gridProps } = (0, $2nLyh$useGridList)(props, state, ref); | ||
gridProps.role = "treegrid"; | ||
gridProps.role = 'treegrid'; | ||
return { | ||
@@ -19,0 +19,0 @@ gridProps: gridProps |
@@ -33,4 +33,4 @@ var $6fc07bed32f3daee$exports = require("./intlStrings.main.js"); | ||
let gridListAria = (0, $gqXxM$reactariagridlist.useGridListItem)(props, state, ref); | ||
let isExpanded = gridListAria.rowProps["aria-expanded"] === true; | ||
let stringFormatter = (0, $gqXxM$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($6fc07bed32f3daee$exports))), "@react-aria/tree"); | ||
let isExpanded = gridListAria.rowProps['aria-expanded'] === true; | ||
let stringFormatter = (0, $gqXxM$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($6fc07bed32f3daee$exports))), '@react-aria/tree'); | ||
let expandButtonProps = { | ||
@@ -44,5 +44,5 @@ onPress: ()=>{ | ||
}, | ||
"aria-label": isExpanded ? stringFormatter.format("collapse") : stringFormatter.format("expand"), | ||
'aria-label': isExpanded ? stringFormatter.format('collapse') : stringFormatter.format('expand'), | ||
tabIndex: (0, $gqXxM$reactariautils.isAndroid)() ? -1 : null, | ||
"data-react-aria-prevent-focus": true | ||
'data-react-aria-prevent-focus': true | ||
}; | ||
@@ -49,0 +49,0 @@ // TODO: should it return a state specifically for isExpanded? Or is aria attribute sufficient? |
@@ -27,4 +27,4 @@ import $ho3NY$intlStringsmodulejs from "./intlStrings.module.js"; | ||
let gridListAria = (0, $ho3NY$useGridListItem)(props, state, ref); | ||
let isExpanded = gridListAria.rowProps["aria-expanded"] === true; | ||
let stringFormatter = (0, $ho3NY$useLocalizedStringFormatter)((0, ($parcel$interopDefault($ho3NY$intlStringsmodulejs))), "@react-aria/tree"); | ||
let isExpanded = gridListAria.rowProps['aria-expanded'] === true; | ||
let stringFormatter = (0, $ho3NY$useLocalizedStringFormatter)((0, ($parcel$interopDefault($ho3NY$intlStringsmodulejs))), '@react-aria/tree'); | ||
let expandButtonProps = { | ||
@@ -38,5 +38,5 @@ onPress: ()=>{ | ||
}, | ||
"aria-label": isExpanded ? stringFormatter.format("collapse") : stringFormatter.format("expand"), | ||
'aria-label': isExpanded ? stringFormatter.format('collapse') : stringFormatter.format('expand'), | ||
tabIndex: (0, $ho3NY$isAndroid)() ? -1 : null, | ||
"data-react-aria-prevent-focus": true | ||
'data-react-aria-prevent-focus': true | ||
}; | ||
@@ -43,0 +43,0 @@ // TODO: should it return a state specifically for isExpanded? Or is aria attribute sufficient? |
{ | ||
"name": "@react-aria/tree", | ||
"version": "3.0.0-nightly.2912+d80999e89", | ||
"version": "3.0.0-nightly.2917+c34886769", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,9 +25,9 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/gridlist": "3.8.1-nightly.4624+d80999e89", | ||
"@react-aria/i18n": "3.0.0-nightly.2912+d80999e89", | ||
"@react-aria/selection": "3.0.0-nightly.2912+d80999e89", | ||
"@react-aria/utils": "3.0.0-nightly.2912+d80999e89", | ||
"@react-stately/tree": "3.0.0-nightly.2912+d80999e89", | ||
"@react-types/button": "3.9.4-nightly.4624+d80999e89", | ||
"@react-types/shared": "3.0.0-nightly.2912+d80999e89", | ||
"@react-aria/gridlist": "3.8.2-nightly.4629+c34886769", | ||
"@react-aria/i18n": "3.0.0-nightly.2917+c34886769", | ||
"@react-aria/selection": "3.0.0-nightly.2917+c34886769", | ||
"@react-aria/utils": "3.0.0-nightly.2917+c34886769", | ||
"@react-stately/tree": "3.0.0-nightly.2917+c34886769", | ||
"@react-types/button": "3.9.5-nightly.4629+c34886769", | ||
"@react-types/shared": "3.0.0-nightly.2917+c34886769", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -42,3 +42,3 @@ }, | ||
}, | ||
"gitHead": "d80999e897b4d4db9fcfb4e9b8fcdc9fdd700882" | ||
"gitHead": "c34886769d3e69bb56553a02eead6a0fd877e754" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package