ng-select2-component
Advanced tools
Comparing version 13.0.9 to 13.0.10
@@ -26,3 +26,3 @@ import { ConnectedPosition } from '@angular/cdk/overlay'; | ||
/** use the material style */ | ||
styleMode: 'material' | 'noStyle' | 'default'; | ||
styleMode: 'material' | 'noStyle' | 'borderless' | 'default'; | ||
/** message when no result */ | ||
@@ -101,2 +101,3 @@ noResultMessage: string; | ||
get classNostyle(): boolean; | ||
get classBorderless(): boolean; | ||
get select2above(): boolean; | ||
@@ -103,0 +104,0 @@ overlayWidth: number; |
{ | ||
"name": "ng-select2-component", | ||
"version": "13.0.9", | ||
"version": "13.0.10", | ||
"description": "An Angular select2 component.", | ||
@@ -5,0 +5,0 @@ "author": "York Yao, Célian Veyssière", |
@@ -99,3 +99,3 @@ [![npm version](https://badge.fury.io/js/ng-select2-component.svg)](https://badge.fury.io/js/ng-select2-component) [![Downloads](https://img.shields.io/npm/dm/ng-select2-component.svg)](https://www.npmjs.com/package/ng-select2-component) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/Harvest-Dev/ng-select2/master/LICENSE.md) | ||
| `overlay` | `boolean` | | `false` | active an overlay mode for dropdown list (with angular cdk). (See [Overlay](#overlay)) | | | ||
| `styleMode` | `'default'`<br>`'material'`<br>`'noStyle'` | | `'default'` | change style for material style or remove border and background color | | | ||
| `styleMode` | `'default'`<br>`'material'`<br>`'noStyle'`<br>`'borderless'` | | `'default'` | change style for material style or remove border and background color | | | ||
| `templates` | `TemplateRef`<br>`{option?: TemplateRef, group?: TemplateRef}`<br>`{templateId1: TemplateRef, ...}` | | | use templates for formatting content (see [Templating](#templating)) | | | ||
@@ -112,3 +112,3 @@ | `noLabelTemplate` | `boolean` | | `false` | do not use the template in the selection, stay in text mode | | | ||
| `(scroll)` | `(event: `[`Select2ScrollEvent`](#select2-data-structure)`) => void` | event | | triggered when infiniteScroll is on `up` or `down` position | with `ngx-infinite-scroll` | | ||
| `(removedOption)` | `(event: `[`Select2RemoveEvent`](#select2-data-structure)`) => void` | event | | triggered when an option is removed from the list of selected options options list | with `multiple` | | ||
| `(removeOption)` | `(event: `[`Select2RemoveEvent`](#select2-data-structure)`) => void` | event | | triggered when an option is removed from the list of selected options options list | with `multiple` | | ||
| `(autoCreateItem)` | `(event: `[`Select2AutoCreateEvent`](#select2-data-structure)`) => void` | event | | triggered when a new item has been added | with `autoCreate` | | ||
@@ -336,2 +336,8 @@ | ||
--select2-dropdown-border-color: #aaa; | ||
--select2-dropdown-above-border-bottom: none; | ||
--select2-dropdown-above-border-bottom-left-radius: 0; | ||
--select2-dropdown-above-border-bottom-right-radius: 0; | ||
--select2-dropdown-below-border-top: none; | ||
--select2-dropdown-below-border-top-left-radius: 0; | ||
--select2-dropdown-below-border-top-right-radius: 0; | ||
@@ -338,0 +344,0 @@ /* overlay */ |
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
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
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
540523
3414
398