@lui-ui/lui-vue
Advanced tools
Comparing version 0.43.0 to 0.44.0
import type { Filter, Color, Size, Border, NarrowedVariant, Rounded } from "@/globals/types"; | ||
import type { BordersInterface } from "@/globals/interfaces"; | ||
import type { PropType } from "vue"; | ||
@@ -43,5 +42,5 @@ declare const _sfc_main: import("vue").DefineComponent<{ | ||
props: any; | ||
backgroundColorClasses: import("@/globals/interfaces").BackgroundsInterface; | ||
textColorClasses: import("@/globals/interfaces").TypographyInterface; | ||
borderColorClasses: BordersInterface; | ||
backgroundColorClasses: import("vue").ComputedRef<(string | object | null)[]>; | ||
textColorClasses: import("vue").ComputedRef<(string | object | null)[]>; | ||
borderColorClasses: import("vue").ComputedRef<(string | object | null)[]>; | ||
computedImageClasses: import("vue").ComputedRef<any[]>; | ||
@@ -48,0 +47,0 @@ computedIconClasses: import("vue").ComputedRef<any[]>; |
import type { Filter, Color, Size, Border, NarrowedVariant } from "@/globals/types"; | ||
import type { PropType } from "vue"; | ||
declare type Position = "top-left" | "top-right" | "bottom-left" | "bottom-right"; | ||
type Position = "top-left" | "top-right" | "bottom-left" | "bottom-right"; | ||
declare const _sfc_main: import("vue").DefineComponent<{ | ||
@@ -38,5 +38,5 @@ variant: { | ||
props: any; | ||
backgroundColorClasses: import("@/globals/interfaces").BackgroundsInterface; | ||
textColorClasses: import("@/globals/interfaces").TypographyInterface; | ||
borderColorClasses: import("@/globals/interfaces").BordersInterface; | ||
backgroundColorClasses: import("vue").ComputedRef<(string | object | null)[]>; | ||
textColorClasses: import("vue").ComputedRef<(string | object | null)[]>; | ||
borderColorClasses: import("vue").ComputedRef<(string | object | null)[]>; | ||
badgeWrapper: import("vue").Ref<HTMLDivElement | undefined>; | ||
@@ -43,0 +43,0 @@ badgeContent: import("vue").Ref<HTMLSpanElement | undefined>; |
@@ -1,1 +0,1 @@ | ||
export declare type ButtonTag = "button" | "div"; | ||
export type ButtonTag = "button" | "div"; |
import type { Ref } from "vue"; | ||
import type { ButtonTag } from "../button-types"; | ||
import type { Variant, Filter, Rounded, Block, Color, Size } from "@/globals/types"; | ||
declare type PropTypes = { | ||
type PropTypes = { | ||
tag: Ref<ButtonTag>; | ||
@@ -6,0 +6,0 @@ variant: Ref<Variant>; |
import type { Ref } from "vue"; | ||
import type { Rounded, Size, State, Description } from "@/globals/types"; | ||
declare type PropTypes = { | ||
type PropTypes = { | ||
size: Ref<Size>; | ||
@@ -5,0 +5,0 @@ rounded: Ref<Rounded>; |
import type { PropType } from "vue"; | ||
import type { Rounded, Size, State, Description, CheckableModelValue } from "@/globals/types"; | ||
declare type Indeterminate = false | true; | ||
type Indeterminate = false | true; | ||
declare const _sfc_main: import("vue").DefineComponent<{ | ||
@@ -5,0 +5,0 @@ size: { |
import type { Ref } from "vue"; | ||
import type { Clear } from "../input-types"; | ||
import type { State, Rounded, Block, Size, Description, StateIcon } from "@/globals/types"; | ||
declare type PropTypes = { | ||
type PropTypes = { | ||
size: Ref<Size>; | ||
@@ -6,0 +6,0 @@ rounded: Ref<Rounded>; |
@@ -1,3 +0,3 @@ | ||
export declare type Clear = false | true; | ||
export declare type ModelValue = string | number; | ||
export declare type Description = string | null; | ||
export type Clear = false | true; | ||
export type ModelValue = string | number; | ||
export type Description = string | null; |
import type { PropType } from "vue"; | ||
import type { Rounded, Block, Size, State, StateIcon, Description } from "@/globals/types"; | ||
import type { Clear, ModelValue } from "./input-types"; | ||
declare type StateIconPathType = { | ||
type StateIconPathType = { | ||
warning: string; | ||
@@ -6,0 +6,0 @@ feedback: string; |
import type { PropType } from "vue"; | ||
import type { Variant, Filter, Rounded, Block, Color, Size } from "@/globals/types"; | ||
declare type MenuItems = { | ||
type MenuItems = { | ||
disabled?: boolean; | ||
}; | ||
declare type MenuStateType = { | ||
type MenuStateType = { | ||
items: MenuItems[]; | ||
@@ -11,3 +11,3 @@ currentIndex: number; | ||
}; | ||
declare type Position = "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom"; | ||
type Position = "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom"; | ||
declare const _sfc_main: import("vue").DefineComponent<{ | ||
@@ -14,0 +14,0 @@ text: { |
@@ -1,1 +0,1 @@ | ||
export declare type MenuItemTag = "button" | "a"; | ||
export type MenuItemTag = "button" | "a"; |
import type { Ref } from "vue"; | ||
import type { Size, State, Description } from "@/globals/types"; | ||
declare type PropTypes = { | ||
type PropTypes = { | ||
size: Ref<Size>; | ||
@@ -5,0 +5,0 @@ state: Ref<State>; |
@@ -107,4 +107,4 @@ import { nextTick } from "vue"; | ||
}>; | ||
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null; | ||
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null; | ||
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null; | ||
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null; | ||
$emit: (event: "update:modelValue", ...args: any[]) => void; | ||
@@ -189,3 +189,3 @@ $el: any; | ||
stateIcon: StateIcon; | ||
}> & { | ||
}, {}, string> & { | ||
beforeCreate?: ((() => void) | (() => void)[]) | undefined; | ||
@@ -205,7 +205,7 @@ created?: ((() => void) | (() => void)[]) | undefined; | ||
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined; | ||
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined; | ||
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined; | ||
}; | ||
$forceUpdate: () => void; | ||
$nextTick: typeof nextTick; | ||
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle; | ||
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle; | ||
} & Readonly<import("vue").ExtractPropTypes<{ | ||
@@ -279,3 +279,3 @@ size: { | ||
}>; | ||
}> & {} & import("vue").ComponentCustomProperties) | undefined>; | ||
}> & {} & import("vue").ComponentCustomProperties & {}) | undefined>; | ||
optionsRef: Ref<HTMLUListElement | undefined>; | ||
@@ -309,2 +309,3 @@ selectWrapperRef: Ref<HTMLDivElement | undefined>; | ||
optionsClasses: import("vue").ComputedRef<(string | object | null)[]>; | ||
selectWrapperClasses: import("vue").ComputedRef<(string | object | null)[]>; | ||
inputProps: import("vue").ComputedRef<{ | ||
@@ -311,0 +312,0 @@ rounded: Rounded; |
@@ -8,4 +8,4 @@ import type { Ref } from "vue"; | ||
} | ||
export declare type ModelValue = ModelValueObject | string | undefined; | ||
export declare type ListboxStateType = { | ||
export type ModelValue = ModelValueObject | string | undefined; | ||
export type ListboxStateType = { | ||
items: any[]; | ||
@@ -15,3 +15,3 @@ currentIndex: number; | ||
}; | ||
export declare type OptionsType = string[] | ModelValueObject[]; | ||
export type OptionsType = string[] | ModelValueObject[]; | ||
export interface ContextDefination { | ||
@@ -18,0 +18,0 @@ selectedOption: Ref<ModelValue>; |
import type { Ref } from "vue"; | ||
import type { Rounded, Size, State, Description } from "@/globals/types"; | ||
declare type PropTypes = { | ||
type PropTypes = { | ||
size: Ref<Size>; | ||
@@ -5,0 +5,0 @@ rounded: Ref<Rounded>; |
@@ -1,3 +0,3 @@ | ||
export declare type AlignmentTypes = "left" | "center" | "right"; | ||
export declare type TabTypes = { | ||
export type AlignmentTypes = "left" | "center" | "right"; | ||
export type TabTypes = { | ||
title: string; | ||
@@ -4,0 +4,0 @@ tabId: string; |
import type { Ref } from "vue"; | ||
import type { State, Rounded, Block, Size, Description, StateIcon } from "@/globals/types"; | ||
declare type Resize = true | false | "y" | "x"; | ||
declare type PropTypes = { | ||
type Resize = true | false | "y" | "x"; | ||
type PropTypes = { | ||
size: Ref<Size>; | ||
@@ -6,0 +6,0 @@ rounded: Ref<Rounded>; |
import type { PropType } from "vue"; | ||
import type { Rounded, Size, State, Description, StateIcon, Block } from "@/globals/types"; | ||
declare type Resize = true | false | "y" | "x"; | ||
type Resize = true | false | "y" | "x"; | ||
declare const _sfc_main: import("vue").DefineComponent<{ | ||
@@ -5,0 +5,0 @@ size: { |
@@ -1,6 +0,5 @@ | ||
import type { BackgroundsInterface, BordersInterface, TypographyInterface } from "@/globals/interfaces"; | ||
import type { Border, Color, Filter, Variant } from "@/globals/types"; | ||
import type { State } from "@/globals/types"; | ||
import type { Ref } from "vue"; | ||
declare type PropTypes = { | ||
type PropTypes = { | ||
color: Ref<Color>; | ||
@@ -11,9 +10,9 @@ filter: Ref<Filter>; | ||
}; | ||
declare type DescriptionPropTypes = { | ||
type DescriptionPropTypes = { | ||
state: Ref<State>; | ||
}; | ||
export declare function useGlobalColorClasses(props: PropTypes): { | ||
backgroundColorClasses: BackgroundsInterface; | ||
textColorClasses: TypographyInterface; | ||
borderColorClasses: BordersInterface; | ||
backgroundColorClasses: import("vue").ComputedRef<(string | object | null)[]>; | ||
textColorClasses: import("vue").ComputedRef<(string | object | null)[]>; | ||
borderColorClasses: import("vue").ComputedRef<(string | object | null)[]>; | ||
}; | ||
@@ -20,0 +19,0 @@ export declare function useGlobalHiddenInputClasses(): { |
@@ -1,13 +0,13 @@ | ||
export declare type Variant = "solid" | "outline" | "text" | "link"; | ||
export declare type NarrowedVariant = "solid" | "outline"; | ||
export declare type Filter = "darken" | "lighten" | "none"; | ||
export declare type Color = "primary" | "secondary" | "success" | "danger" | "warning" | "info"; | ||
export declare type Rounded = false | true | "full"; | ||
export declare type Block = true | false; | ||
export declare type Border = true | false; | ||
export declare type Size = "xs" | "sm" | "md" | "lg" | "xl"; | ||
export declare type State = true | false | string | null; | ||
export declare type Description = string | null; | ||
export declare type CheckableModelValue = string[] | boolean | null; | ||
export declare type Text = string; | ||
export declare type StateIcon = false | true; | ||
export type Variant = "solid" | "outline" | "text" | "link"; | ||
export type NarrowedVariant = "solid" | "outline"; | ||
export type Filter = "darken" | "lighten" | "none"; | ||
export type Color = "primary" | "secondary" | "success" | "danger" | "warning" | "info"; | ||
export type Rounded = false | true | "full"; | ||
export type Block = true | false; | ||
export type Border = true | false; | ||
export type Size = "xs" | "sm" | "md" | "lg" | "xl"; | ||
export type State = true | false | string | null; | ||
export type Description = string | null; | ||
export type CheckableModelValue = string[] | boolean | null; | ||
export type Text = string; | ||
export type StateIcon = false | true; |
{ | ||
"name": "@lui-ui/lui-vue", | ||
"version": "0.43.0", | ||
"version": "0.44.0", | ||
"scripts": { | ||
@@ -19,3 +19,3 @@ "dev": "vite", | ||
"peerDependencies": { | ||
"tailwindcss": "^3.0.8", | ||
"tailwindcss": "^3.2.7", | ||
"vue": "^3.2.26" | ||
@@ -22,0 +22,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
227853
5223