@enact/spotlight 4.9.0-beta.1 → 4.9.1

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,16 @@
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.1] - 2024-09-09
6
+
7
+ No significant changes.
8
+
9
+ ## [4.9.0] - 2024-07-17
10
+
11
+ ### Fixed
12
+
13
+ - `spotlight/Spotlight.disableSelector` to properly update the `selectorDisabled` container config
14
+
5
15
  ## [4.9.0-beta.1] - 2024-06-17
6
16
 
7
17
  No significant changes.
@@ -139,7 +149,7 @@ No significant changes.
139
149
  ### Fixed
140
150
 
141
151
  - `spotlight` to not leave the restrict container after returning from another app
142
-
152
+
143
153
  ## [4.5.0-rc.1] - 2022-06-23
144
154
 
145
155
  No significant changes.
@@ -149,7 +159,7 @@ No significant changes.
149
159
  ### Added
150
160
 
151
161
  - `spotlight` an optional `containerOption.toOuterContainer` parameter to `focus` function to search target recursively to outer container
152
-
162
+
153
163
  ## [4.5.0-alpha.2] - 2022-05-09
154
164
 
155
165
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enact/spotlight",
3
- "version": "4.9.0-beta.1",
3
+ "version": "4.9.1",
4
4
  "description": "A focus management library",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,10 +25,10 @@
25
25
  }
26
26
  },
27
27
  "dependencies": {
28
- "@enact/core": "^4.9.0-beta.1",
28
+ "@enact/core": "^4.9.1",
29
29
  "classnames": "^2.5.1",
30
30
  "prop-types": "^15.8.1",
31
- "ramda": "^0.29.1",
31
+ "ramda": "^0.30.1",
32
32
  "react": "^18.3.1",
33
33
  "react-dom": "^18.3.1",
34
34
  "warning": "^4.0.3"
package/src/spotlight.js CHANGED
@@ -559,7 +559,7 @@ var Spotlight = exports.Spotlight = function () {
559
559
  disableSelector: function disableSelector(containerId) {
560
560
  if ((0, _container.isContainer)(containerId)) {
561
561
  (0, _container.configureContainer)(containerId, {
562
- selectorDisabled: false
562
+ selectorDisabled: true
563
563
  });
564
564
  return true;
565
565
  }
package/src/utils.js CHANGED
@@ -22,7 +22,7 @@ var elementMatchesSelector = function elementMatchesSelector(selector) {
22
22
  return [].slice.call(matchedNodes).indexOf(this) >= 0;
23
23
  };
24
24
  if (typeof window === 'object') {
25
- elementMatchesSelector = window.Element.prototype.matches || window.Element.prototype.matchesSelector || window.Element.prototype.mozMatchesSelector || window.Element.prototype.webkitMatchesSelector || window.Element.prototype.msMatchesSelector || window.Element.prototype.oMatchesSelector || elementMatchesSelector;
25
+ elementMatchesSelector = window.Element.prototype.matches || elementMatchesSelector;
26
26
  }
27
27
  var matchSelector = exports.matchSelector = (0, _curry["default"])(function (selector, elem) {
28
28
  if (typeof selector === 'string') {