@villedemontreal/angular-ui 14.3.1 → 14.4.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/esm2020/lib/dropdown-menu/dropdown-menu.component.mjs +5 -7
- package/esm2020/lib/hyperlink/hyperlink.component.mjs +10 -1
- package/esm2020/lib/message-bar/index.mjs +8 -0
- package/esm2020/lib/message-bar/message-bar.component.mjs +87 -0
- package/esm2020/lib/message-bar/module.mjs +26 -0
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/villedemontreal-angular-ui.mjs +122 -7
- package/fesm2015/villedemontreal-angular-ui.mjs.map +1 -1
- package/fesm2020/villedemontreal-angular-ui.mjs +122 -7
- package/fesm2020/villedemontreal-angular-ui.mjs.map +1 -1
- package/lib/dropdown-menu/dropdown-menu.component.d.ts +1 -0
- 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
|
@@ -112,6 +112,7 @@ export declare class BaoDropdownMenuTrigger implements AfterViewInit, OnDestroy
|
|
|
112
112
|
menu: BaoDropdownMenuComponent | null;
|
|
113
113
|
private _overlayRef;
|
|
114
114
|
private _isMenuOpen;
|
|
115
|
+
private animationDelay;
|
|
115
116
|
constructor(renderer: Renderer2, elementRef: ElementRef<HTMLElement>, overlay: Overlay);
|
|
116
117
|
get nativeElement(): HTMLElement;
|
|
117
118
|
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>;
|
|
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": "type"; "dismissible": "dismissible"; "dismissibleButtonAriaLabel": "dismissibleButtonAriaLabel"; }, { "dismiss": "dismiss"; }, never, ["*"], false>;
|
|
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