@enact/spotlight 4.9.6 → 4.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  The following is a curated list of changes in the Enact spotlight module, newest changes on the top.
4
4
 
5
+ ## [4.9.8] - 2025-04-24
6
+
7
+ No significant changes.
8
+
9
+ ## [4.9.7] - 2025-04-16
10
+
11
+ No significant changes.
12
+
5
13
  ## [4.9.6] - 2025-03-27
6
14
 
7
15
  No significant changes.
package/README.md CHANGED
@@ -43,7 +43,7 @@ Spotlight is based on a fork of [JavaScript SpatialNavigation](https://github.co
43
43
  Unless otherwise specified, all content, including all source code files and
44
44
  documentation files in this repository are:
45
45
 
46
- Copyright (c) 2012-2024 LG Electronics
46
+ Copyright (c) 2012-2025 LG Electronics
47
47
 
48
48
  Unless otherwise specified or set forth in the NOTICE file, all content,
49
49
  including all source code files and documentation files in this repository are:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enact/spotlight",
3
- "version": "4.9.6",
3
+ "version": "4.9.8",
4
4
  "description": "A focus management library",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,7 +25,7 @@
25
25
  }
26
26
  },
27
27
  "dependencies": {
28
- "@enact/core": "^4.9.6",
28
+ "@enact/core": "^4.9.8",
29
29
  "classnames": "^2.5.1",
30
30
  "prop-types": "^15.8.1",
31
31
  "ramda": "^0.30.1",
package/src/spotlight.js CHANGED
@@ -803,7 +803,16 @@ var Spotlight = exports.Spotlight = function () {
803
803
  * @param {Object} position `x` and `y` coordinates for the pointer
804
804
  * @private
805
805
  */
806
- focusNextFromPoint: spotNextFromPoint
806
+ focusNextFromPoint: spotNextFromPoint,
807
+ /**
808
+ * Resets spotlight accelerator and 5way key hold value
809
+ *
810
+ * @private
811
+ */
812
+ resetKeyHoldState: function resetKeyHoldState() {
813
+ SpotlightAccelerator.reset();
814
+ _5WayKeyHold = false;
815
+ }
807
816
  };
808
817
  return exports;
809
818
  }();