Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migration to use the new MDC-based Angular Components. Components mig…
Browse files Browse the repository at this point in the history
…rated: checkbox

PiperOrigin-RevId: 565192999
zzzaries authored and copybara-github committed Sep 15, 2023
1 parent 2bcffaa commit 5e2dfd3
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion frontend/app/common/angular/BUILD
Original file line number Diff line number Diff line change
@@ -91,7 +91,7 @@ ts_library(
)

ts_library(
name = "angular_material_legacy_checkbox",
name = "angular_material_checkbox",
srcs = [],
deps = [
"@npm//@angular/material",
2 changes: 1 addition & 1 deletion frontend/app/components/graph_viewer/graph_config/BUILD
Original file line number Diff line number Diff line change
@@ -19,11 +19,11 @@ xprof_ng_module(
"@npm//@angular/forms",
"@npm//rxjs",
"@org_xprof//frontend/app/common/angular:angular_material_button",
"@org_xprof//frontend/app/common/angular:angular_material_checkbox",
"@org_xprof//frontend/app/common/angular:angular_material_core",
"@org_xprof//frontend/app/common/angular:angular_material_form_field",
"@org_xprof//frontend/app/common/angular:angular_material_icon",
"@org_xprof//frontend/app/common/angular:angular_material_input",
"@org_xprof//frontend/app/common/angular:angular_material_legacy_checkbox",
"@org_xprof//frontend/app/common/angular:angular_material_legacy_tooltip",
"@org_xprof//frontend/app/common/angular:angular_material_select",
"@org_xprof//frontend/app/common/angular:angular_material_sidenav",
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {MatIconModule} from '@angular/material/icon';
import {MatButtonModule} from '@angular/material/button';
import {MatLegacyCheckboxModule} from '@angular/material/legacy-checkbox';
import {MatCheckboxModule} from '@angular/material/checkbox';
import {MatOptionModule} from '@angular/material/core';
import {MatFormFieldModule} from '@angular/material/form-field';
import {MatInputModule} from '@angular/material/input';
@@ -18,7 +18,7 @@ import {GraphConfig} from './graph_config';
CommonModule,
FormsModule,
MatButtonModule,
MatLegacyCheckboxModule,
MatCheckboxModule,
MatFormFieldModule,
MatIconModule,
MatInputModule,
Original file line number Diff line number Diff line change
@@ -18,9 +18,9 @@ xprof_ng_module(
"@npm//@angular/forms",
"@npm//@angular/router",
"@npm//@ngrx/store",
"@org_xprof//frontend/app/common/angular:angular_material_checkbox",
"@org_xprof//frontend/app/common/angular:angular_material_divider",
"@org_xprof//frontend/app/common/angular:angular_material_icon",
"@org_xprof//frontend/app/common/angular:angular_material_legacy_checkbox",
"@org_xprof//frontend/app/common/angular:angular_material_legacy_tooltip",
"@org_xprof//frontend/app/common/interfaces",
"@org_xprof//frontend/app/common/utils",
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {MatDividerModule} from '@angular/material/divider';
import {MatIconModule} from '@angular/material/icon';
import {MatLegacyCheckboxModule} from '@angular/material/legacy-checkbox';
import {MatCheckboxModule} from '@angular/material/checkbox';
import {MatLegacyTooltipModule} from '@angular/material/legacy-tooltip';
import {DiagnosticsViewModule} from 'org_xprof/frontend/app/components/diagnostics_view/diagnostics_view_module';
import {MaxHeapChartModule} from 'org_xprof/frontend/app/components/memory_viewer/max_heap_chart/max_heap_chart_module';
@@ -18,7 +18,7 @@ import {MemoryViewerMain} from './memory_viewer_main';
FormsModule,
MatDividerModule,
MaxHeapChartModule,
MatLegacyCheckboxModule,
MatCheckboxModule,
MatIconModule,
MatLegacyTooltipModule,
ProgramOrderChartModule,
1 change: 1 addition & 0 deletions frontend/styles.scss
Original file line number Diff line number Diff line change
@@ -33,6 +33,7 @@ $theme: mat.define-light-theme(
@include mat.core-theme($theme);
@include mat.input-theme($theme);
@include mat.form-field-theme($theme);
@include mat.checkbox-theme($theme);
@include mat.select-theme($theme);

html, body {

0 comments on commit 5e2dfd3

Please sign in to comment.