build: bump new versions
Publish to NPM / Check version changes and publish (push) Failing after 10m34s
Publish to NPM / Check version changes and publish (push) Failing after 10m34s
This commit is contained in:
@@ -32,7 +32,7 @@ export type OnElementRemovalReturn = VoidFunction;
|
||||
* @example
|
||||
* const stop = onElementRemoval(el, (records) => report(records), { flush: 'post' });
|
||||
*
|
||||
* @since 0.0.15
|
||||
* @since 0.0.14
|
||||
*/
|
||||
export function onElementRemoval(
|
||||
target: MaybeComputedElementRef,
|
||||
|
||||
@@ -38,7 +38,7 @@ export type UseActiveElementReturn<T extends HTMLElement = HTMLElement> = Shallo
|
||||
* // keep tracking even if the focused node is detached from the DOM
|
||||
* const active = useActiveElement({ triggerOnRemoval: true });
|
||||
*
|
||||
* @since 0.0.15
|
||||
* @since 0.0.14
|
||||
*/
|
||||
export function useActiveElement<T extends HTMLElement>(
|
||||
options: UseActiveElementOptions = {},
|
||||
|
||||
@@ -41,7 +41,7 @@ export type UseDocumentReadyStateReturn = ShallowRef<DocumentReadyState>;
|
||||
* },
|
||||
* });
|
||||
*
|
||||
* @since 0.0.15
|
||||
* @since 0.0.14
|
||||
*/
|
||||
export function useDocumentReadyState(
|
||||
options: UseDocumentReadyStateOptions = {},
|
||||
|
||||
@@ -41,7 +41,7 @@ export type UseDocumentVisibilityReturn = ShallowRef<DocumentVisibilityState>;
|
||||
* },
|
||||
* });
|
||||
*
|
||||
* @since 0.0.15
|
||||
* @since 0.0.14
|
||||
*/
|
||||
export function useDocumentVisibility(
|
||||
options: UseDocumentVisibilityOptions = {},
|
||||
|
||||
@@ -167,7 +167,7 @@ export interface UseDraggableReturn {
|
||||
* // Lock to the horizontal axis and only drag from a handle.
|
||||
* const { position } = useDraggable(el, { axis: 'x', handle: handleEl });
|
||||
*
|
||||
* @since 0.0.15
|
||||
* @since 0.0.14
|
||||
*/
|
||||
export function useDraggable(
|
||||
target: MaybeComputedElementRef,
|
||||
|
||||
@@ -79,7 +79,7 @@ type DropZoneEventType = 'enter' | 'over' | 'leave' | 'drop';
|
||||
* onDrop: (files) => console.log(files),
|
||||
* });
|
||||
*
|
||||
* @since 0.0.15
|
||||
* @since 0.0.14
|
||||
*/
|
||||
export function useDropZone(
|
||||
target: MaybeComputedElementRef | MaybeRefOrGetter<Document | null | undefined>,
|
||||
|
||||
@@ -84,7 +84,7 @@ export interface UseElementBoundingReturn {
|
||||
* // Batch rapid scroll/resize reads into one measurement per frame
|
||||
* const bounds = useElementBounding(el, { updateTiming: 'next-frame' });
|
||||
*
|
||||
* @since 0.0.15
|
||||
* @since 0.0.14
|
||||
*/
|
||||
export function useElementBounding(
|
||||
target: MaybeComputedElementRef,
|
||||
|
||||
@@ -41,7 +41,7 @@ export interface UseElementSizeReturn {
|
||||
* @example
|
||||
* const { width, height, stop } = useElementSize(el, { width: 100, height: 100 }, { box: 'border-box' });
|
||||
*
|
||||
* @since 0.0.15
|
||||
* @since 0.0.14
|
||||
*/
|
||||
export function useElementSize(
|
||||
target: MaybeComputedElementRef,
|
||||
|
||||
@@ -56,7 +56,7 @@ export type UseElementVisibilityReturn<Controls extends boolean = false>
|
||||
* @example
|
||||
* const { isVisible, stop } = useElementVisibility(el, { controls: true, once: true });
|
||||
*
|
||||
* @since 0.0.15
|
||||
* @since 0.0.14
|
||||
*/
|
||||
export function useElementVisibility(
|
||||
target: MaybeComputedElementRef,
|
||||
|
||||
@@ -18,7 +18,7 @@ let counter = 0;
|
||||
* @example
|
||||
* useFocusGuard('my-namespace');
|
||||
*
|
||||
* @since 0.0.2
|
||||
* @since 0.0.3
|
||||
*/
|
||||
export function useFocusGuard(namespace?: string) {
|
||||
const manager = focusGuard(namespace);
|
||||
|
||||
@@ -62,7 +62,7 @@ export interface UseIntersectionObserverReturn {
|
||||
* visible.value = isIntersecting;
|
||||
* });
|
||||
*
|
||||
* @since 0.0.15
|
||||
* @since 0.0.14
|
||||
*/
|
||||
export function useIntersectionObserver(
|
||||
target: MaybeComputedElementRef | MaybeComputedElementRef[] | MaybeRefOrGetter<MaybeElement[]>,
|
||||
|
||||
@@ -61,7 +61,7 @@ export interface UseMutationObserverReturn {
|
||||
* @example
|
||||
* const { pause, resume } = useMutationObserver([elA, elB], onMutate, { childList: true });
|
||||
*
|
||||
* @since 0.0.15
|
||||
* @since 0.0.14
|
||||
*/
|
||||
export function useMutationObserver(
|
||||
target: MaybeComputedElementRef | MaybeComputedElementRef[] | MaybeRefOrGetter<MaybeElement[]>,
|
||||
|
||||
@@ -30,7 +30,7 @@ export type UseParentElementReturn
|
||||
* const el = useTemplateRef<HTMLElement>('el');
|
||||
* const parent = useParentElement(el);
|
||||
*
|
||||
* @since 0.0.15
|
||||
* @since 0.0.14
|
||||
*/
|
||||
export function useParentElement(
|
||||
element: MaybeComputedElementRef | MaybeRefOrGetter<HTMLElement | SVGElement | null | undefined> = useCurrentElement<HTMLElement | SVGAElement>(),
|
||||
|
||||
@@ -79,7 +79,7 @@ export interface UseResizeObserverReturn {
|
||||
* // react to multiple targets
|
||||
* }, { box: 'border-box' });
|
||||
*
|
||||
* @since 0.0.15
|
||||
* @since 0.0.14
|
||||
*/
|
||||
export function useResizeObserver(
|
||||
target: MaybeComputedElementRef | MaybeComputedElementRef[],
|
||||
|
||||
@@ -19,7 +19,7 @@ export type UseWindowFocusReturn = ShallowRef<boolean>;
|
||||
* @example
|
||||
* const focused = useWindowFocus();
|
||||
*
|
||||
* @since 0.0.15
|
||||
* @since 0.0.14
|
||||
*/
|
||||
export function useWindowFocus(options: UseWindowFocusOptions = {}): UseWindowFocusReturn {
|
||||
const { window = defaultWindow } = options;
|
||||
|
||||
@@ -124,7 +124,7 @@ export interface UseWindowScrollReturn {
|
||||
* @example
|
||||
* const { x, y, isScrolling, arrivedState, directions } = useWindowScroll();
|
||||
*
|
||||
* @since 0.0.15
|
||||
* @since 0.0.14
|
||||
*/
|
||||
export function useWindowScroll(options: UseWindowScrollOptions = {}): UseWindowScrollReturn {
|
||||
const {
|
||||
|
||||
@@ -76,7 +76,7 @@ export interface UseWindowSizeReturn {
|
||||
* // Track the pinch-zoom aware visual viewport on mobile
|
||||
* const { width, height } = useWindowSize({ type: 'visual' });
|
||||
*
|
||||
* @since 0.0.15
|
||||
* @since 0.0.14
|
||||
*/
|
||||
export function useWindowSize(options: UseWindowSizeOptions = {}): UseWindowSizeReturn {
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user