@enact/spotlight
Advanced tools
Comparing version 5.0.0-alpha.2 to 5.0.0-alpha.3
@@ -5,2 +5,14 @@ # Change Log | ||
## [5.0.0-alpha.3] - 2024-12-02 | ||
No significant changes. | ||
## [4.9.4] - 2024-11-19 | ||
No significant changes. | ||
## [4.9.3] - 2024-10-29 | ||
No significant changes. | ||
## [5.0.0-alpha.2] - 2024-10-08 | ||
@@ -7,0 +19,0 @@ |
{ | ||
"name": "@enact/spotlight", | ||
"version": "5.0.0-alpha.2", | ||
"version": "5.0.0-alpha.3", | ||
"description": "A focus management library", | ||
@@ -28,3 +28,3 @@ "repository": { | ||
"dependencies": { | ||
"@enact/core": "^5.0.0-alpha.2", | ||
"@enact/core": "^5.0.0-alpha.3", | ||
"classnames": "^2.5.1", | ||
@@ -31,0 +31,0 @@ "prop-types": "^15.8.1", |
@@ -69,6 +69,6 @@ "use strict"; | ||
* @memberof spotlight/SpotlightContainerDecorator | ||
* @property {Function} onBlurCapture Callback to notify hook when an node was blurred within the | ||
* @property {Function} onBlurCapture Callback to notify hook when a node was blurred within the | ||
* container. Must be called during the capture phase of the | ||
* event flow. | ||
* @property {Function} onFocusCapture Callback to notify hook when an node was focused within the | ||
* @property {Function} onFocusCapture Callback to notify hook when a node was focused within the | ||
* container. Must be called during the capture phase of the | ||
@@ -75,0 +75,0 @@ * event flow. |
@@ -275,3 +275,3 @@ "use strict"; | ||
// which was never documented and should be removed in a future release. | ||
test('should return the default spottable element when enterTo is "default-element" and defaultElement contains an array of selectors wiht a node reference', (0, _utils.testScenario)(scenarios.containerWithDefaultAndLastFocused, function (root) { | ||
test('should return the default spottable element when enterTo is "default-element" and defaultElement contains an array of selectors with a node reference', (0, _utils.testScenario)(scenarios.containerWithDefaultAndLastFocused, function (root) { | ||
(0, _container19.configureContainer)('container', { | ||
@@ -593,3 +593,3 @@ enterTo: 'default-element', | ||
afterEach(teardownContainers); | ||
test('should not include inacive containers', (0, _utils.testScenario)(scenarios.onlyContainers, function (root) { | ||
test('should not include inactive containers', (0, _utils.testScenario)(scenarios.onlyContainers, function (root) { | ||
var containerId = root.querySelector('[data-spotlight-id]').dataset.containerId; | ||
@@ -596,0 +596,0 @@ (0, _container19.addContainer)(containerId); |
@@ -85,3 +85,3 @@ "use strict"; | ||
}); | ||
test('should enable pointer mode if the pointer positionchanges', function () { | ||
test('should enable pointer mode if the pointer position changes', function () { | ||
(0, _pointer.setPointerMode)(false); | ||
@@ -88,0 +88,0 @@ (0, _pointer.notifyPointerMove)(null, null, 5, 5); |
@@ -203,3 +203,3 @@ "use strict"; | ||
} else if (element.tagName === 'A' && element.getAttribute('href') !== null) { | ||
// Anchor element that has an href attribute is focusable | ||
// Anchor element that has a href attribute is focusable | ||
return true; | ||
@@ -206,0 +206,0 @@ } else if (element.tagName === 'INPUT' && element.type !== 'hidden') { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
392575
Updated@enact/core@^5.0.0-alpha.3