@ng-matero/ng-select 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnChanges, AfterViewChecked, OnDestroy, ElementRef, SimpleChanges, OnInit, TemplateRef, EventEmitter, InjectionToken, AfterViewInit, QueryList } from '@angular/core';
2
+ import { OnChanges, AfterViewChecked, OnDestroy, ElementRef, SimpleChanges, OnInit, TemplateRef, EventEmitter, AfterViewInit, QueryList, InjectionToken } from '@angular/core';
3
3
  import { ControlValueAccessor } from '@angular/forms';
4
4
  import { Subject } from 'rxjs';
5
5
 
@@ -353,6 +353,7 @@ declare class NgSelect implements OnDestroy, OnChanges, OnInit, AfterViewInit, C
353
353
  onInputFocus(e: FocusEvent): void;
354
354
  onInputBlur(e: FocusEvent): void;
355
355
  onItemHover(item: NgOptionItem): void;
356
+ updateViewPortItems(items: NgOptionItem[]): void;
356
357
  detectChanges(): void;
357
358
  private _setSearchTermFromItems;
358
359
  private _setItems;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-matero/ng-select",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "Angular Select - All in One UI Select, Multiselect and Autocomplete",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -37,8 +37,8 @@
37
37
 
38
38
  .ng-select-value-remove {
39
39
  svg {
40
- width: 14px;
41
- height: 14px;
40
+ width: var(--ns-multi-value-remove-icon-size, 14px);
41
+ height: var(--ns-multi-value-remove-icon-size, 14px);
42
42
  }
43
43
  }
44
44
 
@@ -63,8 +63,8 @@
63
63
  user-select: none;
64
64
 
65
65
  svg {
66
- width: 20px;
67
- height: 20px;
66
+ width: var(--ns-indicator-icon-size, 20px);
67
+ height: var(--ns-indicator-icon-size, 20px);
68
68
  }
69
69
  }
70
70
 
@@ -156,7 +156,8 @@
156
156
  }
157
157
 
158
158
  .ng-select-listbox {
159
- max-height: 300px;
159
+ position: relative;
160
+ max-height: var(--ns-panel-max-height, 300px);
160
161
  overflow-y: auto;
161
162
  }
162
163