@oku-ui/use-composable
Advanced tools
Comparing version 0.5.1 to 0.6.0
export { computedAsync, computedEager, isClient, reactiveOmit, reactivePick, syncRef, syncRefs, useScrollLock } from '@vueuse/core'; | ||
import * as vue from 'vue'; | ||
import { ComputedRef, Ref, ComponentPublicInstance } from 'vue'; | ||
import { ComputedRef, Ref, ComponentPublicInstance, ComponentInternalInstance } from 'vue'; | ||
import { MaybeRefOrGetter } from '@oku-ui/utils'; | ||
@@ -23,7 +23,6 @@ | ||
interface Size { | ||
declare function useSize(element: Ref<HTMLElement | null>): Ref<{ | ||
width: number; | ||
height: number; | ||
} | ||
declare function useSize(element: Ref<HTMLElement | null>): Ref<Size | undefined>; | ||
} | undefined>; | ||
@@ -53,4 +52,6 @@ declare function usePrevious<T>(newData: Ref<T>): vue.ComputedRef<T | undefined>; | ||
*/ | ||
declare function useEscapeKeydown(onEscapeKeyDownProp?: (event: KeyboardEvent) => void, ownerDocument?: Document): void; | ||
declare function useEscapeKeydown(onEscapeKeydownProp?: (event: KeyboardEvent) => void, ownerDocument?: Ref<Document>): void; | ||
export { type MaybeComputedElementRef, unrefElement, useCallbackRef, useComposedRefs, useControllable, useEscapeKeydown, useForwardRef, useId, usePrevious, useSize }; | ||
declare function useListeners(omitKeys?: string[], instance?: ComponentInternalInstance): Record<string, any>; | ||
export { type MaybeComputedElementRef, unrefElement, useCallbackRef, useComposedRefs, useControllable, useEscapeKeydown, useForwardRef, useId, useListeners, usePrevious, useSize }; |
{ | ||
"name": "@oku-ui/use-composable", | ||
"type": "module", | ||
"version": "0.5.1", | ||
"version": "0.6.0", | ||
"license": "MIT", | ||
@@ -33,7 +33,7 @@ "source": "src/index.ts", | ||
"@oku-ui/utils": "latest", | ||
"@vue/shared": "^3.3.4", | ||
"@vueuse/core": "^10.4.1" | ||
"@vue/shared": "^3.4.1", | ||
"@vueuse/core": "^10.7.1" | ||
}, | ||
"devDependencies": { | ||
"@types/resize-observer-browser": "^0.1.7", | ||
"@types/resize-observer-browser": "^0.1.11", | ||
"tsconfig": "^0.0.0" | ||
@@ -47,4 +47,5 @@ }, | ||
"dev": "unbuild --stub", | ||
"release": "pnpm build && pnpm bumpp --commit='version(use-composable): release %s' --no-tag && pnpm publish", | ||
"clean": "rimraf ./dist && rimraf ./node_modules" | ||
} | ||
} |
@@ -14,2 +14,2 @@ # Use Composable | ||
soon docs | ||
soon docs |
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
13032
203
15
Updated@vue/shared@^3.4.1
Updated@vueuse/core@^10.7.1