Comparing version 1.0.13 to 1.0.14-beta.0
@@ -7,4 +7,4 @@ export declare const OBacktop: import("../../utils/types").SFCWithInstall<{ | ||
readonly target: string; | ||
readonly bottom: number; | ||
readonly right: number; | ||
readonly bottom: number; | ||
readonly delta: number; | ||
@@ -30,3 +30,3 @@ }> & Omit<Readonly<import("vue").ExtractPropTypes<{ | ||
onClick?: ((evt: MouseEvent) => any) | undefined; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "target" | "right" | "bottom" | "delta">; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "target" | "bottom" | "right" | "delta">; | ||
$attrs: { | ||
@@ -68,4 +68,4 @@ [x: string]: unknown; | ||
readonly target: string; | ||
readonly bottom: number; | ||
readonly right: number; | ||
readonly bottom: number; | ||
readonly delta: number; | ||
@@ -138,4 +138,4 @@ }, {}, string> & { | ||
readonly target: string; | ||
readonly bottom: number; | ||
readonly right: number; | ||
readonly bottom: number; | ||
readonly delta: number; | ||
@@ -142,0 +142,0 @@ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { |
@@ -41,4 +41,4 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
readonly target: string; | ||
readonly bottom: number; | ||
readonly right: number; | ||
readonly bottom: number; | ||
readonly delta: number; | ||
@@ -45,0 +45,0 @@ }>, { |
@@ -7,4 +7,4 @@ export declare const OButton: import("../../utils/types").SFCWithInstall<{ | ||
text: boolean; | ||
size: "xs" | "sm" | "md" | "lg"; | ||
type: "error" | "info" | "default" | "primary" | "secondary" | "success" | "warning"; | ||
size: "" | "xs" | "sm" | "md" | "lg"; | ||
type: "" | "error" | "info" | "default" | "primary" | "secondary" | "success" | "warning"; | ||
shadow: boolean; | ||
@@ -17,3 +17,3 @@ light: boolean; | ||
type: { | ||
type: import("vue").PropType<"error" | "info" | "default" | "primary" | "secondary" | "success" | "warning">; | ||
type: import("vue").PropType<"" | "error" | "info" | "default" | "primary" | "secondary" | "success" | "warning">; | ||
default: string; | ||
@@ -27,3 +27,3 @@ }; | ||
size: { | ||
type: import("vue").PropType<"xs" | "sm" | "md" | "lg">; | ||
type: import("vue").PropType<"" | "xs" | "sm" | "md" | "lg">; | ||
default: string; | ||
@@ -33,2 +33,3 @@ }; | ||
loading: BooleanConstructor; | ||
icon: StringConstructor; | ||
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "text" | "size" | "type" | "shadow" | "light" | "dashed" | "disabled" | "loading">; | ||
@@ -50,3 +51,3 @@ $attrs: { | ||
type: { | ||
type: import("vue").PropType<"error" | "info" | "default" | "primary" | "secondary" | "success" | "warning">; | ||
type: import("vue").PropType<"" | "error" | "info" | "default" | "primary" | "secondary" | "success" | "warning">; | ||
default: string; | ||
@@ -60,3 +61,3 @@ }; | ||
size: { | ||
type: import("vue").PropType<"xs" | "sm" | "md" | "lg">; | ||
type: import("vue").PropType<"" | "xs" | "sm" | "md" | "lg">; | ||
default: string; | ||
@@ -66,6 +67,7 @@ }; | ||
loading: BooleanConstructor; | ||
icon: StringConstructor; | ||
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, { | ||
text: boolean; | ||
size: "xs" | "sm" | "md" | "lg"; | ||
type: "error" | "info" | "default" | "primary" | "secondary" | "success" | "warning"; | ||
size: "" | "xs" | "sm" | "md" | "lg"; | ||
type: "" | "error" | "info" | "default" | "primary" | "secondary" | "success" | "warning"; | ||
shadow: boolean; | ||
@@ -98,3 +100,3 @@ light: boolean; | ||
type: { | ||
type: import("vue").PropType<"error" | "info" | "default" | "primary" | "secondary" | "success" | "warning">; | ||
type: import("vue").PropType<"" | "error" | "info" | "default" | "primary" | "secondary" | "success" | "warning">; | ||
default: string; | ||
@@ -108,3 +110,3 @@ }; | ||
size: { | ||
type: import("vue").PropType<"xs" | "sm" | "md" | "lg">; | ||
type: import("vue").PropType<"" | "xs" | "sm" | "md" | "lg">; | ||
default: string; | ||
@@ -114,2 +116,3 @@ }; | ||
loading: BooleanConstructor; | ||
icon: StringConstructor; | ||
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {}; | ||
@@ -121,3 +124,3 @@ __isFragment?: undefined; | ||
type: { | ||
type: import("vue").PropType<"error" | "info" | "default" | "primary" | "secondary" | "success" | "warning">; | ||
type: import("vue").PropType<"" | "error" | "info" | "default" | "primary" | "secondary" | "success" | "warning">; | ||
default: string; | ||
@@ -131,3 +134,3 @@ }; | ||
size: { | ||
type: import("vue").PropType<"xs" | "sm" | "md" | "lg">; | ||
type: import("vue").PropType<"" | "xs" | "sm" | "md" | "lg">; | ||
default: string; | ||
@@ -137,6 +140,7 @@ }; | ||
loading: BooleanConstructor; | ||
icon: StringConstructor; | ||
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, { | ||
text: boolean; | ||
size: "xs" | "sm" | "md" | "lg"; | ||
type: "error" | "info" | "default" | "primary" | "secondary" | "success" | "warning"; | ||
size: "" | "xs" | "sm" | "md" | "lg"; | ||
type: "" | "error" | "info" | "default" | "primary" | "secondary" | "success" | "warning"; | ||
shadow: boolean; | ||
@@ -154,2 +158,3 @@ light: boolean; | ||
export default OButton; | ||
export * from './src/props'; | ||
export * from './src/button'; | ||
export * from './src/constants'; |
@@ -129,3 +129,3 @@ export declare const OCollapse: import("../../utils/types").SFCWithInstall<{ | ||
icon: string; | ||
arrowPlacement: "right" | "left"; | ||
arrowPlacement: "left" | "right"; | ||
}> & Omit<Readonly<import("vue").ExtractPropTypes<{ | ||
@@ -145,3 +145,3 @@ disabled: { | ||
arrowPlacement: { | ||
type: import("vue").PropType<"right" | "left">; | ||
type: import("vue").PropType<"left" | "right">; | ||
default: string; | ||
@@ -181,3 +181,3 @@ }; | ||
arrowPlacement: { | ||
type: import("vue").PropType<"right" | "left">; | ||
type: import("vue").PropType<"left" | "right">; | ||
default: string; | ||
@@ -196,3 +196,3 @@ }; | ||
icon: string; | ||
arrowPlacement: "right" | "left"; | ||
arrowPlacement: "left" | "right"; | ||
}, {}, string> & { | ||
@@ -232,3 +232,3 @@ beforeCreate?: ((() => void) | (() => void)[]) | undefined; | ||
arrowPlacement: { | ||
type: import("vue").PropType<"right" | "left">; | ||
type: import("vue").PropType<"left" | "right">; | ||
default: string; | ||
@@ -260,3 +260,3 @@ }; | ||
arrowPlacement: { | ||
type: import("vue").PropType<"right" | "left">; | ||
type: import("vue").PropType<"left" | "right">; | ||
default: string; | ||
@@ -275,3 +275,3 @@ }; | ||
icon: string; | ||
arrowPlacement: "right" | "left"; | ||
arrowPlacement: "left" | "right"; | ||
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { | ||
@@ -278,0 +278,0 @@ $slots: { |
@@ -15,3 +15,3 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
arrowPlacement: { | ||
type: import("vue").PropType<"right" | "left">; | ||
type: import("vue").PropType<"left" | "right">; | ||
default: string; | ||
@@ -39,3 +39,3 @@ }; | ||
arrowPlacement: { | ||
type: import("vue").PropType<"right" | "left">; | ||
type: import("vue").PropType<"left" | "right">; | ||
default: string; | ||
@@ -52,3 +52,3 @@ }; | ||
icon: string; | ||
arrowPlacement: "right" | "left"; | ||
arrowPlacement: "left" | "right"; | ||
}>, { | ||
@@ -55,0 +55,0 @@ icon: (_: {}) => any; |
@@ -39,3 +39,3 @@ import type { ExtractPropTypes, InjectionKey, PropType, Ref } from 'vue'; | ||
arrowPlacement: { | ||
type: PropType<"right" | "left">; | ||
type: PropType<"left" | "right">; | ||
default: string; | ||
@@ -42,0 +42,0 @@ }; |
import 'uno.css'; | ||
export * from './avatar'; | ||
export * from './button'; | ||
export * from './button-group'; | ||
export * from './icon'; | ||
@@ -20,1 +21,6 @@ export * from './card'; | ||
export * from './link'; | ||
export * from './radio'; | ||
export * from './radio-group'; | ||
export * from './affix'; | ||
export * from './text'; | ||
export * from './progress'; |
@@ -102,5 +102,2 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
}, { | ||
zIndex: number; | ||
type: "error" | "info" | "primary" | "secondary" | "success" | "warning"; | ||
icon: string; | ||
content: string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -111,2 +108,6 @@ [key: string]: any; | ||
}>); | ||
zIndex: number; | ||
offset: number; | ||
type: "error" | "info" | "primary" | "secondary" | "success" | "warning"; | ||
icon: string; | ||
closable: boolean; | ||
@@ -116,3 +117,2 @@ id: string; | ||
parseHtml: boolean; | ||
offset: number; | ||
}>, { | ||
@@ -119,0 +119,0 @@ default: (_: {}) => any; |
@@ -6,6 +6,6 @@ export declare const OPopup: import("../../utils/types").SFCWithInstall<{ | ||
$props: Partial<{ | ||
position: "bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom"; | ||
popupVisible: boolean; | ||
defaultPopupVisible: boolean; | ||
trigger: "click" | "focus" | "hover" | "context-menu" | ("click" | "focus" | "hover" | "context-menu")[]; | ||
position: "top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom"; | ||
}> & Omit<Readonly<import("vue").ExtractPropTypes<{ | ||
@@ -27,3 +27,3 @@ popupVisible: { | ||
position: { | ||
type: import("vue").PropType<"top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
type: import("vue").PropType<"bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
default: string; | ||
@@ -49,3 +49,3 @@ }; | ||
onPopupVisibleChange?: ((_visible: boolean) => any) | undefined; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "popupVisible" | "defaultPopupVisible" | "trigger" | "position">; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "position" | "popupVisible" | "defaultPopupVisible" | "trigger">; | ||
$attrs: { | ||
@@ -80,3 +80,3 @@ [x: string]: unknown; | ||
position: { | ||
type: import("vue").PropType<"top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
type: import("vue").PropType<"bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
default: string; | ||
@@ -106,6 +106,6 @@ }; | ||
}, string, { | ||
position: "bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom"; | ||
popupVisible: boolean; | ||
defaultPopupVisible: boolean; | ||
trigger: "click" | "focus" | "hover" | "context-menu" | ("click" | "focus" | "hover" | "context-menu")[]; | ||
position: "top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom"; | ||
}, {}, string> & { | ||
@@ -147,3 +147,3 @@ beforeCreate?: ((() => void) | (() => void)[]) | undefined; | ||
position: { | ||
type: import("vue").PropType<"top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
type: import("vue").PropType<"bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
default: string; | ||
@@ -189,3 +189,3 @@ }; | ||
position: { | ||
type: import("vue").PropType<"top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
type: import("vue").PropType<"bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
default: string; | ||
@@ -215,6 +215,6 @@ }; | ||
}, string, { | ||
position: "bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom"; | ||
popupVisible: boolean; | ||
defaultPopupVisible: boolean; | ||
trigger: "click" | "focus" | "hover" | "context-menu" | ("click" | "focus" | "hover" | "context-menu")[]; | ||
position: "top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom"; | ||
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { | ||
@@ -221,0 +221,0 @@ $slots: { |
@@ -17,3 +17,3 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
position: { | ||
type: import("vue").PropType<"top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
type: import("vue").PropType<"bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
default: string; | ||
@@ -55,3 +55,3 @@ }; | ||
position: { | ||
type: import("vue").PropType<"top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
type: import("vue").PropType<"bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
default: string; | ||
@@ -78,6 +78,6 @@ }; | ||
}, { | ||
position: "bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom"; | ||
popupVisible: boolean; | ||
defaultPopupVisible: boolean; | ||
trigger: "click" | "focus" | "hover" | "context-menu" | ("click" | "focus" | "hover" | "context-menu")[]; | ||
position: "top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom"; | ||
}>, { | ||
@@ -84,0 +84,0 @@ default: (_: {}) => any; |
@@ -38,3 +38,3 @@ import type { CSSProperties, ExtractPropTypes, PropType } from 'vue'; | ||
position: { | ||
type: PropType<"top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
type: PropType<"bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
default: string; | ||
@@ -41,0 +41,0 @@ }; |
@@ -61,5 +61,5 @@ export declare const ORate: import("../../utils/types").SFCWithInstall<import("vue").DefineComponent<{ | ||
readonly text: string; | ||
readonly color: string; | ||
readonly modelValue: number; | ||
readonly max: number; | ||
readonly color: string; | ||
readonly readonly: boolean; | ||
@@ -66,0 +66,0 @@ readonly voidColor: string; |
@@ -63,5 +63,5 @@ declare const _default: import("vue").DefineComponent<{ | ||
readonly text: string; | ||
readonly color: string; | ||
readonly modelValue: number; | ||
readonly max: number; | ||
readonly color: string; | ||
readonly readonly: boolean; | ||
@@ -68,0 +68,0 @@ readonly voidColor: string; |
@@ -43,2 +43,3 @@ export declare const OSwitch: import("../../utils/types").SFCWithInstall<import("vue").DefineComponent<{ | ||
}, { | ||
readonly backgroundColor: string; | ||
readonly size: "sm" | "md" | "lg"; | ||
@@ -48,5 +49,4 @@ readonly light: boolean; | ||
readonly modelValue: boolean; | ||
readonly backgroundColor: string; | ||
}>> & Record<string, any>; | ||
export default OSwitch; | ||
export * from './src/props'; |
@@ -43,2 +43,3 @@ declare const _default: import("vue").DefineComponent<{ | ||
}, { | ||
readonly backgroundColor: string; | ||
readonly size: "sm" | "md" | "lg"; | ||
@@ -48,4 +49,3 @@ readonly light: boolean; | ||
readonly modelValue: boolean; | ||
readonly backgroundColor: string; | ||
}>; | ||
export default _default; |
@@ -15,3 +15,3 @@ export declare const OTrigger: import("../../utils/types").SFCWithInstall<import("vue").DefineComponent<{ | ||
position: { | ||
type: import("vue").PropType<"top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
type: import("vue").PropType<"bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
default: string; | ||
@@ -29,6 +29,6 @@ }; | ||
type: import("vue").PropType<[number, number] | { | ||
top?: [number, number] | undefined; | ||
right?: [number, number] | undefined; | ||
bottom?: [number, number] | undefined; | ||
left?: [number, number] | undefined; | ||
right?: [number, number] | undefined; | ||
top?: [number, number] | undefined; | ||
"top-left"?: [number, number] | undefined; | ||
@@ -128,3 +128,3 @@ "top-right"?: [number, number] | undefined; | ||
position: { | ||
type: import("vue").PropType<"top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
type: import("vue").PropType<"bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
default: string; | ||
@@ -142,6 +142,6 @@ }; | ||
type: import("vue").PropType<[number, number] | { | ||
top?: [number, number] | undefined; | ||
right?: [number, number] | undefined; | ||
bottom?: [number, number] | undefined; | ||
left?: [number, number] | undefined; | ||
right?: [number, number] | undefined; | ||
top?: [number, number] | undefined; | ||
"top-left"?: [number, number] | undefined; | ||
@@ -228,2 +228,4 @@ "top-right"?: [number, number] | undefined; | ||
}, { | ||
animationName: string; | ||
position: "bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom"; | ||
disabled: boolean; | ||
@@ -233,7 +235,5 @@ popupVisible: boolean; | ||
trigger: "click" | "focus" | "hover" | "context-menu" | ("click" | "focus" | "hover" | "context-menu")[]; | ||
position: "top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom"; | ||
popupOffset: number; | ||
showArrow: boolean; | ||
alignPoint: boolean; | ||
animationName: string; | ||
mouseEnterDelay: number; | ||
@@ -240,0 +240,0 @@ mouseLeaveDelay: number; |
@@ -17,3 +17,3 @@ import type { CSSProperties } from 'vue'; | ||
position: { | ||
type: import("vue").PropType<"top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
type: import("vue").PropType<"bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
default: string; | ||
@@ -31,6 +31,6 @@ }; | ||
type: import("vue").PropType<[number, number] | { | ||
top?: [number, number] | undefined; | ||
right?: [number, number] | undefined; | ||
bottom?: [number, number] | undefined; | ||
left?: [number, number] | undefined; | ||
right?: [number, number] | undefined; | ||
top?: [number, number] | undefined; | ||
"top-left"?: [number, number] | undefined; | ||
@@ -130,3 +130,3 @@ "top-right"?: [number, number] | undefined; | ||
position: { | ||
type: import("vue").PropType<"top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
type: import("vue").PropType<"bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
default: string; | ||
@@ -144,6 +144,6 @@ }; | ||
type: import("vue").PropType<[number, number] | { | ||
top?: [number, number] | undefined; | ||
right?: [number, number] | undefined; | ||
bottom?: [number, number] | undefined; | ||
left?: [number, number] | undefined; | ||
right?: [number, number] | undefined; | ||
top?: [number, number] | undefined; | ||
"top-left"?: [number, number] | undefined; | ||
@@ -230,2 +230,4 @@ "top-right"?: [number, number] | undefined; | ||
}, { | ||
animationName: string; | ||
position: "bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom"; | ||
disabled: boolean; | ||
@@ -235,7 +237,5 @@ popupVisible: boolean; | ||
trigger: "click" | "focus" | "hover" | "context-menu" | ("click" | "focus" | "hover" | "context-menu")[]; | ||
position: "top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom"; | ||
popupOffset: number; | ||
showArrow: boolean; | ||
alignPoint: boolean; | ||
animationName: string; | ||
mouseEnterDelay: number; | ||
@@ -242,0 +242,0 @@ mouseLeaveDelay: number; |
@@ -35,3 +35,3 @@ import type { CSSProperties, ExtractPropTypes, PropType } from 'vue'; | ||
position: { | ||
type: PropType<"top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
type: PropType<"bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom">; | ||
default: string; | ||
@@ -58,6 +58,6 @@ }; | ||
type: PropType<[number, number] | { | ||
top?: [number, number] | undefined; | ||
right?: [number, number] | undefined; | ||
bottom?: [number, number] | undefined; | ||
left?: [number, number] | undefined; | ||
right?: [number, number] | undefined; | ||
top?: [number, number] | undefined; | ||
"top-left"?: [number, number] | undefined; | ||
@@ -64,0 +64,0 @@ "top-right"?: [number, number] | undefined; |
@@ -88,2 +88,3 @@ export declare const lightTheme: { | ||
'--onu-colors-background-gray': string; | ||
'--onu-colors-background-gray-light': string; | ||
'--onu-colors-backgroundAlpha': string; | ||
@@ -140,2 +141,3 @@ '--onu-colors-foreground': string; | ||
'--onu-theme-secondaryHsl': string; | ||
'--onu-theme-secondaryLight': string; | ||
'--onu-theme-secondaryBorder': string; | ||
@@ -149,2 +151,3 @@ '--onu-theme-secondaryLightHover': string; | ||
'--onu-theme-successHsl': string; | ||
'--onu-theme-successLight': string; | ||
'--onu-theme-successBorder': string; | ||
@@ -158,2 +161,3 @@ '--onu-theme-successLightHover': string; | ||
'--onu-theme-warningHsl': string; | ||
'--onu-theme-warningLight': string; | ||
'--onu-theme-warningBorder': string; | ||
@@ -167,2 +171,3 @@ '--onu-theme-warningLightHover': string; | ||
'--onu-theme-errorHsl': string; | ||
'--onu-theme-errorLight': string; | ||
'--onu-theme-errorBorder': string; | ||
@@ -176,2 +181,3 @@ '--onu-theme-errorLightHover': string; | ||
'--onu-theme-infoHsl': string; | ||
'--onu-theme-infoLight': string; | ||
'--onu-theme-infoBorder': string; | ||
@@ -178,0 +184,0 @@ '--onu-theme-infoLightHover': string; |
@@ -5,1 +5,3 @@ export * from './common'; | ||
export * from './dom'; | ||
export * from './scroll'; | ||
export * from './style'; |
{ | ||
"name": "onu-ui", | ||
"type": "module", | ||
"version": "1.0.13", | ||
"version": "1.0.14-beta.0", | ||
"description": "Onu-UI for web glassmorphism components generate by UnoCSS.", | ||
"author": "chris-zhu <https://github.com/chris-zhu>", | ||
"author": "Chris <https://github.com/zyyv>", | ||
"license": "MIT", | ||
@@ -39,3 +39,3 @@ "homepage": "https://github.com/onu-ui/onu-ui#readme", | ||
"dependencies": { | ||
"@onu-ui/components": "1.0.13" | ||
"@onu-ui/components": "1.0.14-beta.0" | ||
}, | ||
@@ -42,0 +42,0 @@ "publishConfig": { |
@@ -27,4 +27,4 @@ <p align="center"> | ||
```bash | ||
npm i onu-ui | ||
npm i unocss -D | ||
pnpm i onu-ui | ||
pnpm i unocss -D | ||
``` | ||
@@ -129,2 +129,2 @@ Add `onu-ui` in your main entry file. | ||
[MIT](https://github.com/onu-ui/onu-ui/blob/main/LICENSE) License ยฉ 2022 [chris-zhu](https://github.com/chris-zhu) | ||
[MIT](https://github.com/onu-ui/onu-ui/blob/main/LICENSE) License ยฉ 2022 [Chris](https://github.com/zyyv) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
793914
154
13685
3
+ Added@onu-ui/components@1.0.14-beta.0(transitive)
+ Added@onu-ui/preset@1.0.14-beta.0(transitive)
+ Added@onu-ui/utils@1.0.14-beta.0(transitive)
- Removed@onu-ui/components@1.0.13(transitive)
- Removed@onu-ui/preset@1.0.13(transitive)
- Removed@onu-ui/utils@1.0.13(transitive)