diff --git a/apps/red-ui/src/app/components/notifications/notifications.component.scss b/apps/red-ui/src/app/components/notifications/notifications.component.scss index 23a290b31..d366b2d81 100644 --- a/apps/red-ui/src/app/components/notifications/notifications.component.scss +++ b/apps/red-ui/src/app/components/notifications/notifications.component.scss @@ -23,7 +23,7 @@ } } - .mat-menu-item.notification { + .mat-mdc-menu-item.notification { padding: 8px 26px 10px 8px; margin: 2px 0 0 0; height: fit-content; diff --git a/apps/red-ui/src/app/components/spotlight-search/spotlight-search.component.scss b/apps/red-ui/src/app/components/spotlight-search/spotlight-search.component.scss index 1f1e8b80c..676d848ca 100644 --- a/apps/red-ui/src/app/components/spotlight-search/spotlight-search.component.scss +++ b/apps/red-ui/src/app/components/spotlight-search/spotlight-search.component.scss @@ -20,7 +20,7 @@ width: 300px; } -::ng-deep.search-menu .mat-menu-content { +::ng-deep.search-menu .mat-mdc-menu-content { padding: 8px !important; } diff --git a/apps/red-ui/src/app/components/spotlight-search/spotlight-search.component.ts b/apps/red-ui/src/app/components/spotlight-search/spotlight-search.component.ts index 7b98158d9..76564aaa7 100644 --- a/apps/red-ui/src/app/components/spotlight-search/spotlight-search.component.ts +++ b/apps/red-ui/src/app/components/spotlight-search/spotlight-search.component.ts @@ -2,7 +2,7 @@ import { ChangeDetectionStrategy, Component, HostListener, Input, ViewChild } fr import { debounceTime, distinctUntilChanged, map, tap } from 'rxjs/operators'; import { BehaviorSubject } from 'rxjs'; import { SpotlightSearchAction } from '@components/spotlight-search/spotlight-search-action'; -import { MatLegacyMenuTrigger as MatMenuTrigger } from '@angular/material/legacy-menu'; +import { MatMenuTrigger } from '@angular/material/menu'; @Component({ selector: 'redaction-spotlight-search [actions]', diff --git a/apps/red-ui/src/app/modules/mat-config/mat-config.module.ts b/apps/red-ui/src/app/modules/mat-config/mat-config.module.ts index d1031ac1a..dbc9206cf 100644 --- a/apps/red-ui/src/app/modules/mat-config/mat-config.module.ts +++ b/apps/red-ui/src/app/modules/mat-config/mat-config.module.ts @@ -4,7 +4,7 @@ import { MatToolbarModule } from '@angular/material/toolbar'; import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button'; import { MatLegacySlideToggleModule as MatSlideToggleModule } from '@angular/material/legacy-slide-toggle'; import { MatLegacySliderModule as MatSliderModule } from '@angular/material/legacy-slider'; -import { MatLegacyMenuModule as MatMenuModule } from '@angular/material/legacy-menu'; +import { MatMenuModule } from '@angular/material/menu'; import { MatTooltipModule } from '@angular/material/tooltip'; import { MatButtonToggleModule } from '@angular/material/button-toggle'; import { MatFormFieldModule } from '@angular/material/form-field'; diff --git a/apps/red-ui/src/app/modules/shared/components/expandable-file-actions/expandable-file-actions.component.scss b/apps/red-ui/src/app/modules/shared/components/expandable-file-actions/expandable-file-actions.component.scss index aec40dc04..1634737be 100644 --- a/apps/red-ui/src/app/modules/shared/components/expandable-file-actions/expandable-file-actions.component.scss +++ b/apps/red-ui/src/app/modules/shared/components/expandable-file-actions/expandable-file-actions.component.scss @@ -10,7 +10,7 @@ mat-slide-toggle { margin-right: 5px; } -.mat-menu-item { +.mat-mdc-menu-item { mat-icon { color: inherit; width: 14px; diff --git a/libs/common-ui b/libs/common-ui index ba4d7f6d0..2868ebe50 160000 --- a/libs/common-ui +++ b/libs/common-ui @@ -1 +1 @@ -Subproject commit ba4d7f6d0594706f33fcb6af54c46b3e68f4c905 +Subproject commit 2868ebe5062c385405ee287b436c647acb7b2204