Socket
Socket
Sign inDemoInstall

@headlessui-float/vue

Package Overview
Dependencies
27
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.11.1 to 0.11.2

8

dist/float.d.ts

@@ -201,10 +201,8 @@ import type { ComputedRef, FunctionalComponent, PropType, Ref, SetupContext, VNode } from 'vue';

}
export declare type RenderReferenceElementProps = FloatReferenceProps & Required<Pick<FloatReferenceProps, 'as'>>;
export type RenderReferenceElementProps = FloatReferenceProps & Required<Pick<FloatReferenceProps, 'as'>>;
export declare function renderReferenceElement(referenceNode: VNode, componentProps: RenderReferenceElementProps, attrs: SetupContext['attrs'], context: ReferenceState): VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>;
export declare type RenderFloatingElementProps = FloatContentProps & Required<Pick<FloatContentProps, 'as'>> & {
export type RenderFloatingElementProps = FloatContentProps & Required<Pick<FloatContentProps, 'as'>> & {
show?: boolean | null;
enterActiveClassRef: ComputedRef<string | undefined>;
leaveActiveClassRef: ComputedRef<string | undefined>;
};

@@ -226,4 +224,2 @@ export declare function renderFloatingElement(floatingNode: VNode, componentProps: RenderFloatingElementProps, attrs: SetupContext['attrs'], context: FloatingState): VNode<import("vue").RendererNode, import("vue").RendererElement, {

update: () => void;
enterActiveClassRef: ComputedRef<string | undefined>;
leaveActiveClassRef: ComputedRef<string | undefined>;
};

@@ -230,0 +226,0 @@ export declare const Float: new () => {

import type { ComputedRef, Ref } from 'vue';
declare type Container = Ref<HTMLElement | null> | HTMLElement | null;
declare type ContainerCollection = Container[] | Set<Container>;
declare type ContainerInput = Container | ContainerCollection;
type Container = Ref<HTMLElement | null> | HTMLElement | null;
type ContainerCollection = Container[] | Set<Container>;
type ContainerInput = Container | ContainerCollection;
export declare function useOutsideClick(containers: ContainerInput | (() => ContainerInput), cb: (event: MouseEvent | PointerEvent | FocusEvent, target: HTMLElement) => void, enabled?: ComputedRef<boolean>): void;
export {};
import type { Placement } from '@floating-ui/dom';
export declare type OriginClassResolver = (placement: Placement) => string;
export type OriginClassResolver = (placement: Placement) => string;

@@ -1,2 +0,2 @@

declare type RenderEnv = 'client' | 'server';
type RenderEnv = 'client' | 'server';
declare class Env {

@@ -3,0 +3,0 @@ current: RenderEnv;

{
"name": "@headlessui-float/vue",
"type": "module",
"version": "0.11.1",
"version": "0.11.2",
"description": "Easily use Headless UI for Vue 3 with Floating UI (Popper.js)",

@@ -62,11 +62,11 @@ "license": "MIT",

"@types/node": "^17.0.21",
"@vitejs/plugin-vue": "^4.0.0",
"@vitejs/plugin-vue": "^4.2.0",
"jsdom": "^21.1.0",
"typescript": "~4.7.0",
"unplugin-vue-components": "^0.22.0",
"vite": "^4.0.0",
"vitest": "^0.28.5",
"typescript": "^4.9.0",
"unplugin-vue-components": "^0.24.0",
"vite": "^4.3.0",
"vitest": "^0.31.0",
"vue": "^3.2.47",
"vue-tsc": "^1.0.0"
"vue-tsc": "^1.6.0"
}
}

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc