Socket
Socket
Sign inDemoInstall

select2-component

Package Overview
Dependencies
3
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.10.4 to 6.1.1

6

dist/index.d.ts

@@ -19,6 +19,6 @@ export interface Select2Group {

export declare function getOptionsByValue(data: Select2Data, value: Select2UpdateValue | null | undefined, multiple: boolean | null | undefined): Select2Option | Select2Option[] | null;
export declare function getFirstAvailableOption(data: Select2Data): string | number | boolean | null;
export declare function getFirstAvailableOption(data: Select2Data): Select2Value | null;
export declare function valueIsNotInFilteredData(filteredData: Select2Data, value: Select2Value | null | undefined): boolean;
export declare function getPreviousOption(filteredData: Select2Data, hoveringValue: Select2Value | null | undefined): string | number | boolean | null | undefined;
export declare function getNextOption(filteredData: Select2Data, hoveringValue: Select2Value | null | undefined): string | number | boolean | null | undefined;
export declare function getPreviousOption(filteredData: Select2Data, hoveringValue: Select2Value | null | undefined): Select2Value | null | undefined;
export declare function getNextOption(filteredData: Select2Data, hoveringValue: Select2Value | null | undefined): Select2Value | null | undefined;
export declare function getLastScrollTopIndex(hoveringValue: Select2Value | null | undefined, results: HTMLElement, filteredData: Select2Data, lastScrollTopIndex: number): number | null;

@@ -25,0 +25,0 @@ export declare function getFilteredData(data: Select2Data, searchText: string | null, editPattern?: (str: string) => string): Select2Data;

@@ -438,3 +438,3 @@ import { __values } from "tslib";

return "select2 select2-container select2-container--default " + (disabled ? 'select2-container--disabled' : '') + " "
+ ((isOpen ? 'select2-container--open select2-container--focus' : '') + " select2-container--below");
+ ((isOpen ? 'select2-container--open' : '') + " select2-container--below select2-container--focus");
}

@@ -441,0 +441,0 @@ export function getSelectionStyle(multiple) {

{
"name": "select2-component",
"version": "5.10.4",
"version": "6.1.1",
"description": "A vuejs and reactjs select component core.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc