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

ember-power-select

Package Overview
Dependencies
Maintainers
1
Versions
306
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-power-select - npm Package Compare versions

Comparing version 0.2.1 to 0.2.3

2

addon/components/ember-power-select.js

@@ -13,3 +13,3 @@ import Ember from 'ember';

noMatchesMessage: "No results found",
selectedPartial: null,
selectedComponent: null,
dropdownPosition: 'auto',

@@ -16,0 +16,0 @@ matcher: defaultMatcher,

@@ -33,6 +33,6 @@ import Ember from 'ember';

actions: {
select(option, toggleDropdown, e) {
select(option, closeDropdown, e) {
e.preventDefault();
this.select(option);
toggleDropdown(e);
closeDropdown(e);
},

@@ -39,0 +39,0 @@

@@ -89,5 +89,4 @@ import Ember from 'ember';

focusSearch() {
// debugger;
this.element.querySelector('.ember-power-select-trigger-multiple-input').focus();
}
});

@@ -25,3 +25,3 @@ import Ember from 'ember';

searchKeydown(toggleDropdown, e) {
searchKeydown(closeDropdown, e) {
if (e.keyCode === 40 || e.keyCode === 38) { // Arrow up/down

@@ -32,8 +32,8 @@ this.handleVerticalArrowKey(e);

this.select(highlighted);
toggleDropdown(e);
closeDropdown(e);
} else if (e.keyCode === 9) { // Tab
toggleDropdown();
closeDropdown();
} else if (e.keyCode === 27) { // escape
e.preventDefault();
toggleDropdown(e);
closeDropdown(e);
} else if (e.keyCode === 8) { // backspace

@@ -40,0 +40,0 @@ this.handleBackspace(e);

# Master
# 0.2.1
- [REFACTOR] Divide component internally into ember-power-select/simple and ember-power-select/multiple
- [BUGFIX] Fix bug where dropdown didn't close when selection an option inside a group.
- [BUGFIX] Fix ember-wormhole destination not being added to the body footer. Solved by calling contentFor of dependencies.
- [ENHALCEMENT] Update to ember-basic-dropdown 2.0. That yields a hash with public API on it

@@ -5,0 +9,0 @@ # 0.2.0

@@ -14,3 +14,7 @@ /* jshint node: true */

},
contentFor: function(type, config) {
this.eachAddonInvoke('contentFor', [this, type, config]);
}
};
 
{
"name": "ember-power-select",
"version": "0.2.1",
"version": "0.2.3",
"description": "The default blueprint for ember-cli addons.",

@@ -61,3 +61,3 @@ "homepage": "http://www.ember-power-select.com",

"ember-cli-htmlbars": "0.7.9",
"ember-basic-dropdown": "0.1.2"
"ember-basic-dropdown": "0.2.0"
},

@@ -64,0 +64,0 @@ "ember-addon": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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