@yamada-ui/use-disclosure
Advanced tools
Comparing version 1.1.3-dev-20241214144625 to 1.1.3-dev-20241215203956
interface UseDisclosureProps<Y extends (...args: any[]) => Promise<void> | void = () => void, M extends (...args: any[]) => Promise<void> | void = () => void> { | ||
/** | ||
* @deprecated Use `open` instead. | ||
* @deprecated Use `defaultOpen` instead. | ||
*/ | ||
@@ -5,0 +5,0 @@ defaultIsOpen?: boolean; |
@@ -129,6 +129,5 @@ "use client" | ||
mode = "unmount", | ||
selected, | ||
selected = isSelected, | ||
wasSelected | ||
}) => { | ||
selected != null ? selected : selected = isSelected; | ||
if (!enabled) return true; | ||
@@ -135,0 +134,0 @@ if (selected) return true; |
{ | ||
"name": "@yamada-ui/use-disclosure", | ||
"version": "1.1.3-dev-20241214144625", | ||
"version": "1.1.3-dev-20241215203956", | ||
"description": "Yamada UI useDisclosure custom hook", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@yamada-ui/utils": "1.6.2-dev-20241214144625" | ||
"@yamada-ui/utils": "1.6.2-dev-20241215203956" | ||
}, | ||
@@ -31,0 +31,0 @@ "devDependencies": { |
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
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
1
31453
324
40
+ Added@yamada-ui/utils@1.6.2-dev-20241215203956(transitive)
- Removed@yamada-ui/utils@1.6.2-dev-20241214144625(transitive)