ecabs-components 1.0.14 → 1.0.15

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.
Files changed (79) hide show
  1. package/esm2020/lib/ecabs-checkbox-toggle/ecabs-checkbox-toggle.component.mjs +2 -2
  2. package/esm2020/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.component.mjs +24 -6
  3. package/esm2020/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.module.mjs +8 -8
  4. package/esm2020/lib/ecabs-dialog-message/ecabs-dialog-message.component.mjs +21 -3
  5. package/esm2020/lib/ecabs-increment/ecabs-increment.component.mjs +2 -2
  6. package/esm2020/lib/ecabs-language-selector/ecabs-language-selector.component.mjs +8 -3
  7. package/esm2020/lib/ecabs-language-selector/ecabs-language-selector.module.mjs +8 -4
  8. package/esm2020/lib/ecabs-picker-header/ecabs-picker-header.component.mjs +2 -2
  9. package/esm2020/lib/ecabs-select/ecabs-select.component.mjs +34 -111
  10. package/fesm2015/ecabs-components.mjs +101 -137
  11. package/fesm2015/ecabs-components.mjs.map +1 -1
  12. package/fesm2020/ecabs-components.mjs +99 -135
  13. package/fesm2020/ecabs-components.mjs.map +1 -1
  14. package/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.component.d.ts +9 -4
  15. package/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.module.d.ts +4 -4
  16. package/lib/ecabs-dialog-message/ecabs-dialog-message.component.d.ts +7 -1
  17. package/lib/ecabs-language-selector/ecabs-language-selector.component.d.ts +3 -1
  18. package/lib/ecabs-language-selector/ecabs-language-selector.module.d.ts +2 -1
  19. package/lib/ecabs-select/ecabs-select.component.d.ts +2 -12
  20. package/package.json +1 -1
  21. package/styles/material/_theme.scss +0 -74
  22. package/styles/material/overrides/_autocomplete.scss +0 -11
  23. package/styles/material/overrides/_button.scss +0 -81
  24. package/styles/material/overrides/_card.scss +0 -17
  25. package/styles/material/overrides/_chip.scss +0 -108
  26. package/styles/material/overrides/_datepicker.scss +0 -169
  27. package/styles/material/overrides/_dialog.scss +0 -12
  28. package/styles/material/overrides/_divider.scss +0 -3
  29. package/styles/material/overrides/_expansion.scss +0 -31
  30. package/styles/material/overrides/_form.scss +0 -144
  31. package/styles/material/overrides/_icon.scss +0 -3
  32. package/styles/material/overrides/_menu.scss +0 -3
  33. package/styles/material/overrides/_paginator.scss +0 -0
  34. package/styles/material/overrides/_phone.scss +0 -32
  35. package/styles/material/overrides/_select.scss +0 -62
  36. package/styles/material/overrides/_tab.scss +0 -23
  37. package/styles/material/overrides/_table.scss +0 -12
  38. package/styles/material/overrides/_toaster.scss +0 -38
  39. package/styles/material/overrides/_toggle.scss +0 -15
  40. package/styles/material/overrides/_toolbar.scss +0 -3
  41. package/styles/material/overrides/_tooltip.scss +0 -3
  42. package/styles/material/overrides/index.scss +0 -20
  43. package/styles/scss/base/_heading.scss +0 -17
  44. package/styles/scss/base/_normalize.scss +0 -78
  45. package/styles/scss/base/index.scss +0 -2
  46. package/styles/scss/modules/_autocomplete.scss +0 -29
  47. package/styles/scss/modules/_button.scss +0 -221
  48. package/styles/scss/modules/_card.scss +0 -23
  49. package/styles/scss/modules/_chip.scss +0 -56
  50. package/styles/scss/modules/_datepicker.scss +0 -426
  51. package/styles/scss/modules/_dialog.scss +0 -14
  52. package/styles/scss/modules/_divider.scss +0 -3
  53. package/styles/scss/modules/_form.scss +0 -233
  54. package/styles/scss/modules/_icon.scss +0 -30
  55. package/styles/scss/modules/_img.scss +0 -32
  56. package/styles/scss/modules/_legend.scss +0 -64
  57. package/styles/scss/modules/_list.scss +0 -17
  58. package/styles/scss/modules/_map.scss +0 -112
  59. package/styles/scss/modules/_percentage.scss +0 -33
  60. package/styles/scss/modules/_phone.scss +0 -29
  61. package/styles/scss/modules/_select.scss +0 -41
  62. package/styles/scss/modules/_statuses.scss +0 -31
  63. package/styles/scss/modules/_tab.scss +0 -16
  64. package/styles/scss/modules/_table.scss +0 -107
  65. package/styles/scss/modules/_timepicker.scss +0 -96
  66. package/styles/scss/modules/_toaster.scss +0 -53
  67. package/styles/scss/modules/_tooltip.scss +0 -7
  68. package/styles/scss/modules/drag-drop.scss +0 -31
  69. package/styles/scss/modules/index.scss +0 -23
  70. package/styles/scss/utilities/_colors.scss +0 -52
  71. package/styles/scss/utilities/_fonts.scss +0 -26
  72. package/styles/scss/utilities/_functions.scss +0 -27
  73. package/styles/scss/utilities/_helpers.scss +0 -5
  74. package/styles/scss/utilities/_mixins.scss +0 -65
  75. package/styles/scss/utilities/_palettes.scss +0 -74
  76. package/styles/scss/utilities/_variables.scss +0 -19
  77. package/styles/scss/utilities/index.scss +0 -7
  78. package/styles/styles.scss +0 -5
  79. package/styles/tailwind/index.scss +0 -756
@@ -1,17 +1,21 @@
1
- import { OnInit, TemplateRef } from '@angular/core';
1
+ import { OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
3
  import { ThemePalette } from '@angular/material/core';
4
+ import { Observable } from 'rxjs';
4
5
  import * as i0 from "@angular/core";
5
- export declare class DialogConfirmComponent implements OnInit {
6
+ export declare class EcabsDialogConfirmComponent implements OnInit, OnDestroy {
6
7
  dialogRef: MatDialogRef<DialogConfirmComponentConfig>;
7
8
  data: DialogConfirmComponentConfig;
9
+ private destroy$;
8
10
  message: string;
9
11
  color: ThemePalette;
10
12
  titleColor: ThemePalette;
11
13
  constructor(dialogRef: MatDialogRef<DialogConfirmComponentConfig>, data: DialogConfirmComponentConfig);
12
14
  ngOnInit(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogConfirmComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogConfirmComponent, "ecabs-dialog-confirm", never, {}, {}, never, never, false>;
15
+ ngOnDestroy(): void;
16
+ closeDialog(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDialogConfirmComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsDialogConfirmComponent, "ecabs-dialog-confirm", never, {}, {}, never, never, false>;
15
19
  }
16
20
  export interface DialogConfirmComponentConfig {
17
21
  title?: string;
@@ -23,4 +27,5 @@ export interface DialogConfirmComponentConfig {
23
27
  isPopover?: boolean;
24
28
  width?: string;
25
29
  content?: string;
30
+ loading$?: Observable<boolean>;
26
31
  }
@@ -4,8 +4,8 @@ import * as i2 from "@angular/common";
4
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
- export declare class DialogConfirmModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogConfirmModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<DialogConfirmModule, [typeof i1.DialogConfirmComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.EcabsButtonsModule, typeof i5.MatIconModule], never>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<DialogConfirmModule>;
7
+ export declare class EcabsDialogConfirmModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDialogConfirmModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsDialogConfirmModule, [typeof i1.EcabsDialogConfirmComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.EcabsButtonsModule, typeof i5.MatIconModule], never>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<EcabsDialogConfirmModule>;
11
11
  }
@@ -1,13 +1,18 @@
1
+ import { OnDestroy } from '@angular/core';
1
2
  import { MatDialogRef } from '@angular/material/dialog';
2
3
  import { ThemePalette } from '@angular/material/core';
4
+ import { Observable } from 'rxjs';
3
5
  import * as i0 from "@angular/core";
4
- export declare class EcabsDialogMessageComponent {
6
+ export declare class EcabsDialogMessageComponent implements OnDestroy {
5
7
  dialogRef: MatDialogRef<EcabsDialogMessageComponentConfig>;
6
8
  data: EcabsDialogMessageComponentConfig;
7
9
  message: string;
8
10
  color: ThemePalette;
9
11
  titleColor: string;
12
+ private destroy$;
10
13
  constructor(dialogRef: MatDialogRef<EcabsDialogMessageComponentConfig>, data: EcabsDialogMessageComponentConfig);
14
+ ngOnDestroy(): void;
15
+ closeDialog(): void;
11
16
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDialogMessageComponent, never>;
12
17
  static ɵcmp: i0.ɵɵComponentDeclaration<EcabsDialogMessageComponent, "ecabs-dialog-message", never, {}, {}, never, never, false>;
13
18
  }
@@ -19,4 +24,5 @@ export interface EcabsDialogMessageComponentConfig {
19
24
  confirmLabel?: string;
20
25
  isPopover?: boolean;
21
26
  isButtonBlock?: boolean;
27
+ loading$?: Observable<boolean>;
22
28
  }
@@ -4,6 +4,8 @@ export declare class EcabsLanguageSelectorComponent implements OnChanges {
4
4
  languages: string[];
5
5
  currentLanguage: string;
6
6
  showLabelTitle: boolean;
7
+ flagOnly: boolean;
8
+ tooltip: string;
7
9
  languageChanged: EventEmitter<string>;
8
10
  selectedLang: string;
9
11
  get panelClass(): string;
@@ -14,5 +16,5 @@ export declare class EcabsLanguageSelectorComponent implements OnChanges {
14
16
  flagClass(lang: string): string;
15
17
  private standardise;
16
18
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsLanguageSelectorComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<EcabsLanguageSelectorComponent, "ecabs-language-selector", never, { "languages": "languages"; "currentLanguage": "currentLanguage"; "showLabelTitle": "showLabelTitle"; }, { "languageChanged": "languageChanged"; }, never, never, false>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsLanguageSelectorComponent, "ecabs-language-selector", never, { "languages": "languages"; "currentLanguage": "currentLanguage"; "showLabelTitle": "showLabelTitle"; "flagOnly": "flagOnly"; "tooltip": "tooltip"; }, { "languageChanged": "languageChanged"; }, never, never, false>;
18
20
  }
@@ -4,8 +4,9 @@ import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/material/select";
5
5
  import * as i4 from "@angular/material/form-field";
6
6
  import * as i5 from "@angular/forms";
7
+ import * as i6 from "@angular/material/tooltip";
7
8
  export declare class EcabsLanguageSelectorModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsLanguageSelectorModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsLanguageSelectorModule, [typeof i1.EcabsLanguageSelectorComponent], [typeof i2.CommonModule, typeof i3.MatSelectModule, typeof i4.MatFormFieldModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule], [typeof i1.EcabsLanguageSelectorComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsLanguageSelectorModule, [typeof i1.EcabsLanguageSelectorComponent], [typeof i2.CommonModule, typeof i3.MatSelectModule, typeof i4.MatFormFieldModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.MatTooltipModule], [typeof i1.EcabsLanguageSelectorComponent]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsLanguageSelectorModule>;
11
12
  }
@@ -2,7 +2,7 @@ import { AfterViewInit, ChangeDetectorRef, EventEmitter, Injector, OnChanges, On
2
2
  import { UntypedFormControl } from '@angular/forms';
3
3
  import { MatOption } from '@angular/material/core';
4
4
  import { MatSelectSearchComponent } from 'ngx-mat-select-search';
5
- import { BehaviorSubject, Subscription } from 'rxjs';
5
+ import { ReplaySubject, Subscription } from 'rxjs';
6
6
  import ElementBaseComponent from '../base/element-base';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class EcabsSelectComponent extends ElementBaseComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy {
@@ -30,21 +30,13 @@ export declare class EcabsSelectComponent extends ElementBaseComponent implement
30
30
  allSelected: MatOption;
31
31
  matSelectSearchComponent: MatSelectSearchComponent;
32
32
  val: any;
33
- filteredItems$: BehaviorSubject<{
33
+ filteredItems$: ReplaySubject<{
34
34
  label: string;
35
35
  value: any;
36
36
  }[]>;
37
37
  itemFilterCtrl: UntypedFormControl;
38
38
  isClearAll: boolean;
39
39
  showFilteredAllOption: boolean;
40
- selectedItems: {
41
- label: string;
42
- value: any;
43
- }[];
44
- notSelectedItems: {
45
- label: string;
46
- value: any;
47
- }[];
48
40
  subscriptions: Subscription;
49
41
  get value(): any;
50
42
  set value(val: any);
@@ -56,7 +48,6 @@ export declare class EcabsSelectComponent extends ElementBaseComponent implement
56
48
  onTouch: any;
57
49
  toggleAllSelection(): void;
58
50
  togglePerOne(): void;
59
- toggleNone(): void;
60
51
  getAllSelectedChecked(): boolean;
61
52
  getLabel(val: any): string;
62
53
  writeValue(value: any): void;
@@ -65,7 +56,6 @@ export declare class EcabsSelectComponent extends ElementBaseComponent implement
65
56
  ngOnDestroy(): void;
66
57
  onSelectionChanged($event: any): void;
67
58
  private filterItems;
68
- private setSelectedItems;
69
59
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsSelectComponent, never>;
70
60
  static ɵcmp: i0.ɵɵComponentDeclaration<EcabsSelectComponent, "ecabs-select", never, { "items": "items"; "multiple": "multiple"; "useNoneOption": "useNoneOption"; "useOnlyDisabledClass": "useOnlyDisabledClass"; "searchFieldPlaceholder": "searchFieldPlaceholder"; "useSearchOption": "useSearchOption"; "useSelectAllOption": "useSelectAllOption"; "setAllOptionAfterChosenAllItems": "setAllOptionAfterChosenAllItems"; "selectAllValue": "selectAllValue"; "noEntriesFoundLabel": "noEntriesFoundLabel"; "noneLabel": "noneLabel"; "allLabel": "allLabel"; "otherLabel": "otherLabel"; "othersLabel": "othersLabel"; }, { "updateFilterItems": "updateFilterItems"; "selectionChange": "selectionChange"; }, never, never, false>;
71
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecabs-components",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.0.4",
6
6
  "@angular/core": "^16.0.4",
@@ -1,74 +0,0 @@
1
- // Custom Theming for Angular Material
2
- // For more information: https://material.angular.io/guide/theming
3
- @use '@angular/material' as mat;
4
- // Include the common styles for Angular Material. We include this here so that you only
5
- // have to load a single css file for Angular Material in your app.
6
- // Be sure that you only ever include this mixin once!
7
- @include mat.core();
8
- // Plus imports for other components in your app.
9
- @import '../scss/utilities/index';
10
- @import './overrides/index';
11
- @import '../scss/utilities/palettes';
12
-
13
- // Define a custom typography config that overrides the font-family as well as the
14
- // `headlines` and `body-1` levels.
15
- $custom-typography: mat.define-typography-config(
16
- $font-family: $font-family-primary,
17
- $body-1: mat.define-typography-level(
18
- $font-size-base,
19
- $base-line-height,
20
- $font-weight-regular,
21
- $letter-spacing: normal,
22
- $font-family: $font-family-primary,
23
- ),
24
- $button: mat.define-typography-level(
25
- $font-size-base,
26
- $letter-spacing: normal,
27
- ),
28
- $body-2: mat.define-typography-level(
29
- $font-size-base,
30
- $base-line-height,
31
- $font-weight-regular,
32
- $letter-spacing: normal,
33
- $font-family: $font-family-primary,
34
- )
35
- );
36
-
37
-
38
- // Define the palettes for your theme using the Material Design palettes available in palette.scss
39
- // (imported above). For each palette, you can optionally specify a default, lighter, and darker
40
- // hue. Available color palettes: https://material.io/design/color/
41
- $cuorium-primary: mat.define-palette($brand-palette-primary, 700);
42
- $cuorium-accent: mat.define-palette($brand-palette-accent, 500);
43
-
44
- // The warn palette is optional (defaults to red).
45
- $cuorium-warn: mat.define-palette($brand-palette-warn);
46
-
47
- // Create the theme object. A theme consists of configurations for individual
48
- // theming systems such as "color" or "typography".
49
- $cuorium-theme: mat.define-light-theme((
50
- color: (
51
- primary: $cuorium-primary,
52
- accent: $cuorium-accent,
53
- warn: $cuorium-warn,
54
- ),
55
- typography: $custom-typography
56
- ));
57
-
58
-
59
- // Include theme styles for core and each component used in your app.
60
- // Alternatively, you can import and @include the theme mixins for each component
61
- // that you are using.
62
- @include mat.all-component-themes($cuorium-theme);
63
-
64
- .mat-body p,
65
- .mat-body-1 p,
66
- .mat-typography p {
67
- margin: inherit;
68
- }
69
-
70
- mat-progress-bar {
71
- .mat-progress-bar-buffer {
72
- background-color: var(--color-brand-300) !important;
73
- }
74
- }
@@ -1,11 +0,0 @@
1
- .mat-autocomplete-panel {
2
- margin-top: 0.2rem;
3
-
4
- &, &.mat-autocomplete-panel:not([class*=mat-elevation-z]) {
5
- @extend .autocomplete-ui;
6
- }
7
-
8
- .mat-option {
9
- @extend .autocomplete-ui--item;
10
- }
11
- }
@@ -1,81 +0,0 @@
1
- button.mdc-button,
2
- a {
3
- &.mdc-button,
4
- &.mdc-button--outlined,
5
- &.mdc-button--raised,
6
- &.mdc-button--unelevated {
7
- @extend .btn;
8
-
9
- &.btn__group--item,
10
- &.btn {
11
- @extend .btn__group--item;
12
- }
13
-
14
- .mat-icon {
15
- color: inherit;
16
- }
17
- }
18
-
19
- &.mdc-button.mat-primary,
20
- &.mdc-button--unelevated.mat-primary {
21
- @extend .btn__primary;
22
- }
23
-
24
- &.mdc-button--outlined.mat-primary {
25
- @extend .btn__primary--outline;
26
-
27
- border: 0;
28
- }
29
-
30
- &.mat-mdc-button.mat-accent,
31
- &.mdc-button--unelevated.mat-accent {
32
- @extend .btn__secondary;
33
- }
34
-
35
- &.mdc-button--outlined.mat-accent {
36
- @extend .btn__secondary--outline;
37
-
38
- border: 0;
39
- }
40
-
41
- &.mdc-button.mat-warn {
42
- @extend .btn__warn;
43
- }
44
-
45
- &.mdc-button.mat-success {
46
- @extend .btn__success;
47
- }
48
-
49
- &.mdc-button--outlined.mat-warn {
50
- @extend .btn__warn--outline;
51
-
52
- border: 0;
53
- }
54
-
55
- &.mdc-button--outlined.mat-success {
56
- @extend .btn__success--outline;
57
-
58
- border: 0;
59
- }
60
-
61
- &.mdc-button:disabled {
62
- @extend .btn__disabled;
63
- }
64
-
65
- &.mdc-button--outlined:disabled {
66
- @extend .btn__disabled--outline;
67
- }
68
-
69
- .mat-button-wrapper {
70
- @extend .btn__with-icon--wrapper;
71
- }
72
-
73
- &.mat-mdc-icon-button .mat-button-wrapper .mat-icon {
74
- margin-right: 0;
75
- }
76
-
77
- &.mdc-button.mat-mdc-icon-button {
78
- min-width: auto;
79
- padding: calc-rem(8);
80
- }
81
- }
@@ -1,17 +0,0 @@
1
- .mat-card {
2
- &.mat-card:not([class*=mat-elevation-z]) {
3
- @extend .card;
4
- }
5
-
6
- .mat-card-subtitle {
7
- @extend .card--subtitle;
8
- }
9
-
10
- .mat-card-title {
11
- @extend .card--title;
12
- }
13
-
14
- .mat-card-content {
15
- @extend .card__content;
16
- }
17
- }
@@ -1,108 +0,0 @@
1
- .mat-chip {
2
- &,
3
- &.mat-standard-chip {
4
- @extend .chip;
5
-
6
- &.chip--info {
7
- @extend .chip--info;
8
- }
9
-
10
- &.chip--success {
11
- @extend .chip--success;
12
- }
13
-
14
- &.chip--warn {
15
- @extend .chip--warn;
16
- }
17
-
18
- &.chip--danger {
19
- @extend .chip--danger;
20
- }
21
-
22
- &.chip--selected {
23
- @extend .chip--selected;
24
- }
25
-
26
- &.chip--not-selected {
27
- @extend .chip--not-selected;
28
- }
29
-
30
- &.accepted {
31
- @extend .accepted;
32
- }
33
-
34
- &.cab_arrived_at_dropoff, &.cashed_in {
35
- @extend .cab_arrived_at_dropoff;
36
- }
37
-
38
- &.cab_arrived_at_intermediary_waypoint {
39
- @extend .cab_arrived_at_intermediary_waypoint;
40
- }
41
-
42
- &.cab_arrived_at_pickup {
43
- @extend .cab_arrived_at_pickup;
44
- }
45
-
46
- &.cancelled {
47
- @extend .cancelled;
48
- }
49
-
50
- &.completed {
51
- @extend .completed;
52
- }
53
-
54
- &.dispatched {
55
- @extend .dispatched;
56
- }
57
-
58
- &.dropped_off {
59
- @extend .dropped_off;
60
- }
61
-
62
- &.no_show {
63
- @extend .no_show;
64
- }
65
-
66
- &.pending {
67
- @extend .pending;
68
- }
69
-
70
- &.rejected, &.suspended,
71
- &.cancelled, &.sick, &.no_show, &.unable_to_complete, &.unavailable, {
72
- @extend .rejected;
73
- }
74
-
75
- &.reserved, &.scheduled, &.ended {
76
- @extend .reserved;
77
- }
78
-
79
- &.trip_ended {
80
- @extend .trip_ended;
81
- }
82
-
83
- &.trip_ongoing {
84
- @extend .trip_ongoing;
85
- }
86
-
87
- &.trip_started, &.started {
88
- @extend .trip_started;
89
- }
90
-
91
- &[ng-reflect-disable-ripple] {
92
- &::after {
93
- background: transparent;
94
- }
95
- }
96
- }
97
-
98
- .mat-icon {
99
- &,
100
- &:hover {
101
- color: inherit;
102
- }
103
- }
104
- }
105
-
106
- .mat-chip.mat-standard-chip[ng-reflect-disable-ripple]:not(.mat-chip-disabled):active {
107
- box-shadow: none;
108
- }
@@ -1,169 +0,0 @@
1
- @import "../../scss/utilities/index.scss";
2
-
3
- .header {
4
- display: flex;
5
- align-items: center;
6
- padding: 0.5em;
7
- }
8
-
9
- .header-label {
10
- flex: 1;
11
- height: 1em;
12
- font-weight: 500;
13
- text-align: center;
14
- }
15
-
16
- .select-date-label {
17
- color: var(--color-brand-dark);
18
- padding-top: 1.6rem;
19
- padding-left: 1.6rem;
20
- }
21
-
22
- .text-xl {
23
- font-size: 1.25rem;
24
- line-height: 1.75rem;
25
- }
26
-
27
- .font-semibold {
28
- font-weight: 600;
29
- }
30
-
31
- .grid-picker-actions {
32
- display: grid;
33
- grid-template-columns: repeat(2, minmax(0, 1fr));
34
- gap: 1rem;
35
- margin-right: 0.5rem;
36
- }
37
-
38
- .ml-0 {
39
- margin-left: 0rem;
40
- }
41
-
42
- .w-full {
43
- width: 100% !important;
44
- }
45
-
46
- .mat-calendar-table {
47
- .mat-calendar-body {
48
- tr:first-child[aria-hidden='true'] {
49
- display: none;
50
- }
51
- }
52
- }
53
-
54
- .mat-datepicker-toggle {
55
- padding-top: 0.75rem;
56
- margin-left: -2.25rem;
57
- }
58
-
59
- .mat-calendar-body-label {
60
- visibility: hidden;
61
- }
62
-
63
- .mat-calendar-body-cell-content {
64
- border-radius: 0.25rem !important;
65
- }
66
-
67
- .mat-calendar-body-active {
68
- .mat-calendar-body-today {
69
- color: var(--color-brand-light) !important;
70
- background-color: var(--color-brand-light2) !important;
71
- }
72
- }
73
-
74
- .mat-calendar {
75
- .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover {
76
- > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
77
- background-color: var(--color-brand-light2);
78
- color: var(--color-black);
79
- }
80
- }
81
-
82
- .mat-calendar-body-cell.mat-calendar-body-active {
83
- &, &:hover {
84
- .mat-calendar-body-cell-content.mat-calendar-body-selected {
85
- background-color: var(--color-brand-light) !important;
86
- color: var(--color-white) !important;
87
- }
88
- }
89
- }
90
-
91
- .mat-calendar-body-selected {
92
- background-color: var(--color-brand-light);
93
- color: var(--color-white) !important;
94
-
95
- .mat-calendar-body-today {
96
- color: var(--color-white) !important;
97
- }
98
- }
99
-
100
- .mat-calendar-table-header,
101
- .mat-calendar-body-label {
102
- color: var(--color-gray-500);
103
- }
104
-
105
- .mat-calendar-body-cell > .mat-calendar-body-today {
106
- opacity: 1;
107
- }
108
-
109
- .mat-calendar-body-cell-container:hover .mat-calendar-body-cell.mat-calendar-body-disabled {
110
- .mat-calendar-body-cell-content {
111
- background-color: transparent !important;
112
- }
113
- }
114
-
115
- .mat-calendar-body-cell-content,
116
- .mat-date-range-input-separator {
117
- color: var(--color-black);
118
- }
119
-
120
- .mat-calendar-content {
121
- padding: 0 1.6rem;
122
- }
123
-
124
- .mat-calendar-table-header th {
125
- @include fontSize(16px);
126
- }
127
-
128
- .mat-calendar-table-header-divider::after {
129
- display: none;
130
- }
131
-
132
- .mat-calendar-body {
133
- @include fontSize(16px);
134
- }
135
-
136
- .mat-calendar-body-in-range {
137
- &::before {
138
- background-color: var(--color-brand-light2);
139
- }
140
-
141
- .mat-calendar-body-cell-content {
142
- color: var(--color-black) !important;
143
- }
144
- }
145
-
146
- .mat-calendar-body-range-start, .mat-calendar-body-range-end {
147
- .mat-calendar-body-cell-content {
148
- color: var(--color-white) !important;
149
- }
150
- }
151
- }
152
-
153
- .mat-datepicker-popup {
154
- .mat-datepicker-content {
155
- color: var(--color-black);
156
- box-shadow: $box-shadow-large;
157
- }
158
-
159
- .mat-datepicker-actions {
160
- margin-top: 1rem;
161
- padding: 0 1.6rem 1.6rem 1.6rem;
162
- }
163
-
164
- .mat-calendar-body-disabled {
165
- > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
166
- color: var(--color-gray-300);
167
- }
168
- }
169
- }
@@ -1,12 +0,0 @@
1
-
2
- .mat-mdc-dialog-title {
3
- @extend .dialog__title;
4
- }
5
-
6
- .dialog--maps .mat-mdc-dialog-container {
7
- @extend .dialog--maps;
8
- }
9
-
10
- .mat-mdc-dialog-actions {
11
- justify-content: end !important;
12
- }
@@ -1,3 +0,0 @@
1
- .mat-divider {
2
- @extend .divider;
3
- }
@@ -1,31 +0,0 @@
1
- .example-headers-align .mat-expansion-panel-header-title {
2
- @include fontSize($font-heading-xs);
3
-
4
- color: var(--color-brand-dark);
5
- font-weight: $font-weight-semibold;
6
- line-height: 32px;
7
- white-space: nowrap;
8
- }
9
-
10
- .mat-accordion {
11
- .mat-expansion-panel {
12
- padding: calc-rem(24 24 0 24);
13
-
14
- .mat-expansion-panel-header {
15
- padding: calc-rem(0 0 24 0);
16
-
17
- &:hover {
18
- background: unset !important;
19
- }
20
- }
21
-
22
- .mat-expansion-panel-body {
23
- padding: calc-rem(0 0 16 0);
24
- }
25
- }
26
-
27
- .mat-expansion-panel:not([class*=mat-elevation-z]) {
28
- box-shadow: $box-shadow-default;
29
- }
30
-
31
- }