ecabs-components 2.0.0-alpha.3 → 2.0.0-alpha.6

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 (112) hide show
  1. package/README.md +136 -83
  2. package/fesm2022/ecabs-components.mjs +3076 -1091
  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-input/ecabs-input.component.d.ts +12 -4
  37. package/lib/ecabs-input-range/ecabs-input-range.component.d.ts +44 -0
  38. package/lib/ecabs-input-range/ecabs-input-range.module.d.ts +13 -0
  39. package/lib/ecabs-phone/ecabs-phone.module.d.ts +5 -4
  40. package/lib/ecabs-place-autocomplete-v2/ecabs-place-autocomplete-v2.component.d.ts +64 -0
  41. package/lib/ecabs-place-autocomplete-v2/ecabs-place-autocomplete-v2.module.d.ts +13 -0
  42. package/lib/ecabs-segment/ecabs-segment.component.d.ts +8 -0
  43. package/lib/ecabs-select/ecabs-select.component.d.ts +7 -13
  44. package/lib/ecabs-select/ecabs-select.module.d.ts +5 -4
  45. package/lib/ecabs-select-icon/ecabs-select-icon.component.d.ts +8 -0
  46. package/lib/ecabs-select-icon/ecabs-select-icon.module.d.ts +9 -0
  47. package/lib/ecabs-select-v2/ecabs-select-v2.component.d.ts +25 -25
  48. package/lib/ecabs-select-v2/ecabs-select-v2.module.d.ts +2 -1
  49. package/lib/ecabs-table/ecabs-table.component.d.ts +4 -1
  50. package/lib/ecabs-time-range-input-v2/config.model.d.ts +5 -0
  51. package/lib/ecabs-time-range-input-v2/ecabs-time-range-input-v2.component.d.ts +52 -0
  52. package/lib/ecabs-time-range-input-v2/ecabs-time-range-input-v2.module.d.ts +11 -0
  53. package/lib/ecabs-time-range-input-v2/ecabs-time-range-input-v2.service.d.ts +12 -0
  54. package/lib/ecabs-timepicker/ecabs-timepicker.component.d.ts +0 -5
  55. package/package.json +20 -19
  56. package/public-api.d.ts +25 -0
  57. package/src/assets/styles/material/_theme.scss +17 -12
  58. package/src/assets/styles/material/overrides/_autocomplete.scss +27 -0
  59. package/src/assets/styles/material/overrides/_button.scss +95 -10
  60. package/src/assets/styles/material/overrides/_card.scss +43 -2
  61. package/src/assets/styles/material/overrides/_chip.scss +118 -1
  62. package/src/assets/styles/material/overrides/_datepicker.scss +33 -7
  63. package/src/assets/styles/material/overrides/_dialog.scss +4 -1
  64. package/src/assets/styles/material/overrides/_divider.scss +5 -2
  65. package/src/assets/styles/material/overrides/_expansion.scss +11 -6
  66. package/src/assets/styles/material/overrides/_form.scss +15 -2
  67. package/src/assets/styles/material/overrides/_icon.scss +6 -0
  68. package/src/assets/styles/material/overrides/_menu.scss +7 -1
  69. package/src/assets/styles/material/overrides/_paginator.scss +16 -12
  70. package/src/assets/styles/material/overrides/_phone.scss +18 -12
  71. package/src/assets/styles/material/overrides/_progress.scss +1 -1
  72. package/src/assets/styles/material/overrides/_select.scss +73 -47
  73. package/src/assets/styles/material/overrides/_sidebar.scss +3 -1
  74. package/src/assets/styles/material/overrides/_tab.scss +27 -1
  75. package/src/assets/styles/material/overrides/_table.scss +5 -1
  76. package/src/assets/styles/material/overrides/_toaster.scss +1 -0
  77. package/src/assets/styles/material/overrides/_toggle.scss +11 -2
  78. package/src/assets/styles/material/overrides/_tooltip.scss +1 -0
  79. package/src/assets/styles/material/overrides/index.scss +22 -22
  80. package/src/assets/styles/scss/base/_heading.scss +11 -8
  81. package/src/assets/styles/scss/base/_normalize.scss +19 -24
  82. package/src/assets/styles/scss/base/index.scss +2 -2
  83. package/src/assets/styles/scss/modules/_autocomplete.scss +26 -8
  84. package/src/assets/styles/scss/modules/_button.scss +105 -49
  85. package/src/assets/styles/scss/modules/_card.scss +39 -11
  86. package/src/assets/styles/scss/modules/_chip.scss +36 -20
  87. package/src/assets/styles/scss/modules/_datepicker.scss +7 -4
  88. package/src/assets/styles/scss/modules/_dialog.scss +10 -6
  89. package/src/assets/styles/scss/modules/_divider.scss +2 -1
  90. package/src/assets/styles/scss/modules/_form.scss +209 -56
  91. package/src/assets/styles/scss/modules/_icon.scss +6 -2
  92. package/src/assets/styles/scss/modules/_legend.scss +21 -15
  93. package/src/assets/styles/scss/modules/_list.scss +9 -6
  94. package/src/assets/styles/scss/modules/_map.scss +27 -22
  95. package/src/assets/styles/scss/modules/_phone.scss +11 -13
  96. package/src/assets/styles/scss/modules/_select.scss +9 -5
  97. package/src/assets/styles/scss/modules/_statuses.scss +13 -8
  98. package/src/assets/styles/scss/modules/_tab.scss +3 -1
  99. package/src/assets/styles/scss/modules/_table.scss +26 -20
  100. package/src/assets/styles/scss/modules/_timepicker.scss +11 -7
  101. package/src/assets/styles/scss/modules/_tooltip.scss +7 -3
  102. package/src/assets/styles/scss/modules/drag-drop.scss +13 -9
  103. package/src/assets/styles/scss/modules/index.scss +23 -23
  104. package/src/assets/styles/scss/utilities/_colors.scss +20 -16
  105. package/src/assets/styles/scss/utilities/_fonts.scss +6 -1
  106. package/src/assets/styles/scss/utilities/_functions.scss +4 -3
  107. package/src/assets/styles/scss/utilities/_mixins.scss +43 -6
  108. package/src/assets/styles/scss/utilities/_variables.scss +14 -0
  109. package/src/assets/styles/scss/utilities/index.scss +6 -6
  110. package/src/assets/styles/styles.scss +5 -26
  111. package/src/assets/styles/tailwind/index.scss +2 -2
  112. package/lib/base/consts/date-mask.consts.d.ts +0 -7
@@ -1,4 +1,8 @@
1
- @import "../../../styles/scss/utilities/helpers";
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";
2
6
 
3
7
  .mat-mdc-form-field {
4
8
  display: block !important;
@@ -61,12 +65,16 @@
61
65
  .mat-mdc-slide-toggle-label,
62
66
  .mat-mdc-checkbox .mdc-form-field .mdc-label,
63
67
  .mat-mdc-radio-button .mdc-form-field .mdc-label {
64
- @include fontSize($font-size-base);
68
+ @include mixins.fontSize(fonts.$font-size-base);
65
69
 
66
70
  margin-bottom: 0;
67
71
  color: var(--color-black);
68
72
  }
69
73
 
74
+ .mdc-checkbox .mdc-checkbox__native-control:enabled ~ .mdc-checkbox__background .mdc-checkbox__mixedmark {
75
+ border-color: var(--color-white);
76
+ }
77
+
70
78
  .newline-validation .form-field {
71
79
  flex-wrap: wrap;
72
80
 
@@ -75,6 +83,11 @@
75
83
  }
76
84
  }
77
85
 
86
+ ecabs-input.ecabs-input--fluid {
87
+ display: block;
88
+ width: 100%;
89
+ }
90
+
78
91
  .form-field--required {
79
92
  .form-field__label {
80
93
  &:not([class*=mat-slide-toggle-label], [class*=mat-radio-label]) {
@@ -1,3 +1,9 @@
1
+ @use "../../scss/modules/icon";
1
2
  mat-icon {
2
3
  @extend .icon;
3
4
  }
5
+
6
+ .mat-mdc-icon-button .mat-icon svg {
7
+ width: 100%;
8
+ height: 100%;
9
+ }
@@ -1,6 +1,12 @@
1
+ @use "../../scss/utilities/variables";
2
+
1
3
  .mat-mdc-menu-panel {
2
4
  &.mat-mdc-elevation-specific.mat-elevation-z8 {
3
- box-shadow: $box-shadow-default;
5
+ box-shadow: variables.$box-shadow-default;
6
+ }
7
+
8
+ &.actions-menu {
9
+ min-width: 180px;
4
10
  }
5
11
  }
6
12
 
@@ -1,4 +1,8 @@
1
- @import "../../scss/utilities/index";
1
+ @use "../../scss/utilities/index";
2
+ @use "../../scss/utilities/fonts";
3
+ @use "../../scss/utilities/functions";
4
+ @use "../../scss/utilities/mixins";
5
+
2
6
 
3
7
  mat-paginator {
4
8
  &.mat-mdc-paginator {
@@ -6,14 +10,14 @@ mat-paginator {
6
10
  color: var(--color-gray-500);
7
11
 
8
12
  .mat-mdc-paginator-range-label {
9
- @include fontSize(14px);
13
+ @include mixins.fontSize(14px);
10
14
 
11
- font-weight: $font-weight-bold;
12
- margin: calc-rem(0 32px 0 0);
15
+ font-weight: fonts.$font-weight-bold;
16
+ margin: functions.calc-rem(0 32px 0 0);
13
17
  }
14
18
 
15
19
  .mat-mdc-select-trigger .mat-mdc-select-value {
16
- font-size: calc-rem(14px);
20
+ font-size: functions.calc-rem(14px);
17
21
  }
18
22
 
19
23
 
@@ -22,7 +26,7 @@ mat-paginator {
22
26
  }
23
27
 
24
28
  .mat-mdc-paginator-page-size {
25
- font-size: calc-rem(14px);
29
+ font-size: functions.calc-rem(14px);
26
30
  display: flex;
27
31
  align-items: center
28
32
  }
@@ -35,18 +39,18 @@ mat-paginator {
35
39
  }
36
40
 
37
41
  .mat-mdc-paginator-page-size-label {
38
- margin: calc-rem(0 16px 0 0);
42
+ margin: functions.calc-rem(0 16px 0 0);
39
43
  }
40
44
 
41
45
  .mat-mdc-paginator-range-actions {
42
46
  .mdc-icon-button {
43
- border: 1px solid var(--color-gray-400);
47
+ border: 1px solid var(--color-gray-300);
44
48
  border-radius: 0.25rem;
45
49
  display: flex;
46
50
  justify-content: center;
47
51
  align-items: center;
48
- width: calc-rem(40px);
49
- height: calc-rem(40px);
52
+ width: functions.calc-rem(40px);
53
+ height: functions.calc-rem(40px);
50
54
  line-height: 1;
51
55
  padding: 0;
52
56
 
@@ -66,10 +70,10 @@ mat-paginator {
66
70
 
67
71
  .paginator--selector {
68
72
  .mat-mdc-option {
69
- @include fontSize($font-size-xs);
73
+ @include mixins.fontSize(fonts.$font-size-xs);
70
74
  }
71
75
 
72
76
  .mat-mdc-select-value {
73
- @include fontSize($font-size-sm);
77
+ @include mixins.fontSize(fonts.$font-size-md);
74
78
  }
75
79
  }
@@ -1,4 +1,10 @@
1
- @import "../../scss/utilities/index";
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
+
2
8
 
3
9
  ecabs-phone {
4
10
  @extend .ecabs-phone;
@@ -8,23 +14,19 @@ ecabs-phone {
8
14
  @extend .ecabs-tel-input-input;
9
15
  }
10
16
 
11
- .iti__flag-container {
12
- @extend .iti__flag-container;
17
+ .country-selector {
18
+ @extend .country-selector;
13
19
 
14
- .selected-dial-code {
20
+ .country-selector-code {
15
21
  padding-right: .2rem;
16
22
  }
17
23
  }
18
-
19
- .iti__tel-input {
20
- width: 100%;
21
- }
22
24
  }
23
25
 
24
26
  .form-field.form-field--invalid {
25
27
  .ecabs-tel-input-container {
26
28
  &,
27
- .iti__flag-container {
29
+ .country-selector {
28
30
  @extend .form-field__input--invalid;
29
31
  }
30
32
  }
@@ -36,7 +38,7 @@ ecabs-phone {
36
38
  border-color: var(--color-gray-300);
37
39
  }
38
40
 
39
- .iti__flag-container:disabled {
41
+ .country-selector:disabled {
40
42
  color: inherit;
41
43
  }
42
44
 
@@ -48,8 +50,12 @@ ecabs-phone {
48
50
 
49
51
  .ecabs-tel-input-mat-menu-panel {
50
52
  .mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text {
51
- @include fontSize(14px);
53
+ @include mixins.fontSize(14px);
54
+
55
+ font-weight: fonts.$font-weight-regular;
56
+ }
52
57
 
53
- font-weight: $font-weight-regular;
58
+ &.mat-mdc-menu-panel {
59
+ max-width: functions.calc-rem(312px);
54
60
  }
55
61
  }
@@ -1,4 +1,4 @@
1
- @import "../../scss/utilities/index";
1
+ @use "../../scss/utilities/index";
2
2
 
3
3
  mat-progress-bar {
4
4
  &.mat-mdc-progress-bar .mdc-linear-progress__buffer-bar {
@@ -1,4 +1,11 @@
1
- @import "../../scss/utilities/index";
1
+ @use "../../scss/modules/form";
2
+ @use "../../scss/modules/select";
3
+ @use "../../scss/utilities/index";
4
+ @use "../../scss/utilities/fonts";
5
+ @use "../../scss/utilities/functions";
6
+ @use "../../scss/utilities/mixins";
7
+ @use "../../scss/utilities/variables";
8
+
2
9
 
3
10
  .mat-mdc-select {
4
11
  &, &.form-field__select, {
@@ -10,7 +17,7 @@
10
17
  }
11
18
 
12
19
  .mat-mdc-select-arrow-wrapper {
13
- width: calc-rem(16px);
20
+ width: functions.calc-rem(16px);
14
21
  display: unset;
15
22
  vertical-align: auto;
16
23
  transform: none;
@@ -18,7 +25,7 @@
18
25
 
19
26
  opacity: 1 !important;
20
27
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik02IDcuNDEwMTZMMCAxLjQxMDE2TDEuNDEgMC4wMDAxNTY0MDNMNiA0LjU4MDE2TDEwLjU5IDAuMDAwMTU2NDAzTDEyIDEuNDEwMTZMNiA3LjQxMDE2WiIgZmlsbD0iIzZCNkQ3MyIvPgo8L3N2Zz4K);
21
- background-size: calc-rem(12px 7.41px);
28
+ background-size: functions.calc-rem(12px 7.41px);
22
29
  background-position: right center;
23
30
  background-repeat: no-repeat;
24
31
 
@@ -27,8 +34,13 @@
27
34
  }
28
35
  }
29
36
 
37
+ .mat-mdc-select-value,
30
38
  .mat-mdc-select-placeholder {
31
- color: rgba(0, 0, 0, 0.42) !important;
39
+ line-height: functions.calc-rem(24px);
40
+ }
41
+
42
+ .mat-mdc-select-placeholder {
43
+ @include mixins.fontSize(fonts.$font-size-md);
32
44
  }
33
45
 
34
46
  &-panel.mdc-menu-surface {
@@ -58,10 +70,10 @@
58
70
  }
59
71
 
60
72
  .wide-select {
61
- min-width: calc-rem(240px);
73
+ min-width: functions.calc-rem(240px);
62
74
 
63
75
  .mat-mdc-option {
64
- @include fontSize(12px);
76
+ @include mixins.fontSize(12px);
65
77
  }
66
78
  }
67
79
 
@@ -82,6 +94,14 @@
82
94
  }
83
95
  }
84
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
+
85
105
  &.ng-select-disabled > .ng-select-container {
86
106
  background-color: var(--color-white-opacity-05);
87
107
  border-color: var(--color-gray-300);
@@ -92,15 +112,15 @@
92
112
  }
93
113
 
94
114
  .ng-clear-wrapper {
95
- width: calc-rem(24px);
96
- height: calc-rem(24px);
115
+ width: functions.calc-rem(24px);
116
+ height: functions.calc-rem(24px);
97
117
  text-align: center;
98
118
 
99
119
  .ng-clear {
100
- @include fontSize(24px);
120
+ @include mixins.fontSize(24px);
101
121
 
102
122
  color: var(--color-gray-500);
103
- font-weight: $font-weight-semibold;
123
+ font-weight: fonts.$font-weight-semibold;
104
124
  }
105
125
  }
106
126
 
@@ -125,6 +145,8 @@
125
145
 
126
146
  &, &.ng-select-multiple .ng-select-container .ng-value-container {
127
147
  .ng-placeholder {
148
+ @include mixins.fontSize(fonts.$font-size-md);
149
+
128
150
  top: unset;
129
151
  padding-bottom: unset;
130
152
  padding-left: unset;
@@ -133,53 +155,22 @@
133
155
 
134
156
  .ng-select-container .ng-value-container {
135
157
  padding-left: 0;
158
+
159
+ .ng-placeholder {
160
+ color: var(--mat-select-placeholder-text-color)
161
+ }
136
162
  }
137
163
 
138
164
  &.ng-select-single .ng-select-container {
139
165
  height: unset;
140
166
  }
141
167
 
142
- .ng-dropdown-panel {
143
- box-shadow: $box-shadow-default;
144
- border: unset;
145
-
146
- &.ng-select-bottom {
147
- margin-top: 0;
148
- }
149
-
150
- .ng-dropdown-panel-items {
151
- .ng-optgroup {
152
- color: inherit;
153
- font-weight: inherit;
154
- }
155
-
156
- .ng-option.ng-option-child {
157
- padding-left: 10px;
158
- }
159
-
160
- .ng-option,
161
- .ng-optgroup.ng-option-marked {
162
- &.ng-option-selected,
163
- &.ng-option-selected.ng-option-marked,
164
- &.ng-optgroup.ng-option-marked,
165
- &.ng-option-marked {
166
- background-color: var(--color-gray-100);
167
- color: var(--color-brand-dark);
168
-
169
- .ng-option-label {
170
- font-weight: $font-weight-regular;
171
- }
172
- }
173
- }
174
- }
175
- }
176
-
177
168
  .ng-arrow-wrapper, &.ng-select-opened > .ng-select-container {
178
169
  .ng-arrow {
179
170
  border-width: 0;
180
171
  border-color: unset;
181
- width: calc-rem(12px);
182
- height: calc-rem(12px);
172
+ width: functions.calc-rem(12px);
173
+ height: functions.calc-rem(12px);
183
174
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik02IDcuNDEwMTZMMCAxLjQxMDE2TDEuNDEgMC4wMDAxNTY0MDNMNiA0LjU4MDE2TDEwLjU5IDAuMDAwMTU2NDAzTDEyIDEuNDEwMTZMNiA3LjQxMDE2WiIgZmlsbD0iIzZCNkQ3MyIvPgo8L3N2Zz4K);
184
175
  background-size: 0.75rem 1rem;
185
176
  }
@@ -191,3 +182,38 @@
191
182
  height: 0.6rem;
192
183
  }
193
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,6 +1,8 @@
1
+ @use "../../scss/utilities/variables";
2
+
1
3
  .mat-drawer {
2
4
  &.mat-drawer-side {
3
- box-shadow: $box-shadow-default;
5
+ box-shadow: variables.$box-shadow-default;
4
6
  border-right: 0;
5
7
  }
6
8
  }
@@ -1,8 +1,13 @@
1
+ @use "../../scss/modules/tab";
2
+ @use "../../scss/utilities/helpers";
3
+ @use "../../scss/utilities/fonts";
4
+ @use "../../scss/utilities/functions";
5
+
1
6
  .mat-mdc-tab-group {
2
7
  @extend .tab-group;
3
8
 
4
9
  .mdc-tab {
5
- min-width: calc-rem(160px);
10
+ min-width: functions.calc-rem(160px);
6
11
  }
7
12
 
8
13
  .mat-mdc-tab-labels {
@@ -18,3 +23,24 @@
18
23
  margin-top: 1.2rem;
19
24
  }
20
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,3 +1,7 @@
1
+ @use "../../scss/modules/icon";
2
+ @use "../../scss/modules/table";
3
+ @use "../../scss/utilities/functions";
4
+
1
5
  .mat-table,
2
6
  .mat-mdc-table {
3
7
  &, &.table-ui {
@@ -8,7 +12,7 @@
8
12
  padding: .36rem .36rem .36rem 0;
9
13
 
10
14
  &:first-of-type {
11
- padding-left: calc-rem(14);
15
+ padding-left: functions.calc-rem(14);
12
16
  }
13
17
  }
14
18
 
@@ -1,3 +1,4 @@
1
+ @use "../../scss/modules/toaster";
1
2
  #toast-container {
2
3
  .ngx-toastr {
3
4
  @extend .toaster__body;
@@ -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,3 +1,4 @@
1
+ @use "../../scss/modules/tooltip";
1
2
  .mat-mdc-tooltip.mdc-tooltip {
2
3
  @extend .tooltip;
3
4
 
@@ -1,22 +1,22 @@
1
- @import "autocomplete";
2
- @import "menu";
3
- @import 'button';
4
- @import 'card';
5
- @import 'chip';
6
- @import 'datepicker';
7
- @import 'dialog';
8
- @import 'divider';
9
- @import 'expansion';
10
- @import 'form';
11
- @import 'icon';
12
- @import 'paginator';
13
- @import 'phone';
14
- @import 'select';
15
- @import 'tab';
16
- @import 'table';
17
- @import 'toaster';
18
- @import 'toggle';
19
- @import 'toolbar';
20
- @import 'tooltip';
21
- @import "sidebar";
22
- @import "progress";
1
+ @use "autocomplete";
2
+ @use "menu";
3
+ @use 'button';
4
+ @use 'card';
5
+ @use 'chip';
6
+ @use 'datepicker';
7
+ @use 'dialog';
8
+ @use 'divider';
9
+ @use 'expansion';
10
+ @use 'form';
11
+ @use 'icon';
12
+ @use 'paginator';
13
+ @use 'phone';
14
+ @use 'select';
15
+ @use 'tab';
16
+ @use 'table';
17
+ @use 'toaster';
18
+ @use 'toggle';
19
+ @use 'toolbar';
20
+ @use 'tooltip';
21
+ @use "sidebar";
22
+ @use "progress";
@@ -1,17 +1,20 @@
1
+ @use "../utilities/fonts";
2
+ @use "../utilities/mixins";
3
+
1
4
  .heading {
2
- @include m(xs) {
3
- @include fontSize($font-heading-xs);
5
+ @include mixins.m(xs) {
6
+ @include mixins.fontSize(fonts.$font-heading-xs);
4
7
  }
5
8
 
6
- @include m(sm) {
7
- @include fontSize($font-heading-sm);
9
+ @include mixins.m(sm) {
10
+ @include mixins.fontSize(fonts.$font-heading-sm);
8
11
  }
9
12
 
10
- @include m(base) {
11
- @include fontSize($font-heading-base);
13
+ @include mixins.m(base) {
14
+ @include mixins.fontSize(fonts.$font-heading-base);
12
15
  }
13
16
 
14
- @include m(lg) {
15
- @include fontSize($font-heading-lg);
17
+ @include mixins.m(lg) {
18
+ @include mixins.fontSize(fonts.$font-heading-lg);
16
19
  }
17
20
  }
@@ -1,12 +1,17 @@
1
+ @use "../utilities/fonts";
2
+ @use "../utilities/functions";
3
+ @use "../utilities/mixins";
4
+ @use "../utilities/variables";
5
+
1
6
  * {
2
7
  box-sizing: border-box;
3
8
  }
4
9
 
5
10
  html {
6
- font-family: $font-family-fallback;
11
+ font-family: fonts.$font-family-fallback;
7
12
 
8
13
  &.wf-active {
9
- font-family: $font-family-primary;
14
+ font-family: fonts.$font-family-primary;
10
15
  }
11
16
  }
12
17
 
@@ -33,12 +38,12 @@ ul, ol {
33
38
  }
34
39
 
35
40
  ::-webkit-scrollbar {
36
- width: calc-rem(8px);
41
+ width: functions.calc-rem(8px);
37
42
  }
38
43
 
39
44
  ::-webkit-scrollbar-track,
40
45
  ::-webkit-scrollbar-thumb {
41
- border-radius: $border-radius-base;
46
+ border-radius: variables.$border-radius-base;
42
47
  }
43
48
 
44
49
  ::-webkit-scrollbar-track {
@@ -59,31 +64,21 @@ ul, ol {
59
64
  }
60
65
 
61
66
  input::placeholder {
67
+ @include mixins.fontSize(fonts.$font-size-md);
62
68
  overflow: visible;
63
69
  }
64
70
 
65
- h1 {
66
- @include fontSize($font-heading-lg);
67
- }
68
-
69
- h2 {
70
- @include fontSize($font-heading-base);
71
- }
72
-
73
- h3 {
74
- @include fontSize($font-heading-md);
75
- }
76
-
77
- h4 {
78
- @include fontSize($font-heading-sm);
79
- }
80
-
81
- h5 {
82
- @include fontSize($font-heading-xs);
83
- }
84
-
85
71
  .mat-body p,
86
72
  .mat-body-1 p,
87
73
  .mat-typography p {
88
74
  margin: inherit;
89
75
  }
76
+
77
+ fieldset:disabled {
78
+ opacity: 0.5;
79
+ cursor: not-allowed;
80
+
81
+ * {
82
+ pointer-events: none;
83
+ }
84
+ }
@@ -1,2 +1,2 @@
1
- @import "normalize";
2
- @import "heading";
1
+ @use "normalize";
2
+ @use "heading";