[affected:*][ci:force] Upgrading material selector class

This commit is contained in:
Vito Albano 2024-03-08 20:24:03 +00:00 committed by VitoAlbano
parent 4bcfaf782e
commit 946bdfff17
35 changed files with 406 additions and 173 deletions

View File

@ -1,4 +1,4 @@
<mat-card *ngIf="node" class="adf-content-metadata-card-view">
<mat-card appearance="outlined" *ngIf="node" class="adf-content-metadata-card-view">
<mat-card-content class="adf-content-metadata-card-view-content">
<adf-content-metadata
[displayDefaultProperties]="displayDefaultProperties"

View File

@ -28,21 +28,21 @@ import { TranslateModule } from '@ngx-translate/core';
encapsulation: ViewEncapsulation.None,
styles: [
`
adf-content-metadata-header {
display: flex;
align-items: center;
width: 100%;
}
adf-content-metadata-header {
display: flex;
align-items: center;
width: 100%;
}
.adf-metadata-properties-title {
display: block;
overflow: hidden;
text-overflow: ellipsis;
font-weight: 700;
font-size: 15px;
padding-left: 12px;
}
`
.adf-metadata-properties-title {
display: block;
overflow: hidden;
text-overflow: ellipsis;
font-weight: 700;
font-size: 15px;
padding-left: 12px;
}
`
],
template: `
<ng-container>

View File

@ -40,7 +40,7 @@
<mat-menu #menu="matMenu" id="user-profile-lists" [xPosition]="menuPositionX" [yPosition]="menuPositionY"
[overlapTrigger]="false" class="adf-userinfo-menu">
<mat-card *ngIf="mode === userInfoMode.CONTENT" class="adf-userinfo-card adf-content-userinfo-card">
<mat-card appearance="outlined" *ngIf="mode === userInfoMode.CONTENT" class="adf-userinfo-card adf-content-userinfo-card">
<mat-card-header class="adf-userinfo-card-header"
[style.background-image]="'url(' + ecmBackgroundImage + ')'">
<div *ngIf="ecmUser.avatarId; else initialTemplate"
@ -53,7 +53,7 @@
[outerHTML]="ecmUser | usernameInitials:'adf-userinfo-profile-initials adf-hide-small'"></div>
</ng-template>
<div class="mat-title" id="ecm-username">{{ecmUser | fullName}}</div>
<div class="mat-headline-6" id="ecm-username">{{ecmUser | fullName}}</div>
</mat-card-header>
<mat-card-content>
<div class="adf-userinfo-supporting-text">
@ -73,7 +73,7 @@
</div>
</mat-card-content>
</mat-card>
<mat-card *ngIf="mode === userInfoMode.CONTENT_SSO" class="adf-userinfo-card adf-content-userinfo-card">
<mat-card appearance="outlined" *ngIf="mode === userInfoMode.CONTENT_SSO" class="adf-userinfo-card adf-content-userinfo-card">
<mat-card-header class="adf-userinfo-card-header"
[style.background-image]="'url(' + bpmBackgroundImage + ')'">
<div *ngIf="ecmUser.avatarId; else initialTemplate"
@ -85,7 +85,7 @@
<div
[outerHTML]="identityUser | usernameInitials:'adf-userinfo-profile-initials adf-hide-small'"></div>
</ng-template>
<div class="mat-title" id="identity-username">{{identityUser | fullName}}</div>
<div class="mat-headline-6" id="identity-username">{{identityUser | fullName}}</div>
</mat-card-header>
<mat-card-content>
<div class="adf-userinfo-supporting-text">

View File

@ -42,18 +42,18 @@ import { RoleModel } from '../../models/role.model';
host: { class: 'adf-user-role-column adf-datatable-content-cell adf-expand-cell-4' },
styles: [
`.adf-role-selector-field {
width: 100%;
}
.adf-role-selector-field .mat-mdc-form-field {
width: 100%;
max-width: 200px;
}
.adf-readonly-role {
padding-left: 0 !important;
}
`
width: 100%;
}
.adf-role-selector-field .mat-mdc-form-field {
width: 100%;
max-width: 200px;
}
.adf-readonly-role {
padding-left: 0 !important;
}
`
]
})
export class UserRoleColumnComponent {

View File

@ -26,10 +26,10 @@ import { SearchWidgetContainerComponent } from '../../search-widget-container/se
templateUrl: './search-widget-chip.component.html',
styles: [
`
.adf-search-widget-extra-width {
max-width: 500px;
}
`
.adf-search-widget-extra-width {
max-width: 500px;
}
`
],
encapsulation: ViewEncapsulation.None
})

View File

@ -3,7 +3,7 @@
[max]="max"
[step]="step"
class="adf-search-slider"
data-automation-id="slider-range" #ngSlider>
data-automation-id="slider-range" #ngSlider><input matSliderThumb />
<input
matSliderThumb
(change)="onChangedHandler({source: ngSliderThumb, parent: ngSlider, value: ngSliderThumb.value})"

View File

@ -29,7 +29,6 @@
}
&-property-value {
/* TODO(mdc-migration): The following rule targets internal classes of chips that may no longer apply for the MDC version. */
/* TODO(mdc-migration): The following rule targets internal classes of chips that may no longer apply for the MDC version. */
.mat-chip-list {
padding-top: 6px;

View File

@ -25,10 +25,10 @@ import { BaseCardView } from '../base-card-view';
templateUrl: './card-view-boolitem.component.html',
styles: [
`
.adf-property-value {
padding: 15px 0;
}
`
.adf-property-value {
padding: 15px 0;
}
`
]
})

View File

@ -13,11 +13,13 @@
}
.adf-property-value-editable {
/* TODO(mdc-migration): The following rule targets internal classes of select that may no longer apply for the MDC version. */
mat-select {
padding: 6px 0 6px 12px;
margin-top: 0;
border-radius: 6px;
/* TODO(mdc-migration): The following rule targets internal classes of select that may no longer apply for the MDC version. */
.mat-select-value {
color: var(--adf-metadata-action-button-clear-color);
}

View File

@ -32,6 +32,7 @@
}
.adf-textitem-chip-list-container {
/* 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 {
margin-top: 6px;
}
@ -46,7 +47,7 @@
}
.adf-property-field {
.mat-input-element {
.mat-mdc-input-element {
color: var(--theme-primary-color);
cursor: pointer;
}

View File

@ -26,12 +26,14 @@
.adf-property {
.adf-property-field {
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-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-input-element {
.mat-mdc-input-element {
text-overflow: ellipsis;
color: var(--adf-metadata-property-panel-title-color);
padding: 6px 0;
@ -39,7 +41,7 @@
}
.adf-card-view__key-value-pairs__row {
.mat-input-element {
.mat-mdc-input-element {
margin-top: 0;
padding-left: 12px;
}
@ -49,10 +51,12 @@
border-top-width: 0;
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-flex {
padding-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-wrapper {
padding-bottom: 0;
@ -65,11 +69,11 @@
display: flex;
flex-direction: column;
height: 20px;
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
&.mat-form-field-empty {
transform: translateY(-1.3437em) scale(1);
}
}
}
}
}
@ -82,7 +86,7 @@
background-color: var(--adf-metadata-buttons-background-color);
border-radius: 6px;
&.mat-input-element {
&.mat-mdc-input-element {
color: var(--adf-metadata-action-button-clear-color);
padding: 6px 0 6px 12px;
margin: 5px 0 0;
@ -92,7 +96,7 @@
&.adf-property-readonly-value {
color: var(--adf-metadata-property-panel-label-color);
&.mat-input-element {
&.mat-mdc-input-element {
color: var(--adf-metadata-property-panel-label-color);
}
}

View File

@ -8,7 +8,7 @@
[class.adf-dynamic-chip-list-full-width]="limitChipsDisplayed && !calculationsDone"
role="listbox"
[attr.aria-label]="'METADATA.BASIC.TAGS' | translate">
<mat-chip
<mat-chip-option
class="adf-dynamic-chip-list-chip"
*ngFor="let chip of chipsToDisplay; let idx = index"
[style.border-radius]="roundUpChips ? '20px' : '10px'"
@ -21,7 +21,7 @@
matChipRemove>
close
</mat-icon>
</mat-chip>
</mat-chip-option>
</mat-chip-listbox>
<button
data-automation-id="adf-dynamic-chip-list-view-more-button"

View File

@ -23,6 +23,7 @@
}
&.adf-dynamic-chip-list-paginated {
/* TODO(mdc-migration): The following rule targets internal classes of chips that may no longer apply for the MDC version. */
mat-chip-list {
width: 100%;

View File

@ -90,7 +90,7 @@
mat-form-field {
width: 100%;
}
/* TODO(mdc-migration): The following rule targets internal classes of input that may no longer apply for the MDC version. */
/* TODO(mdc-migration): The following rule targets internal classes of input that may no longer apply for the MDC version. */
.mat-input-placeholder {
top: 1.8em;
@ -103,7 +103,7 @@
background-color: 300ms cubic-bezier(0.55, 0, 0.55, 0.2);
color: var(--theme-primary-color);
}
/* 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-prefix {
color: var(--theme-primary-color);
@ -134,11 +134,13 @@
& .mat-mdc-card-header-text {
margin: 0 !important;
}
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
& .mat-tab-body-content {
overflow: hidden;
}
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
& .mdc-tab__text-label {
@ -153,6 +155,7 @@
& .mat-ink-bar {
height: 4px;
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
& .mat-mdc-text-field-wrapper {
@ -224,7 +227,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. */
/* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
& .mdc-button__label {
width: 58px;
@ -242,7 +245,7 @@
flex: 1;
}
}
/* 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. */
&-left-label-input-container .mat-form-field-label-wrapper {
top: auto;

View File

@ -1,12 +1,11 @@
/* stylelint-disable selector-class-pattern */
.adf {
&-date-time-widget {
/* 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-mdc-form-field-text-suffix {
top: 26px;
}
/* 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-label-wrapper {
top: 20px;
@ -14,12 +13,11 @@
}
&-left-label-input-datepicker {
/* 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-mdc-form-field-text-suffix {
top: 0;
}
/* 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-mdc-form-field-infix {
width: 100%;

View File

@ -34,12 +34,11 @@ ul > li > form-field > .adf-focus {
}
&-invalid {
/* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
/* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
.mat-mdc-checkbox {
padding-bottom: 12px;
}
/* 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-underline {
background-color: var(--theme-warn-color);
@ -54,7 +53,7 @@ ul > li > form-field > .adf-focus {
.adf-file {
border-color: var(--theme-warn-color);
}
/* 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-prefix {
color: var(--adf-theme-foreground-secondary-text-color);

View File

@ -2,7 +2,7 @@
.adf {
&-text-widget {
width: 100%;
/* 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-label-wrapper {
top: 20px;

View File

@ -27,7 +27,7 @@
>
<mat-card class="adf-userinfo-card adf-identity-userinfo-card">
<mat-card-header class="adf-userinfo-card-header" [style.background-image]="'url(' + bpmBackgroundImage + ')'">
<div class="mat-title" id="identity-username">{{ identityUser | fullName }}</div>
<div class="mat-headline-6" id="identity-username">{{ identityUser | fullName }}</div>
</mat-card-header>
<mat-card-content>
<div class="adf-userinfo-supporting-text">

View File

@ -4,7 +4,7 @@
display: block;
margin: 0;
}
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
.mdc-tab__text-label {
min-width: 0;
@ -30,13 +30,12 @@
}
.adf-info-drawer-tabs {
/* 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-body-content > * {
margin-bottom: 20px;
display: block;
}
/* 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-body-content > *:last-child {
margin-bottom: 0;
@ -58,7 +57,7 @@
padding: 10px;
overflow-y: hidden;
}
/* 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-body-content {
/* stylelint-disable */

View File

@ -0,0 +1,218 @@
<div class="adf-login-content" [style.background-image]="getBackgroundUrlImageUrl()">
<div class="adf-ie11FixerParent">
<div class="adf-ie11FixerChild">
<mat-card appearance="outlined" class="adf-login-card-wide">
<form
id="adf-login-form"
[formGroup]="form"
autocomplete="off"
(submit)="onSubmit(form.value)">
<mat-card-header class="adf-login-card-header-text">
<mat-card-title>
<div class="adf-alfresco-logo">
<!--HEADER TEMPLATE-->
<ng-template
*ngIf="headerTemplate"
ngFor
[ngForOf]="[data]"
[ngForTemplate]="headerTemplate">
</ng-template>
<img
*ngIf="!headerTemplate"
id="adf-login-img-logo"
class="adf-img-logo"
[src]="logoImageUrl"
alt="{{'LOGIN.LOGO' | translate }}">
</div>
</mat-card-title>
</mat-card-header>
<mat-card-content class="adf-login-controls">
<!--ERRORS AREA-->
<div class="adf-error-container">
<div
*ngIf="isError"
id="login-error"
data-automation-id="login-error"
class="adf-error adf-error-message">
<mat-icon class="adf-error-icon">warning</mat-icon>
<span class="adf-login-error-message">
{{errorMsg | translate }}
</span>
</div>
</div>
<div *ngIf="!ssoLogin">
<!--USERNAME FIELD-->
<div
class="adf-login__field"
[ngClass]="{'adf-is-invalid': isErrorStyle(form.controls.username)}">
<mat-form-field
class="adf-full-width adf-login-form-field"
floatPlaceholder="never"
color="primary">
<input
matInput
type="text"
class="adf-full-width"
formControlName="username"
id="username"
data-automation-id="username"
placeholder="{{'LOGIN.LABEL.USERNAME' | translate }}"
autocapitalize="none"
(blur)="trimUsername($event)">
</mat-form-field>
<span
*ngIf="formError['username']"
class="adf-login-validation"
for="username">
<span
id="username-error"
class="adf-login-error"
data-automation-id="username-error">
{{formError['username'] | translate}}
</span>
</span>
</div>
<!--PASSWORD FIELD-->
<div class="adf-login__field">
<mat-form-field
class="adf-full-width adf-login-form-field"
floatPlaceholder="never"
color="primary">
<input
matInput
placeholder="{{'LOGIN.LABEL.PASSWORD' | translate }}"
[type]="isPasswordShow ? 'text' : 'password'"
formControlName="password"
id="password"
data-automation-id="password">
<button
matSuffix
mat-icon-button
type="button"
[attr.aria-label]="(isPasswordShow ? 'LOGIN.ARIA-LABEL.HIDE-PASSWORD' : 'LOGIN.ARIA-LABEL.SHOW-PASSWORD') | translate"
(click)="toggleShowPassword($event)"
(keyup.enter)="toggleShowPassword($event)"
[attr.data-automation-id]="isPasswordShow ? 'hide_password' : 'show_password'">
<mat-icon class="adf-login-form-password-icon adf-login-password-icon">
{{ isPasswordShow ? 'visibility' : 'visibility_off' }}
</mat-icon>
</button>
</mat-form-field>
<span
class="adf-login-validation"
for="password"
*ngIf="formError['password']">
<span
id="password-required"
class="adf-login-error"
data-automation-id="password-required">
{{formError['password'] | translate}}
</span>
</span>
</div>
<!--CUSTOM CONTENT-->
<ng-content></ng-content>
<br>
<button
type="submit"
id="login-button"
class="adf-login-button"
mat-raised-button
color="accent"
[class.adf-isChecking]="actualLoginStep === LoginSteps.Checking"
[class.adf-isWelcome]="actualLoginStep === LoginSteps.Welcome"
data-automation-id="login-button"
[disabled]="!form.valid"
[attr.aria-label]="'LOGIN.BUTTON.LOGIN' | translate">
<span
*ngIf="actualLoginStep === LoginSteps.Landing"
class="adf-login-button-label">
{{'LOGIN.BUTTON.LOGIN' | translate }}
</span>
<div
*ngIf="actualLoginStep === LoginSteps.Checking"
class="adf-interactive-login-label">
<span class="adf-login-button-label">
{{ 'LOGIN.BUTTON.CHECKING' | translate}}
</span>
<div class="adf-login-spinner-container">
<mat-spinner
id="checking-spinner"
class="adf-login-checking-spinner"
[strokeWidth]="4"
[diameter]="25">
</mat-spinner>
</div>
</div>
<div
*ngIf="actualLoginStep === LoginSteps.Welcome"
class="adf-interactive-login-label">
<span class="adf-login-button-label">{{ 'LOGIN.BUTTON.WELCOME' | translate }}</span>
<mat-icon class="adf-welcome-icon">done</mat-icon>
</div>
</button>
<div *ngIf="showRememberMe" class="adf-login__remember-me">
<mat-checkbox
id="adf-login-remember"
color="primary"
class="adf-login-remember-me"
[checked]="rememberMe"
(change)="rememberMe = !rememberMe">
<div class="adf-login-remember-me-label">
{{ 'LOGIN.LABEL.REMEMBER' | translate }}
</div>
</mat-checkbox>
</div>
</div>
<div *ngIf="ssoLogin">
<button
type="button"
(click)="implicitLogin()"
id="login-button-sso"
[attr.aria-label]="'LOGIN.BUTTON.SSO' | translate"
class="adf-login-button"
mat-raised-button color="primary"
data-automation-id="login-button-sso">
<span class="adf-login-button-label">{{ 'LOGIN.BUTTON.SSO' | translate }}</span>
</button>
</div>
</mat-card-content>
<mat-card-actions *ngIf="footerTemplate || showLoginActions">
<div class="adf-login-action-container">
<!--FOOTER TEMPLATE-->
<ng-template
*ngIf="footerTemplate"
ngFor
[ngForOf]="[data]"
[ngForTemplate]="footerTemplate">
</ng-template>
<div class="adf-login-action" *ngIf="!footerTemplate && showLoginActions">
<div id="adf-login-action-left" class="adf-login-action-left">
<a href="{{needHelpLink}}">{{'LOGIN.ACTION.HELP' | translate }}</a>
</div>
<div id="adf-login-action-right" class="adf-login-action-right">
<a href="{{registerLink}}">{{'LOGIN.ACTION.REGISTER' | translate }}</a>
</div>
</div>
</div>
</mat-card-actions>
</form>
</mat-card>
<div class="adf-copyright" data-automation-id="login-copyright">
{{ copyrightText }}
</div>
</div>
</div>
</div>

View File

@ -20,13 +20,11 @@
}
&-input-form-field-divider {
/* 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. */
/* 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-underline {
background-color: var(--adf-theme-primary-50);
/* 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. */
.mdc-line-ripple {
background-color: var(--adf-theme-primary-50);

View File

@ -39,7 +39,6 @@ import { ExtensionService } from '../../services/extension.service';
host: { class: 'adf-dynamic-column' },
styles: [
`
]
.adf-dynamic-column {
display: flex;
align-items: center;

View File

@ -31,7 +31,7 @@
</button>
</adf-toolbar>
<mat-card [class.adf-cloud-form-content-card]="displayMode === 'fullScreen'">
<mat-card appearance="outlined" [class.adf-cloud-form-content-card]="displayMode === 'fullScreen'">
<div class="adf-cloud-form-content-card-container">
<mat-card-header *ngIf="showTitle || showRefreshButton || showValidationIcon">
<mat-card-title>

View File

@ -74,11 +74,13 @@
flex-direction: column;
height: 100%;
/* TODO(mdc-migration): The following rule targets internal classes of card that may no longer apply for the MDC version. */
mat-card-content {
height: 100%;
overflow: hidden auto;
}
/* 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;
justify-content: flex-end;

View File

@ -2,7 +2,7 @@
<span mat-dialog-title id="adf-process-filter-dialog-title">
{{ 'ADF_CLOUD_EDIT_PROCESS_FILTER.DIALOG.TITLE' | translate}}
</span>
<mat-card class="adf-process-filter-dialog-card">
<mat-card appearance="outlined" class="adf-process-filter-dialog-card">
<mat-card-content class="adf-process-filter-dialog-card-content">
<form [formGroup]="filterForm">
<mat-form-field class="adf-process-filter-name" [floatLabel]="'auto'">

View File

@ -1,4 +1,4 @@
<mat-card *ngIf="processInstanceDetails" class="adf-process-header-cloud-card">
<mat-card appearance="outlined" *ngIf="processInstanceDetails" class="adf-process-header-cloud-card">
<mat-card-content>
<adf-card-view [properties]="properties"></adf-card-view>
</mat-card-content>

View File

@ -2,7 +2,7 @@
<span mat-dialog-title id="adf-task-filter-dialog-title">
{{ 'ADF_CLOUD_EDIT_TASK_FILTER.DIALOG.TITLE' | translate}}
</span>
<mat-card class="adf-task-filter-dialog-card">
<mat-card appearance="outlined" class="adf-task-filter-dialog-card">
<mat-card-content class="adf-task-filter-dialog-card-content">
<form [formGroup]="filterForm">
<mat-form-field class="adf-task-filter-name" [floatLabel]="'auto'">

View File

@ -2,12 +2,12 @@
max-width: 100%;
max-height: 100%;
& .mat-card {
& .mat-mdc-card {
padding: 16px 24px;
overflow: hidden;
}
& .mat-card-header-text {
& .mat-mdc-card-header-text {
margin: 0;
}
@ -15,7 +15,8 @@
overflow: hidden;
}
& .mat-tab-label {
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
& .mdc-tab__text-label {
font-size: var(--theme-subheading-2-font-size);
line-height: var(--theme-headline-line-height);
letter-spacing: -0.4px;
@ -28,7 +29,8 @@
height: 4px;
}
& .mat-form-field-wrapper {
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
& .mat-mdc-text-field-wrapper {
margin: 0 12px 0 0;
}
@ -90,12 +92,12 @@
padding-bottom: 25px;
padding-right: 25px;
& .mat-button {
& .mat-mdc-button {
height: 36px;
border-radius: 5px;
}
& .mat-button-wrapper {
& .mdc-button__label {
width: 58px;
height: 20px;
opacity: 0.54;

View File

@ -38,6 +38,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. */
.mdc-button__label {
display: inline;
@ -69,6 +70,7 @@
.mat-line {
margin-bottom: 0;
}
/* TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version. */
.mdc-list-item__primary-text {
max-width: 200px;

View File

@ -1,6 +1,7 @@
.adf {
&-people-widget {
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-label-wrapper {
top: 10px;

View File

@ -10,6 +10,7 @@
mat-form-field {
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-label {
color: var(--adf-theme-mat-grey-color-a200-dark);

View File

@ -74,6 +74,7 @@ adf-start-task {
people-widget.adf-people-widget-content {
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-label-wrapper {
top: -14px;
@ -134,6 +135,7 @@ adf-start-task {
.adf-file {
border-color: var(--theme-warn-color);
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-prefix {
color: var(--theme-warn-color);

View File

@ -87,6 +87,7 @@ adf-task-details {
}
}
}
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
& .mdc-tab__text-label {
flex-grow: 1;

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. */
& .mdc-button__label {
width: 58px;

View File

@ -17,21 +17,21 @@
export const materialLocators = {
Accent: {
class: '.mat-accent'
class: '.mat-mdc-accent'
},
Accordion: {
root: 'mat-accordion'
},
Autocomplete: {
panel: {
class: '.mat-autocomplete-panel',
class: '.mat-mdc-autocomplete-panel',
root: 'mat-autocomplete-panel'
}
},
Button: {
class: '.mat-button',
class: '.mat-mdc-button',
disabled: 'mat-button-disabled',
wrapper: '.mat-button-wrapper'
wrapper: '.mat-mdc-button-wrapper'
},
Calendar: {
root: 'mat-calendar',
@ -39,11 +39,11 @@ export const materialLocators = {
cell: {
root: 'mat-calendar-body-cell',
content: {
class: '.mat-calendar-body-cell-content'
class: '.mat-mdc-calendar-body-cell-content'
}
},
today: {
class: '.mat-calendar-body-today'
class: '.mat-mdc-calendar-body-today'
},
active: {
root: 'mat-calendar-body-active'
@ -53,13 +53,13 @@ export const materialLocators = {
},
Card: {
root: 'mat-card',
class: '.mat-card',
class: '.mat-mdc-card',
content: {
class: '.mat-card-content',
class: '.mat-mdc-card-content',
root: 'mat-card-content'
},
title: {
class: '.mat-card-title',
class: '.mat-mdc-card-title',
root: 'mat-card-title'
},
actions: 'mat-card-actions',
@ -69,14 +69,14 @@ export const materialLocators = {
},
Checkbox: {
root: 'mat-checkbox',
class: '.mat-checkbox',
layout: '.mat-checkbox-layout',
class: '.mat-mdc-checkbox',
layout: '.mat-mdc-checkbox-layout',
label: {
class: '.mat-checkbox-label',
class: '.mat-mdc-checkbox-label',
root: 'mat-checkbox-label'
},
checked: {
class: '.mat-checkbox-checked',
class: '.mat-mdc-checkbox-checked',
root: 'mat-checkbox-checked'
},
disabled: {
@ -84,7 +84,7 @@ export const materialLocators = {
},
inner: {
container: {
class: '.mat-checkbox-inner-container'
class: '.mat-mdc-checkbox-inner-container'
}
}
},
@ -93,10 +93,10 @@ export const materialLocators = {
},
Chip: {
root: 'mat-chip',
class: '.mat-chip',
class: '.mat-mdc-chip',
list: {
root: 'mat-chip-list',
class: '.mat-chip-list'
class: '.mat-mdc-chip-list'
}
},
Datepicker: {
@ -105,7 +105,7 @@ export const materialLocators = {
body: {
cell: {
content: {
class: '.mat-datepicker-calendar-body-cell-content'
class: '.mat-mdc-datepicker-calendar-body-cell-content'
}
}
}
@ -157,108 +157,108 @@ export const materialLocators = {
Dialog: {
container: {
root: 'mat-dialog-container',
class: '.mat-dialog-container'
class: '.mat-mdc-dialog-container'
},
content: {
root: 'mat-dialog-content',
class: '.mat-dialog-content'
class: '.mat-mdc-dialog-content'
},
actions: {
class: `.mat-dialog-actions`,
class: `.mat-mdc-dialog-actions`,
root: `mat-dialog-actions`
},
title: '.mat-dialog-title'
title: '.mat-mdc-dialog-title'
},
Disabled: {
root: 'mat-disabled'
},
Drawer: {
class: '.mat-drawer',
end: '.mat-drawer-end'
class: '.mat-mdc-drawer',
end: '.mat-mdc-drawer-end'
},
Error: {
class: '.mat-error',
class: '.mat-mdc-error',
root: 'mat-error'
},
Expanded: {
class: '.mat-expanded',
class: '.mat-mdc-expanded',
root: 'mat-expanded'
},
Expansion: {
panel: {
root: 'mat-expansion-panel',
class: '.mat-expansion-panel',
class: '.mat-mdc-expansion-panel',
body: {
class: '.mat-expansion-panel-body'
class: '.mat-mdc-expansion-panel-body'
},
content: {
class: '.mat-expansion-panel-content'
class: '.mat-mdc-expansion-panel-content'
},
header: {
class: '.mat-expansion-panel-header',
class: '.mat-mdc-expansion-panel-header',
root: 'mat-expansion-panel-header'
},
title: '.mat-expansion-panel-header-title'
title: '.mat-mdc-expansion-panel-header-title'
},
indicator: '.mat-expansion-indicator'
indicator: '.mat-mdc-expansion-indicator'
},
Focus: {
indicator: '.mat-focus-indicator'
indicator: '.mat-mdc-focus-indicator'
},
Focused: {
root: 'mat-focused'
},
Form: {
field: {
class: '.mat-form-field',
class: '.mat-mdc-form-field',
root: 'mat-form-field',
label: {
wrapper: '.mat-form-field-label-wrapper'
wrapper: '.mat-mdc-form-field-label-wrapper'
}
},
fieldInfix: '.mat-form-field-infix'
fieldInfix: '.mat-mdc-form-field-infix'
},
Header: {
cell: '.mat-header-cell'
cell: '.mat-mdc-header-cell'
},
Hint: {
class: 'mat-hint'
},
Icon: {
root: 'mat-icon',
class: '.mat-icon',
class: '.mat-mdc-icon',
button: {
class: '.mat-icon-button',
class: '.mat-mdc-icon-button',
root: 'mat-icon-button'
}
},
Input: {
class: '.mat-input-element'
class: '.mat-mdc-input-element'
},
Label: {
root: 'mat-label'
},
List: {
class: '.mat-list',
class: '.mat-mdc-list',
root: 'mat-list',
item: {
root: 'mat-list-item',
class: '.mat-list-item'
class: '.mat-mdc-list-item'
},
option: 'mat-list-option',
text: {
class: '.mat-list-text'
class: '.mat-mdc-list-text'
},
selectionList: 'mat-selection-list'
},
Menu: {
content: {
class: '.mat-menu-content',
class: '.mat-mdc-menu-content',
root: 'mat-menu-content'
},
panel: '.mat-menu-panel',
panel: '.mat-mdc-menu-panel',
item: {
class: '.mat-menu-item',
class: '.mat-mdc-menu-item',
submenu: {
trigger: {
root: `mat-menu-item-submenu-trigger`
@ -267,85 +267,85 @@ export const materialLocators = {
}
},
Month: {
content: '.mat-month-content'
content: '.mat-mdc-month-content'
},
Option: {
root: 'mat-option',
class: '.mat-option',
class: '.mat-mdc-option',
group: 'mat-optgroup',
text: {
class: '.mat-option-text',
class: '.mat-mdc-option-text',
root: 'mat-option-text'
}
},
Paginator: {
class: '.mat-paginator',
class: '.mat-mdc-paginator',
range: {
label: '.mat-paginator-range-label'
label: '.mat-mdc-paginator-range-label'
},
navigation: (rangeAction: string) => `.mat-paginator-navigation-${rangeAction}`
navigation: (rangeAction: string) => `.mat-mdc-paginator-navigation-${rangeAction}`
},
Panel: {
title: 'mat-panel-title'
},
Primary: {
class: '.mat-primary'
class: '.mat-mdc-primary'
},
Progress: {
bar: {
root: 'mat-progress-bar',
class: '.mat-progress-bar'
class: '.mat-mdc-progress-bar'
},
spinner: {
root: 'mat-progress-spinner',
class: '.mat-progress-spinner'
class: '.mat-mdc-progress-spinner'
}
},
Radio: {
root: 'mat-radio',
button: {
class: '.mat-radio-button',
class: '.mat-mdc-radio-button',
root: 'mat-radio-button'
},
group: 'mat-radio-group',
checked: 'mat-radio-checked',
label: '.mat-radio-label'
label: '.mat-mdc-radio-label'
},
Ripple: {
class: '.mat-ripple',
class: '.mat-mdc-ripple',
element: {
class: '.mat-ripple-element',
class: '.mat-mdc-ripple-element',
root: 'mat-ripple-element'
}
},
Select: {
root: 'mat-select',
class: '.mat-select',
class: '.mat-mdc-select',
arrow: {
class: '.mat-select-arrow',
class: '.mat-mdc-select-arrow',
wrapper: {
root: '.mat-select-arrow-wrapper'
root: '.mat-mdc-select-arrow-wrapper'
}
},
placeholder: {
class: '.mat-select-placeholder'
class: '.mat-mdc-select-placeholder'
},
panel: {
class: '.mat-select-panel',
wrap: '.mat-select-panel-wrap'
class: '.mat-mdc-select-panel',
wrap: '.mat-mdc-select-panel-wrap'
},
value: {
class: '.mat-select-value',
text: '.mat-select-value-text'
class: '.mat-mdc-select-value',
text: '.mat-mdc-select-value-text'
},
minLine: '.mat-select-min-line',
trigger: '.mat-select-trigger'
minLine: '.mat-mdc-select-min-line',
trigger: '.mat-mdc-select-trigger'
},
Slide: {
toggle: {
class: '.mat-slide-toggle',
class: '.mat-mdc-slide-toggle',
root: 'mat-slide-toggle',
input: '.mat-slide-toggle-input'
input: '.mat-mdc-slide-toggle-input'
}
},
Selection: {
@ -358,69 +358,69 @@ export const materialLocators = {
},
Snackbar: {
container: {
class: '.mat-snack-bar-container'
class: '.mat-mdc-snack-bar-container'
}
},
Sort: {
header: {
container: '.mat-sort-header-container'
container: '.mat-mdc-sort-header-container'
}
},
Spinner: {
root: 'mat-spinner'
},
Tab: {
disabled: '.mat-tab-disabled',
disabled: '.mat-mdc-tab-disabled',
header: {
class: '.mat-tab-header',
class: '.mat-mdc-tab-header',
pagination: {
after: '.mat-tab-header-pagination-after',
before: '.mat-tab-header-pagination-before',
chevron: '.mat-tab-header-pagination-chevron'
after: '.mat-mdc-tab-header-pagination-after',
before: '.mat-mdc-tab-header-pagination-before',
chevron: '.mat-mdc-tab-header-pagination-chevron'
}
},
body: {
active: '.mat-tab-body-active',
content: '.mat-tab-body-content'
active: '.mat-mdc-tab-body-active',
content: '.mat-mdc-tab-body-content'
},
label: {
class: '.mat-tab-label',
class: '.mat-mdc-tab-label',
root: 'mat-tab-label',
active: {
class: '.mat-tab-label-active',
class: '.mat-mdc-tab-label-active',
root: 'mat-tab-label-active'
},
content: {
class: '.mat-tab-label-content',
class: '.mat-mdc-tab-label-content',
root: 'mat-tab-label-content'
}
},
labels: {
class: '.mat-tab-labels'
class: '.mat-mdc-tab-labels'
},
list: '.mat-tab-list'
list: '.mat-mdc-tab-list'
},
Table: {
class: '.mat-table',
class: '.mat-mdc-table',
root: 'mat-table',
row: {
root: 'mat-row',
class: '.mat-row'
class: '.mat-mdc-row'
},
cell: {
class: '.mat-cell',
class: '.mat-mdc-cell',
root: 'mat-cell'
},
column: (matColumn: string) => `.mat-column-${matColumn}`
column: (matColumn: string) => `.mat-mdc-column-${matColumn}`
},
Toolbar: {
root: 'mat-toolbar',
class: '.mat-toolbar'
class: '.mat-mdc-toolbar'
},
Tooltip: {
root: 'mat-tooltip-component',
class: '.mat-tooltip',
trigger: '.mat-tooltip-trigger'
class: '.mat-mdc-tooltip',
trigger: '.mat-mdc-tooltip-trigger'
},
Tree: {
root: 'mat-tree',