@enact/spotlight 3.4.9-experimental-6 → 3.4.9-experimental-7

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,12 @@
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
+ ## [3.4.9-experimental-7] - 2021-11-24
6
+
7
+ ### Fixed
8
+
9
+ - `spotlight/SpotlightRootDecorator` to show focus when last input type is `none`
10
+
5
11
  ## [3.4.9-experimental-6] - 2021-04-07
6
12
 
7
13
  ### Fixed
@@ -213,11 +213,8 @@ var SpotlightRootDecorator = (0, _hoc["default"])(defaultConfig, function (confi
213
213
  if (inputType === 'touch') {
214
214
  this.containerRef.current.classList.remove('non-touch-mode');
215
215
  this.containerRef.current.classList.add('touch-mode');
216
- } else if (inputType === 'mouse' || inputType === 'key') {
217
- this.containerRef.current.classList.add('non-touch-mode');
218
- this.containerRef.current.classList.remove('touch-mode');
219
216
  } else {
220
- this.containerRef.current.classList.remove('non-touch-mode');
217
+ this.containerRef.current.classList.add('non-touch-mode');
221
218
  this.containerRef.current.classList.remove('touch-mode');
222
219
  }
223
220
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enact/spotlight",
3
- "version": "3.4.9-experimental-6",
3
+ "version": "3.4.9-experimental-7",
4
4
  "description": "A focus management library",
5
5
  "main": "src/spotlight.js",
6
6
  "scripts": {
@@ -18,8 +18,8 @@
18
18
  }
19
19
  },
20
20
  "dependencies": {
21
- "@enact/core": "^3.4.9-experimental-6",
22
- "@enact/webos": "^3.4.9-experimental-6",
21
+ "@enact/core": "^3.4.9-experimental-7",
22
+ "@enact/webos": "^3.4.9-experimental-7",
23
23
  "prop-types": "^15.7.2",
24
24
  "ramda": "^0.24.1",
25
25
  "react": "^16.7.0",