@leanix/components 0.4.543 → 0.4.545

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.
@@ -34,7 +34,7 @@ export declare class BasicDropdownComponent extends KeyboardSelectDirective impl
34
34
  selectOption(option: any): void;
35
35
  onPositionChange(event: ConnectedOverlayPositionChange): void;
36
36
  get isNewItem(): boolean;
37
- trackByProp(prop?: string): (index: number, pill: any) => any;
37
+ trackByProp(index: number, pill: any): any;
38
38
  onScroll(): void;
39
39
  onNewItemSelected(): void;
40
40
  onCreateNewOptionSelected(): void;
@@ -25,7 +25,6 @@ export declare class DragAndDropListItemComponent {
25
25
  get hasCustomTemplate(): boolean;
26
26
  customTemplateRef: TemplateRef<any> | null;
27
27
  constructor(element: ElementRef);
28
- trackByAction(_index: number, action: DragAndDropListAction): string;
29
28
  focus(): void;
30
29
  static ɵfac: i0.ɵɵFactoryDeclaration<DragAndDropListItemComponent, never>;
31
30
  static ɵcmp: i0.ɵɵComponentDeclaration<DragAndDropListItemComponent, "lx-drag-and-drop-list-item", never, { "item": { "alias": "item"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, { "action": "action"; }, ["customTemplateRef"], never, true, never>;
@@ -68,8 +68,6 @@ export declare class DragAndDropListComponent implements AfterContentInit, After
68
68
  /** @internal */
69
69
  dropToIndexAfterArrowKey(item: any, previousIndex: number, currentIndex: number): void;
70
70
  private sortItems;
71
- /** @internal */
72
- trackByItem(_index: number, item: DragAndDropListItemComponent): string;
73
71
  static ɵfac: i0.ɵɵFactoryDeclaration<DragAndDropListComponent, never>;
74
72
  static ɵcmp: i0.ɵɵComponentDeclaration<DragAndDropListComponent, "lx-drag-and-drop-list", never, { "label": { "alias": "label"; "required": false; }; "labelFontWeight": { "alias": "labelFontWeight"; "required": false; }; "color": { "alias": "color"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; }, { "moveToIndex": "moveToIndex"; "moveItem": "moveItem"; }, ["_items"], never, true, never>;
75
73
  }
@@ -3,7 +3,10 @@ import { KeyboardSelectDirective } from '../keyboard-select.directive';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ExpandedDropdownComponent extends KeyboardSelectDirective implements AfterViewInit {
5
5
  readonly NAME = "BasicDropdownComponent";
6
- options: any[];
6
+ options: {
7
+ id: string;
8
+ name: string;
9
+ }[];
7
10
  onChooseItem: EventEmitter<string>;
8
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ExpandedDropdownComponent, never>;
9
12
  static ɵcmp: i0.ɵɵComponentDeclaration<ExpandedDropdownComponent, "lx-expanded-dropdown", never, { "options": { "alias": "options"; "required": false; }; }, { "onChooseItem": "onChooseItem"; }, never, never, true, never>;
@@ -26,7 +26,7 @@ export declare class PillListComponent extends KeyboardSelectDirective implement
26
26
  ngAfterViewInit(): void;
27
27
  removePill(event: MultiSelectRemoveItemEvent): void;
28
28
  removePillViaKeyboard(pill: any): void;
29
- trackByProp(prop?: string): (index: number, pill: any) => any;
29
+ trackByProp(index: number, pill: any): any;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<PillListComponent, never>;
31
31
  static ɵcmp: i0.ɵɵComponentDeclaration<PillListComponent, "lx-pill-list", never, { "pills": { "alias": "pills"; "required": false; }; "labelKey": { "alias": "labelKey"; "required": false; }; "itemKey": { "alias": "itemKey"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "remove": "remove"; }, ["pillTemplate", "contentItems"], never, true, never>;
32
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.4.543",
3
+ "version": "0.4.545",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {