UNPKG

maz-ui

Version:

A standalone components library for Vue.Js 3 & Nuxt.Js 3

63 lines (62 loc) 1.93 kB
import type { Color } from './types'; import { type HTMLAttributes, type StyleValue } from 'vue'; export type { Color }; export interface Props { /** * The color of the component. * @default primary */ color?: Color; /** * Remove the elevation of the component * @default false */ noElevation?: boolean; /** * Add padding to the content * @default true */ padding?: boolean; /** * The classes to apply to the content div */ contentClass?: HTMLAttributes['class']; /** * Style apply to the content div */ contentStyle?: StyleValue; /** * The opacity of the inner div - should be between 0 and 1 * When 0 the spotlight is completely visible * When 1 the spotlight is only visible on borders * @default 0.95 */ innerOpacity?: number; } declare function __VLS_template(): { attrs: Partial<{}>; slots: { default?(_: {}): any; }; refs: { blobElement: HTMLDivElement; fakeblobElement: HTMLDivElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, { color: Color; noElevation: boolean; padding: boolean; contentClass: HTMLAttributes["class"]; contentStyle: string | false | import("vue").CSSProperties | StyleValue[] | null; innerOpacity: number; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };