@vexip-ui/hooks
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -108,17 +108,12 @@ import { BITree } from '../../common/src/utils'; | ||
export declare function useFullScreen(target?: Ref<HTMLElement | null | undefined>): { | ||
export declare function useFullScreen(target?: Ref<HTMLElement | null | undefined>): UseFullScreenResult; | ||
export declare interface UseFullScreenResult { | ||
target: Ref<HTMLElement | null | undefined>; | ||
supported: boolean; | ||
full: ComputedRef<boolean>; | ||
enter: typeof noop; | ||
exit: typeof noop; | ||
toggle: typeof noop; | ||
target?: undefined; | ||
} | { | ||
supported: boolean; | ||
target: Ref<HTMLElement | null | undefined>; | ||
full: ComputedRef<boolean>; | ||
enter: (force?: boolean) => Promise<void>; | ||
exit: (force?: boolean) => Promise<void>; | ||
toggle: (force?: boolean) => Promise<void>; | ||
}; | ||
enter: (force?: boolean) => Promise<boolean>; | ||
exit: (force?: boolean) => Promise<boolean>; | ||
toggle: (force?: boolean) => Promise<boolean>; | ||
} | ||
@@ -125,0 +120,0 @@ export declare function useHover(wrapper?: Ref<HTMLElement | null | undefined>): { |
{ | ||
"name": "@vexip-ui/hooks", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"license": "MIT", | ||
@@ -30,3 +30,3 @@ "author": "qmhc", | ||
"@juggle/resize-observer": "^3.4.0", | ||
"@vexip-ui/utils": "2.4.0" | ||
"@vexip-ui/utils": "2.5.0" | ||
}, | ||
@@ -33,0 +33,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
645606
2891
+ Added@vexip-ui/utils@2.5.0(transitive)
- Removed@vexip-ui/utils@2.4.0(transitive)
Updated@vexip-ui/utils@2.5.0