From ab9dd73a92111d9fc938b0cffc522a5b3aa17896 Mon Sep 17 00:00:00 2001 From: Doug Parker Date: Wed, 19 Mar 2025 17:04:14 -0700 Subject: [PATCH] refactor(devtools): removes unused classes (#60475) These `cy-*` classes are not referenced in any styles and appear to be unused. PR Close #60475 --- .../property-view/property-view-body.component.html | 2 +- .../property-tab/property-view/property-view-body.component.ts | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-body.component.html b/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-body.component.html index 7dd4a51d3a5..7eee39a41eb 100644 --- a/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-body.component.html +++ b/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-body.component.html @@ -25,7 +25,7 @@ @for (panel of panels(); track $index) {
@if (panel.controls().dataSource.data.length > 0) { - + {{ panel.title }} diff --git a/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-body.component.ts b/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-body.component.ts index 9eed33adf43..2baec11a7e4 100644 --- a/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-body.component.ts +++ b/devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-body.component.ts @@ -48,17 +48,14 @@ export class PropertyViewBodyComponent { { title: 'Inputs', controls: () => this.directiveInputControls(), - class: 'cy-inputs', }, { title: 'Outputs', controls: () => this.directiveOutputControls(), - class: 'cy-outputs', }, { title: 'Properties', controls: () => this.directiveStateControls(), - class: 'cy-properties', }, ]);