Compare commits

...

3 Commits

Author SHA1 Message Date
Benjamin Canac
8ace629ff8 chore(release): 1.1.1 2023-02-20 18:06:15 +01:00
Benjamin Canac
0d35b82ecb chore(CommandPalette): expose query 2023-02-20 18:05:52 +01:00
Benjamin Canac
5f37077835 types(CommandPalette): options no longer exists 2023-02-20 18:05:39 +01:00
4 changed files with 5 additions and 2 deletions

View File

@@ -2,6 +2,8 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [1.1.1](https://github.com/nuxtlabs/ui/compare/v1.1.0...v1.1.1) (2023-02-20)
## [1.1.0](https://github.com/nuxtlabs/ui/compare/v1.0.0...v1.1.0) (2023-02-17)

View File

@@ -1,6 +1,6 @@
{
"name": "@nuxthq/ui",
"version": "1.1.0",
"version": "1.1.1",
"repository": "https://github.com/nuxtlabs/ui",
"license": "MIT",
"exports": {

View File

@@ -255,6 +255,7 @@ function onClear () {
}
defineExpose({
query,
updateQuery: (q: string) => {
query.value = q
},

View File

@@ -1,6 +1,7 @@
import type { UseFuseOptions } from '@vueuse/integrations/useFuse'
import type { FuseSortFunctionMatch, FuseSortFunctionMatchList } from 'fuse.js'
import type { Avatar } from './avatar'
export interface Command {
id: string | number
prefix?: string
@@ -22,6 +23,5 @@ export interface Group {
active?: string
inactive?: string
commands: Command[]
options?: Partial<UseFuseOptions<Command>>
[key: string]: any
}