@react-aria/listbox
Advanced tools
Comparing version 3.3.1-nightly.2849 to 3.3.1-nightly.2856
@@ -150,3 +150,3 @@ var { | ||
'aria-disabled': isDisabled, | ||
'aria-selected': isSelected | ||
'aria-selected': state.selectionManager.selectionMode !== 'none' ? isSelected : undefined | ||
}; // Safari with VoiceOver on macOS misreads options with aria-labelledby or aria-label as simply "text". | ||
@@ -153,0 +153,0 @@ // We should not map slots to the label and description on Safari and instead just have VoiceOver read the textContent. |
@@ -117,3 +117,3 @@ import { getItemCount } from "@react-stately/collections"; | ||
'aria-disabled': isDisabled, | ||
'aria-selected': isSelected | ||
'aria-selected': state.selectionManager.selectionMode !== 'none' ? isSelected : undefined | ||
}; // Safari with VoiceOver on macOS misreads options with aria-labelledby or aria-label as simply "text". | ||
@@ -120,0 +120,0 @@ // We should not map slots to the label and description on Safari and instead just have VoiceOver read the textContent. |
{ | ||
"name": "@react-aria/listbox", | ||
"version": "3.3.1-nightly.2849+4a5dfdbc6", | ||
"version": "3.3.1-nightly.2856+cadea8ddc", | ||
"description": "Spectrum UI components in React", | ||
@@ -21,11 +21,11 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.6.2", | ||
"@react-aria/focus": "3.0.0-nightly.1164+4a5dfdbc6", | ||
"@react-aria/interactions": "3.0.0-nightly.1164+4a5dfdbc6", | ||
"@react-aria/label": "3.0.0-nightly.1164+4a5dfdbc6", | ||
"@react-aria/selection": "3.0.0-nightly.1164+4a5dfdbc6", | ||
"@react-aria/utils": "3.0.0-nightly.1164+4a5dfdbc6", | ||
"@react-stately/collections": "3.0.0-nightly.1164+4a5dfdbc6", | ||
"@react-stately/list": "3.2.4-nightly.2849+4a5dfdbc6", | ||
"@react-types/listbox": "3.2.1-nightly.2849+4a5dfdbc6", | ||
"@react-types/shared": "3.0.0-nightly.1164+4a5dfdbc6" | ||
"@react-aria/focus": "3.0.0-nightly.1171+cadea8ddc", | ||
"@react-aria/interactions": "3.0.0-nightly.1171+cadea8ddc", | ||
"@react-aria/label": "3.0.0-nightly.1171+cadea8ddc", | ||
"@react-aria/selection": "3.0.0-nightly.1171+cadea8ddc", | ||
"@react-aria/utils": "3.0.0-nightly.1171+cadea8ddc", | ||
"@react-stately/collections": "3.0.0-nightly.1171+cadea8ddc", | ||
"@react-stately/list": "3.2.4-nightly.2856+cadea8ddc", | ||
"@react-types/listbox": "3.2.1-nightly.2856+cadea8ddc", | ||
"@react-types/shared": "3.0.0-nightly.1171+cadea8ddc" | ||
}, | ||
@@ -38,3 +38,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "4a5dfdbc62c240fe1ae1b73208fab57b8c7fa7d5" | ||
"gitHead": "cadea8ddcd36d90803e2960f1943c0ea278fade2" | ||
} |
@@ -112,3 +112,3 @@ /* | ||
'aria-disabled': isDisabled, | ||
'aria-selected': isSelected | ||
'aria-selected': state.selectionManager.selectionMode !== 'none' ? isSelected : undefined | ||
}; | ||
@@ -115,0 +115,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
86115