@foxeltech/angular-ui 0.0.8 → 0.0.10

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
@@ -521,7 +521,6 @@ declare class InputComponent extends FxComponent<string> implements AfterViewIni
521
521
  };
522
522
  required: string | boolean;
523
523
  disabled: boolean;
524
- iconClass?: string;
525
524
  suffixIcon?: string;
526
525
  class?: any;
527
526
  maxlength?: number;
@@ -541,7 +540,7 @@ declare class InputComponent extends FxComponent<string> implements AfterViewIni
541
540
  onSuffixClick(): void;
542
541
  get displayType(): string;
543
542
  static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
544
- static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "fx-ui-input", never, { "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; }; "class": { "alias": "class"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "validateFn": { "alias": "validateFn"; "required": false; }; }, { "blurred": "blurred"; "focused": "focused"; "suffixClick": "suffixClick"; }, never, never, false, never>;
543
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "fx-ui-input", never, { "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; }; "class": { "alias": "class"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "validateFn": { "alias": "validateFn"; "required": false; }; }, { "blurred": "blurred"; "focused": "focused"; "suffixClick": "suffixClick"; }, never, never, false, never>;
545
544
  }
546
545
 
547
546
  declare class SelectComponent extends FxComponent<string | string[]> implements AfterViewInit, OnInit {
@@ -1040,6 +1039,7 @@ declare class DrawerComponent implements OnInit, OnDestroy {
1040
1039
  items: DrawerItem[];
1041
1040
  isExpanded: boolean;
1042
1041
  logo?: string;
1042
+ version?: string;
1043
1043
  toggleExpanded: EventEmitter<boolean>;
1044
1044
  itemClicked: EventEmitter<DrawerItem>;
1045
1045
  expandedItems: Set<string>;
@@ -1058,7 +1058,7 @@ declare class DrawerComponent implements OnInit, OnDestroy {
1058
1058
  getAccordionState(itemId: string): string;
1059
1059
  getDrawerState(): string;
1060
1060
  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>;
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; }; "version": { "alias": "version"; "required": false; }; }, { "toggleExpanded": "toggleExpanded"; "itemClicked": "itemClicked"; }, never, never, false, never>;
1062
1062
  }
1063
1063
 
1064
1064
  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.10",
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 -->
@@ -33,11 +33,17 @@
33
33
  [disabled]="disabled"
34
34
  >
35
35
  @if (type === 'password') {
36
- <i class="material-symbols-outlined text-lg select-none">{{
37
- showPassword ? 'visibility_off' : 'visibility'
38
- }}</i>
36
+ <fx-ui-hero-icon
37
+ [icon]="showPassword ? 'eye-slash' : 'eye'"
38
+ [size]="18"
39
+ class="text-text-primary"
40
+ ></fx-ui-hero-icon>
39
41
  } @else if (suffixIcon) {
40
- <i [class]="iconClass" class="text-lg select-none">{{ suffixIcon }}</i>
42
+ <fx-ui-hero-icon
43
+ [icon]="suffixIcon"
44
+ [size]="18"
45
+ class="text-text-primary"
46
+ ></fx-ui-hero-icon>
41
47
  }
42
48
  </button>
43
49
  }