1 | import type { ComponentPublicInstance, Ref } from 'vue';
|
2 | import type { DropdownMenuProps } from './DropdownMenu';
|
3 | export type DropdownMenuDirection = 'up' | 'down';
|
4 | export type DropdownMenuProvide = {
|
5 | id: string;
|
6 | props: DropdownMenuProps;
|
7 | offset: Ref<number>;
|
8 | updateOffset: () => void;
|
9 | };
|
10 | export type DropdownMenuExpose = {
|
11 | close: () => void;
|
12 | };
|
13 | export type DropdownMenuInstance = ComponentPublicInstance<DropdownMenuProps, DropdownMenuExpose>;
|
14 | export type DropdownMenuThemeVars = {
|
15 | dropdownMenuHeight?: string;
|
16 | dropdownMenuBackground?: string;
|
17 | dropdownMenuShadow?: string;
|
18 | dropdownMenuTitleFontSize?: string;
|
19 | dropdownMenuTitleTextColor?: string;
|
20 | dropdownMenuTitleActiveTextColor?: string;
|
21 | dropdownMenuTitleDisabledTextColor?: string;
|
22 | dropdownMenuTitlePadding?: string;
|
23 | dropdownMenuTitleLineHeight?: number | string;
|
24 | dropdownMenuOptionActiveColor?: string;
|
25 | dropdownMenuOptionDisabledColor?: string;
|
26 | dropdownMenuContentMaxHeight?: string;
|
27 | };
|