@vueuse/components 14.2.0 → 14.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -4
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { BasicColorMode, ColorSchemeType, ConfigurableDocument, ConfigurableNavigator, ConfigurableWindow, ContrastType, DeviceMotionOptions, ElementSize, MouseInElementOptions, MousePressedOptions, OnClickOutsideHandler, OnClickOutsideOptions, OnKeyStrokeOptions, OnLongPressOptions, ReducedMotionType, RenderableComponent, UseActiveElementOptions, UseActiveElementReturn, UseBatteryReturn, UseBrowserLocationReturn, UseClipboardOptions, UseClipboardReturn, UseColorModeOptions, UseColorModeReturn, UseDarkOptions, UseDarkReturn, UseDeviceMotionReturn, UseDeviceOrientationReturn, UseDevicePixelRatioReturn, UseDevicesListOptions, UseDevicesListReturn, UseDocumentVisibilityReturn, UseDraggableOptions, UseElementBoundingOptions, UseElementBoundingReturn, UseElementHoverOptions, UseElementSizeReturn, UseElementVisibilityOptions, UseElementVisibilityReturn, UseEyeDropperOptions, UseEyeDropperReturn, UseFullscreenOptions, UseFullscreenReturn, UseGeolocationOptions, UseGeolocationReturn, UseIdleOptions, UseIdleReturn, UseImageOptions, UseImageReturn, UseInfiniteScrollOptions, UseIntersectionObserverOptions, UseMouseInElementReturn, UseMouseOptions, UseMousePressedReturn, UseMouseReturn, UseNetworkReturn, UseNowOptions, UseNowReturn, UseOffsetPaginationOptions, UseOffsetPaginationReturn, UseOnLongPressReturn, UsePageLeaveReturn, UsePointerLockOptions, UsePointerLockReturn, UsePointerOptions, UsePointerReturn, UseResizeObserverOptions, UseScreenSafeAreaReturn, UseScrollOptions, UseScrollReturn, UseTimeAgoOptions, UseTimeAgoReturn, UseTimestampOptions, UseTimestampReturn, UseVirtualListOptions, UseWindowSizeOptions, UseWindowSizeReturn, useElementSize, useInfiniteScroll } from "@vueuse/core";
1
+ import { BasicColorMode, ColorSchemeType, ConfigurableDocument, ConfigurableNavigator, ConfigurableWindow, ContrastType, DeviceMotionOptions, ElementSize, MouseInElementOptions, OnClickOutsideHandler, OnClickOutsideOptions, OnKeyStrokeOptions, OnLongPressOptions, ReducedMotionType, RenderableComponent, UseActiveElementOptions, UseActiveElementReturn, UseBatteryReturn, UseBrowserLocationReturn, UseClipboardOptions, UseClipboardReturn, UseColorModeOptions, UseColorModeReturn, UseDarkOptions, UseDarkReturn, UseDeviceMotionReturn, UseDeviceOrientationReturn, UseDevicePixelRatioReturn, UseDevicesListOptions, UseDevicesListReturn, UseDocumentVisibilityReturn, UseDraggableOptions, UseElementBoundingOptions, UseElementBoundingReturn, UseElementHoverOptions, UseElementSizeReturn, UseElementVisibilityOptions, UseElementVisibilityReturn, UseEyeDropperOptions, UseEyeDropperReturn, UseFullscreenOptions, UseFullscreenReturn, UseGeolocationOptions, UseGeolocationReturn, UseIdleOptions, UseIdleReturn, UseImageOptions, UseImageReturn, UseInfiniteScrollOptions, UseIntersectionObserverOptions, UseMouseInElementReturn, UseMouseOptions, UseMousePressedOptions, UseMousePressedReturn, UseMouseReturn, UseNetworkReturn, UseNowOptions, UseNowReturn, UseOffsetPaginationOptions, UseOffsetPaginationReturn, UseOnLongPressReturn, UsePageLeaveReturn, UsePointerLockOptions, UsePointerLockReturn, UsePointerOptions, UsePointerReturn, UseResizeObserverOptions, UseScreenSafeAreaReturn, UseScrollOptions, UseScrollReturn, UseTimeAgoOptions, UseTimeAgoReturn, UseTimestampOptions, UseTimestampReturn, UseVirtualListOptions, UseWindowSizeOptions, UseWindowSizeReturn, useElementSize, useInfiniteScroll } from "@vueuse/core";
2
2
  import * as vue0 from "vue";
3
3
  import { ComputedRef, FunctionDirective, MaybeRef, ObjectDirective, Reactive, Ref, ShallowRef, SlotsType, UnwrapRef } from "vue";
4
4
  import { ToggleFn } from "@vueuse/shared";
@@ -317,7 +317,7 @@ type BindingValueArray$2 = [BindingValueFunction$2, MouseInElementOptions];
317
317
  declare const vMouseInElement: ObjectDirective<HTMLElement, BindingValueFunction$2 | BindingValueArray$2>;
318
318
  //#endregion
319
319
  //#region ../core/useMousePressed/component.d.ts
320
- interface UseMousePressedProps extends Omit<MousePressedOptions, 'target'>, RenderableComponent {}
320
+ interface UseMousePressedProps extends Omit<UseMousePressedOptions, 'target'>, RenderableComponent {}
321
321
  interface UseMousePressedSlots {
322
322
  default: (data: Reactive<UseMousePressedReturn>) => any;
323
323
  }
@@ -337,7 +337,7 @@ declare const UseNetwork: vue0.DefineSetupFnComponent<UseNetworkProps, Record<st
337
337
  //#region ../core/useNow/component.d.ts
338
338
  interface UseNowProps extends Omit<UseNowOptions<true>, 'controls'> {}
339
339
  interface UseNowSlots {
340
- default: (data: Reactive<UseNowReturn>) => any;
340
+ default: (data: Reactive<UseNowReturn<true>>) => any;
341
341
  }
342
342
  declare const UseNow: vue0.DefineSetupFnComponent<UseNowProps, Record<string, never>, SlotsType<UseNowSlots>, UseNowProps & {
343
343
  [x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
@@ -537,7 +537,7 @@ declare const UseTimeAgo: vue0.DefineSetupFnComponent<UseTimeAgoProps, Record<st
537
537
  //#region ../core/useTimestamp/component.d.ts
538
538
  interface UseTimestampProps extends Omit<UseTimestampOptions<true>, 'controls'> {}
539
539
  interface UseTimestampSlots {
540
- default: (data: Reactive<UseTimestampReturn>) => any;
540
+ default: (data: Reactive<UseTimestampReturn<true>>) => any;
541
541
  }
542
542
  declare const UseTimestamp: vue0.DefineSetupFnComponent<UseTimestampProps, Record<string, never>, SlotsType<UseTimestampSlots>, UseTimestampProps & {
543
543
  [x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vueuse/components",
3
3
  "type": "module",
4
- "version": "14.2.0",
4
+ "version": "14.2.1",
5
5
  "description": "Renderless components for VueUse",
6
6
  "author": "Jacob Clevenger<https://github.com/wheatjs>",
7
7
  "license": "MIT",
@@ -36,8 +36,8 @@
36
36
  "vue": "^3.5.0"
37
37
  },
38
38
  "dependencies": {
39
- "@vueuse/core": "14.2.0",
40
- "@vueuse/shared": "14.2.0"
39
+ "@vueuse/shared": "14.2.1",
40
+ "@vueuse/core": "14.2.1"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "tsdown",