ecabs-components 1.0.85 → 1.0.86

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,5 +1,5 @@
1
1
  import { OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
- import { MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
3
  import { ThemePalette } from '@angular/material/core';
4
4
  import { Observable } from 'rxjs';
5
5
  import { UnsubscribeService } from '../base/services/unsubscribe.service';
@@ -1,11 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ecabs-dialog-confirm.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/legacy-dialog";
4
+ import * as i3 from "@angular/material/dialog";
5
5
  import * as i4 from "../ecabs-buttons/ecabs-buttons.module";
6
6
  import * as i5 from "@angular/material/icon";
7
7
  export declare class EcabsDialogConfirmModule {
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDialogConfirmModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsDialogConfirmModule, [typeof i1.EcabsDialogConfirmComponent], [typeof i2.CommonModule, typeof i3.MatLegacyDialogModule, typeof i4.EcabsButtonsModule, typeof i5.MatIconModule], never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsDialogConfirmModule, [typeof i1.EcabsDialogConfirmComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.EcabsButtonsModule, typeof i5.MatIconModule], never>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsDialogConfirmModule>;
11
11
  }
@@ -1,5 +1,5 @@
1
1
  import { OnDestroy } from '@angular/core';
2
- import { MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
3
  import { ThemePalette } from '@angular/material/core';
4
4
  import { Observable } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
@@ -1,11 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ecabs-dialog-message.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/legacy-dialog";
4
+ import * as i3 from "@angular/material/dialog";
5
5
  import * as i4 from "../ecabs-buttons/ecabs-buttons.module";
6
6
  import * as i5 from "@angular/material/icon";
7
7
  export declare class EcabsDialogMessageModule {
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDialogMessageModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsDialogMessageModule, [typeof i1.EcabsDialogMessageComponent], [typeof i2.CommonModule, typeof i3.MatLegacyDialogModule, typeof i4.EcabsButtonsModule, typeof i5.MatIconModule], never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsDialogMessageModule, [typeof i1.EcabsDialogMessageComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.EcabsButtonsModule, typeof i5.MatIconModule], never>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsDialogMessageModule>;
11
11
  }
@@ -1,7 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
- export declare class NoteComponent {
2
+ export declare class EcabsNoteComponent {
3
3
  type: 'default' | 'danger' | 'warn' | 'success';
4
4
  get classByType(): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<NoteComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<NoteComponent, "ecabs-note", never, { "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], false, never>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsNoteComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsNoteComponent, "ecabs-note", never, { "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], false, never>;
7
7
  }
@@ -2,8 +2,8 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ecabs-note.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/material/icon";
5
- export declare class NoteModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<NoteModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<NoteModule, [typeof i1.NoteComponent], [typeof i2.CommonModule, typeof i3.MatIconModule], [typeof i1.NoteComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<NoteModule>;
5
+ export declare class EcabsNoteModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsNoteModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsNoteModule, [typeof i1.EcabsNoteComponent], [typeof i2.CommonModule, typeof i3.MatIconModule], [typeof i1.EcabsNoteComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<EcabsNoteModule>;
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecabs-components",
3
- "version": "1.0.85",
3
+ "version": "1.0.86",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.12",
6
6
  "@angular/common": "^16.2.12",
@@ -15,7 +15,7 @@
15
15
  @extend .chip--warn;
16
16
  }
17
17
 
18
- &.chip--danger, &.inactive {
18
+ &.chip--danger, &.inactive, &.expired {
19
19
  @extend .chip--danger;
20
20
  }
21
21
 
@@ -1,16 +1,26 @@
1
+ .mat-mdc-dialog-container {
2
+ .mdc-dialog__container {
3
+ .mdc-dialog__title {
4
+ @extend .dialog__title;
1
5
 
2
- .mat-mdc-dialog-title {
3
- @extend .dialog__title;
4
- }
6
+ &::before {
7
+ height: unset;
8
+ }
9
+ }
5
10
 
6
- .dialog--maps .mat-mdc-dialog-container {
7
- @extend .dialog--maps;
8
- }
11
+ .mdc-dialog__actions {
12
+ padding: calc-rem(0 24px 24px);
13
+ justify-content: end !important;
14
+ }
9
15
 
10
- .mat-mdc-dialog-actions {
11
- justify-content: end !important;
16
+ .mdc-dialog__content {
17
+ color: var(--color-black);
18
+ overflow: unset;
19
+ }
20
+ }
12
21
  }
13
22
 
14
- .mat-dialog-content {
15
- overflow: unset !important;
23
+ .dialog--maps .mdc-dialog__container {
24
+ @extend .dialog--maps;
16
25
  }
26
+
@@ -27,6 +27,10 @@
27
27
  }
28
28
  }
29
29
 
30
+ .mat-mdc-select-placeholder {
31
+ color: rgba(0, 0, 0, 0.42) !important;
32
+ }
33
+
30
34
  &-panel-wrap {
31
35
  .mat-mdc-select-panel,
32
36
  .mat-mdc-select-panel:not([class*='mat-elevation-z']) {
@@ -4,6 +4,7 @@
4
4
 
5
5
  font-weight: $font-weight-semibold;
6
6
  color: var(--color-brand-dark);
7
+ line-height: $base-line-height;
7
8
  }
8
9
 
9
10
  @include m(maps) {
@@ -48,5 +48,5 @@
48
48
  --color-allocation-sick: #E7EFFF;
49
49
  --color-allocation-no-show: #EAE5FF;
50
50
  --color-allocation-unavailable: #F2F2F2;
51
- --cropper-outline-color : rgba(0, 0, 0, 0.5);
51
+ --cropper-outline-color: rgba(0, 0, 0, 0.5);
52
52
  }