@villedemontreal/angular-ui 16.0.8 → 16.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/esm2022/lib/dropdown-menu/dropdown-menu.component.mjs +8 -7
- package/esm2022/lib/hyperlink/hyperlink.component.mjs +10 -1
- package/esm2022/lib/message-bar/index.mjs +8 -0
- package/esm2022/lib/message-bar/message-bar.component.mjs +87 -0
- package/esm2022/lib/message-bar/module.mjs +26 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/villedemontreal-angular-ui.mjs +125 -7
- package/fesm2022/villedemontreal-angular-ui.mjs.map +1 -1
- package/lib/dropdown-menu/dropdown-menu.component.d.ts +1 -2
- package/lib/hyperlink/hyperlink.component.d.ts +1 -0
- package/lib/message-bar/index.d.ts +2 -0
- package/lib/message-bar/message-bar.component.d.ts +28 -0
- package/lib/message-bar/module.d.ts +11 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -82,7 +82,7 @@ export declare class BaoDropdownMenuComponent implements AfterContentInit, After
|
|
|
82
82
|
tabKeyEvent(): void;
|
|
83
83
|
tabUpKeyEvent(): void;
|
|
84
84
|
/** Prevents focus to be lost when SHIFT + TAB has reached beginning of menu */
|
|
85
|
-
shiftTabKeyEvent(): void;
|
|
85
|
+
shiftTabKeyEvent(event: KeyboardEvent): void;
|
|
86
86
|
ngAfterViewInit(): void;
|
|
87
87
|
ngAfterContentInit(): void;
|
|
88
88
|
open(): void;
|
|
@@ -112,7 +112,6 @@ export declare class BaoDropdownMenuTrigger implements AfterViewInit, OnDestroy
|
|
|
112
112
|
menu: BaoDropdownMenuComponent | null;
|
|
113
113
|
private _overlayRef;
|
|
114
114
|
private _isMenuOpen;
|
|
115
|
-
private animationDelay;
|
|
116
115
|
constructor(renderer: Renderer2, elementRef: ElementRef<HTMLElement>, overlay: Overlay);
|
|
117
116
|
get nativeElement(): HTMLElement;
|
|
118
117
|
escapeKeyEvent(): void;
|
|
@@ -10,6 +10,7 @@ export declare class BaoHyperlinkComponent implements AfterViewInit {
|
|
|
10
10
|
constructor(renderer: Renderer2, elementRef: ElementRef<HTMLElement>);
|
|
11
11
|
get nativeElement(): HTMLElement;
|
|
12
12
|
ngAfterViewInit(): void;
|
|
13
|
+
private addTabIndex;
|
|
13
14
|
private setIcon;
|
|
14
15
|
private addIconClass;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoHyperlinkComponent, never>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges, ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* The BaoMessageBarContent directive is used within the <bao-message-bar>
|
|
5
|
+
* It ensures consistency in text formatting and spacing.
|
|
6
|
+
*
|
|
7
|
+
* This directive is purely visual and does not provide any additional behaviors.
|
|
8
|
+
*/
|
|
9
|
+
export declare class BaoMessageBarContent {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaoMessageBarContent, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoMessageBarContent, "bao-message-content", never, {}, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
13
|
+
export declare class BaoMessageBarComponent implements OnChanges {
|
|
14
|
+
private elementRef;
|
|
15
|
+
type: 'info' | 'alert' | 'urgent' | 'neutral';
|
|
16
|
+
dismissible: boolean;
|
|
17
|
+
dismissibleButtonAriaLabel: string;
|
|
18
|
+
dismiss: EventEmitter<void>;
|
|
19
|
+
iconType: string;
|
|
20
|
+
iconTitle: string;
|
|
21
|
+
constructor(elementRef: ElementRef);
|
|
22
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
+
onDismissClicked(): void;
|
|
24
|
+
private getIconType;
|
|
25
|
+
private getIconTitle;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaoMessageBarComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoMessageBarComponent, "bao-message-bar", never, { "type": { "alias": "type"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "dismissibleButtonAriaLabel": { "alias": "dismissibleButtonAriaLabel"; "required": false; }; }, { "dismiss": "dismiss"; }, never, ["*"], false, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./message-bar.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../icon/module";
|
|
5
|
+
import * as i4 from "../button/module";
|
|
6
|
+
import * as i5 from "../hyperlink/module";
|
|
7
|
+
export declare class BaoMessageBarModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaoMessageBarModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BaoMessageBarModule, [typeof i1.BaoMessageBarComponent, typeof i1.BaoMessageBarContent], [typeof i2.CommonModule, typeof i3.BaoIconModule, typeof i4.BaoButtonModule, typeof i5.BaoHyperlinkModule], [typeof i1.BaoMessageBarComponent, typeof i1.BaoMessageBarContent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BaoMessageBarModule>;
|
|
11
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED