select2-component
Advanced tools
Comparing version 5.10.4 to 6.1.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51852