Skip to content

Commit

Permalink
Migration to use the new MDC-based Angular Components. Components mig…
Browse files Browse the repository at this point in the history
…rated: radio

PiperOrigin-RevId: 565194249
  • Loading branch information
zzzaries authored and copybara-github committed Sep 18, 2023
1 parent 9cb544f commit cc818bc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/app/common/angular/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ ts_library(
)

ts_library(
name = "angular_material_legacy_radio",
name = "angular_material_radio",
srcs = [],
deps = [
"@npm//@angular/material",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ xprof_ng_module(
"@org_xprof//frontend/app/common/angular:angular_material_expansion",
"@org_xprof//frontend/app/common/angular:angular_material_form_field",
"@org_xprof//frontend/app/common/angular:angular_material_input",
"@org_xprof//frontend/app/common/angular:angular_material_legacy_radio",
"@org_xprof//frontend/app/common/angular:angular_material_legacy_tooltip",
"@org_xprof//frontend/app/common/angular:angular_material_radio",
"@org_xprof//frontend/app/common/angular:angular_material_select",
"@org_xprof//frontend/app/common/interfaces",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {MatButtonModule} from '@angular/material/button';
import {MatDialogModule} from '@angular/material/dialog';
import {MatFormFieldModule} from '@angular/material/form-field';
import {MatInputModule} from '@angular/material/input';
import {MatLegacyRadioModule} from '@angular/material/legacy-radio';
import {MatRadioModule} from '@angular/material/radio';
import {MatSelectModule} from '@angular/material/select';
import {MatLegacyTooltipModule} from '@angular/material/legacy-tooltip';
import {BrowserModule} from '@angular/platform-browser';
Expand All @@ -25,7 +25,7 @@ import {CaptureProfileDialog} from './capture_profile_dialog';
MatExpansionModule,
MatFormFieldModule,
MatInputModule,
MatLegacyRadioModule,
MatRadioModule,
MatSelectModule,
MatLegacyTooltipModule,
],
Expand Down
1 change: 1 addition & 0 deletions frontend/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ $theme: mat.define-light-theme(
@include mat.dialog-theme($theme);
@include mat.progress-spinner-theme($theme);
@include mat.progress-bar-theme($theme);
@include mat.radio-theme($theme);

html, body {
height: 100%;
Expand Down

0 comments on commit cc818bc

Please sign in to comment.