From 132a8895ffb36c426e84734fa758043ca6440e32 Mon Sep 17 00:00:00 2001 From: Michiel van der Geest Date: Thu, 21 Mar 2024 17:16:42 +0100 Subject: [PATCH] Upgraded to Blits 0.9.2. --- package-lock.json | 12 ++++++------ package.json | 4 ++-- src/components/TmdbRow.js | 8 +++++--- src/pages/Tmdb.js | 2 +- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index e36672b..4717aa2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@lightningjs/blits-example-app", - "version": "0.9.2", + "version": "0.9.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@lightningjs/blits-example-app", - "version": "0.9.2", + "version": "0.9.3", "license": "Apache-2", "dependencies": { - "@lightningjs/blits": "^0.9.1" + "@lightningjs/blits": "^0.9.2" }, "devDependencies": { "backstopjs": "^6.3.22", @@ -961,9 +961,9 @@ } }, "node_modules/@lightningjs/blits": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/@lightningjs/blits/-/blits-0.9.1.tgz", - "integrity": "sha512-/EsP9FTmHQWuyu0FIktaUNx3CdKUKG8i2dfhxDjOm8EDfkQW1spMGZHgL7xND16o26Gyka+OV4zsnzUGfn5YAw==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/@lightningjs/blits/-/blits-0.9.2.tgz", + "integrity": "sha512-HMRh8tDibxlvKGpv2UupbaBfOdvH3ruO+LkiGkBnEmIZL+gSiGwyV/hFeW7BeKgMMTw1+0cZiBc9N2I6WrexzA==", "dependencies": { "@lightningjs/renderer": "^0.7.6", "@lightningjs/vite-plugin-import-chunk-url": "^0.3.0", diff --git a/package.json b/package.json index 81fb89a..4ee930f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lightningjs/blits-example-app", - "version": "0.9.2", + "version": "0.9.3", "description": "Lightning 3 Blits Example App", "main": "index.js", "type": "module", @@ -38,6 +38,6 @@ "vite": "^4.0.4" }, "dependencies": { - "@lightningjs/blits": "^0.9.1" + "@lightningjs/blits": "^0.9.2" } } diff --git a/src/components/TmdbRow.js b/src/components/TmdbRow.js index dbdadb7..b5922c1 100644 --- a/src/components/TmdbRow.js +++ b/src/components/TmdbRow.js @@ -37,7 +37,7 @@ export default Blits.Component('TmdbRow', { item="$item" ref="poster" width="$width" - :key="$item.identifier" + key="$item.identifier" /> @@ -62,8 +62,10 @@ export default Blits.Component('TmdbRow', { watch: { focused(value) { const focusItem = this.select('poster' + value) - if (focusItem && focusItem.focus) focusItem.focus() - this.$emit('posterSelect', this.items[value]) + if (focusItem && focusItem.focus) { + focusItem.focus() + this.$emit('posterSelect', this.items[value]) + } }, }, input: { diff --git a/src/pages/Tmdb.js b/src/pages/Tmdb.js index 4efb9f9..93174f8 100644 --- a/src/pages/Tmdb.js +++ b/src/pages/Tmdb.js @@ -50,7 +50,7 @@ export default Blits.Component('TMdb', {