@react-aria/disclosure
Advanced tools
Comparing version 3.0.0-nightly-9421c1409-240923 to 3.0.0-nightly-a626c2596-240926
@@ -17,4 +17,4 @@ import { AriaButtonProps } from "@react-types/button"; | ||
buttonProps: AriaButtonProps; | ||
/** Props for the content element. */ | ||
contentProps: HTMLAttributes<HTMLElement>; | ||
/** Props for the disclosure panel. */ | ||
panelProps: HTMLAttributes<HTMLElement>; | ||
} | ||
@@ -21,0 +21,0 @@ /** |
@@ -65,4 +65,6 @@ var $l3cx6$react = require("react"); | ||
}, | ||
contentProps: { | ||
panelProps: { | ||
id: contentId, | ||
// This can be overridden at the panel element level. | ||
role: 'group', | ||
'aria-labelledby': triggerId, | ||
@@ -69,0 +71,0 @@ hidden: !supportsBeforeMatch || isControlled ? !state.isExpanded : true |
@@ -59,4 +59,6 @@ import {useEffect as $6wN6e$useEffect} from "react"; | ||
}, | ||
contentProps: { | ||
panelProps: { | ||
id: contentId, | ||
// This can be overridden at the panel element level. | ||
role: 'group', | ||
'aria-labelledby': triggerId, | ||
@@ -63,0 +65,0 @@ hidden: !supportsBeforeMatch || isControlled ? !state.isExpanded : true |
{ | ||
"name": "@react-aria/disclosure", | ||
"version": "3.0.0-nightly-9421c1409-240923", | ||
"version": "3.0.0-nightly-a626c2596-240926", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,11 +25,11 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/button": "^3.0.0-nightly-9421c1409-240923", | ||
"@react-aria/selection": "^3.0.0-nightly-9421c1409-240923", | ||
"@react-aria/ssr": "^3.0.0-nightly-9421c1409-240923", | ||
"@react-aria/utils": "^3.0.0-nightly-9421c1409-240923", | ||
"@react-stately/disclosure": "3.0.0-nightly-9421c1409-240923", | ||
"@react-stately/toggle": "^3.0.0-nightly-9421c1409-240923", | ||
"@react-stately/tree": "^3.0.0-nightly-9421c1409-240923", | ||
"@react-types/button": "^3.0.0-nightly-9421c1409-240923", | ||
"@react-types/shared": "^3.0.0-nightly-9421c1409-240923", | ||
"@react-aria/button": "^3.0.0-nightly-a626c2596-240926", | ||
"@react-aria/selection": "^3.0.0-nightly-a626c2596-240926", | ||
"@react-aria/ssr": "^3.0.0-nightly-a626c2596-240926", | ||
"@react-aria/utils": "^3.0.0-nightly-a626c2596-240926", | ||
"@react-stately/disclosure": "3.0.0-nightly-a626c2596-240926", | ||
"@react-stately/toggle": "^3.0.0-nightly-a626c2596-240926", | ||
"@react-stately/tree": "^3.0.0-nightly-a626c2596-240926", | ||
"@react-types/button": "^3.0.0-nightly-a626c2596-240926", | ||
"@react-types/shared": "^3.0.0-nightly-a626c2596-240926", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -36,0 +36,0 @@ }, |
@@ -33,4 +33,4 @@ /* | ||
buttonProps: AriaButtonProps, | ||
/** Props for the content element. */ | ||
contentProps: HTMLAttributes<HTMLElement> | ||
/** Props for the disclosure panel. */ | ||
panelProps: HTMLAttributes<HTMLElement> | ||
} | ||
@@ -88,4 +88,6 @@ | ||
}, | ||
contentProps: { | ||
panelProps: { | ||
id: contentId, | ||
// This can be overridden at the panel element level. | ||
role: 'group', | ||
'aria-labelledby': triggerId, | ||
@@ -92,0 +94,0 @@ hidden: (!supportsBeforeMatch || isControlled) ? !state.isExpanded : true |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
31083
374
+ Added@react-stately/disclosure@3.0.0-nightly-a626c2596-240926(transitive)
- Removed@react-stately/disclosure@3.0.0-nightly-9421c1409-240923(transitive)
Updated@react-aria/selection@^3.0.0-nightly-a626c2596-240926
Updated@react-stately/disclosure@3.0.0-nightly-a626c2596-240926
Updated@react-stately/toggle@^3.0.0-nightly-a626c2596-240926