ecabs-components 2.0.0-alpha.5 → 2.0.0-alpha.7

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 (104) hide show
  1. package/README.md +136 -85
  2. package/fesm2022/ecabs-components.mjs +3074 -1095
  3. package/fesm2022/ecabs-components.mjs.map +1 -1
  4. package/lib/base/consts/buttons.consts.d.ts +2 -0
  5. package/lib/base/consts/input.consts.d.ts +1 -0
  6. package/lib/base/directives/date-mask.directive.d.ts +6 -7
  7. package/lib/base/directives/digits-only.directive.d.ts +13 -2
  8. package/lib/base/directives/time-mask.directive.d.ts +2 -3
  9. package/lib/base/directives/time-range.directive.d.ts +1 -2
  10. package/lib/base/models/element.models.d.ts +0 -5
  11. package/lib/base/models/phone.models.d.ts +8 -1
  12. package/lib/base/models/select.models.d.ts +6 -2
  13. package/lib/base/models/sidebar.models.d.ts +10 -5
  14. package/lib/base/models/waypoint.models.d.ts +30 -0
  15. package/lib/base/pipes/phone-number-country-code.pipe.d.ts +8 -0
  16. package/lib/base/pipes/separator-append.pipe.d.ts +7 -0
  17. package/lib/base/utils/object-utils.d.ts +1 -0
  18. package/lib/base/utils/phone-number.utils.d.ts +7 -0
  19. package/lib/base/utils/select.utils.d.ts +2 -0
  20. package/lib/base/utils/time-mask.util.d.ts +3 -0
  21. package/lib/ecabs-button-toggle/ecabs-button-toggle.component.d.ts +25 -0
  22. package/lib/ecabs-button-toggle/ecabs-button-toggle.module.d.ts +9 -0
  23. package/lib/ecabs-buttons-v2/ecabs-buttons-v2.component.d.ts +23 -0
  24. package/lib/ecabs-buttons-v2/ecabs-buttons-v2.module.d.ts +11 -0
  25. package/lib/ecabs-checkbox-v2/ecabs-checkbox-v2.component.d.ts +30 -0
  26. package/lib/ecabs-checkbox-v2/ecabs-checkbox-v2.module.d.ts +12 -0
  27. package/lib/ecabs-chip-autocomplete/ecabs-chip-autocomplete.component.d.ts +56 -0
  28. package/lib/ecabs-chip-group/ecabs-chip-group.component.d.ts +24 -0
  29. package/lib/ecabs-chip-group/ecabs-chip-group.module.d.ts +12 -0
  30. package/lib/ecabs-date-range-picker-v2/components/ecabs-date-range-picker-header/ecabs-date-range-picker-header-v2.component.d.ts +9 -0
  31. package/lib/ecabs-date-range-picker-v2/ecabs-date-range-picker-v2.component.d.ts +69 -0
  32. package/lib/ecabs-date-range-picker-v2/ecabs-date-range-picker-v2.module.d.ts +21 -0
  33. package/lib/ecabs-date-time-picker/ecabs-date-time-picker.component.d.ts +4 -2
  34. package/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.component.d.ts +1 -0
  35. package/lib/ecabs-empty-placeholder/ecabs-empty-placeholder.component.d.ts +2 -1
  36. package/lib/ecabs-expansion-panel/ecabs-expansion-panel.component.d.ts +1 -3
  37. package/lib/ecabs-input/ecabs-input.component.d.ts +12 -4
  38. package/lib/ecabs-input-range/ecabs-input-range.component.d.ts +44 -0
  39. package/lib/ecabs-input-range/ecabs-input-range.module.d.ts +13 -0
  40. package/lib/ecabs-phone/ecabs-phone.module.d.ts +5 -4
  41. package/lib/ecabs-place-autocomplete-v2/ecabs-place-autocomplete-v2.component.d.ts +64 -0
  42. package/lib/ecabs-place-autocomplete-v2/ecabs-place-autocomplete-v2.module.d.ts +13 -0
  43. package/lib/ecabs-segment/ecabs-segment.component.d.ts +8 -0
  44. package/lib/ecabs-select/ecabs-select.component.d.ts +7 -13
  45. package/lib/ecabs-select/ecabs-select.module.d.ts +5 -4
  46. package/lib/ecabs-select-icon/ecabs-select-icon.component.d.ts +8 -0
  47. package/lib/ecabs-select-icon/ecabs-select-icon.module.d.ts +9 -0
  48. package/lib/ecabs-select-v2/ecabs-select-v2.component.d.ts +25 -25
  49. package/lib/ecabs-select-v2/ecabs-select-v2.module.d.ts +2 -1
  50. package/lib/ecabs-table/ecabs-table.component.d.ts +4 -1
  51. package/lib/ecabs-time-range-input-v2/config.model.d.ts +5 -0
  52. package/lib/ecabs-time-range-input-v2/ecabs-time-range-input-v2.component.d.ts +52 -0
  53. package/lib/ecabs-time-range-input-v2/ecabs-time-range-input-v2.module.d.ts +11 -0
  54. package/lib/ecabs-time-range-input-v2/ecabs-time-range-input-v2.service.d.ts +12 -0
  55. package/lib/ecabs-timepicker/ecabs-timepicker.component.d.ts +0 -5
  56. package/package.json +15 -14
  57. package/public-api.d.ts +25 -0
  58. package/src/assets/styles/material/_theme.scss +7 -2
  59. package/src/assets/styles/material/overrides/_autocomplete.scss +28 -3
  60. package/src/assets/styles/material/overrides/_button.scss +103 -20
  61. package/src/assets/styles/material/overrides/_card.scss +44 -5
  62. package/src/assets/styles/material/overrides/_chip.scss +125 -11
  63. package/src/assets/styles/material/overrides/_datepicker.scss +24 -2
  64. package/src/assets/styles/material/overrides/_dialog.scss +3 -3
  65. package/src/assets/styles/material/overrides/_divider.scss +5 -4
  66. package/src/assets/styles/material/overrides/_expansion.scss +3 -2
  67. package/src/assets/styles/material/overrides/_form.scss +20 -10
  68. package/src/assets/styles/material/overrides/_icon.scss +7 -3
  69. package/src/assets/styles/material/overrides/_menu.scss +4 -0
  70. package/src/assets/styles/material/overrides/_paginator.scss +13 -11
  71. package/src/assets/styles/material/overrides/_phone.scss +19 -16
  72. package/src/assets/styles/material/overrides/_select.scss +64 -42
  73. package/src/assets/styles/material/overrides/_tab.scss +27 -4
  74. package/src/assets/styles/material/overrides/_table.scss +3 -2
  75. package/src/assets/styles/material/overrides/_toaster.scss +7 -8
  76. package/src/assets/styles/material/overrides/_toggle.scss +11 -2
  77. package/src/assets/styles/material/overrides/_tooltip.scss +3 -4
  78. package/src/assets/styles/scss/base/_heading.scss +1 -1
  79. package/src/assets/styles/scss/base/_normalize.scss +12 -22
  80. package/src/assets/styles/scss/modules/_autocomplete.scss +25 -11
  81. package/src/assets/styles/scss/modules/_button.scss +80 -27
  82. package/src/assets/styles/scss/modules/_card.scss +34 -11
  83. package/src/assets/styles/scss/modules/_chip.scss +25 -13
  84. package/src/assets/styles/scss/modules/_dialog.scss +1 -1
  85. package/src/assets/styles/scss/modules/_divider.scss +2 -1
  86. package/src/assets/styles/scss/modules/_form.scss +174 -26
  87. package/src/assets/styles/scss/modules/_icon.scss +2 -1
  88. package/src/assets/styles/scss/modules/_legend.scss +5 -4
  89. package/src/assets/styles/scss/modules/_list.scss +2 -2
  90. package/src/assets/styles/scss/modules/_map.scss +7 -5
  91. package/src/assets/styles/scss/modules/_phone.scss +10 -13
  92. package/src/assets/styles/scss/modules/_select.scss +6 -5
  93. package/src/assets/styles/scss/modules/_statuses.scss +22 -17
  94. package/src/assets/styles/scss/modules/_table.scss +5 -4
  95. package/src/assets/styles/scss/modules/_timepicker.scss +3 -3
  96. package/src/assets/styles/scss/modules/_tooltip.scss +1 -1
  97. package/src/assets/styles/scss/modules/drag-drop.scss +2 -2
  98. package/src/assets/styles/scss/utilities/_colors.scss +20 -16
  99. package/src/assets/styles/scss/utilities/_fonts.scss +6 -1
  100. package/src/assets/styles/scss/utilities/_mixins.scss +37 -4
  101. package/src/assets/styles/scss/utilities/_variables.scss +14 -0
  102. package/src/assets/styles/styles.scss +4 -26
  103. package/src/assets/styles/tailwind/index.scss +2 -2
  104. package/lib/base/consts/date-mask.consts.d.ts +0 -7
@@ -1,7 +1,8 @@
1
- @use "../../../styles/scss/utilities/helpers";
2
- @use "../../../styles/scss/utilities/mixins";
3
- @use "../../../styles/scss/utilities/fonts";
4
- @use "../../scss/modules";
1
+ @use "../../scss/modules/form";
2
+ @use "../../scss/utilities/helpers";
3
+ @use "../../../styles/scss/utilities/index";
4
+ @use "../../scss/utilities/fonts";
5
+ @use "../../scss/utilities/mixins";
5
6
 
6
7
  .mat-mdc-form-field {
7
8
  display: block !important;
@@ -31,29 +32,29 @@
31
32
 
32
33
  &-disabled {
33
34
  .mat-mdc-input-element {
34
- @extend .form-field__input--disabled !optional;
35
+ @extend .form-field__input--disabled;
35
36
  }
36
37
  }
37
38
 
38
39
  &-label {
39
- @extend .form-field__label !optional;
40
+ @extend .form-field__label;
40
41
  }
41
42
 
42
43
  &-invalid {
43
44
  .mat-mdc-input-element,
44
45
  mat-error,
45
46
  mat-date-range-input {
46
- @extend .form-field__input--invalid !optional;
47
+ @extend .form-field__input--invalid;
47
48
  }
48
49
  }
49
50
 
50
51
  &-suffix,
51
52
  [matsuffix] {
52
- @extend .form-field__input--suffix !optional;
53
+ @extend .form-field__input--suffix;
53
54
  }
54
55
 
55
56
  .mat-mdc-input-element {
56
- @extend .form-field__input !optional;
57
+ @extend .form-field__input;
57
58
  }
58
59
 
59
60
  .mat-form-field-subscript-wrapper {
@@ -70,6 +71,10 @@
70
71
  color: var(--color-black);
71
72
  }
72
73
 
74
+ .mdc-checkbox .mdc-checkbox__native-control:enabled ~ .mdc-checkbox__background .mdc-checkbox__mixedmark {
75
+ border-color: var(--color-white);
76
+ }
77
+
73
78
  .newline-validation .form-field {
74
79
  flex-wrap: wrap;
75
80
 
@@ -78,11 +83,16 @@
78
83
  }
79
84
  }
80
85
 
86
+ ecabs-input.ecabs-input--fluid {
87
+ display: block;
88
+ width: 100%;
89
+ }
90
+
81
91
  .form-field--required {
82
92
  .form-field__label {
83
93
  &:not([class*=mat-slide-toggle-label], [class*=mat-radio-label]) {
84
94
  &:after {
85
- @extend %required !optional;
95
+ @extend %required;
86
96
  }
87
97
  }
88
98
  }
@@ -1,5 +1,9 @@
1
- @use "../../scss/modules";
2
-
1
+ @use "../../scss/modules/icon";
3
2
  mat-icon {
4
- @extend .icon !optional;
3
+ @extend .icon;
4
+ }
5
+
6
+ .mat-mdc-icon-button .mat-icon svg {
7
+ width: 100%;
8
+ height: 100%;
5
9
  }
@@ -4,6 +4,10 @@
4
4
  &.mat-mdc-elevation-specific.mat-elevation-z8 {
5
5
  box-shadow: variables.$box-shadow-default;
6
6
  }
7
+
8
+ &.actions-menu {
9
+ min-width: 180px;
10
+ }
7
11
  }
8
12
 
9
13
  .logout-btn {
@@ -1,6 +1,8 @@
1
- @use "../../scss/utilities/index.scss";
2
- @use "../../../styles/scss/utilities/mixins";
3
- @use "../../../styles/scss/utilities/fonts";
1
+ @use "../../scss/utilities/index";
2
+ @use "../../scss/utilities/fonts";
3
+ @use "../../scss/utilities/functions";
4
+ @use "../../scss/utilities/mixins";
5
+
4
6
 
5
7
  mat-paginator {
6
8
  &.mat-mdc-paginator {
@@ -11,11 +13,11 @@ mat-paginator {
11
13
  @include mixins.fontSize(14px);
12
14
 
13
15
  font-weight: fonts.$font-weight-bold;
14
- margin: calc-rem(0 32px 0 0);
16
+ margin: functions.calc-rem(0 32px 0 0);
15
17
  }
16
18
 
17
19
  .mat-mdc-select-trigger .mat-mdc-select-value {
18
- font-size: calc-rem(14px);
20
+ font-size: functions.calc-rem(14px);
19
21
  }
20
22
 
21
23
 
@@ -24,7 +26,7 @@ mat-paginator {
24
26
  }
25
27
 
26
28
  .mat-mdc-paginator-page-size {
27
- font-size: calc-rem(14px);
29
+ font-size: functions.calc-rem(14px);
28
30
  display: flex;
29
31
  align-items: center
30
32
  }
@@ -37,18 +39,18 @@ mat-paginator {
37
39
  }
38
40
 
39
41
  .mat-mdc-paginator-page-size-label {
40
- margin: calc-rem(0 16px 0 0);
42
+ margin: functions.calc-rem(0 16px 0 0);
41
43
  }
42
44
 
43
45
  .mat-mdc-paginator-range-actions {
44
46
  .mdc-icon-button {
45
- border: 1px solid var(--color-gray-400);
47
+ border: 1px solid var(--color-gray-300);
46
48
  border-radius: 0.25rem;
47
49
  display: flex;
48
50
  justify-content: center;
49
51
  align-items: center;
50
- width: calc-rem(40px);
51
- height: calc-rem(40px);
52
+ width: functions.calc-rem(40px);
53
+ height: functions.calc-rem(40px);
52
54
  line-height: 1;
53
55
  padding: 0;
54
56
 
@@ -72,6 +74,6 @@ mat-paginator {
72
74
  }
73
75
 
74
76
  .mat-mdc-select-value {
75
- @include mixins.fontSize(fonts.$font-size-sm);
77
+ @include mixins.fontSize(fonts.$font-size-md);
76
78
  }
77
79
  }
@@ -1,34 +1,33 @@
1
- @use "../../scss/utilities/index.scss";
2
- @use "../../../styles/scss/utilities/mixins";
3
- @use "../../../styles/scss/utilities/fonts";
4
- @use "../../scss/modules";
1
+ @use "../../scss/modules/form";
2
+ @use "../../scss/modules/phone";
3
+ @use "../../scss/utilities/index";
4
+ @use "../../scss/utilities/fonts";
5
+ @use "../../scss/utilities/functions";
6
+ @use "../../scss/utilities/mixins";
7
+
5
8
 
6
9
  ecabs-phone {
7
- @extend .ecabs-phone !optional;
10
+ @extend .ecabs-phone;
8
11
 
9
12
  .ecabs-tel-input-container {
10
13
  .mat-mdc-input-element {
11
- @extend .ecabs-tel-input-input !optional;
14
+ @extend .ecabs-tel-input-input;
12
15
  }
13
16
 
14
- .iti__flag-container {
15
- @extend .iti__flag-container !optional;
17
+ .country-selector {
18
+ @extend .country-selector;
16
19
 
17
- .selected-dial-code {
20
+ .country-selector-code {
18
21
  padding-right: .2rem;
19
22
  }
20
23
  }
21
-
22
- .iti__tel-input {
23
- width: 100%;
24
- }
25
24
  }
26
25
 
27
26
  .form-field.form-field--invalid {
28
27
  .ecabs-tel-input-container {
29
28
  &,
30
- .iti__flag-container {
31
- @extend .form-field__input--invalid !optional;
29
+ .country-selector {
30
+ @extend .form-field__input--invalid;
32
31
  }
33
32
  }
34
33
  }
@@ -39,7 +38,7 @@ ecabs-phone {
39
38
  border-color: var(--color-gray-300);
40
39
  }
41
40
 
42
- .iti__flag-container:disabled {
41
+ .country-selector:disabled {
43
42
  color: inherit;
44
43
  }
45
44
 
@@ -55,4 +54,8 @@ ecabs-phone {
55
54
 
56
55
  font-weight: fonts.$font-weight-regular;
57
56
  }
57
+
58
+ &.mat-mdc-menu-panel {
59
+ max-width: functions.calc-rem(312px);
60
+ }
58
61
  }
@@ -1,12 +1,15 @@
1
+ @use "../../scss/modules/form";
2
+ @use "../../scss/modules/select";
3
+ @use "../../scss/utilities/index";
1
4
  @use "../../scss/utilities/fonts";
5
+ @use "../../scss/utilities/functions";
2
6
  @use "../../scss/utilities/mixins";
3
7
  @use "../../scss/utilities/variables";
4
- @use "../../scss/utilities/functions";
5
- @use "../../scss/modules";
8
+
6
9
 
7
10
  .mat-mdc-select {
8
- &, &.form-field__select {
9
- @extend .select !optional;
11
+ &, &.form-field__select, {
12
+ @extend .select;
10
13
 
11
14
  .mat-mdc-select-arrow {
12
15
  border-left: 0;
@@ -31,8 +34,13 @@
31
34
  }
32
35
  }
33
36
 
37
+ .mat-mdc-select-value,
38
+ .mat-mdc-select-placeholder {
39
+ line-height: functions.calc-rem(24px);
40
+ }
41
+
34
42
  .mat-mdc-select-placeholder {
35
- color: rgba(0, 0, 0, 0.42) !important;
43
+ @include mixins.fontSize(fonts.$font-size-md);
36
44
  }
37
45
 
38
46
  &-panel.mdc-menu-surface {
@@ -53,7 +61,7 @@
53
61
  .form-field--invalid {
54
62
  .mat-mdc-form-field .mat-mdc-select,
55
63
  .form-field__select.ng-select .ng-select-container {
56
- @extend .form-field--invalid !optional;
64
+ @extend .form-field--invalid;
57
65
  }
58
66
  }
59
67
 
@@ -79,13 +87,21 @@
79
87
  .form-field__select.ng-select {
80
88
  .ng-select-container,
81
89
  [class*="form-field__select ng-select"] .ng-select-container {
82
- @extend .select !optional;
90
+ @extend .select;
83
91
 
84
92
  &:hover {
85
93
  box-shadow: unset;
86
94
  }
87
95
  }
88
96
 
97
+ .ng-value,
98
+ .ng-placeholder {
99
+ // Fixed line-height so the placeholder (14px) and the selected value
100
+ // (16px) occupy the same line box; otherwise the unitless 1.5
101
+ // line-height makes the field grow once a value is selected.
102
+ line-height: functions.calc-rem(24px);
103
+ }
104
+
89
105
  &.ng-select-disabled > .ng-select-container {
90
106
  background-color: var(--color-white-opacity-05);
91
107
  border-color: var(--color-gray-300);
@@ -129,6 +145,8 @@
129
145
 
130
146
  &, &.ng-select-multiple .ng-select-container .ng-value-container {
131
147
  .ng-placeholder {
148
+ @include mixins.fontSize(fonts.$font-size-md);
149
+
132
150
  top: unset;
133
151
  padding-bottom: unset;
134
152
  padding-left: unset;
@@ -137,47 +155,16 @@
137
155
 
138
156
  .ng-select-container .ng-value-container {
139
157
  padding-left: 0;
158
+
159
+ .ng-placeholder {
160
+ color: var(--mat-select-placeholder-text-color)
161
+ }
140
162
  }
141
163
 
142
164
  &.ng-select-single .ng-select-container {
143
165
  height: unset;
144
166
  }
145
167
 
146
- .ng-dropdown-panel {
147
- box-shadow: variables.$box-shadow-default;
148
- border: unset;
149
-
150
- &.ng-select-bottom {
151
- margin-top: 0;
152
- }
153
-
154
- .ng-dropdown-panel-items {
155
- .ng-optgroup {
156
- color: inherit;
157
- font-weight: inherit;
158
- }
159
-
160
- .ng-option.ng-option-child {
161
- padding-left: 10px;
162
- }
163
-
164
- .ng-option,
165
- .ng-optgroup.ng-option-marked {
166
- &.ng-option-selected,
167
- &.ng-option-selected.ng-option-marked,
168
- &.ng-optgroup.ng-option-marked,
169
- &.ng-option-marked {
170
- background-color: var(--color-gray-100);
171
- color: var(--color-brand-dark);
172
-
173
- .ng-option-label {
174
- font-weight: fonts.$font-weight-regular;
175
- }
176
- }
177
- }
178
- }
179
- }
180
-
181
168
  .ng-arrow-wrapper, &.ng-select-opened > .ng-select-container {
182
169
  .ng-arrow {
183
170
  border-width: 0;
@@ -195,3 +182,38 @@
195
182
  height: 0.6rem;
196
183
  }
197
184
  }
185
+
186
+ .form-field__select.ng-dropdown-panel, .form-field__select.ng-select .ng-dropdown-panel {
187
+ box-shadow: variables.$box-shadow-default;
188
+ border: unset;
189
+
190
+ &.ng-select-bottom {
191
+ margin-top: 0;
192
+ }
193
+
194
+ .ng-dropdown-panel-items {
195
+ .ng-optgroup {
196
+ color: inherit;
197
+ font-weight: inherit;
198
+ }
199
+
200
+ .ng-option.ng-option-child {
201
+ padding-left: 10px;
202
+ }
203
+
204
+ .ng-option,
205
+ .ng-optgroup.ng-option-marked {
206
+ &.ng-option-selected,
207
+ &.ng-option-selected.ng-option-marked,
208
+ &.ng-optgroup.ng-option-marked,
209
+ &.ng-option-marked {
210
+ background-color: var(--color-gray-100);
211
+ color: var(--color-brand-dark);
212
+
213
+ .ng-option-label {
214
+ font-weight: fonts.$font-weight-regular;
215
+ }
216
+ }
217
+ }
218
+ }
219
+ }
@@ -1,18 +1,20 @@
1
+ @use "../../scss/modules/tab";
2
+ @use "../../scss/utilities/helpers";
3
+ @use "../../scss/utilities/fonts";
1
4
  @use "../../scss/utilities/functions";
2
- @use "../../scss/modules";
3
5
 
4
6
  .mat-mdc-tab-group {
5
- @extend .tab-group !optional;
7
+ @extend .tab-group;
6
8
 
7
9
  .mdc-tab {
8
10
  min-width: functions.calc-rem(160px);
9
11
  }
10
12
 
11
13
  .mat-mdc-tab-labels {
12
- @extend .tab-labels !optional;
14
+ @extend .tab-labels;
13
15
 
14
16
  .mdc-tab__text-label {
15
- @extend .tab-label !optional;
17
+ @extend .tab-label;
16
18
  border-bottom: 0;
17
19
  }
18
20
  }
@@ -21,3 +23,24 @@
21
23
  margin-top: 1.2rem;
22
24
  }
23
25
  }
26
+
27
+ .mat-mdc-tab-nav-panel {
28
+ display: block;
29
+ margin-top: functions.calc-rem(40px);
30
+ }
31
+
32
+ .mat-mdc-tab-nav-bar {
33
+ .mat-mdc-tab-link-container::after {
34
+ @extend %pseudos;
35
+
36
+ width: 100%;
37
+ height: 1px;
38
+ background: var(--color-gray-300);
39
+ bottom: 0;
40
+ z-index: -1;
41
+ }
42
+
43
+ .mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label {
44
+ font-weight: fonts.$font-weight-medium;
45
+ }
46
+ }
@@ -1,5 +1,6 @@
1
+ @use "../../scss/modules/icon";
2
+ @use "../../scss/modules/table";
1
3
  @use "../../scss/utilities/functions";
2
- @use "../../scss/modules";
3
4
 
4
5
  .mat-table,
5
6
  .mat-mdc-table {
@@ -16,7 +17,7 @@
16
17
  }
17
18
 
18
19
  mat-icon {
19
- @extend .icon !optional;
20
+ @extend .icon;
20
21
  }
21
22
 
22
23
  .mat-mdc-table-sticky {
@@ -1,24 +1,23 @@
1
- @use "../../scss/modules";
2
-
1
+ @use "../../scss/modules/toaster";
3
2
  #toast-container {
4
3
  .ngx-toastr {
5
- @extend .toaster__body !optional;
4
+ @extend .toaster__body;
6
5
  box-shadow: unset;
7
6
 
8
7
  &.toast-success {
9
- @extend .success !optional;
8
+ @extend .success;
10
9
  }
11
10
 
12
11
  &.toast-error {
13
- @extend .error !optional;
12
+ @extend .error;
14
13
  }
15
14
 
16
15
  &.toast-warning {
17
- @extend .warning !optional;
16
+ @extend .warning;
18
17
  }
19
18
 
20
19
  &.toast-info {
21
- @extend .info !optional;
20
+ @extend .info;
22
21
  }
23
22
 
24
23
  &:hover {
@@ -26,7 +25,7 @@
26
25
  }
27
26
 
28
27
  .toast-close-button {
29
- @extend .close-button !optional;
28
+ @extend .close-button;
30
29
 
31
30
  span {
32
31
  display: none;
@@ -1,3 +1,6 @@
1
+ @use "../../scss/utilities/functions";
2
+ @use "../../scss/utilities/variables";
3
+
1
4
  .mat-mdc-slide-toggle {
2
5
  .mat-mdc-slide-toggle-bar {
3
6
  background-color: var(--color-gray-300);
@@ -10,7 +13,7 @@
10
13
 
11
14
  .mdc-switch:enabled .mdc-switch__track::after,
12
15
  .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after {
13
- background-color: var(--color-brand-dark);
16
+ background-color: rgba(var(--color-brand-dark-rgb), 0.54);
14
17
  }
15
18
  }
16
19
  }
@@ -45,4 +48,10 @@
45
48
  // }
46
49
  // }
47
50
  // }
48
- }
51
+ }
52
+
53
+ .ecabs-button-toggle {
54
+ &.mat-button-toggle-group {
55
+ border-radius: functions.calc-rem(variables.$border-radius-large);
56
+ }
57
+ }
@@ -1,9 +1,8 @@
1
- @use "../../scss/modules";
2
-
1
+ @use "../../scss/modules/tooltip";
3
2
  .mat-mdc-tooltip.mdc-tooltip {
4
- @extend .tooltip !optional;
3
+ @extend .tooltip;
5
4
 
6
5
  .mdc-tooltip__surface {
7
- @extend .tooltip--surface !optional;
6
+ @extend .tooltip--surface;
8
7
  }
9
8
  }
@@ -1,5 +1,5 @@
1
- @use "../utilities/mixins";
2
1
  @use "../utilities/fonts";
2
+ @use "../utilities/mixins";
3
3
 
4
4
  .heading {
5
5
  @include mixins.m(xs) {
@@ -1,7 +1,7 @@
1
- @use "../utilities/functions";
2
- @use "../utilities/variables";
3
1
  @use "../utilities/fonts";
2
+ @use "../utilities/functions";
4
3
  @use "../utilities/mixins";
4
+ @use "../utilities/variables";
5
5
 
6
6
  * {
7
7
  box-sizing: border-box;
@@ -64,31 +64,21 @@ ul, ol {
64
64
  }
65
65
 
66
66
  input::placeholder {
67
+ @include mixins.fontSize(fonts.$font-size-md);
67
68
  overflow: visible;
68
69
  }
69
70
 
70
- h1 {
71
- @include mixins.fontSize(fonts.$font-heading-lg);
72
- }
73
-
74
- h2 {
75
- @include mixins.fontSize(fonts.$font-heading-base);
76
- }
77
-
78
- h3 {
79
- @include mixins.fontSize(fonts.$font-heading-md);
80
- }
81
-
82
- h4 {
83
- @include mixins.fontSize(fonts.$font-heading-sm);
84
- }
85
-
86
- h5 {
87
- @include mixins.fontSize(fonts.$font-heading-xs);
88
- }
89
-
90
71
  .mat-body p,
91
72
  .mat-body-1 p,
92
73
  .mat-typography p {
93
74
  margin: inherit;
94
75
  }
76
+
77
+ fieldset:disabled {
78
+ opacity: 0.5;
79
+ cursor: not-allowed;
80
+
81
+ * {
82
+ pointer-events: none;
83
+ }
84
+ }
@@ -1,27 +1,37 @@
1
- @use "../../scss/utilities/variables";
2
- @use "../../scss/utilities/mixins";
3
- @use "../../scss/utilities/functions";
1
+ @use "../utilities/helpers";
2
+ @use "../utilities/functions";
3
+ @use "../utilities/mixins";
4
+ @use "../utilities/variables";
4
5
 
5
6
  .autocomplete-ui {
6
- box-shadow: variables.$box-shadow-default;
7
- border-radius: variables.$border-radius-base;
8
- display: flex;
9
- flex-direction: column;
7
+ position: relative;
8
+
9
+ @include mixins.e(container) {
10
+ width: 100%;
11
+ background-color: var(--color-white);
12
+ box-shadow: variables.$box-shadow-default;
13
+ border-radius: functions.calc-rem(variables.$border-radius-large);
14
+ z-index: 1000;
15
+ }
10
16
 
11
17
  @include mixins.m(item) {
12
- @include mixins.fontSize(16px);
18
+ @include mixins.fontSize(14px);
19
+
20
+ position: relative;
21
+ background-color: var(--color-white);
13
22
  width: 100%;
14
- padding: functions.calc-rem(16);
23
+ padding: functions.calc-rem(12px);
15
24
  color: var(--color-black);
25
+ cursor: pointer;
16
26
 
17
27
  &::after {
18
- @extend %pseudos !optional;
28
+ @extend %pseudos;
19
29
 
20
30
  bottom: 0;
21
31
  left: 0;
22
32
  right: 0;
23
33
  height: 1px;
24
- background-color: var(--color-gray-100);
34
+ background-color: var(--color-gray-50);
25
35
  }
26
36
 
27
37
  &:last-of-type {
@@ -29,5 +39,9 @@
29
39
  background-color: transparent;
30
40
  }
31
41
  }
42
+
43
+ &.active {
44
+ background-color: var(--color-brand-light2)
45
+ }
32
46
  }
33
47
  }