ecabs-components 0.0.15 → 0.0.17

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 (134) hide show
  1. package/esm2020/lib/base/directives/date-mask.directive.mjs +4 -4
  2. package/esm2020/lib/base/directives/date-mask.directive.module.mjs +5 -5
  3. package/esm2020/lib/base/directives/digits-only.directive.mjs +4 -4
  4. package/esm2020/lib/base/directives/digits-only.directive.module.mjs +5 -5
  5. package/esm2020/lib/base/directives/number-border.directive.mjs +4 -4
  6. package/esm2020/lib/base/directives/number-border.directive.module.mjs +5 -5
  7. package/esm2020/lib/base/element-base.mjs +4 -4
  8. package/esm2020/lib/base/element-wrapper/element-wrapper.component.mjs +4 -4
  9. package/esm2020/lib/base/element-wrapper/element-wrapper.module.mjs +5 -5
  10. package/esm2020/lib/base/hint/hint.component.mjs +4 -4
  11. package/esm2020/lib/base/hint/hint.module.mjs +5 -5
  12. package/esm2020/lib/base/validation/validation.component.mjs +4 -4
  13. package/esm2020/lib/base/validation/validation.module.mjs +5 -5
  14. package/esm2020/lib/ecabs-breadcrumb/ecabs-breadcrumb.component.mjs +16 -0
  15. package/esm2020/lib/ecabs-breadcrumb/ecabs-breadcrumb.module.mjs +20 -0
  16. package/esm2020/lib/ecabs-buttons/ecabs-buttons.component.mjs +4 -4
  17. package/esm2020/lib/ecabs-buttons/ecabs-buttons.module.mjs +5 -5
  18. package/esm2020/lib/ecabs-checkbox-toggle/ecabs-checkbox-toggle.component.mjs +6 -6
  19. package/esm2020/lib/ecabs-checkbox-toggle/ecabs-checkbox-toggle.module.mjs +5 -5
  20. package/esm2020/lib/ecabs-date-picker/components/ecabs-date-picker-header/ecabs-date-picker-header.component.mjs +4 -4
  21. package/esm2020/lib/ecabs-date-picker/ecabs-date-picker.component.mjs +4 -4
  22. package/esm2020/lib/ecabs-date-picker/ecabs-date-picker.module.mjs +5 -5
  23. package/esm2020/lib/ecabs-date-time-picker/components/ecabs-date-time-picker-header/ecabs-date-time-picker-header.component.mjs +4 -4
  24. package/esm2020/lib/ecabs-date-time-picker/ecabs-date-time-picker.component.mjs +4 -4
  25. package/esm2020/lib/ecabs-date-time-picker/ecabs-date-time-picker.module.mjs +5 -5
  26. package/esm2020/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.component.mjs +4 -4
  27. package/esm2020/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.module.mjs +5 -5
  28. package/esm2020/lib/ecabs-dialog-message/ecabs-dialog-message.component.mjs +4 -4
  29. package/esm2020/lib/ecabs-dialog-message/ecabs-dialog-message.module.mjs +5 -5
  30. package/esm2020/lib/ecabs-empty-placeholder/ecabs-empty-placeholder.component.mjs +4 -4
  31. package/esm2020/lib/ecabs-empty-placeholder/ecabs-empty-placeholder.module.mjs +5 -5
  32. package/esm2020/lib/ecabs-expansion-panel/ecabs-expansion-panel.component.mjs +4 -4
  33. package/esm2020/lib/ecabs-expansion-panel/ecabs-expansion-panel.module.mjs +5 -5
  34. package/esm2020/lib/ecabs-increment/ecabs-increment.component.mjs +6 -6
  35. package/esm2020/lib/ecabs-increment/ecabs-increment.module.mjs +5 -5
  36. package/esm2020/lib/ecabs-input/ecabs-input.component.mjs +4 -4
  37. package/esm2020/lib/ecabs-input/ecabs-input.module.mjs +5 -5
  38. package/esm2020/lib/ecabs-language-selector/ecabs-language-selector.component.mjs +57 -0
  39. package/esm2020/lib/ecabs-language-selector/ecabs-language-selector.module.mjs +35 -0
  40. package/esm2020/lib/ecabs-loading/ecabs-loading.component.mjs +4 -4
  41. package/esm2020/lib/ecabs-loading/ecabs-loading.module.mjs +5 -5
  42. package/esm2020/lib/ecabs-loading/spinner/spinner.component.mjs +4 -4
  43. package/esm2020/lib/ecabs-note/ecabs-note.component.mjs +4 -4
  44. package/esm2020/lib/ecabs-note/ecabs-note.module.mjs +5 -5
  45. package/esm2020/lib/ecabs-phone/ecabs-phone.component.mjs +4 -4
  46. package/esm2020/lib/ecabs-phone/ecabs-phone.module.mjs +5 -5
  47. package/esm2020/lib/ecabs-picker-header/ecabs-picker-header.component.mjs +5 -5
  48. package/esm2020/lib/ecabs-picker-header/ecabs-picker-header.module.mjs +5 -5
  49. package/esm2020/lib/ecabs-radio-button-list/ecabs-radio-button-list.component.mjs +4 -4
  50. package/esm2020/lib/ecabs-radio-button-list/ecabs-radio-button-list.module.mjs +5 -5
  51. package/esm2020/lib/ecabs-select/ecabs-select.component.mjs +4 -4
  52. package/esm2020/lib/ecabs-select/ecabs-select.module.mjs +5 -5
  53. package/esm2020/lib/ecabs-table/ecabs-table-filter-wrapper/ecabs-table-filter-wrapper.component.mjs +4 -4
  54. package/esm2020/lib/ecabs-table/ecabs-table-filter-wrapper/ecabs-table-filter-wrapper.module.mjs +5 -5
  55. package/esm2020/lib/ecabs-table/ecabs-table.component.mjs +4 -4
  56. package/esm2020/lib/ecabs-table/ecabs-table.module.mjs +5 -5
  57. package/esm2020/lib/ecabs-textarea/ecabs-textarea.component.mjs +4 -4
  58. package/esm2020/lib/ecabs-textarea/ecabs-textarea.module.mjs +5 -5
  59. package/esm2020/lib/ecabs-timepicker/componets/ecabs-time-list-panel/ecabs-time-list-panel.component.mjs +4 -4
  60. package/esm2020/lib/ecabs-timepicker/ecabs-timepicker.component.mjs +4 -4
  61. package/esm2020/lib/ecabs-timepicker/ecabs-timepicker.module.mjs +5 -5
  62. package/esm2020/lib/ecabs-timepicker/ecabs-timepicker.service.mjs +4 -4
  63. package/esm2020/lib/models/bread-crumb.mjs +2 -0
  64. package/esm2020/lib/models/language.models.mjs +2 -0
  65. package/esm2020/lib/services/ecabs-components.service.mjs +4 -4
  66. package/esm2020/public-api.mjs +5 -1
  67. package/fesm2015/ecabs-components.mjs +313 -209
  68. package/fesm2015/ecabs-components.mjs.map +1 -1
  69. package/fesm2020/ecabs-components.mjs +312 -209
  70. package/fesm2020/ecabs-components.mjs.map +1 -1
  71. package/lib/ecabs-breadcrumb/ecabs-breadcrumb.component.d.ts +7 -0
  72. package/lib/ecabs-breadcrumb/ecabs-breadcrumb.module.d.ts +10 -0
  73. package/lib/ecabs-language-selector/ecabs-language-selector.component.d.ts +19 -0
  74. package/lib/ecabs-language-selector/ecabs-language-selector.module.d.ts +11 -0
  75. package/lib/models/bread-crumb.d.ts +5 -0
  76. package/lib/models/language.models.d.ts +4 -0
  77. package/package.json +2 -1
  78. package/public-api.d.ts +4 -0
  79. package/styles/material/_theme.scss +0 -99
  80. package/styles/material/overrides/_autocomplete.scss +0 -11
  81. package/styles/material/overrides/_button.scss +0 -81
  82. package/styles/material/overrides/_card.scss +0 -17
  83. package/styles/material/overrides/_chip.scss +0 -108
  84. package/styles/material/overrides/_datepicker.scss +0 -169
  85. package/styles/material/overrides/_dialog.scss +0 -8
  86. package/styles/material/overrides/_divider.scss +0 -3
  87. package/styles/material/overrides/_expansion.scss +0 -31
  88. package/styles/material/overrides/_form.scss +0 -47
  89. package/styles/material/overrides/_icon.scss +0 -3
  90. package/styles/material/overrides/_menu.scss +0 -3
  91. package/styles/material/overrides/_paginator.scss +0 -0
  92. package/styles/material/overrides/_phone.scss +0 -24
  93. package/styles/material/overrides/_select.scss +0 -36
  94. package/styles/material/overrides/_tab.scss +0 -23
  95. package/styles/material/overrides/_table.scss +0 -12
  96. package/styles/material/overrides/_toaster.scss +0 -38
  97. package/styles/material/overrides/_toggle.scss +0 -10
  98. package/styles/material/overrides/_tooltip.scss +0 -3
  99. package/styles/material/overrides/index.scss +0 -19
  100. package/styles/scss/base/_heading.scss +0 -17
  101. package/styles/scss/base/_normalize.scss +0 -78
  102. package/styles/scss/base/index.scss +0 -2
  103. package/styles/scss/modules/_autocomplete.scss +0 -29
  104. package/styles/scss/modules/_button.scss +0 -281
  105. package/styles/scss/modules/_card.scss +0 -23
  106. package/styles/scss/modules/_chip.scss +0 -56
  107. package/styles/scss/modules/_datepicker.scss +0 -422
  108. package/styles/scss/modules/_dialog.scss +0 -14
  109. package/styles/scss/modules/_divider.scss +0 -3
  110. package/styles/scss/modules/_form.scss +0 -221
  111. package/styles/scss/modules/_icon.scss +0 -30
  112. package/styles/scss/modules/_img.scss +0 -32
  113. package/styles/scss/modules/_legend.scss +0 -64
  114. package/styles/scss/modules/_list.scss +0 -17
  115. package/styles/scss/modules/_map.scss +0 -112
  116. package/styles/scss/modules/_percentage.scss +0 -33
  117. package/styles/scss/modules/_phone.scss +0 -23
  118. package/styles/scss/modules/_select.scss +0 -37
  119. package/styles/scss/modules/_statuses.scss +0 -31
  120. package/styles/scss/modules/_tab.scss +0 -16
  121. package/styles/scss/modules/_table.scss +0 -107
  122. package/styles/scss/modules/_timepicker.scss +0 -96
  123. package/styles/scss/modules/_toaster.scss +0 -53
  124. package/styles/scss/modules/_tooltip.scss +0 -7
  125. package/styles/scss/modules/drag-drop.scss +0 -31
  126. package/styles/scss/modules/index.scss +0 -23
  127. package/styles/scss/utilities/_colors.scss +0 -52
  128. package/styles/scss/utilities/_fonts.scss +0 -26
  129. package/styles/scss/utilities/_functions.scss +0 -27
  130. package/styles/scss/utilities/_helpers.scss +0 -5
  131. package/styles/scss/utilities/_mixins.scss +0 -65
  132. package/styles/scss/utilities/_variables.scss +0 -19
  133. package/styles/scss/utilities/index.scss +0 -6
  134. package/styles/styles.scss +0 -5
@@ -0,0 +1,7 @@
1
+ import { BreadCrumb } from '../models/bread-crumb';
2
+ import * as i0 from "@angular/core";
3
+ export declare class EcabsBreadcrumbComponent {
4
+ breadCrumb: BreadCrumb[];
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsBreadcrumbComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsBreadcrumbComponent, "ecabs-breadcrumb", never, { "breadCrumb": "breadCrumb"; }, {}, never, never, false>;
7
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ecabs-breadcrumb.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/icon";
5
+ import * as i4 from "@angular/router";
6
+ export declare class EcabsBreadcrumbModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsBreadcrumbModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsBreadcrumbModule, [typeof i1.EcabsBreadcrumbComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.RouterModule], [typeof i1.EcabsBreadcrumbComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<EcabsBreadcrumbModule>;
10
+ }
@@ -0,0 +1,19 @@
1
+ import { EventEmitter, OnChanges } from '@angular/core';
2
+ import { StandardLocale } from '../models/language.models';
3
+ import * as i0 from "@angular/core";
4
+ export declare class EcabsLanguageSelectorComponent implements OnChanges {
5
+ languages: StandardLocale[];
6
+ currentLanguage: string;
7
+ showLabelTitle: boolean;
8
+ languageChanged: EventEmitter<StandardLocale>;
9
+ selectedLang: string;
10
+ get panelClass(): string;
11
+ ngOnChanges(): void;
12
+ toggleLang(): void;
13
+ matchSelected(): StandardLocale;
14
+ standardLang(code: string): string;
15
+ flagClass(lang: string): string;
16
+ private standardise;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsLanguageSelectorComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsLanguageSelectorComponent, "ecabs-language-selector", never, { "languages": "languages"; "currentLanguage": "currentLanguage"; "showLabelTitle": "showLabelTitle"; }, { "languageChanged": "languageChanged"; }, never, never, false>;
19
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ecabs-language-selector.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/select";
5
+ import * as i4 from "@angular/material/form-field";
6
+ import * as i5 from "@angular/forms";
7
+ export declare class EcabsLanguageSelectorModule {
8
+ 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 ɵinj: i0.ɵɵInjectorDeclaration<EcabsLanguageSelectorModule>;
11
+ }
@@ -0,0 +1,5 @@
1
+ export interface BreadCrumb {
2
+ title: string;
3
+ url?: string;
4
+ icon?: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ export interface StandardLocale {
2
+ iso_code: string;
3
+ locale: string;
4
+ }
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "ecabs-components",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.2.0",
6
6
  "@angular/core": "^14.2.0",
7
7
  "@angular/cdk": "~13.0.0-next.7+89.sha-a662737",
8
8
  "@angular/material": "~13.0.0-next.7+89.sha-a662737",
9
+ "flag-icons": "^6.7.0",
9
10
  "ngx-mat-intl-tel-input": "^5.0.0",
10
11
  "ngx-mat-select-search": "^4.2.1"
11
12
  },
package/public-api.d.ts CHANGED
@@ -44,3 +44,7 @@ export * from './lib/ecabs-dialog-confirm/ecabs-dialog-confirm.component';
44
44
  export * from './lib/ecabs-dialog-confirm/ecabs-dialog-confirm.module';
45
45
  export * from './lib/ecabs-dialog-message/ecabs-dialog-message.component';
46
46
  export * from './lib/ecabs-dialog-message/ecabs-dialog-message.module';
47
+ export * from './lib/ecabs-breadcrumb/ecabs-breadcrumb.component';
48
+ export * from './lib/ecabs-breadcrumb/ecabs-breadcrumb.module';
49
+ export * from './lib/ecabs-language-selector/ecabs-language-selector.component';
50
+ export * from './lib/ecabs-language-selector/ecabs-language-selector.module';
@@ -1,99 +0,0 @@
1
- // Custom Theming for Angular Material
2
- // For more information: https://material.angular.io/guide/theming
3
- @import '@angular/material/theming';
4
-
5
- // Plus imports for other components in your app.
6
- @import '../scss/utilities/index';
7
- @import './overrides/index';
8
-
9
- // Include the common styles for Angular Material. We include this here so that you only
10
- // have to load a single css file for Angular Material in your app.
11
- // Be sure that you only ever include this mixin once!
12
- @include mat-core();
13
-
14
- $mat-primary: (
15
- 100: var(--color-brand-dark),
16
- 700: var(--color-brand-dark),
17
- A700: var(--color-brand-dark),
18
- contrast: (
19
- A700: $light-primary-text,
20
- ),
21
- );
22
-
23
- $mat-accent: (
24
- A700: var(--color-brand-light),
25
- contrast: (
26
- A700: $light-primary-text,
27
- ),
28
- );
29
-
30
- $mat-secondary: (
31
- 100: var(--color-brand-dark),
32
- 700: var(--color-brand-dark),
33
- A700: var(--color-brand-dark),
34
- contrast: (
35
- A700: $light-primary-text,
36
- ),
37
- );
38
-
39
- $mat-warning: (
40
- 100: var(--color-error),
41
- 500: var(--color-error),
42
- 700: var(--color-error),
43
- A700: var(--color-error),
44
- contrast: (
45
- A700: $light-primary-text,
46
- ),
47
- );
48
-
49
- // Define the palettes for your theme using the Material Design palettes available in palette.scss
50
- // (imported above). For each palette, you can optionally specify a default, lighter, and darker
51
- // hue. Available color palettes: https://material.io/design/color/
52
- $cuorium-primary: mat-palette($mat-primary, A700);
53
- $cuorium-accent: mat-palette($mat-secondary, A700);
54
-
55
- // The warn palette is optional (defaults to red).
56
- $cuorium-warn: mat-palette($mat-warning);
57
-
58
- // Create the theme object. A theme consists of configurations for individual
59
- // theming systems such as "color" or "typography".
60
- $cuorium-theme: mat-light-theme(
61
- (
62
- color: (
63
- primary: $cuorium-primary,
64
- accent: $cuorium-accent,
65
- warn: $cuorium-warn,
66
- ),
67
- )
68
- );
69
-
70
- // Include theme styles for core and each component used in your app.
71
- // Alternatively, you can import and @include the theme mixins for each component
72
- // that you are using.
73
- @include angular-material-theme($cuorium-theme);
74
-
75
- // Define a custom typography config that overrides the font-family as well as the
76
- // `headlines` and `body-1` levels.
77
- $custom-typography: mat-typography-config(
78
- $font-family: $font-family-primary,
79
- $body-1: mat-typography-level($font-size-base, $base-line-height, $font-weight-regular),
80
- $input: mat-typography-level($font-size-base, $base-line-height, $font-weight-regular),
81
- $headline: mat-typography-level($font-heading-lg, $base-line-height, $font-weight-medium),
82
- $title: mat-typography-level($font-heading-base, $base-line-height, $font-weight-medium),
83
- $subheading-2: mat-typography-level($font-heading-md, $base-line-height, $font-weight-medium),
84
- $subheading-1: mat-typography-level($font-heading-sm, $base-line-height, $font-weight-medium),
85
- );
86
-
87
- @include angular-material-typography($custom-typography);
88
-
89
- .mat-body p,
90
- .mat-body-1 p,
91
- .mat-typography p {
92
- margin: inherit;
93
- }
94
-
95
- mat-progress-bar {
96
- .mat-progress-bar-buffer {
97
- background-color: var(--color-brand-300) !important;
98
- }
99
- }
@@ -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,
2
- a {
3
- &.mat-button,
4
- &.mat-stroked-button,
5
- &.mat-raised-button,
6
- &.mat-flat-button {
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
- &.mat-button.mat-primary,
20
- &.mat-flat-button.mat-primary {
21
- @extend .btn__primary;
22
- }
23
-
24
- &.mat-stroked-button.mat-primary {
25
- @extend .btn__primary--outline;
26
-
27
- border: 0;
28
- }
29
-
30
- &.mat-button.mat-accent,
31
- &.mat-flat-button.mat-accent {
32
- @extend .btn__secondary;
33
- }
34
-
35
- &.mat-stroked-button.mat-accent {
36
- @extend .btn__secondary--outline;
37
-
38
- border: 0;
39
- }
40
-
41
- &.mat-button.mat-warn {
42
- @extend .btn__warn;
43
- }
44
-
45
- &.mat-button.mat-success {
46
- @extend .btn__success;
47
- }
48
-
49
- &.mat-stroked-button.mat-warn {
50
- @extend .btn__warn--outline;
51
-
52
- border: 0;
53
- }
54
-
55
- &.mat-stroked-button.mat-success {
56
- @extend .btn__success--outline;
57
-
58
- border: 0;
59
- }
60
-
61
- &.mat-button.mat-button-disabled {
62
- @extend .btn__disabled;
63
- }
64
-
65
- &.mat-stroked-button.mat-button-disabled {
66
- @extend .btn__disabled--outline;
67
- }
68
-
69
- .mat-button-wrapper {
70
- @extend .btn__with-icon--wrapper;
71
- }
72
-
73
- &.mat-icon-button .mat-button-wrapper .mat-icon {
74
- margin-right: 0;
75
- }
76
-
77
- &.mat-button.mat-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,8 +0,0 @@
1
-
2
- .mat-dialog-title {
3
- @extend .dialog__title;
4
- }
5
-
6
- .dialog--maps .mat-dialog-container {
7
- @extend .dialog--maps;
8
- }
@@ -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
- }
@@ -1,47 +0,0 @@
1
- .mat-form-field {
2
- display: block !important;
3
- .mat-form-field-wrapper {
4
- padding: 0;
5
- .mat-form-field-flex {
6
- padding: 0;
7
- }
8
- .mat-form-field-infix {
9
- padding: 0;
10
- border: 0;
11
- }
12
- }
13
- &-underline {
14
- display: none;
15
- }
16
-
17
- &-disabled {
18
- .mat-input-element {
19
- @extend .form-field__input--disabled;
20
- }
21
- }
22
-
23
- &-label {
24
- @extend .form-field__label;
25
- }
26
-
27
- &-invalid {
28
- .mat-input-element,
29
- mat-error,
30
- mat-date-range-input {
31
- @extend .form-field__input--invalid;
32
- }
33
- }
34
-
35
- &-suffix,
36
- [matsuffix] {
37
- @extend .form-field__input--suffix;
38
- }
39
-
40
- .mat-input-element {
41
- @extend .form-field__input;
42
- }
43
-
44
- .mat-form-field-subscript-wrapper {
45
- margin-top: 0;
46
- }
47
- }
@@ -1,3 +0,0 @@
1
- mat-icon {
2
- @extend .icon;
3
- }
@@ -1,3 +0,0 @@
1
- .mat-menu-panel.mat-elevation-z4 {
2
- box-shadow: $box-shadow-default;
3
- }
File without changes