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

@lui-ui/lui-vue

Package Overview
Dependencies
Maintainers
3
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lui-ui/lui-vue - npm Package Compare versions

Comparing version 0.70.0 to 0.70.1

dist/composables/useFocusTrap.d.ts

33

dist/components/Checkbox/LuiCheckbox.vue.d.ts
import type { PropType } from 'vue';
import type { CheckableModelValue, Description, Rounded, Size, State } from '@/globals/types';
import type { CheckableModelValue, Description, Rounded, Size, State, Value } from '@/globals/types';
declare type Indeterminate = false | true;

@@ -12,3 +12,2 @@ declare const _sfc_main: import("vue").DefineComponent<{

default: boolean;
validator(value: Rounded): boolean;
};

@@ -29,4 +28,12 @@ state: {

type: PropType<CheckableModelValue>;
default: undefined;
};
value: {
type: PropType<Value>;
};
trueValue: {
type: PropType<Value>;
};
falseValue: {
type: PropType<Value>;
};
}, {

@@ -42,7 +49,2 @@ props: any;

descriptionClasses: import("vue").ComputedRef<(string | object | null)[]>;
modelValueAsArray: import("vue").Ref<CheckableModelValue>;
handleChange: (event: any) => void;
usageMethod: import("vue").ComputedRef<"boolean" | "customValue" | "array">;
handleVModel: (event: Event) => unknown;
isInputChecked: () => boolean;
iconSize: import("vue").ComputedRef<{

@@ -56,2 +58,5 @@ checkbox: string;

}>;
handleChange: (event: any) => void;
isChecked: import("vue").ComputedRef<boolean>;
handleEmits: (value: CheckableModelValue, event: any) => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{

@@ -65,3 +70,2 @@ size: {

default: boolean;
validator(value: Rounded): boolean;
};

@@ -82,4 +86,12 @@ state: {

type: PropType<CheckableModelValue>;
default: undefined;
};
value: {
type: PropType<Value>;
};
trueValue: {
type: PropType<Value>;
};
falseValue: {
type: PropType<Value>;
};
}>> & {

@@ -89,3 +101,2 @@ onChange?: ((...args: any[]) => any) | undefined;

}, {
modelValue: CheckableModelValue;
rounded: Rounded;

@@ -92,0 +103,0 @@ size: Size;

@@ -81,5 +81,9 @@ import type { PropType } from 'vue';

};
open: {
type: PropType<boolean>;
default: boolean;
};
}, {
props: any;
emit: (event: "change" | "update:modelValue", ...args: any[]) => void;
emit: (event: "change" | "update:modelValue" | "onTrigger" | "update:open", ...args: any[]) => void;
slots: Readonly<{

@@ -136,3 +140,2 @@ [name: string]: import("vue").Slot | undefined;

};
closeOptions: () => void;
updateSelectedOptions: (option: ModelValue) => void;

@@ -314,3 +317,3 @@ focusTrigger: () => void;

}>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "onTrigger" | "update:open")[], "change" | "update:modelValue" | "onTrigger" | "update:open", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
rounded: {

@@ -383,5 +386,11 @@ type: PropType<Rounded>;

};
open: {
type: PropType<boolean>;
default: boolean;
};
}>> & {
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onOnTrigger?: ((...args: any[]) => any) | undefined;
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
}, {

@@ -395,2 +404,3 @@ modelValue: MultiModelValueType | undefined;

block: Block;
open: boolean;
disabled: boolean;

@@ -397,0 +407,0 @@ state: State;

@@ -28,5 +28,9 @@ import type { PropType } from 'vue';

};
open: {
type: PropType<boolean>;
default: boolean;
};
}, {
props: any;
emit: (event: "onTrigger", ...args: any[]) => void;
emit: (event: "onTrigger" | "update:open", ...args: any[]) => void;
dialogActive: import("vue").Ref<boolean>;

@@ -131,3 +135,3 @@ triggerRef: import("vue").Ref<HTMLElement | undefined>;

}>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onTrigger"[], "onTrigger", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onTrigger" | "update:open")[], "onTrigger" | "update:open", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
dialogPosition: {

@@ -149,4 +153,9 @@ type: PropType<Position>;

};
open: {
type: PropType<boolean>;
default: boolean;
};
}>> & {
onOnTrigger?: ((...args: any[]) => any) | undefined;
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
}, {

@@ -156,4 +165,5 @@ text: String;

block: Boolean;
open: boolean;
dialogPosition: Position;
}>;
export default _sfc_main;

@@ -17,7 +17,7 @@ import type { PropType } from 'vue';

value: {
type: StringConstructor;
type: PropType<string | number>;
default: string;
};
modelValue: {
type: PropType<String>;
type: PropType<string | number>;
default: string;

@@ -50,7 +50,7 @@ };

value: {
type: StringConstructor;
type: PropType<string | number>;
default: string;
};
modelValue: {
type: PropType<String>;
type: PropType<string | number>;
default: string;

@@ -62,4 +62,4 @@ };

}, {
modelValue: String;
value: string;
modelValue: string | number;
value: string | number;
size: Size;

@@ -66,0 +66,0 @@ state: State;

@@ -33,3 +33,3 @@ import type { PropType } from 'vue';

descriptionClasses: import("vue").ComputedRef<(string | object | null)[]>;
modelValueAsArray: import("vue").Ref<CheckableModelValue>;
modelValueAsArray: import("vue").Ref<CheckableModelValue | undefined>;
handleChange: (event: any) => void;

@@ -36,0 +36,0 @@ usageMethod: import("vue").ComputedRef<"boolean" | "customValue" | "array">;

@@ -85,4 +85,4 @@ import type { PropType } from 'vue';

}, {
resize: Resize;
modelValue: string;
resize: Resize;
rounded: Rounded;

@@ -89,0 +89,0 @@ size: Size;

@@ -1,34 +0,12 @@

import type { Ref } from 'vue';
import type { Border, Color, Filter, State, Variant } from '@/globals/types';
interface PropTypes {
color: Ref<Color>;
filter: Ref<Filter>;
variant: Ref<Variant>;
border?: Ref<Border>;
}
interface DescriptionPropTypes {
state: Ref<State>;
}
export declare function useGlobalColorClasses(props: PropTypes): {
backgroundColorClasses: import("vue").ComputedRef<(string | object | null)[]>;
textColorClasses: import("vue").ComputedRef<(string | object | null)[]>;
borderColorClasses: import("vue").ComputedRef<(string | object | null)[]>;
};
export declare function useGlobalHiddenInputClasses(): {
position: string;
overflow: string;
outlineStyle: string;
cursor: string;
borderWidth: string;
opacity: string;
zIndex: string;
peer: string;
};
export declare function useGlobalDescriptionClasses(props: DescriptionPropTypes, attrs: any): {
descriptionClasses: import("vue").ComputedRef<(string | object | null)[]>;
};
export declare function useGlobalCheckbox(props: any, attrs: any): {
handleVModel: (e: any) => any;
isInputChecked: import("vue").ComputedRef<any>;
};
export {};
export * from './useOutsideClick';
export * from './useProperPosition';
export * from './useFocusTrap';
export * from './useElementSize';
export * from './useGlobalCheckbox';
export * from './useGlobalColorClasses';
export * from './useGlobalDescriptionClasses';
export * from './useGlobalHiddenInputClasses';
export * from './useElementPosition';
export * from './useMenuPositionStyles';
export * from './useMenuStyles';
export * from './useTeleportWrapper';

@@ -11,5 +11,6 @@ export declare type Variant = 'solid' | 'outline' | 'text' | 'link';

export declare type Description = string | null;
export declare type CheckableModelValue = string[] | boolean | undefined | string;
export declare type Value = string | number;
export declare type CheckableModelValue = Value[] | boolean | string | number;
export declare type Text = string;
export declare type StateIcon = false | true;
export declare type Position = 'bottomLeft' | 'bottomRight' | 'bottom' | 'topLeft' | 'topRight' | 'top' | 'leftTop' | 'leftBottom' | 'left' | 'rightTop' | 'rightBottom' | 'right';
{
"name": "@lui-ui/lui-vue",
"version": "0.70.0",
"version": "0.70.1",
"packageManager": "pnpm@8.5.1",

@@ -5,0 +5,0 @@ "description": "This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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