@vueuse/components 13.0.0-beta.2 → 13.1.0

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/index.d.mts +4 -3
  2. package/package.json +8 -5
package/index.d.mts CHANGED
@@ -834,10 +834,10 @@ declare const UseScreenSafeArea: vue.DefineComponent<vue.ExtractPropTypes<{
834
834
  bottom: BooleanConstructor;
835
835
  left: BooleanConstructor;
836
836
  }>> & Readonly<{}>, {
837
- top: boolean;
837
+ bottom: boolean;
838
838
  left: boolean;
839
839
  right: boolean;
840
- bottom: boolean;
840
+ top: boolean;
841
841
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
842
842
 
843
843
  type BindingValueFunction = (state: UseScrollReturn) => void;
@@ -881,4 +881,5 @@ declare const UseWindowFocus: vue.DefineComponent<{}, () => vue.VNode<vue.Render
881
881
 
882
882
  declare const UseWindowSize: vue.DefineComponent<UseWindowSizeOptions, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UseWindowSizeOptions> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
883
883
 
884
- export { OnClickOutside, type OnClickOutsideProps, OnLongPress, type OnLongPressProps, UseActiveElement, UseBattery, UseBrowserLocation, UseClipboard, UseColorMode, UseDark, UseDeviceMotion, UseDeviceOrientation, UseDevicePixelRatio, UseDevicesList, UseDocumentVisibility, UseDraggable, type UseDraggableProps, UseElementBounding, UseElementSize, UseElementVisibility, UseEyeDropper, UseFullscreen, UseGeolocation, UseIdle, UseImage, UseMouse, UseMouseInElement, UseMousePressed, UseNetwork, UseNow, UseObjectUrl, type UseObjectUrlProps, UseOffsetPagination, UseOnline, UsePageLeave, UsePointer, UsePointerLock, UsePreferredColorScheme, UsePreferredContrast, UsePreferredDark, UsePreferredLanguages, UsePreferredReducedMotion, UsePreferredReducedTransparency, UseScreenSafeArea, UseTimeAgo, UseTimestamp, UseVirtualList, type UseVirtualListProps, UseWindowFocus, UseWindowSize, vOnClickOutside as VOnClickOutside, vOnLongPress as VOnLongPress, vElementBounding, vElementHover, vElementSize, vElementVisibility, vInfiniteScroll, vIntersectionObserver, vMouseInElement, vOnClickOutside, vOnKeyStroke, vOnLongPress, vResizeObserver, vScroll, vScrollLock };
884
+ export { OnClickOutside, OnLongPress, UseActiveElement, UseBattery, UseBrowserLocation, UseClipboard, UseColorMode, UseDark, UseDeviceMotion, UseDeviceOrientation, UseDevicePixelRatio, UseDevicesList, UseDocumentVisibility, UseDraggable, UseElementBounding, UseElementSize, UseElementVisibility, UseEyeDropper, UseFullscreen, UseGeolocation, UseIdle, UseImage, UseMouse, UseMouseInElement, UseMousePressed, UseNetwork, UseNow, UseObjectUrl, UseOffsetPagination, UseOnline, UsePageLeave, UsePointer, UsePointerLock, UsePreferredColorScheme, UsePreferredContrast, UsePreferredDark, UsePreferredLanguages, UsePreferredReducedMotion, UsePreferredReducedTransparency, UseScreenSafeArea, UseTimeAgo, UseTimestamp, UseVirtualList, UseWindowFocus, UseWindowSize, vOnClickOutside as VOnClickOutside, vOnLongPress as VOnLongPress, vElementBounding, vElementHover, vElementSize, vElementVisibility, vInfiniteScroll, vIntersectionObserver, vMouseInElement, vOnClickOutside, vOnKeyStroke, vOnLongPress, vResizeObserver, vScroll, vScrollLock };
885
+ export type { OnClickOutsideProps, OnLongPressProps, UseDraggableProps, UseObjectUrlProps, UseVirtualListProps };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vueuse/components",
3
3
  "type": "module",
4
- "version": "13.0.0-beta.2",
4
+ "version": "13.1.0",
5
5
  "description": "Renderless components for VueUse",
6
6
  "author": "Jacob Clevenger<https://github.com/wheatjs>",
7
7
  "license": "MIT",
@@ -34,12 +34,15 @@
34
34
  "*.js",
35
35
  "*.mjs"
36
36
  ],
37
+ "peerDependencies": {
38
+ "vue": "^3.5.0"
39
+ },
37
40
  "dependencies": {
38
- "vue": "^3.5.13",
39
- "@vueuse/core": "13.0.0-beta.2",
40
- "@vueuse/shared": "13.0.0-beta.2"
41
+ "@vueuse/shared": "13.1.0",
42
+ "@vueuse/core": "13.1.0"
41
43
  },
42
44
  "scripts": {
43
- "build": "rollup --config=rollup.config.ts --configPlugin=rollup-plugin-esbuild"
45
+ "build": "rollup --config=rollup.config.ts --configPlugin=rollup-plugin-esbuild",
46
+ "test:attw": "attw --pack --config-path ../../.attw.json ."
44
47
  }
45
48
  }