diff --git a/playground/app/pages/components/tabs.vue b/playground/app/pages/components/tabs.vue index ead6bb0f..b5517f76 100644 --- a/playground/app/pages/components/tabs.vue +++ b/playground/app/pages/components/tabs.vue @@ -59,14 +59,6 @@ const items = [{ - - diff --git a/src/runtime/components/ContextMenu.vue b/src/runtime/components/ContextMenu.vue index 34a11144..3e5c8215 100644 --- a/src/runtime/components/ContextMenu.vue +++ b/src/runtime/components/ContextMenu.vue @@ -90,6 +90,8 @@ export type ContextMenuSlots< 'item-leading': SlotProps 'item-label': SlotProps 'item-trailing': SlotProps + 'content-top': (props?: {}) => any + 'content-bottom': (props?: {}) => any } & DynamicSlots, 'leading' | 'label' | 'trailing', { active?: boolean, index: number }> diff --git a/src/runtime/components/ContextMenuContent.vue b/src/runtime/components/ContextMenuContent.vue index 0e326c1c..fc83b018 100644 --- a/src/runtime/components/ContextMenuContent.vue +++ b/src/runtime/components/ContextMenuContent.vue @@ -107,6 +107,8 @@ const groups = computed(() => + + diff --git a/src/runtime/components/DropdownMenu.vue b/src/runtime/components/DropdownMenu.vue index d0102211..39f2af51 100644 --- a/src/runtime/components/DropdownMenu.vue +++ b/src/runtime/components/DropdownMenu.vue @@ -98,6 +98,8 @@ export type DropdownMenuSlots< 'item-leading': SlotProps 'item-label': SlotProps 'item-trailing': SlotProps + 'content-top': (props?: {}) => any + 'content-bottom': (props?: {}) => any } & DynamicSlots, 'leading' | 'label' | 'trailing', { active?: boolean, index: number }> diff --git a/src/runtime/components/DropdownMenuContent.vue b/src/runtime/components/DropdownMenuContent.vue index 60a286b6..0b85952a 100644 --- a/src/runtime/components/DropdownMenuContent.vue +++ b/src/runtime/components/DropdownMenuContent.vue @@ -113,6 +113,8 @@ const groups = computed(() => + + diff --git a/src/runtime/components/InputMenu.vue b/src/runtime/components/InputMenu.vue index c909df07..f657e08f 100644 --- a/src/runtime/components/InputMenu.vue +++ b/src/runtime/components/InputMenu.vue @@ -162,6 +162,8 @@ export interface InputMenuSlots< 'item-trailing': SlotProps 'tags-item-text': SlotProps 'tags-item-delete': SlotProps + 'content-top': (props?: {}) => any + 'content-bottom': (props?: {}) => any 'create-item-label'(props: { item: string }): any } @@ -478,6 +480,8 @@ defineExpose({ + + {{ searchTerm ? t('inputMenu.noMatch', { searchTerm }) : t('inputMenu.noData') }} @@ -537,6 +541,8 @@ defineExpose({ + + diff --git a/src/runtime/components/NavigationMenu.vue b/src/runtime/components/NavigationMenu.vue index ec36440e..96b794c9 100644 --- a/src/runtime/components/NavigationMenu.vue +++ b/src/runtime/components/NavigationMenu.vue @@ -123,6 +123,8 @@ export type NavigationMenuSlots< 'item-label': SlotProps 'item-trailing': SlotProps 'item-content': SlotProps + 'list-leading': (props?: {}) => any + 'list-trailing': (props?: {}) => any } & DynamicSlots, 'leading' | 'label' | 'trailing' | 'content', { index: number, active?: boolean }> @@ -303,6 +305,8 @@ const lists = computed(() => + + + +
diff --git a/src/runtime/components/Select.vue b/src/runtime/components/Select.vue index c94611ee..8f3c4883 100644 --- a/src/runtime/components/Select.vue +++ b/src/runtime/components/Select.vue @@ -126,6 +126,8 @@ export interface SelectSlots< 'item-leading': SlotProps 'item-label': SlotProps 'item-trailing': SlotProps + 'content-top': (props?: {}) => any + 'content-bottom': (props?: {}) => any } @@ -264,6 +266,8 @@ function isSelectItem(item: SelectItem): item is SelectItemBase { + +