@elderbyte/ngx-starter 19.1.19 → 19.1.21

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.
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
1
+ import { ChangeDetectorRef, OnDestroy, OnInit, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core';
2
2
  import { ElderShellService } from '../elder-shell.service';
3
3
  import { MatSidenav } from '@angular/material/sidenav';
4
4
  import { ElderRouteOutletDrawerService } from '../drawers/elder-route-outlet-drawer.service';
@@ -34,6 +34,7 @@ export declare class ElderShellComponent implements OnInit, OnDestroy {
34
34
  private changeDetectorRef;
35
35
  private themeService;
36
36
  private globalDragDropService;
37
+ private renderer;
37
38
  /***************************************************************************
38
39
  * *
39
40
  * Fields *
@@ -63,7 +64,7 @@ export declare class ElderShellComponent implements OnInit, OnDestroy {
63
64
  * Constructor *
64
65
  * *
65
66
  **************************************************************************/
66
- constructor(shellService: ElderShellService, outletDrawerService: ElderRouteOutletDrawerService, changeDetectorRef: ChangeDetectorRef, themeService: ElderThemeService, globalDragDropService: GlobalDragDropService);
67
+ constructor(shellService: ElderShellService, outletDrawerService: ElderRouteOutletDrawerService, changeDetectorRef: ChangeDetectorRef, themeService: ElderThemeService, globalDragDropService: GlobalDragDropService, renderer: Renderer2);
67
68
  /***************************************************************************
68
69
  * *
69
70
  * Life Cycle *
@@ -85,6 +86,7 @@ export declare class ElderShellComponent implements OnInit, OnDestroy {
85
86
  * Public API *
86
87
  * *
87
88
  **************************************************************************/
89
+ blurNavIconFocus(): void;
88
90
  closeLeftSideContent(): void;
89
91
  toggleSideNav(): void;
90
92
  onBackdropClick(event: any): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elderbyte/ngx-starter",
3
- "version": "19.1.19",
3
+ "version": "19.1.21",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^18.0.0 || ^19.0.0",
6
6
  "@angular/common": "^18.0.0 || ^19.0.0",
@@ -1,10 +1,3 @@
1
- .title-icon {
2
- font-size: 42px;
3
- width: 82px;
4
- height: 82px;
5
- padding: 20px;
6
- }
7
-
8
1
  .link-unstyled {
9
2
  text-decoration: none;
10
3
  color: inherit;
@@ -13,3 +6,17 @@
13
6
  .elder-app-header-panel {
14
7
  background-color: var(--md-sys-color-primary);
15
8
  }
9
+
10
+ .service-icon {
11
+ font-size: 42px;
12
+ width: 82px;
13
+ height: 82px;
14
+ padding: 20px;
15
+ color: var(--md-sys-color-on-primary);
16
+ }
17
+
18
+ :host-context(.elder-dark-theme) {
19
+ .service-icon {
20
+ color: var(--md-sys-color-tertiary);
21
+ }
22
+ }
@@ -19,21 +19,15 @@ mat-sidenav-container {
19
19
  overflow: hidden;
20
20
  }
21
21
 
22
- .elder-toolbar-main-nav-button {
23
- &:focus,
24
- &:hover,
25
- &:active {
26
- background-color: rgba(0, 0, 0, 0.07);
27
- }
28
- }
29
22
 
30
23
  .elder-logo-btn {
31
24
  display: flex;
32
- padding: 5px;
33
25
  justify-content: center;
34
26
  align-items: center;
35
- --mdc-icon-button-icon-size: 36px !important;
27
+ padding: 0 !important;
28
+
36
29
  .mat-icon {
30
+ --mdc-icon-button-icon-size: 48px !important;
37
31
  height: var(--mdc-icon-button-icon-size);
38
32
  width: var(--mdc-icon-button-icon-size);
39
33
  }
@@ -56,6 +56,10 @@
56
56
  --elder-main-nav-bg: var(--md-sys-color-surface-container-lowest);
57
57
  --elder-nav-item-height: 54px;
58
58
  --elder-button-horizontal-padding: 19px;
59
+ // --mat-icon-button-state-layer-color: red !important;
60
+ // --mat-icon-button-hover-state-layer-opacity: 0.08;
61
+ // --mat-icon-button-focus-state-layer-opacity: 0.12;
62
+ // --mat-icon-button-pressed-state-layer-opacity: 0.12;
59
63
 
60
64
  // backdrop highlight color
61
65
  --elder-backdrop-highlight-color: rgba(0, 0, 0, 0.1);
@@ -145,6 +149,12 @@
145
149
  --md-sys-color-secondary-fixed: hsl(214, 44%, 89%);
146
150
  //--md-sys-color-primary-container: #a6c7ed;
147
151
  //--md-sys-color-primary: #0b284f;
152
+
153
+ .mat-toolbar.mat-primary {
154
+ --mat-icon-button-hover-state-layer-opacity: 0.24;
155
+ --mat-icon-button-focus-state-layer-opacity: 0.32;
156
+ --mat-icon-button-pressed-state-layer-opacity: 0.36;
157
+ }
148
158
  }
149
159
 
150
160
  // chip colors light