mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-15 12:39:35 +01:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
876f9578c2 | ||
|
|
f69f584188 | ||
|
|
377b4189ca |
@@ -2,6 +2,13 @@
|
||||
|
||||
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.2.1](https://github.com/nuxtlabs/ui/compare/v1.2.0...v1.2.1) (2023-03-20)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **defineShortcuts:** shift + alphabetic character handling ([#140](https://github.com/nuxtlabs/ui/issues/140)) ([377b418](https://github.com/nuxtlabs/ui/commit/377b4189ca85603db0b7f040949260ba7494c46f))
|
||||
|
||||
## [1.2.0](https://github.com/nuxtlabs/ui/compare/v1.1.4...v1.2.0) (2023-03-09)
|
||||
|
||||
|
||||
|
||||
18
package.json
18
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nuxthq/ui",
|
||||
"version": "1.2.0",
|
||||
"version": "1.2.1",
|
||||
"repository": "https://github.com/nuxtlabs/ui",
|
||||
"license": "MIT",
|
||||
"exports": {
|
||||
@@ -26,11 +26,11 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@egoist/tailwindcss-icons": "^1.0.7",
|
||||
"@headlessui/vue": "1.7.10",
|
||||
"@headlessui/vue": "^1.7.12",
|
||||
"@iconify-json/heroicons": "^1.1.10",
|
||||
"@nuxt/kit": "^3.2.3",
|
||||
"@nuxt/kit": "^3.3.1",
|
||||
"@nuxtjs/color-mode": "^3.2.0",
|
||||
"@nuxtjs/tailwindcss": "^6.4.1",
|
||||
"@nuxtjs/tailwindcss": "^6.6.0",
|
||||
"@popperjs/core": "^2.11.6",
|
||||
"@tailwindcss/aspect-ratio": "^0.4.2",
|
||||
"@tailwindcss/forms": "^0.5.3",
|
||||
@@ -45,13 +45,13 @@
|
||||
"tailwindcss": "^3.2.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@iconify-json/mdi": "^1.1.49",
|
||||
"@iconify-json/mdi": "^1.1.50",
|
||||
"@nuxt/module-builder": "^0.2.1",
|
||||
"@nuxtjs/eslint-config-typescript": "^12.0.0",
|
||||
"@types/lodash-es": "^4.17.6",
|
||||
"@types/node": "^18.14.5",
|
||||
"eslint": "^8.35.0",
|
||||
"nuxt": "^3.2.3",
|
||||
"@types/lodash-es": "^4.17.7",
|
||||
"@types/node": "^18.15.3",
|
||||
"eslint": "^8.36.0",
|
||||
"nuxt": "^3.3.1",
|
||||
"standard-version": "^9.5.0",
|
||||
"unbuild": "^1.1.2",
|
||||
"vue-tsc": "^1.2.0"
|
||||
|
||||
@@ -32,7 +32,7 @@ export const defineShortcuts = (config: ShortcutsConfig) => {
|
||||
let shortcuts: Shortcut[] = []
|
||||
|
||||
const onKeyDown = (e: KeyboardEvent) => {
|
||||
const alphabeticalKey = /^[a-z]{1}$/.test(e.key)
|
||||
const alphabeticalKey = /^[a-z]{1}$/i.test(e.key)
|
||||
|
||||
for (const shortcut of shortcuts) {
|
||||
if (e.key.toLowerCase() !== shortcut.key) { continue }
|
||||
|
||||
Reference in New Issue
Block a user