From 6073dd07796e898b7b06c50285a4cf7aaba4d436 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Sun, 28 Jul 2024 12:14:19 +0200 Subject: [PATCH] fix compile errors after angualr 17 update --- pdb-js/src/app/plot-details/plot-details.component.ts | 2 +- pdb-js/src/styles.scss | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/pdb-js/src/app/plot-details/plot-details.component.ts b/pdb-js/src/app/plot-details/plot-details.component.ts index a8775b0..05403cb 100644 --- a/pdb-js/src/app/plot-details/plot-details.component.ts +++ b/pdb-js/src/app/plot-details/plot-details.component.ts @@ -1,4 +1,4 @@ -import { Component, OnInit, Input, Output, ViewChild, EventEmitter, ɵpublishDefaultGlobalUtils } from '@angular/core'; +import { Component, Input } from '@angular/core'; import { DashTypeAndColor, PlotResponseStats, DataSeriesStats } from '../plot.service'; import { UtilService } from '../utils.service'; diff --git a/pdb-js/src/styles.scss b/pdb-js/src/styles.scss index fd5eef9..714e586 100644 --- a/pdb-js/src/styles.scss +++ b/pdb-js/src/styles.scss @@ -14,11 +14,7 @@ // If you don't need the default component typographies but still want the hierarchy styles, // you can delete this line and instead use: // `@include mat.legacy-typography-hierarchy(mat.define-typography-config());` -/* TODO(mdc-migration): Remove all-legacy-component-typographies once all legacy components are migrated*/ -@include mat.all-legacy-component-typographies(); @include mat.all-component-typographies(); -/* TODO(mdc-migration): Remove legacy-core once all legacy components are migrated*/ -@include mat.legacy-core(); @include mat.core(); // Define the palettes for your theme using the Material Design palettes available in palette.scss @@ -45,8 +41,6 @@ $candy-app-theme: mat.define-light-theme(( // Include theme styles for core and each component used in your app. // Alternatively, you can import and @include the theme mixins for each component // that you are using. -/* TODO(mdc-migration): Remove all-legacy-component-themes once all legacy components are migrated*/ -@include mat.all-legacy-component-themes($candy-app-theme); @include mat.all-component-themes($candy-app-theme);