Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vexip-ui/hooks

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vexip-ui/hooks - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

18

dist/index.d.ts
import { BITree } from '../../common/src/utils';
import type { ComponentPublicInstance } from 'vue';
import { ComputedRef } from 'vue';
import { MaybeRef as MaybeRef_2 } from 'vue';
import { MaybeRef } from 'vue';
import { noop } from '../../common/src/utils';

@@ -52,3 +52,3 @@ import type { OffsetOptions } from '@floating-ui/dom';

export declare type MaybeRef<T> = Ref<T> | T;
export { MaybeRef }

@@ -93,3 +93,3 @@ export declare type MaybeRefRecord<T> = {

export declare function unrefElement<T extends string | MaybeInstance>(ref: MaybeRef<T>): T extends string | ComponentPublicInstance ? MaybeElement : T;
export declare function unrefElement<T extends string | MaybeInstance = string | MaybeInstance>(ref: MaybeRef<T>): T extends string | ComponentPublicInstance ? MaybeElement : T;

@@ -400,15 +400,15 @@ /**

*/
items: MaybeRef_2<T[]>;
items: MaybeRef<T[]>;
/**
* 设置元素的最小高度
*/
itemSize: MaybeRef_2<number>;
itemSize: MaybeRef<number>;
/**
* 设置元素是否为固定高度,固定高度时不处理 resize
*/
itemFixed: MaybeRef_2<boolean>;
itemFixed: MaybeRef<boolean>;
/**
* 元素的主键
*/
idKey: MaybeRef_2<keyof T>;
idKey: MaybeRef<keyof T>;
/**

@@ -421,7 +421,7 @@ * 默认停留在的元素的主键,未实现

*/
bufferSize?: MaybeRef_2<number>;
bufferSize?: MaybeRef<number>;
/**
* 虚拟滚动的包围元素
*/
wrapper?: MaybeRef_2<HTMLElement | null | undefined>;
wrapper?: MaybeRef<HTMLElement | null | undefined>;
/**

@@ -428,0 +428,0 @@ * 是否自动观察 wrapper 缩放

{
"name": "@vexip-ui/hooks",
"version": "2.2.0",
"version": "2.2.1",
"license": "MIT",

@@ -30,3 +30,3 @@ "author": "qmhc",

"@juggle/resize-observer": "^3.4.0",
"@vexip-ui/utils": "2.6.0"
"@vexip-ui/utils": "2.7.0"
},

@@ -33,0 +33,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc