desy-angular 5.0.0 → 5.0.1

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.
@@ -1,6 +1,6 @@
1
- import { EventEmitter, TemplateRef, OnChanges, SimpleChanges, ElementRef, OnInit } from '@angular/core';
1
+ import { EventEmitter, TemplateRef, ElementRef, OnInit } from '@angular/core';
2
2
  import { AccessibilityAndContentRequiredComponent } from '../../../shared/components';
3
- export declare class DropdownComponent extends AccessibilityAndContentRequiredComponent implements OnChanges, OnInit {
3
+ export declare class DropdownComponent extends AccessibilityAndContentRequiredComponent implements OnInit {
4
4
  static readonly KEY_CODE_ESC = "Escape";
5
5
  dropdownContent: ElementRef;
6
6
  id: string;
@@ -11,14 +11,11 @@ export declare class DropdownComponent extends AccessibilityAndContentRequiredCo
11
11
  classes: string;
12
12
  caller: TemplateRef<any>;
13
13
  clickEvent: EventEmitter<any>;
14
- show: boolean;
14
+ isOpen: boolean;
15
15
  clickOutsideEnabled: boolean;
16
16
  tippyProperties: any;
17
17
  ngOnInit(): any;
18
- ngOnChanges(changes: SimpleChanges): void;
19
18
  onClick(event: any): void;
20
- toggleDropdown(): void;
21
- closeDropdown(): void;
19
+ setOpen(isOpen: boolean): void;
22
20
  isDisabled(): boolean;
23
- onKeyDown(event: KeyboardEvent): void;
24
21
  }
@@ -1,8 +1,4 @@
1
- import { OnInit, TemplateRef } from '@angular/core';
2
- export declare class ListboxLabelComponent implements OnInit {
1
+ import { ContentBaseComponent } from '../../../../shared/components';
2
+ export declare class ListboxLabelComponent extends ContentBaseComponent {
3
3
  classes: string;
4
- content: TemplateRef<any>;
5
- private isInit;
6
- ngOnInit(): void;
7
- getContent(): TemplateRef<any>;
8
4
  }
@@ -27,7 +27,7 @@ export declare class ListboxComponent extends AccessibilityAndTextOrHtmlRequired
27
27
  activeItemChange: EventEmitter<any>;
28
28
  tippyProperties: any;
29
29
  currentFocusIndex: number;
30
- buttonContent: string;
30
+ buttonContentHtml: string;
31
31
  isListVisible: boolean;
32
32
  lastActiveItems: {
33
33
  item: ListboxItemData;
@@ -50,5 +50,4 @@ export declare class ListboxComponent extends AccessibilityAndTextOrHtmlRequired
50
50
  getItemId(item: ListboxItemData, index: number): string;
51
51
  hasLabel(): boolean;
52
52
  getLabelContent(label: ListboxLabelData): string;
53
- isButtonContentHtml(): boolean;
54
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "desy-angular",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "Desy Angular contains the code you need to start building your Angular app for Gobierno de Aragón.",
5
5
  "engines": {
6
6
  "node": "^12.18.0"