@vueuse/components 7.1.0 → 7.1.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/index.d.ts +4 -4
  2. package/package.json +7 -5
package/index.d.ts CHANGED
@@ -3,6 +3,10 @@ import { FunctionDirective } from 'vue-demi';
3
3
  import { UseDarkOptions, UseDevicesListOptions, UseDraggableOptions, ElementSize, GeolocationOptions, IdleOptions, MouseOptions, MouseInElementOptions, MousePressedOptions, UseNowOptions, UsePointerOptions, TimeAgoOptions, TimestampOptions, UseVirtualListOptions, WindowSizeOptions } from '@vueuse/core';
4
4
  import { MaybeRef } from '@vueuse/shared';
5
5
 
6
+ interface ConfigurableWindow {
7
+ window?: Window;
8
+ }
9
+
6
10
  interface RenderableComponent {
7
11
  /**
8
12
  * The element that the component should be rendered as
@@ -65,10 +69,6 @@ interface UseDraggableProps extends UseDraggableOptions, RenderableComponent {
65
69
  }
66
70
  declare const UseDraggable: vue_demi.DefineComponent<UseDraggableProps, {}, {}, {}, {}, vue_demi.ComponentOptionsMixin, vue_demi.ComponentOptionsMixin, vue_demi.EmitsOptions, string, vue_demi.VNodeProps & vue_demi.AllowedComponentProps & vue_demi.ComponentCustomProps, Readonly<UseDraggableProps>, {}>;
67
71
 
68
- interface ConfigurableWindow {
69
- window?: Window;
70
- }
71
-
72
72
  interface ResizeObserverOptions extends ConfigurableWindow {
73
73
  /**
74
74
  * Sets which box model the observer will observe changes to. Possible values
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueuse/components",
3
- "version": "7.1.0",
3
+ "version": "7.1.1",
4
4
  "description": "Renderless components for VueUse",
5
5
  "keywords": [
6
6
  "vue",
@@ -10,13 +10,15 @@
10
10
  "license": "MIT",
11
11
  "repository": {
12
12
  "type": "git",
13
- "url": "git+https://github.com/vueuse/vueuse.git"
13
+ "url": "git+https://github.com/vueuse/vueuse.git",
14
+ "directory": "packages/components"
14
15
  },
15
16
  "author": "Jacob Clevenger<https://github.com/wheatjs>",
16
17
  "exports": {
17
18
  ".": {
18
19
  "import": "./index.mjs",
19
- "require": "./index.cjs"
20
+ "require": "./index.cjs",
21
+ "types": "./index.d.ts"
20
22
  },
21
23
  "./*": "./*"
22
24
  },
@@ -31,8 +33,8 @@
31
33
  },
32
34
  "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/components#readme",
33
35
  "dependencies": {
34
- "@vueuse/core": "7.1.0",
35
- "@vueuse/shared": "7.1.0",
36
+ "@vueuse/core": "7.1.1",
37
+ "@vueuse/shared": "7.1.1",
36
38
  "vue-demi": "*"
37
39
  }
38
40
  }