UNPKG

maz-ui

Version:

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

58 lines (57 loc) 1.78 kB
import { HTMLAttributes, StyleValue } from 'vue'; import { MazColor } from './types'; export interface MazCardSpotlightProps { /** * The color of the component. * @default primary */ color?: MazColor; /** * Add elevation to the component * @default true */ elevation?: 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<MazCardSpotlightProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MazCardSpotlightProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { blobElement: HTMLDivElement; fakeblobElement: HTMLDivElement; }, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };