@react-stately/disclosure
Advanced tools
Comparing version 3.0.0-nightly-5ae234603-240925 to 3.0.0-nightly-69109f003-241018
@@ -45,4 +45,8 @@ import { Expandable, Key } from "@react-types/shared"; | ||
} | ||
/** | ||
* Manages state for a group of disclosures, e.g. an accordion. | ||
* It supports both single and multiple expanded items. | ||
*/ | ||
export function useDisclosureGroupState(props: DisclosureGroupProps): DisclosureGroupState; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@react-stately/disclosure", | ||
"version": "3.0.0-nightly-5ae234603-240925", | ||
"version": "3.0.0-nightly-69109f003-241018", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,4 +25,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-stately/utils": "^3.0.0-nightly-5ae234603-240925", | ||
"@react-types/shared": "^3.0.0-nightly-5ae234603-240925", | ||
"@react-stately/utils": "^3.0.0-nightly-69109f003-241018", | ||
"@react-types/shared": "^3.0.0-nightly-69109f003-241018", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -29,0 +29,0 @@ }, |
@@ -41,2 +41,6 @@ /* | ||
/** | ||
* Manages state for a group of disclosures, e.g. an accordion. | ||
* It supports both single and multiple expanded items. | ||
*/ | ||
export function useDisclosureGroupState(props: DisclosureGroupProps): DisclosureGroupState { | ||
@@ -43,0 +47,0 @@ let {allowsMultipleExpanded = false, isDisabled = false} = props; |
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
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
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
42043
507