Compare commits

...

5 Commits

Author SHA1 Message Date
Benjamin Canac
3337559b89 chore(release): 0.1.3 2022-11-04 12:21:08 +01:00
Benjamin Canac
d33a23ebc0 chore(deps): bump 2022-11-04 12:19:20 +01:00
Baptiste Leproux
28586c35a5 fix(types): add missing field in command palette type (#111) 2022-11-02 16:04:50 +01:00
Benjamin Canac
e521e1ac24 fix(docs): component input string field 2022-11-02 11:21:35 +01:00
Sylvain Marroufin
8ea3223071 chore(typescript): minor fixes (#110) 2022-11-02 10:50:40 +01:00
7 changed files with 25 additions and 14 deletions

View File

@@ -2,6 +2,14 @@
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.
### [0.1.3](https://github.com/nuxtlabs/ui/compare/v0.1.2...v0.1.3) (2022-11-04)
### Bug Fixes
* **docs:** component input string field ([e521e1a](https://github.com/nuxtlabs/ui/commit/e521e1ac2421dc331652f1ea4ac2b0b2959dc069))
* **types:** add missing field in command palette type ([#111](https://github.com/nuxtlabs/ui/issues/111)) ([28586c3](https://github.com/nuxtlabs/ui/commit/28586c35a558d9e925094f86e07acdb928d54ad7))
### [0.1.2](https://github.com/nuxtlabs/ui/compare/v0.1.1...v0.1.2) (2022-10-27)
### [0.1.1](https://github.com/nuxtlabs/ui/compare/v0.1.0...v0.1.1) (2022-10-26)

View File

@@ -67,7 +67,7 @@
size="sm"
/>
<UInput
v-else-if="prop.type === 'String' && typeof prop.value === 'string'"
v-else-if="prop.type === 'String'"
v-model="prop.value"
:name="prop.key"
size="sm"

View File

@@ -1,6 +1,6 @@
{
"name": "@nuxthq/ui",
"version": "0.1.2",
"version": "0.1.3",
"repository": "https://github.com/nuxtlabs/ui",
"license": "MIT",
"exports": {
@@ -24,11 +24,11 @@
"release": "yarn lint && standard-version && git push --follow-tags"
},
"dependencies": {
"@headlessui/vue": "^1.7.3",
"@headlessui/vue": "^1.7.4",
"@iconify/vue": "^4.0.0",
"@nuxt/kit": "^3.0.0-rc.12",
"@nuxtjs/color-mode": "^3.1.8",
"@nuxtjs/tailwindcss": "^6.1.1",
"@nuxtjs/tailwindcss": "^6.1.3",
"@popperjs/core": "^2.11.6",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/forms": "^0.5.3",

View File

@@ -166,7 +166,7 @@ const groups = computed(() => map(groupBy(results.value, command => command.item
return {
...props.groups.find(group => group.key === key),
commands: commands.slice(0, options.value.resultLimit)
}
} as Group
}))
// Methods

View File

@@ -9,7 +9,8 @@
</template>
<script setup lang="ts">
import { PropType, computed, toRef } from 'vue'
import type { PropType } from 'vue'
import { computed, toRef } from 'vue'
import { defu } from 'defu'
import { usePopper } from '../../composables/usePopper'
import type { PopperOptions } from '../../types'

View File

@@ -14,6 +14,7 @@ export interface Command {
group?: string
score?: number
matches?: (FuseSortFunctionMatch | FuseSortFunctionMatchList)[]
[key: string]: any
}
export interface Group {
@@ -22,4 +23,5 @@ export interface Group {
inactive?: string
commands: Command[]
options?: Partial<UseFuseOptions<Command>>
[key: string]: any
}

View File

@@ -316,10 +316,10 @@
minimatch "^3.1.2"
strip-json-comments "^3.1.1"
"@headlessui/vue@^1.7.3":
version "1.7.3"
resolved "https://registry.yarnpkg.com/@headlessui/vue/-/vue-1.7.3.tgz#116d13391552436ea1e9e88c69f0e9d7d2585c45"
integrity sha512-Is4iakKts9u9E0+jEZNzoJpBjwq2SamwEIoEl2RlyYSu6Zco536GsPXaQEfg/o7Eyc1GUUlcL+dJd4Rt7qyf7A==
"@headlessui/vue@^1.7.4":
version "1.7.4"
resolved "https://registry.yarnpkg.com/@headlessui/vue/-/vue-1.7.4.tgz#c554e9ac893a2ec2f58eb8b6b9d80b8be03c5d0e"
integrity sha512-QHRlKCK/zRpjSjhth7c2CZvx5eMDFflXauqRdRJgp1CwScx6PwCpWiwDsjQcYM4z8Yik2ZvyX8W4PFT2Wsqqyw==
"@humanwhocodes/config-array@^0.11.6":
version "0.11.6"
@@ -639,10 +639,10 @@
eslint-plugin-unicorn "^43.0.2"
eslint-plugin-vue "^9.4.0"
"@nuxtjs/tailwindcss@^6.1.1":
version "6.1.1"
resolved "https://registry.yarnpkg.com/@nuxtjs/tailwindcss/-/tailwindcss-6.1.1.tgz#6a44072805f7cc26f9528756949a8344134eba36"
integrity sha512-8yrGk2y7IUAMOW3+b0S/nWQmyZXtLge7pYYDXfiEhU4voL7zMoMdtp+ovmUr5LvTuEn3w5zCDczaBexvy0nmDw==
"@nuxtjs/tailwindcss@^6.1.3":
version "6.1.3"
resolved "https://registry.yarnpkg.com/@nuxtjs/tailwindcss/-/tailwindcss-6.1.3.tgz#3d131be8879936ba2eb7c23e0b2348f2ad29bd9c"
integrity sha512-XgoltsFhpX5SCxgUA9cEyLuKyH9xkjlfT+npDQNhSW71/BpeNPmmtjyD+o5ShAvyiZD2AzvZ0/P/eMNDfT33fA==
dependencies:
"@nuxt/kit" "^3.0.0-rc.12"
"@nuxt/postcss8" "^1.1.3"