@foxeltech/angular-ui 0.0.8 → 0.0.9

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/index.d.ts CHANGED
@@ -1040,6 +1040,7 @@ declare class DrawerComponent implements OnInit, OnDestroy {
1040
1040
  items: DrawerItem[];
1041
1041
  isExpanded: boolean;
1042
1042
  logo?: string;
1043
+ version?: string;
1043
1044
  toggleExpanded: EventEmitter<boolean>;
1044
1045
  itemClicked: EventEmitter<DrawerItem>;
1045
1046
  expandedItems: Set<string>;
@@ -1058,7 +1059,7 @@ declare class DrawerComponent implements OnInit, OnDestroy {
1058
1059
  getAccordionState(itemId: string): string;
1059
1060
  getDrawerState(): string;
1060
1061
  static ɵfac: i0.ɵɵFactoryDeclaration<DrawerComponent, never>;
1061
- static ɵcmp: i0.ɵɵComponentDeclaration<DrawerComponent, "fx-ui-drawer", never, { "items": { "alias": "items"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; }, { "toggleExpanded": "toggleExpanded"; "itemClicked": "itemClicked"; }, never, never, false, never>;
1062
+ static ɵcmp: i0.ɵɵComponentDeclaration<DrawerComponent, "fx-ui-drawer", never, { "items": { "alias": "items"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "version": { "alias": "version"; "required": false; }; }, { "toggleExpanded": "toggleExpanded"; "itemClicked": "itemClicked"; }, never, never, false, never>;
1062
1063
  }
1063
1064
 
1064
1065
  declare class ConfirmationDialogComponent {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foxeltech/angular-ui",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "license": "MIT",
5
5
  "main": "bundles/ui.umd.js",
6
6
  "module": "fesm2022/foxeltech-angular-ui.mjs",
@@ -23,6 +23,12 @@
23
23
  ></ng-container>
24
24
  </ng-container>
25
25
  </nav>
26
+
27
+ <!-- Version -->
28
+ <div *ngIf="version" class="drawer-version" [matTooltip]="!isExpanded ? version : ''" matTooltipPosition="right">
29
+ <span *ngIf="isExpanded">{{ version }}</span>
30
+ <span *ngIf="!isExpanded" class="drawer-version-dot"></span>
31
+ </div>
26
32
  </div>
27
33
 
28
34
  <!-- Floating Toggle Button on right border -->