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

butane-combobox

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

butane-combobox - npm Package Compare versions

Comparing version 1.0.0-1 to 1.0.0-2

11

dist/butane-combobox.cjs.js

@@ -108,7 +108,6 @@ 'use strict';

e.target.closest('[data-butane-combobox-input]') &&
e.code === 'ArrowDown' &&
!this.menuIsVisible
e.code === 'ArrowDown'
) {
e.preventDefault();
this.showMenu();
if (!this.menuIsVisible) this.showMenu();
this.focusFirstOption();

@@ -148,3 +147,7 @@ }

handleInput(e) {
this.renderMenuItems(e);
if (this.menuIsVisible) {
this.renderMenuItems(e);
} else {
this.showMenu();
}
}

@@ -151,0 +154,0 @@

@@ -104,7 +104,6 @@ import matchSorter from 'match-sorter';

e.target.closest('[data-butane-combobox-input]') &&
e.code === 'ArrowDown' &&
!this.menuIsVisible
e.code === 'ArrowDown'
) {
e.preventDefault();
this.showMenu();
if (!this.menuIsVisible) this.showMenu();
this.focusFirstOption();

@@ -144,3 +143,7 @@ }

handleInput(e) {
this.renderMenuItems(e);
if (this.menuIsVisible) {
this.renderMenuItems(e);
} else {
this.showMenu();
}
}

@@ -147,0 +150,0 @@

@@ -1051,7 +1051,6 @@ (function (global, factory) {

e.target.closest('[data-butane-combobox-input]') &&
e.code === 'ArrowDown' &&
!this.menuIsVisible
e.code === 'ArrowDown'
) {
e.preventDefault();
this.showMenu();
if (!this.menuIsVisible) this.showMenu();
this.focusFirstOption();

@@ -1091,3 +1090,7 @@ }

handleInput(e) {
this.renderMenuItems(e);
if (this.menuIsVisible) {
this.renderMenuItems(e);
} else {
this.showMenu();
}
}

@@ -1094,0 +1097,0 @@

{
"name": "butane-combobox",
"version": "1.0.0-1",
"version": "1.0.0-2",
"description": "An accessible lightweight combobox library",

@@ -5,0 +5,0 @@ "main": "dist/butane-combobox.cjs.js",

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