Fixed linting

This commit is contained in:
Vito Albano
2023-11-17 01:08:12 +00:00
parent e918ec8f0e
commit 80f894eecd
36 changed files with 66 additions and 18 deletions

View File

@@ -46,11 +46,13 @@
overflow-wrap: anywhere;
padding: 5px 0;
font-size: 14px;
/* TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version. */
&.mat-list-item-disabled {
background-color: inherit;
color: inherit;
}
/* TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version. */
.mat-list-item-content,
.mat-list-item-content-reverse {

View File

@@ -47,6 +47,7 @@ h2.adf-search-results-label {
}
}
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-underline .mat-form-field-ripple {
height: 1px;
@@ -63,6 +64,7 @@ h2.adf-search-results-label {
.adf-site-dropdown-list-element {
width: 100%;
margin-bottom: 0;
/* TODO(mdc-migration): The following rule targets internal classes of select that may no longer apply for the MDC version. */
.mat-select-trigger {
font-size: var(--theme-body-1-font-size);

View File

@@ -109,6 +109,7 @@
.adf-sharable-link {
margin-left: 8px;
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-infix {
border-top: unset;
@@ -125,6 +126,7 @@
margin-right: 12px;
}
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-flex {
align-items: center;
@@ -133,10 +135,12 @@
.mat-mdc-dialog-container {
padding: 0;
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-appearance-legacy .mat-form-field-underline {
display: none;
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-appearance-legacy .mat-form-field-wrapper {
padding-bottom: 8px;
@@ -153,6 +157,7 @@
margin-bottom: 0;
padding: 2px 0;
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-suffix {
padding-left: 8px;

View File

@@ -62,6 +62,7 @@
width: 100%;
min-width: 250px;
}
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
&-userinfo-tab .mat-tab-label {
flex: auto;
@@ -146,6 +147,7 @@
&-userinfo-detail {
text-align: left;
}
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
&-hide-tab .mat-tab-label-active {
display: none !important;

View File

@@ -1,4 +1,3 @@
/* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
.adf-download-zip-dialog .mat-dialog-actions .mat-button-wrapper {
text-transform: uppercase;

View File

@@ -11,11 +11,13 @@
.mat-checkbox-layout {
width: 100%;
}
/* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
.mat-checkbox-label {
text-overflow: ellipsis;
overflow: hidden;
}
/* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
.mat-checkbox-inner-container {
margin: auto 8px auto 0;

View File

@@ -21,8 +21,7 @@ import { MatCardModule } from '@angular/material/card';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { MatAutocompleteModule } from '@angular/material/autocomplete';
import { MatChipsModule } from '@angular/material/chips';
import { MatRippleModule } from '@angular/material/core';
import { MatOptionModule } from '@angular/material/core';
import { MatRippleModule, MatOptionModule } from '@angular/material/core';
import { MatDatepickerModule } from '@angular/material/datepicker';
import { MatDialogModule } from '@angular/material/dialog';
import { MatExpansionModule } from '@angular/material/expansion';

View File

@@ -59,7 +59,8 @@
}
}
}
/*TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version.
/* TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version.
*/
.mat-list-item-content {
padding: 0;

View File

@@ -57,6 +57,7 @@
.adf {
&-search-user-button {
width: 100%;
/* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
.mat-button-wrapper {
display: flex;

View File

@@ -50,6 +50,7 @@
&-permission-role-column-header {
position: relative;
height: 40px;
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-infix {
border: none;

View File

@@ -6,12 +6,14 @@
&.mat-mdc-checkbox {
display: block;
}
/* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
.mat-checkbox-label {
text-overflow: ellipsis;
overflow: hidden;
width: 100%;
}
/* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
.mat-checkbox-layout {
width: 100%;

View File

@@ -2,10 +2,12 @@ adf-search-chip-autocomplete-input {
.adf-chip-list {
width: 100%;
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-appearance-outline .mat-form-field-outline {
top: 0;
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-infix {
border: none;
@@ -18,6 +20,7 @@ adf-search-chip-autocomplete-input {
height: auto;
word-break: break-word;
}
/* TODO(mdc-migration): The following rule targets internal classes of chips that may no longer apply for the MDC version. */
.mat-chip-remove.adf-option-chips-delete-button {
font-size: 13px;
@@ -30,10 +33,12 @@ adf-search-chip-autocomplete-input {
width: 13px;
}
}
/* TODO(mdc-migration): The following rule targets internal classes of chips that may no longer apply for the MDC version. */
.mat-chip-list-wrapper {
min-height: 40px;
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-wrapper {
padding: 0;

View File

@@ -1,6 +1,7 @@
.mat-mdc-chip:focus {
color: var(--theme-accent-color-default-contrast);
background-color: var(--theme-accent-color);
/* TODO(mdc-migration): The following rule targets internal classes of chips that may no longer apply for the MDC version. */
.mat-chip-remove {
color: var(--theme-accent-color-default-contrast);

View File

@@ -6,12 +6,14 @@
max-height: 180px;
padding: 5px 0;
overflow-y: auto;
/* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
.mat-checkbox-label {
text-overflow: ellipsis;
overflow: hidden;
width: 100%;
}
/* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
.mat-checkbox-layout {
width: 100%;
@@ -25,6 +27,7 @@
.mat-mdc-checkbox {
margin: 5px;
/* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
&.mat-checkbox-checked .mat-checkbox-label {
font-weight: bold;
@@ -57,10 +60,12 @@
font-size: var(--theme-body-1-font-size);
line-height: 24px;
letter-spacing: 0.25px;
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-underline {
display: none;
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-suffix {
padding-right: 1px;
@@ -80,6 +85,7 @@
padding-top: 15px;
}
}
/* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
.mat-checkbox-label,
.mat-radio-label {

View File

@@ -18,6 +18,7 @@
background: var(--adf-theme-background-unselected-chip-color);
color: unset;
}
/* TODO(mdc-migration): The following rule targets internal classes of chips that may no longer apply for the MDC version. */
&.mat-chip-list-wrapper {
margin: 4px 6px;

View File

@@ -1,9 +1,11 @@
adf-search-filter-tabbed {
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
.mat-tab-label {
flex: 1;
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
&.mat-tab-label-active {
border-bottom: 2px solid var(--theme-primary-color);
}
@@ -11,7 +13,8 @@ adf-search-filter-tabbed {
// The important tag is used here as a workaround for a bug in angular material, when MatTabs are used in conjunction with MatMenu
// https://github.com/angular/components/issues/27426
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
.mat-mdc-tab-body.mat-tab-body-active .mat-tab-body-content {
display: block;
visibility: visible !important;

View File

@@ -3,6 +3,7 @@
font-size: var(--theme-body-1-font-size);
color: var(--adf-theme-foreground-text-color-087);
}
/* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
.mat-checkbox-label,
.mat-radio-label {

View File

@@ -7,6 +7,7 @@
min-width: 190px;
align-content: center;
overflow: hidden;
/* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
.mat-button-wrapper {
display: flex;

View File

@@ -32,6 +32,7 @@ adf-search-properties {
}
}
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-underline {
display: none;
@@ -43,7 +44,9 @@ adf-search-properties {
adf-search-chip-autocomplete-input {
display: block;
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-outline {
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
@@ -73,6 +76,7 @@ adf-search-properties {
.mat-form-field-appearance-outline {
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-outline-thick {
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */

View File

@@ -15,6 +15,7 @@
overflow: hidden;
width: 100%;
}
/* TODO(mdc-migration): The following rule targets internal classes of radio that may no longer apply for the MDC version. */
.mat-radio-label {
width: 100%;

View File

@@ -22,6 +22,7 @@ $adf-average-star-color: #808080;
transition: all 0.3s;
cursor: pointer;
width: 25px;
/* TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version. */
.mat-list-item-content {
padding: 0 !important;

View File

@@ -97,6 +97,7 @@ adf-tags-creator {
& + .adf-tag {
margin-top: -10px;
}
/* TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version. */
.mat-list-item-content-reverse {
padding: 0;
@@ -112,6 +113,7 @@ adf-tags-creator {
overflow: unset;
min-height: 62px;
}
/* TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version. */
.mat-list-item-disabled {
background-color: inherit;
@@ -119,6 +121,7 @@ adf-tags-creator {
}
}
}
/* TODO(mdc-migration): The following rule targets internal classes of dialog that may no longer apply for the MDC version. */
mat-dialog-actions {
margin-right: -24px;

View File

@@ -3,6 +3,7 @@ adf-version-manager {
height: auto !important;
width: 100% !important;
}
/* TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version. */
.mat-list-item-content {
padding: 16px 0 !important;

View File

@@ -23,8 +23,7 @@ import { MatButtonModule } from '@angular/material/button';
import { MatCardModule } from '@angular/material/card';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { MatChipsModule } from '@angular/material/chips';
import { MatNativeDateModule, MatRippleModule } from '@angular/material/core';
import { MatOptionModule } from '@angular/material/core';
import { MatNativeDateModule, MatRippleModule, MatOptionModule } from '@angular/material/core';
import { MatDatepickerModule } from '@angular/material/datepicker';
import { MatDialogModule } from '@angular/material/dialog';
import { MatExpansionModule } from '@angular/material/expansion';

View File

@@ -12,6 +12,7 @@
white-space: nowrap;
overflow: hidden;
}
/* TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version. */
.mat-nav-list .mat-mdc-list-item .mat-list-item-content {
line-height: 48px;

View File

@@ -21,8 +21,7 @@ import { MatButtonModule } from '@angular/material/button';
import { MatCardModule } from '@angular/material/card';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { MatChipsModule } from '@angular/material/chips';
import { MatNativeDateModule, MatRippleModule } from '@angular/material/core';
import { MatOptionModule } from '@angular/material/core';
import { MatNativeDateModule, MatRippleModule, MatOptionModule } from '@angular/material/core';
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
import { MatDatepickerModule } from '@angular/material/datepicker';
import { MatDialogModule } from '@angular/material/dialog';

View File

@@ -55,6 +55,7 @@
&-attach-widget-repo-button {
padding-left: 10px;
/* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
.mat-button-wrapper {
display: inline;

View File

@@ -4,6 +4,7 @@
.mat-form-field-suffix {
top: 26px;
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-label-wrapper {
top: 20px;
@@ -15,6 +16,7 @@
.mat-form-field-suffix {
top: 0;
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-infix {
width: 100%;

View File

@@ -7,6 +7,7 @@
padding-top: 0 !important;
width: 100%;
}
/* TODO(mdc-migration): The following rule targets internal classes of select that may no longer apply for the MDC version. */
.mat-select-value-text {
font-size: var(--theme-body-1-font-size);

View File

@@ -21,8 +21,7 @@ import { MatButtonModule } from '@angular/material/button';
import { MatCardModule } from '@angular/material/card';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { MatChipsModule } from '@angular/material/chips';
import { MatNativeDateModule, MatRippleModule } from '@angular/material/core';
import { MatOptionModule } from '@angular/material/core';
import { MatNativeDateModule, MatRippleModule, MatOptionModule } from '@angular/material/core';
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
import { MatDatepickerModule } from '@angular/material/datepicker';
import { MatDialogModule } from '@angular/material/dialog';

View File

@@ -2,6 +2,7 @@ adf-cloud-process-filter-dialog-cloud {
.adf-process-filter-dialog .mat-mdc-card {
padding: 0;
box-shadow: none;
/* TODO(mdc-migration): The following rule targets internal classes of card that may no longer apply for the MDC version. */
mat-card-actions {
display: flex;

View File

@@ -4,6 +4,7 @@
.mat-form-field-label {
color: var(--adf-theme-mat-grey-color-a200-dark);
}
/* TODO(mdc-migration): The following rule targets internal classes of card that may no longer apply for the MDC version. */
mat-card-actions,
&-cloud-actions {

View File

@@ -25,8 +25,7 @@ import { StartProcessCloudComponent } from './start-process-cloud.component';
import { MatAutocompleteModule } from '@angular/material/autocomplete';
import { MatButtonModule } from '@angular/material/button';
import { MatCardModule } from '@angular/material/card';
import { MatRippleModule, MatCommonModule } from '@angular/material/core';
import { MatOptionModule } from '@angular/material/core';
import { MatRippleModule, MatCommonModule, MatOptionModule } from '@angular/material/core';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatIconModule } from '@angular/material/icon';
import { MatInputModule } from '@angular/material/input';

View File

@@ -2,6 +2,7 @@ adf-cloud-task-filter-dialog {
.adf-task-filter-dialog .mat-mdc-card {
padding: 0;
box-shadow: none;
/* TODO(mdc-migration): The following rule targets internal classes of card that may no longer apply for the MDC version. */
mat-card-actions {
display: flex;

View File

@@ -12,6 +12,7 @@
height: 36px;
border-radius: 5px;
}
/* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
& .mat-button-wrapper {
width: 58px;

View File

@@ -21,8 +21,7 @@ import { MatButtonModule } from '@angular/material/button';
import { MatCardModule } from '@angular/material/card';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { MatChipsModule } from '@angular/material/chips';
import { MatNativeDateModule, MatRippleModule } from '@angular/material/core';
import { MatOptionModule } from '@angular/material/core';
import { MatNativeDateModule, MatRippleModule, MatOptionModule } from '@angular/material/core';
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
import { MatDatepickerModule } from '@angular/material/datepicker';
import { MatDialogModule } from '@angular/material/dialog';