@@ -76,15 +76,18 @@ export class RadioChange {
7676@Component ( {
7777 selector : "ibm-radio-group" ,
7878 template : `
79- <ng-content></ng-content>
79+ <div class="bx--radio-button-group">
80+ <ng-content></ng-content>
81+ </div>
8082 ` ,
8183 providers : [
8284 {
8385 provide : NG_VALUE_ACCESSOR ,
8486 useExisting : RadioGroup ,
8587 multi : true
8688 }
87- ]
89+ ] ,
90+ styleUrls : [ "./../../node_modules/carbon-components/scss/components/radio-button/_radio-button.scss" ]
8891} )
8992export class RadioGroup implements OnInit , AfterContentInit , ControlValueAccessor {
9093 /**
@@ -412,19 +415,25 @@ export class RadioGroup implements OnInit, AfterContentInit, ControlValueAccesso
412415@Component ( {
413416 selector : "ibm-radio" ,
414417 template : `
415- <label [for]="id">
416- <input type="radio" #inputCheckbox
417- [checked]="checked"
418- [disabled]="disabled"
419- [name]="name"
420- [id]="id"
421- [required]="required"
422- [value]="value"
423- [attr.aria-label]="ariaLabel"
424- [attr.aria-labelledby]="ariaLabelledby"
425- (change)="onChange($event)"
426- (click)="onClick($event)">
427- <span class="radio_label"><ng-content></ng-content></span>
418+ <input
419+ class="bx--radio-button"
420+ type="radio"
421+ #inputCheckbox
422+ [checked]="checked"
423+ [disabled]="disabled"
424+ [name]="name"
425+ [id]="id"
426+ [required]="required"
427+ [value]="value"
428+ [attr.aria-label]="ariaLabel"
429+ [attr.aria-labelledby]="ariaLabelledby"
430+ (change)="onChange($event)"
431+ (click)="onClick($event)">
432+ <label
433+ class="bx--radio-button__label"
434+ [for]="id">
435+ <span class="bx--radio-button__appearance"></span>
436+ <ng-content></ng-content>
428437 </label>
429438 ` ,
430439 providers : [
@@ -433,7 +442,8 @@ export class RadioGroup implements OnInit, AfterContentInit, ControlValueAccesso
433442 useExisting : RadioComponent ,
434443 multi : true
435444 }
436- ]
445+ ] ,
446+ styleUrls : [ "./../../node_modules/carbon-components/scss/components/radio-button/_radio-button.scss" ]
437447} )
438448export class RadioComponent extends CheckboxComponent implements OnInit {
439449 /**
0 commit comments