Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@enact/spotlight

Package Overview
Dependencies
Maintainers
1
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enact/spotlight - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Change Log

## [1.3.1] - 2017-06-14
### Fixed
- `spotlight` incorrectly focusing components within spotlight containers with `data-container-disabled` set to `false`
- `spotlight` failing to focus the default element configured for a container
## [1.3.0] - 2017-06-12

@@ -7,0 +14,0 @@

4

package.json
{
"name": "@enact/spotlight",
"version": "1.3.0",
"version": "1.3.1",
"description": "A focus management library",

@@ -24,3 +24,3 @@ "main": "src/spotlight.js",

"dependencies": {
"@enact/core": "^1.3.0",
"@enact/core": "^1.3.1",
"prop-types": "~15.5.0",

@@ -27,0 +27,0 @@ "ramda": "~0.23.0",

@@ -534,3 +534,3 @@ 'use strict';

var containerNode = getContainerNode(containerId);
if (containerNode !== document && containerNode.dataset.containerDisabled) {
if (containerNode !== document && containerNode.dataset.containerDisabled === 'true') {
return false;

@@ -648,3 +648,3 @@ }

var enterLast = config.enterTo === 'last-focused';
var enterDefault = config.enterTo === 'defaultElement';
var enterDefault = config.enterTo === 'default-element';
var next = void 0;

@@ -651,0 +651,0 @@

@@ -251,3 +251,3 @@ 'use strict';

(0, _container10.configureContainer)('grid', {
enterTo: 'defaultElement',
enterTo: 'default-element',
defaultElement: '#bottom-right'

@@ -444,3 +444,3 @@ });

(0, _container10.configureContainer)('grid', {
enterTo: 'defaultElement',
enterTo: 'default-element',
defaultElement: '#bottom-right'

@@ -447,0 +447,0 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc