From 06a9448a6051a77824c1e552207c35006af78f08 Mon Sep 17 00:00:00 2001 From: asgvard Date: Mon, 31 Jul 2023 11:33:46 +0200 Subject: [PATCH] Version bump + Changelog --- CHANGELOG.md | 8 ++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48132c6..e5e55ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +# [1.3.2] +## Fixed +- Fixed a bug where parents were not updating their `hasFocusedChild` when new child is created and focused right away +- Fixed a bug where `lastFocusedChild` was updated only on blur, but not on manual focus, resulting in a wrong key being stored + +## Changed +- Renamed `useFocusedContext` file to `useFocusContext` to match the export name + # [1.3.1] ## Added - Extra debug logs, printing focusable components data in addition to DOM nodes. diff --git a/package-lock.json b/package-lock.json index 4aaee60..841d500 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@noriginmedia/norigin-spatial-navigation", - "version": "1.3.1", + "version": "1.3.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@noriginmedia/norigin-spatial-navigation", - "version": "1.3.1", + "version": "1.3.2", "license": "MIT", "dependencies": { "lodash": "^4.17.21" diff --git a/package.json b/package.json index f3969c8..5a08162 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@noriginmedia/norigin-spatial-navigation", - "version": "1.3.1", + "version": "1.3.2", "description": "React hooks based Spatial Navigation solution", "main": "dist/index.js", "types": "dist/index.d.ts",