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

@vaadin-component-factory/vcf-auto-select-combobox

Package Overview
Dependencies
Maintainers
10
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin-component-factory/vcf-auto-select-combobox - npm Package Compare versions

Comparing version 17.0.1 to 23.4.0

11

package.json
{
"name": "@vaadin-component-factory/vcf-auto-select-combobox",
"version": "17.0.1",
"version": "23.4.0",
"description": "The AutoSelect Combobox component extends from Combobox",

@@ -12,2 +12,3 @@ "main": "src/vcf-auto-select-combobox.js",

},
"type": "module",
"keywords": [

@@ -48,5 +49,5 @@ "Vaadin",

"@polymer/polymer": "^3.4.1",
"@vaadin/combo-box": "^23.3.6",
"@vaadin/vaadin-lumo-styles": "^23.3.6",
"@vaadin/vaadin-themable-mixin": "^23.3.6"
"@vaadin/combo-box": "^23.4.0",
"@vaadin/vaadin-lumo-styles": "^23.4.0",
"@vaadin/vaadin-themable-mixin": "^23.4.0"
},

@@ -61,3 +62,3 @@ "devDependencies": {

"@polymer/test-fixture": "^4.0.2",
"@vaadin-component-factory/vcf-element-util": "^0.1.4",
"@vaadin-component-factory/vcf-element-util": "^0.3.5",
"@web/dev-server": "^0.1.34",

@@ -64,0 +65,0 @@ "@webcomponents/webcomponentsjs": "^2.0.0",

@@ -54,14 +54,5 @@ import { ComboBox } from '@vaadin/combo-box';

_filteredItemsChanged(filteredItems, oldFilteredItems) {
if (this.filter === '') {
// cleared filter
this._focusedIndex = -1;
return;
}
// if filteredItems has a single item then return index 0 else do standard behaviour
super._filteredItemsChanged(filteredItems, oldFilteredItems);
if (this.filteredItems && this.filteredItems.length === 1) {
this._focusedIndex = 0;
} else if (this.opened || this.autoOpenDisabled) {
this._focusedIndex = this.__getItemIndexByLabel(this.filteredItems, this.filter);
} else {
this._focusedIndex = this.__getItemIndexByLabel(this.filteredItems, this.value);
}

@@ -68,0 +59,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