@testgorilla/tgo-ui 6.2.3 → 6.2.8

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 (165) hide show
  1. package/README.md +158 -53
  2. package/components/autocomplete/autocomplete.component.d.ts +2 -2
  3. package/components/badge/badge.component.d.ts +6 -6
  4. package/components/button/button.component.d.ts +4 -4
  5. package/components/checklist/checklist.component.d.ts +4 -5
  6. package/components/deprecated-paginator/deprecated-paginator.component.d.ts +2 -6
  7. package/components/dialog/dialog.component.d.ts +1 -1
  8. package/components/dialog/dialog.model.d.ts +2 -2
  9. package/components/dropdown/dropdown.component.d.ts +2 -2
  10. package/components/empty-state/empty-state.component.d.ts +2 -2
  11. package/components/file-upload/file-upload.component.d.ts +1 -1
  12. package/components/icon/icon-svg-content.d.ts +1 -1
  13. package/components/icon/icon.component.d.ts +2 -2
  14. package/components/icon/icon.model.d.ts +3 -3
  15. package/components/icon-label/icon-label.component.d.ts +1 -3
  16. package/components/logo/logo.component.d.ts +1 -1
  17. package/components/multi-input/multi-input.component.d.ts +1 -1
  18. package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +3 -3
  19. package/components/overflow-menu/overflow-menu.model.d.ts +1 -0
  20. package/components/password-criteria/password.component.d.ts +1 -1
  21. package/components/radial-progress/radial-progress.component.d.ts +2 -2
  22. package/components/radio-button/radio-button.component.d.ts +3 -3
  23. package/components/segmented-bar/segmented-bar.component.d.ts +1 -1
  24. package/components/segmented-button/segmented-button.component.d.ts +1 -1
  25. package/components/side-panel/side-panel.model.d.ts +1 -1
  26. package/components/side-sheet/side-sheet.component.d.ts +1 -1
  27. package/components/spider-chart/spider-chart.component.d.ts +2 -2
  28. package/components/spider-chart/spider-chart.model.d.ts +2 -2
  29. package/components/stepper/step-line-element.directive.d.ts +1 -1
  30. package/components/stepper/step.component.d.ts +1 -1
  31. package/components/stepper/stepper.component.d.ts +2 -2
  32. package/components/table/table.component.d.ts +2 -2
  33. package/components/tabs/tabs.component.d.ts +2 -2
  34. package/components/universal-skills/universal-skills-report.component.d.ts +1 -1
  35. package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +7 -25
  36. package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
  37. package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +2 -2
  38. package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs.map +1 -1
  39. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +0 -1
  40. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -1
  41. package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
  42. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +31 -18
  43. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
  44. package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +1 -1
  45. package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs.map +1 -1
  46. package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +6 -6
  47. package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
  48. package/fesm2022/testgorilla-tgo-ui-components-button.mjs +39 -19
  49. package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -1
  50. package/fesm2022/testgorilla-tgo-ui-components-card.mjs +2 -2
  51. package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
  52. package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +38 -10
  53. package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
  54. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +2 -2
  55. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
  56. package/fesm2022/testgorilla-tgo-ui-components-core.mjs +22 -16
  57. package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
  58. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +6 -6
  59. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
  60. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +8 -8
  61. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
  62. package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +2 -2
  63. package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -1
  64. package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +2 -2
  65. package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
  66. package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +18 -5
  67. package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
  68. package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +2 -2
  69. package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -1
  70. package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -1
  71. package/fesm2022/testgorilla-tgo-ui-components-field.mjs +2 -3
  72. package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
  73. package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +5 -5
  74. package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -1
  75. package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +2 -3
  76. package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
  77. package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +8 -7
  78. package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
  79. package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +0 -1
  80. package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -1
  81. package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +1 -1
  82. package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -1
  83. package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +1 -1
  84. package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
  85. package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +2 -2
  86. package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -1
  87. package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +2 -7
  88. package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -1
  89. package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +2 -2
  90. package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs.map +1 -1
  91. package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +1 -3
  92. package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
  93. package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +5 -5
  94. package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
  95. package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +28 -6
  96. package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
  97. package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +2 -2
  98. package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -1
  99. package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -1
  100. package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +4 -4
  101. package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -1
  102. package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +3 -3
  103. package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -1
  104. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +6 -6
  105. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
  106. package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -1
  107. package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +1 -1
  108. package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
  109. package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +5 -3
  110. package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -1
  111. package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +42 -10
  112. package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -1
  113. package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +3 -3
  114. package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -1
  115. package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +2 -2
  116. package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
  117. package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +3 -3
  118. package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
  119. package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +4 -4
  120. package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -1
  121. package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +1 -1
  122. package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -1
  123. package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
  124. package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +3 -3
  125. package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
  126. package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +4 -4
  127. package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
  128. package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -1
  129. package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +2 -2
  130. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +21 -5
  131. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -1
  132. package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +3 -3
  133. package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -1
  134. package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -1
  135. package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +14 -11
  136. package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
  137. package/fesm2022/testgorilla-tgo-ui-components-table.mjs +5 -5
  138. package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -1
  139. package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +3 -3
  140. package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
  141. package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +25 -7
  142. package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
  143. package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +25 -9
  144. package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -1
  145. package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +14 -15
  146. package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -1
  147. package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +6 -6
  148. package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -1
  149. package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +2 -2
  150. package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -1
  151. package/fesm2022/testgorilla-tgo-ui.mjs +2 -7
  152. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  153. package/package.json +85 -79
  154. package/projects/tgo-canopy-ui/theme/_alert-bars.scss +2 -1
  155. package/projects/tgo-canopy-ui/theme/_breakpoints-mixin.scss +6 -6
  156. package/projects/tgo-canopy-ui/theme/_core.scss +1 -1
  157. package/projects/tgo-canopy-ui/theme/_icon.scss +1 -1
  158. package/projects/tgo-canopy-ui/theme/_input.scss +108 -65
  159. package/projects/tgo-canopy-ui/theme/_lib-styles.scss +8 -7
  160. package/projects/tgo-canopy-ui/theme/_mat-paginator.scss +11 -10
  161. package/projects/tgo-canopy-ui/theme/_palette.scss +41 -29
  162. package/projects/tgo-canopy-ui/theme/_tooltip.scss +30 -30
  163. package/projects/tgo-canopy-ui/theme/_typography.scss +24 -14
  164. package/projects/tgo-canopy-ui/theme/_variables.scss +56 -56
  165. package/projects/tgo-canopy-ui/theme/theme.scss +19 -18
@@ -1,6 +1,7 @@
1
- @use "variables.scss" as *;
1
+ @use 'variables.scss' as *;
2
2
 
3
- ui-dropdown, ui-autocomplete {
3
+ ui-dropdown,
4
+ ui-autocomplete {
4
5
  .mat-mdc-form-field {
5
6
  &.keyboard-focused {
6
7
  position: relative;
@@ -67,7 +68,7 @@ ui-dropdown, ui-autocomplete {
67
68
  }
68
69
  }
69
70
 
70
- *[theme="classic"] {
71
+ *[theme='classic'] {
71
72
  .mat-mdc-form-field {
72
73
  .mat-mdc-form-field-hint.error,
73
74
  .mat-mdc-form-field-hint.error svg {
@@ -80,15 +81,17 @@ ui-dropdown, ui-autocomplete {
80
81
  .mat-mdc-text-field-wrapper {
81
82
  height: 48px;
82
83
 
83
- &:hover, &.mdc-text-field--focused {
84
-
84
+ &:hover,
85
+ &.mdc-text-field--focused {
85
86
  .mat-mdc-form-field-flex .mat-mdc-floating-label:not(.mdc-floating-label--float-above) {
86
87
  top: 21px !important;
87
88
  }
88
89
 
89
90
  @extend .active-field;
90
91
 
91
- .mdc-notched-outline__leading, .mdc-notched-outline__notch, .mdc-notched-outline__trailing {
92
+ .mdc-notched-outline__leading,
93
+ .mdc-notched-outline__notch,
94
+ .mdc-notched-outline__trailing {
92
95
  border-color: $tgo-petrol-default !important;
93
96
  }
94
97
 
@@ -101,11 +104,13 @@ ui-dropdown, ui-autocomplete {
101
104
  }
102
105
  }
103
106
 
104
- *[theme="dark"], *[theme="light"], .dark, .light {
105
-
107
+ *[theme='dark'],
108
+ *[theme='light'],
109
+ .dark,
110
+ .light {
106
111
  &.phone-number-select {
107
112
  margin-top: 8px;
108
- border-radius: 10px!important;
113
+ border-radius: 10px !important;
109
114
  box-shadow: $box-shadow-hover-state;
110
115
 
111
116
  .country-option {
@@ -137,7 +142,8 @@ ui-dropdown, ui-autocomplete {
137
142
  }
138
143
  }
139
144
 
140
- .mat-mdc-autocomplete-panel, &.mat-mdc-autocomplete-panel {
145
+ .mat-mdc-autocomplete-panel,
146
+ &.mat-mdc-autocomplete-panel {
141
147
  box-shadow: $box-shadow-hover-state;
142
148
  border-radius: 10px;
143
149
  .mat-mdc-option.selected-option,
@@ -145,58 +151,65 @@ ui-dropdown, ui-autocomplete {
145
151
  &:hover {
146
152
  background: var(--ui-autocomplete-option-color) !important;
147
153
  }
148
- background: $grayscale-10!important;
154
+ background: $grayscale-10 !important;
149
155
  }
150
- .mat-mdc-option:hover:not(.mdc-list-item--disabled) {
156
+ .mat-mdc-option:hover:not(.mdc-list-item--disabled) {
151
157
  background: var(--ui-autocomplete-option-color) !important;
152
158
  }
153
159
 
154
- .mat-mdc-option:active:not(.mdc-list-item--disabled) {
160
+ .mat-mdc-option:active:not(.mdc-list-item--disabled) {
155
161
  background: var(--ui-autocomplete-option-color) !important;
156
162
  }
157
163
 
158
164
  .mat-mdc-option {
159
- .mdc-list-item__primary-text, span {
160
- color: $black!important;
165
+ .mdc-list-item__primary-text,
166
+ span {
167
+ color: $black !important;
161
168
  font-weight: 400;
162
169
  }
163
170
  }
164
171
 
165
172
  .mat-mdc-optgroup-label {
166
173
  .mdc-list-item__primary-text {
167
- font-size: 14px!important;
174
+ font-size: 14px !important;
168
175
  }
169
176
  }
170
177
 
171
178
  .mat-mdc-optgroup {
172
179
  .mdc-list-item__primary-text {
173
- color: $black!important;
180
+ color: $black !important;
174
181
  text-transform: lowercase;
175
182
  }
176
183
 
177
184
  .mdc-list-item__primary-text:first-letter {
178
- text-transform: uppercase!important;
185
+ text-transform: uppercase !important;
179
186
  }
180
187
  }
181
188
 
182
189
  .cdk-virtual-scroll-content-wrapper {
183
- .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple):not(.mdc-list-item--disabled):not(.selected-option) {
184
- background: transparent!important;
190
+ .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple):not(.mdc-list-item--disabled):not(
191
+ .selected-option
192
+ ) {
193
+ background: transparent !important;
185
194
  }
186
195
  }
187
196
 
188
- .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple):not(.mdc-list-item--disabled):not(.selected-option) {
189
- background: transparent!important;
197
+ .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple):not(.mdc-list-item--disabled):not(
198
+ .selected-option
199
+ ) {
200
+ background: transparent !important;
190
201
  }
191
202
  }
192
203
 
193
- .ui-dropdown-list, &.ui-dropdown-list {
204
+ .ui-dropdown-list,
205
+ &.ui-dropdown-list {
194
206
  .mat-mdc-option .mat-mdc-focus-indicator {
195
207
  display: none;
196
208
  }
197
209
 
198
- .mat-mdc-option, .mat-option-section .section-title {
199
- color: $black!important;
210
+ .mat-mdc-option,
211
+ .mat-option-section .section-title {
212
+ color: $black !important;
200
213
  }
201
214
 
202
215
  .mat-mdc-option-multiple .mat-pseudo-checkbox {
@@ -213,19 +226,20 @@ ui-dropdown, ui-autocomplete {
213
226
  &.mat-accent mat-option,
214
227
  &.mat-accent .mat-mdc-option-multiple {
215
228
  &:hover {
216
- background: var(--dropdown-color-option-hover)!important;
229
+ background: var(--dropdown-color-option-hover) !important;
217
230
  }
218
231
 
219
232
  &:active {
220
- background: var(--dropdown-color-option-active)!important;
233
+ background: var(--dropdown-color-option-active) !important;
221
234
  }
222
235
 
223
236
  &.mat-mdc-option-active,
224
237
  &.mdc-list-item--selected {
225
- background-color: $grayscale-10!important;
238
+ background-color: $grayscale-10 !important;
226
239
 
227
- .mdc-list-item__primary-text, .mat-pseudo-checkbox-checked:after {
228
- color: $black!important;
240
+ .mdc-list-item__primary-text,
241
+ .mat-pseudo-checkbox-checked:after {
242
+ color: $black !important;
229
243
  }
230
244
 
231
245
  &:hover:not(.mdc-list-item--disabled),
@@ -244,8 +258,10 @@ ui-dropdown, ui-autocomplete {
244
258
  }
245
259
  }
246
260
 
247
- .mat-mdc-form-field, .autocomplete-wrapper .mat-mdc-form-field {
248
- &.mat-form-field-appearance-outline, &.mat-text-field-outlined {
261
+ .mat-mdc-form-field,
262
+ .autocomplete-wrapper .mat-mdc-form-field {
263
+ &.mat-form-field-appearance-outline,
264
+ &.mat-text-field-outlined {
249
265
  --mdc-outlined-text-field-caret-color: #{$black} !important;
250
266
 
251
267
  .mdc-text-field__input::placeholder {
@@ -259,15 +275,17 @@ ui-dropdown, ui-autocomplete {
259
275
  }
260
276
 
261
277
  .mat-mdc-form-field-subscript-wrapper {
262
- padding: 0!important;
278
+ padding: 0 !important;
263
279
  min-height: 24px;
264
280
 
265
- &:after, &:before {
281
+ &:after,
282
+ &:before {
266
283
  display: none;
267
284
  }
268
285
  }
269
286
 
270
- input, .mat-text-field__input {
287
+ input,
288
+ .mat-text-field__input {
271
289
  caret-color: $black;
272
290
  }
273
291
 
@@ -287,19 +305,19 @@ ui-dropdown, ui-autocomplete {
287
305
  &:hover {
288
306
  ui-icon {
289
307
  svg {
290
- color: $black!important;
308
+ color: $black !important;
291
309
  }
292
310
  }
293
311
  }
294
312
 
295
313
  ui-icon {
296
314
  svg {
297
- color: $grayscale-40!important;
315
+ color: $grayscale-40 !important;
298
316
  }
299
317
 
300
318
  &:focus-visible {
301
319
  svg {
302
- color: $black!important;
320
+ color: $black !important;
303
321
  }
304
322
  }
305
323
  }
@@ -307,14 +325,14 @@ ui-dropdown, ui-autocomplete {
307
325
  .value-tag {
308
326
  ui-icon {
309
327
  svg {
310
- color: $black!important;
328
+ color: $black !important;
311
329
  }
312
330
  }
313
331
 
314
332
  &:hover {
315
333
  ui-icon {
316
334
  svg {
317
- color: $tgo-white!important;
335
+ color: $tgo-white !important;
318
336
  }
319
337
  }
320
338
  }
@@ -328,9 +346,9 @@ ui-dropdown, ui-autocomplete {
328
346
 
329
347
  &.mdc-text-field--disabled {
330
348
  * {
331
- border-color: $grayscale-30!important;
332
- color: $grayscale-30!important;
333
- pointer-events: none!important;
349
+ border-color: $grayscale-30 !important;
350
+ color: $grayscale-30 !important;
351
+ pointer-events: none !important;
334
352
  }
335
353
 
336
354
  .mdc-notched-outline__notch {
@@ -368,14 +386,17 @@ ui-dropdown, ui-autocomplete {
368
386
  }
369
387
  }
370
388
 
371
- &:hover, &.mdc-text-field--focused {
389
+ &:hover,
390
+ &.mdc-text-field--focused {
372
391
  .mat-mdc-form-field-icon-prefix svg {
373
392
  color: $black !important;
374
393
  }
375
394
 
376
395
  @extend .active-field;
377
396
 
378
- .mdc-notched-outline__leading, .mdc-notched-outline__notch, .mdc-notched-outline__trailing {
397
+ .mdc-notched-outline__leading,
398
+ .mdc-notched-outline__notch,
399
+ .mdc-notched-outline__trailing {
379
400
  border-color: $black !important;
380
401
  }
381
402
 
@@ -386,23 +407,21 @@ ui-dropdown, ui-autocomplete {
386
407
  }
387
408
 
388
409
  &.mat-warn {
389
-
390
410
  .mat-mdc-form-field-required-marker:after {
391
411
  color: $error-50;
392
412
  }
393
413
 
394
414
  mat-label {
395
- color: $error-50!important;
415
+ color: $error-50 !important;
396
416
  }
397
417
 
398
418
  .mat-mdc-form-field-hint.error {
399
419
  color: $error-50 !important;
400
420
 
401
421
  a {
402
- color: $error-50!important;
422
+ color: $error-50 !important;
403
423
  }
404
424
 
405
-
406
425
  svg {
407
426
  color: $error-50 !important;
408
427
  }
@@ -413,18 +432,23 @@ ui-dropdown, ui-autocomplete {
413
432
  }
414
433
 
415
434
  .mat-mdc-text-field-wrapper {
416
- .mdc-notched-outline__leading, .mdc-notched-outline__notch, .mdc-notched-outline__trailing {
435
+ .mdc-notched-outline__leading,
436
+ .mdc-notched-outline__notch,
437
+ .mdc-notched-outline__trailing {
417
438
  border-color: $error-50 !important;
418
439
  }
419
440
 
420
- &:hover, &.mdc-text-field--focused {
441
+ &:hover,
442
+ &.mdc-text-field--focused {
421
443
  .mat-mdc-form-field-icon-prefix svg {
422
444
  color: $error-50 !important;
423
445
  }
424
446
 
425
447
  @extend .active-field;
426
448
 
427
- .mdc-notched-outline__leading, .mdc-notched-outline__notch, .mdc-notched-outline__trailing {
449
+ .mdc-notched-outline__leading,
450
+ .mdc-notched-outline__notch,
451
+ .mdc-notched-outline__trailing {
428
452
  border-color: $error-50 !important;
429
453
  }
430
454
 
@@ -439,18 +463,21 @@ ui-dropdown, ui-autocomplete {
439
463
  }
440
464
 
441
465
  // this overrides for dark ui-dropdown used in coderunner only. will be removed with proper rebranded dark theme
442
- *[theme="dark"], .dark {
466
+ *[theme='dark'],
467
+ .dark {
443
468
  .ui-dropdown-list.mat-accent {
444
469
  background-color: $grayscale-50;
445
470
 
446
471
  mat-option {
447
472
  background-color: $grayscale-50 !important;
448
473
 
449
- &:hover, &.mat-mdc-option-active {
474
+ &:hover,
475
+ &.mat-mdc-option-active {
450
476
  background-color: $grayscale-40 !important;
451
477
  }
452
478
 
453
- &, &.mat-mdc-option-active {
479
+ &,
480
+ &.mat-mdc-option-active {
454
481
  .mdc-list-item__primary-text {
455
482
  color: $tgo-white !important;
456
483
  }
@@ -508,12 +535,20 @@ ui-dropdown, ui-autocomplete {
508
535
  }
509
536
  }
510
537
 
511
- .ui-field[theme=light] .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-text-field-wrapper .mdc-notched-outline__notch label,
512
- .ui-field[theme=dark] .mat-mdc-form-field.mat-form-field-appearance-outline .mat-mdc-text-field-wrapper .mdc-notched-outline__notch label {
513
- color: $grayscale-50!important;
538
+ .ui-field[theme='light']
539
+ .mat-mdc-form-field.mat-form-field-appearance-outline
540
+ .mat-mdc-text-field-wrapper
541
+ .mdc-notched-outline__notch
542
+ label,
543
+ .ui-field[theme='dark']
544
+ .mat-mdc-form-field.mat-form-field-appearance-outline
545
+ .mat-mdc-text-field-wrapper
546
+ .mdc-notched-outline__notch
547
+ label {
548
+ color: $grayscale-50 !important;
514
549
 
515
550
  &:active {
516
- color: $black!important;
551
+ color: $black !important;
517
552
  }
518
553
  }
519
554
 
@@ -526,13 +561,14 @@ ui-dropdown, ui-autocomplete {
526
561
  padding-bottom: 10px;
527
562
  }
528
563
 
529
- span, .mat-mdc-form-field-hint-spacer {
564
+ span,
565
+ .mat-mdc-form-field-hint-spacer {
530
566
  line-height: 16px;
531
567
  }
532
568
  }
533
569
 
534
570
  .mat-mdc-form-field-hint:before {
535
- height: 0!important;
571
+ height: 0 !important;
536
572
  }
537
573
 
538
574
  .mat-mdc-form-field-hint.error {
@@ -551,7 +587,6 @@ ui-dropdown, ui-autocomplete {
551
587
  }
552
588
  }
553
589
 
554
-
555
590
  .custom-errors {
556
591
  ui-icon {
557
592
  margin-right: 4px;
@@ -569,7 +604,15 @@ ui-dropdown, ui-autocomplete {
569
604
  position: relative;
570
605
  }
571
606
 
572
- .light.mat-mdc-autocomplete-panel .mat-mdc-option:hover:not(.mdc-list-item--disabled), .light.mat-mdc-autocomplete-panel .mat-mdc-option:focus:not(.mdc-list-item--disabled), .light.mat-mdc-autocomplete-panel .mat-mdc-option.mat-mdc-option-active, .light.mat-mdc-autocomplete-panel .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple):not(.mdc-list-item--disabled),
573
- .dark.mat-mdc-autocomplete-panel .mat-mdc-option:hover:not(.mdc-list-item--disabled), .light.mat-mdc-autocomplete-panel .mat-mdc-option:focus:not(.mdc-list-item--disabled), .light.mat-mdc-autocomplete-panel .mat-mdc-option.mat-mdc-option-active, .light.mat-mdc-autocomplete-panel .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple):not(.mdc-list-item--disabled) {
574
- background: var(--ui-autocomplete-option-color)!important;
607
+ .light.mat-mdc-autocomplete-panel .mat-mdc-option:hover:not(.mdc-list-item--disabled),
608
+ .light.mat-mdc-autocomplete-panel .mat-mdc-option:focus:not(.mdc-list-item--disabled),
609
+ .light.mat-mdc-autocomplete-panel .mat-mdc-option.mat-mdc-option-active,
610
+ .light.mat-mdc-autocomplete-panel
611
+ .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple):not(.mdc-list-item--disabled),
612
+ .dark.mat-mdc-autocomplete-panel .mat-mdc-option:hover:not(.mdc-list-item--disabled),
613
+ .light.mat-mdc-autocomplete-panel .mat-mdc-option:focus:not(.mdc-list-item--disabled),
614
+ .light.mat-mdc-autocomplete-panel .mat-mdc-option.mat-mdc-option-active,
615
+ .light.mat-mdc-autocomplete-panel
616
+ .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple):not(.mdc-list-item--disabled) {
617
+ background: var(--ui-autocomplete-option-color) !important;
575
618
  }
@@ -1,13 +1,14 @@
1
- @use "variables.scss" as *;
2
- @use "tooltip.scss" as *;
3
- @use "mat-paginator.scss" as *;
4
- @use "core.scss" as *;
1
+ @use 'variables.scss' as *;
2
+ @use 'tooltip.scss' as *;
3
+ @use 'mat-paginator.scss' as *;
4
+ @use 'core.scss' as *;
5
5
 
6
- *[theme="dark"], *[theme="light"] {
6
+ *[theme='dark'],
7
+ *[theme='light'] {
7
8
  * {
8
- font-family: "ModernGothic", sans-serif !important;
9
+ font-family: 'ModernGothic', sans-serif !important;
9
10
  font-weight: 400;
10
- };
11
+ }
11
12
  }
12
13
 
13
14
  //custom scss for the angular material components
@@ -1,28 +1,29 @@
1
- @use "./variables" as *;
1
+ @use './variables' as *;
2
2
 
3
3
  .mat-mdc-paginator {
4
-
5
4
  .mdc-text-field--focused {
6
- .mdc-notched-outline__leading, .mdc-notched-outline__trailing, .mdc-notched-outline__notch {
5
+ .mdc-notched-outline__leading,
6
+ .mdc-notched-outline__trailing,
7
+ .mdc-notched-outline__notch {
7
8
  border-color: $tgo-petrol-default !important;
8
9
  }
9
10
  }
10
11
 
11
12
  .mat-mdc-select {
12
- &[aria-expanded="false"] {
13
+ &[aria-expanded='false'] {
13
14
  .mat-mdc-select-arrow {
14
15
  @extend .select-arrow;
15
16
  background-image: url('/icons/Arrow_down.svg');
16
17
  }
17
18
 
18
- &[aria-disabled="true"] {
19
+ &[aria-disabled='true'] {
19
20
  .mat-mdc-select-arrow {
20
21
  opacity: 0.2 !important;
21
22
  }
22
23
  }
23
24
  }
24
25
 
25
- &[aria-expanded="true"] {
26
+ &[aria-expanded='true'] {
26
27
  .mat-mdc-select-arrow {
27
28
  @extend .select-arrow;
28
29
  background-image: url('/icons/Arrow_up.svg');
@@ -36,13 +37,13 @@
36
37
  }
37
38
 
38
39
  .mdc-menu-surface {
39
- &[aria-labelledby*="mat-paginator"] {
40
+ &[aria-labelledby*='mat-paginator'] {
40
41
  mat-option {
41
- &[aria-selected="true"] {
42
- background: $tgo-petrol-90w!important;
42
+ &[aria-selected='true'] {
43
+ background: $tgo-petrol-90w !important;
43
44
 
44
45
  .mdc-list-item__primary-text {
45
- color: black!important;
46
+ color: black !important;
46
47
  }
47
48
  }
48
49
  }
@@ -1,19 +1,19 @@
1
- @use "@angular/material" as mat;
1
+ @use '@angular/material' as mat;
2
2
  @include mat.elevation-classes();
3
3
  @include mat.app-background();
4
4
  //teal
5
5
  $tgo-teal-palette: (
6
- 50: #ECF6F5,
6
+ 50: #ecf6f5,
7
7
  //secondary teal
8
- 100: #CBD6CB,
9
- 200: #B5DDD5,
10
- 300: #7EC3B6,
11
- 400: #55B9A6,
12
- 500: #46A997,
13
- 600: #347E70,
14
- 700: #31766A,
15
- 800: #2B685D,
16
- 900: #1C443C,
8
+ 100: #cbd6cb,
9
+ 200: #b5ddd5,
10
+ 300: #7ec3b6,
11
+ 400: #55b9a6,
12
+ 500: #46a997,
13
+ 600: #347e70,
14
+ 700: #31766a,
15
+ 800: #2b685d,
16
+ 900: #1c443c,
17
17
  contrast: (
18
18
  50: #000000,
19
19
  100: #000000,
@@ -30,16 +30,16 @@ $tgo-teal-palette: (
30
30
 
31
31
  //petrol
32
32
  $tgo-petrol-palette: (
33
- 50: #E9F0F1,
33
+ 50: #e9f0f1,
34
34
  //secondary petrol
35
- 100: #C8D7DE,
36
- 200: #A9C2C9,
37
- 300: #6894A0,
38
- 400: #368DA6,
35
+ 100: #c8d7de,
36
+ 200: #a9c2c9,
37
+ 300: #6894a0,
38
+ 400: #368da6,
39
39
  500: #276678,
40
- 600: #1F5261,
41
- 700: #1B4754,
42
- 800: #183F4A,
40
+ 600: #1f5261,
41
+ 700: #1b4754,
42
+ 800: #183f4a,
43
43
  900: #102930,
44
44
  contrast: (
45
45
  50: #000000,
@@ -56,14 +56,14 @@ $tgo-petrol-palette: (
56
56
  $tgo-error-palette: (
57
57
  50: #ffffff,
58
58
  //secondary error
59
- 100: #F0DAD9,
60
- 200: #E3C3C6,
61
- 300: #DCA7A6,
62
- 400: #D49190,
59
+ 100: #f0dad9,
60
+ 200: #e3c3c6,
61
+ 300: #dca7a6,
62
+ 400: #d49190,
63
63
  500: #cb7b7a,
64
- 600: #C26564,
65
- 700: #BA4F4E,
66
- 800: #8E5655,
64
+ 600: #c26564,
65
+ 700: #ba4f4e,
66
+ 800: #8e5655,
67
67
  900: #513131,
68
68
  contrast: (
69
69
  50: #000000,
@@ -89,9 +89,21 @@ $tgo-error: mat.m2-define-palette($tgo-error-palette, 500);
89
89
  //typography
90
90
  $tgo-typography: mat.m2-define-typography-config(
91
91
  $font-family: "'Open Sans', sans-serif",
92
- $body-1: mat.m2-define-typography-level($font-size: 14px, $letter-spacing: normal),
93
- $body-2: mat.m2-define-typography-level($font-size: 14px, $letter-spacing: normal),
94
- $button: mat.m2-define-typography-level($font-size: 14px, $letter-spacing: normal),
92
+ $body-1:
93
+ mat.m2-define-typography-level(
94
+ $font-size: 14px,
95
+ $letter-spacing: normal,
96
+ ),
97
+ $body-2:
98
+ mat.m2-define-typography-level(
99
+ $font-size: 14px,
100
+ $letter-spacing: normal,
101
+ ),
102
+ $button:
103
+ mat.m2-define-typography-level(
104
+ $font-size: 14px,
105
+ $letter-spacing: normal,
106
+ ),
95
107
  );
96
108
 
97
109
  $my-theme: mat.m2-define-light-theme(