Skip to content

Commit

Permalink
fix(module): boolean types and bump nuxt to 3.8.2 (#1006)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Nov 21, 2023
1 parent 1666388 commit ca62ce1
Show file tree
Hide file tree
Showing 5 changed files with 1,040 additions and 1,376 deletions.
4 changes: 2 additions & 2 deletions docs/content/1.getting-started/4.shortcuts.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ _`enter` shortcut will only trigger when `queryInput` is focused._

### `whenever`

Prop: `whenever?: WatchSource<Boolean>[]`
Prop: `whenever?: WatchSource<boolean>[]`

`whenever` allows to add constraints on the shortcut triggering behavior. This array can contain `Ref<Boolean>`, `ComputedRef<Boolean>` or `() => Boolean`.
`whenever` allows to add constraints on the shortcut triggering behavior. This array can contain `Ref<boolean>`, `ComputedRef<boolean>` or `() => boolean`.

```ts
defineShortcuts({
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"date-fns": "^2.30.0",
"eslint": "^8.52.0",
"joi": "^17.11.0",
"nuxt": "^3.8.0",
"nuxt": "^3.8.2",
"nuxt-cloudflare-analytics": "^1.0.8",
"nuxt-component-meta": "npm:nuxt-component-meta-edge@0.5.5-28315603.0a285c7",
"nuxt-og-image": "^2.2.4",
Expand Down
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@headlessui/tailwindcss": "^0.2.0",
"@headlessui/vue": "^1.7.16",
"@iconify-json/heroicons": "^1.1.13",
"@nuxt/kit": "^3.8.0",
"@nuxt/kit": "^3.8.2",
"@nuxtjs/color-mode": "^3.3.2",
"@nuxtjs/tailwindcss": "^6.8.1",
"@popperjs/core": "^2.11.8",
Expand All @@ -58,14 +58,14 @@
},
"devDependencies": {
"@nuxt/eslint-config": "^0.2.0",
"@nuxt/module-builder": "^0.5.2",
"@nuxt/module-builder": "^0.5.4",
"@release-it/conventional-changelog": "^7.0.2",
"@testing-library/vue": "^7.0.0",
"@vitejs/plugin-vue": "^4.4.0",
"eslint": "^8.52.0",
"happy-dom": "^12.10.3",
"joi": "^17.11.0",
"nuxt": "^3.8.0",
"nuxt": "^3.8.2",
"nuxt-vitest": "^0.11.3",
"release-it": "^16.2.1",
"typescript": "^5.2.2",
Expand All @@ -75,5 +75,10 @@
"vue-tsc": "^1.8.21",
"yup": "^1.3.2",
"zod": "^3.22.4"
},
"resolutions": {
"@nuxt/kit": "3.8.2",
"@nuxt/schema": "3.8.2",
"vue": "3.3.8"
}
}
Loading

0 comments on commit ca62ce1

Please sign in to comment.