@villedemontreal/angular-ui 16.0.9 → 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.
@@ -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,2 @@
1
+ export * from './message-bar.component';
2
+ export * from './module';
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@villedemontreal/angular-ui",
3
- "version": "16.0.9",
3
+ "version": "16.1.0",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0"
6
6
  },
package/public-api.d.ts CHANGED
@@ -21,3 +21,4 @@ export * from './lib/dropdown-menu';
21
21
  export * from './lib/file';
22
22
  export * from './lib/snack-bar';
23
23
  export * from './lib/system-header';
24
+ export * from './lib/message-bar';