Comparing version 0.0.17 to 0.0.18
@@ -16,5 +16,5 @@ import { Ref } from "vue"; | ||
type UseCommandsArgs = { | ||
dialog: Ref<HTMLDialogElement | null>; | ||
inputValue: Ref<string>; | ||
}; | ||
export declare function useCommands({ dialog }: UseCommandsArgs): Ref<{ | ||
export declare function useCommands({ inputValue }: UseCommandsArgs): import("vue").ComputedRef<{ | ||
label: string; | ||
@@ -21,0 +21,0 @@ icon: Icon; |
@@ -5,6 +5,7 @@ import { Ref } from "vue"; | ||
input: Ref<HTMLInputElement | null>; | ||
inputValue: Ref<string>; | ||
}; | ||
export declare function useCommandCenter({ dialog, input }: UseCommandCenterArgs): { | ||
export declare function useCommandCenter({ dialog, input, inputValue }: UseCommandCenterArgs): { | ||
highlightedCommand: Ref<number | null>; | ||
commands: Ref<{ | ||
commands: import("vue").ComputedRef<{ | ||
label: string; | ||
@@ -11,0 +12,0 @@ icon: import("../icon/types").Icon; |
@@ -1,1 +0,1 @@ | ||
export type Icon = 'add' | 'home'; | ||
export type Icon = 'add' | 'home' | 'check' | 'trash' | 'close'; |
{ | ||
"name": "key-7", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "files": [ |
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 too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
390780
22
5226