Skip to content

build: add missing bits for material-examples package #4887

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 31, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'rxjs/add/operator/map';

@Component({
selector: 'autocomplete-overview-example',
templateUrl: './autocomplete-overview-example.html',
templateUrl: 'autocomplete-overview-example.html',
})
export class AutocompleteOverviewExample {
stateCtrl: FormControl;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import {Component} from '@angular/core';

@Component({
selector: 'button-overview-example',
templateUrl: './button-overview-example.html',
templateUrl: 'button-overview-example.html',
})
export class ButtonOverviewExample {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Component} from '@angular/core';

@Component({
selector: 'button-toggle-exclusive-example',
templateUrl: './button-toggle-exclusive-example.html',
styleUrls: ['./button-toggle-exclusive-example.css'],
templateUrl: 'button-toggle-exclusive-example.html',
styleUrls: ['button-toggle-exclusive-example.css'],
})
export class ButtonToggleExclusiveExample {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import {Component} from '@angular/core';

@Component({
selector: 'button-toggle-overview-example',
templateUrl: './button-toggle-overview-example.html',
templateUrl: 'button-toggle-overview-example.html',
})
export class ButtonToggleOverviewExample {}
4 changes: 2 additions & 2 deletions src/material-examples/button-types/button-types-example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Component} from '@angular/core';

@Component({
selector: 'button-types-example',
templateUrl: './button-types-example.html',
styleUrls: ['./button-types-example.css'],
templateUrl: 'button-types-example.html',
styleUrls: ['button-types-example.css'],
})
export class ButtonTypesExample {}
4 changes: 2 additions & 2 deletions src/material-examples/card-fancy/card-fancy-example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Component} from '@angular/core';

@Component({
selector: 'card-fancy-example',
templateUrl: './card-fancy-example.html',
styleUrls: ['./card-fancy-example.css'],
templateUrl: 'card-fancy-example.html',
styleUrls: ['card-fancy-example.css'],
})
export class CardFancyExample {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import {Component} from '@angular/core';

@Component({
selector: 'card-overview-example',
templateUrl: './card-overview-example.html',
templateUrl: 'card-overview-example.html',
})
export class CardOverviewExample {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import {Component} from '@angular/core';

@Component({
selector: 'checkbox-configurable-example',
templateUrl: './checkbox-configurable-example.html',
styleUrls: ['./checkbox-configurable-example.css'],
templateUrl: 'checkbox-configurable-example.html',
styleUrls: ['checkbox-configurable-example.css'],
})
export class CheckboxConfigurableExample {
checked = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import {Component} from '@angular/core';

@Component({
selector: 'checkbox-overview-example',
templateUrl: './checkbox-overview-example.html',
templateUrl: 'checkbox-overview-example.html',
})
export class CheckboxOverviewExample {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import {Component} from '@angular/core';

@Component({
selector: 'chips-overview-example',
templateUrl: './chips-overview-example.html',
templateUrl: 'chips-overview-example.html',
})
export class ChipsOverviewExample {}
4 changes: 2 additions & 2 deletions src/material-examples/chips-stacked/chips-stacked-example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import {Component} from '@angular/core';

@Component({
selector: 'chips-stacked-example',
templateUrl: './chips-stacked-example.html',
styleUrls: ['./chips-stacked-example.css'],
templateUrl: 'chips-stacked-example.html',
styleUrls: ['chips-stacked-example.css'],
})
export class ChipsStackedExample {
color: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Component} from '@angular/core';

@Component({
selector: 'datepicker-overview-example',
templateUrl: './datepicker-overview-example.html',
styleUrls: ['./datepicker-overview-example.css'],
templateUrl: 'datepicker-overview-example.html',
styleUrls: ['datepicker-overview-example.css'],
})
export class DatepickerOverviewExample {}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {MdDialog} from '@angular/material';

@Component({
selector: 'dialog-elements-example',
templateUrl: './dialog-elements-example.html',
templateUrl: 'dialog-elements-example.html',
})
export class DialogElementsExample {
constructor(public dialog: MdDialog) { }
Expand All @@ -17,6 +17,6 @@ export class DialogElementsExample {

@Component({
selector: 'dialog-elements-example-dialog',
templateUrl: './dialog-elements-example-dialog.html',
templateUrl: 'dialog-elements-example-dialog.html',
})
export class DialogElementsExampleDialog { }
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {MdDialog} from '@angular/material';

@Component({
selector: 'dialog-overview-example',
templateUrl: './dialog-overview-example.html',
templateUrl: 'dialog-overview-example.html',
})
export class DialogOverviewExample {
constructor(public dialog: MdDialog) {}
Expand All @@ -17,6 +17,6 @@ export class DialogOverviewExample {

@Component({
selector: 'dialog-overview-example-dialog',
templateUrl: './dialog-overview-example-dialog.html',
templateUrl: 'dialog-overview-example-dialog.html',
})
export class DialogOverviewExampleDialog {}
4 changes: 2 additions & 2 deletions src/material-examples/dialog-result/dialog-result-example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {MdDialog, MdDialogRef} from '@angular/material';

@Component({
selector: 'dialog-result-example',
templateUrl: './dialog-result-example.html',
templateUrl: 'dialog-result-example.html',
})
export class DialogResultExample {
selectedOption: string;
Expand All @@ -22,7 +22,7 @@ export class DialogResultExample {

@Component({
selector: 'dialog-result-example-dialog',
templateUrl: './dialog-result-example-dialog.html',
templateUrl: 'dialog-result-example-dialog.html',
})
export class DialogResultExampleDialog {
constructor(public dialogRef: MdDialogRef<DialogResultExampleDialog>) {}
Expand Down
4 changes: 2 additions & 2 deletions src/material-examples/example-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ import {
export interface LiveExample {
title: string;
component: any;
additionalFiles: string[];
selectorName: string;
additionalFiles?: string[];
selectorName?: string;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Component} from '@angular/core';

@Component({
selector: 'grid-list-dynamic-example',
templateUrl: './grid-list-dynamic-example.html',
templateUrl: 'grid-list-dynamic-example.html',
})
export class GridListDynamicExample {
tiles = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {Component} from '@angular/core';

@Component({
selector: 'grid-list-overview-example',
styleUrls: ['./grid-list-overview-example.css'],
templateUrl: './grid-list-overview-example.html',
styleUrls: ['grid-list-overview-example.css'],
templateUrl: 'grid-list-overview-example.html',
})
export class GridListOverviewExample {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import {Component} from '@angular/core';

@Component({
selector: 'icon-overview-example',
templateUrl: './icon-overview-example.html',
templateUrl: 'icon-overview-example.html',
})
export class IconOverviewExample {}
2 changes: 1 addition & 1 deletion src/material-examples/icon-svg-example/icon-svg-example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {MdIconRegistry} from '@angular/material';

@Component({
selector: 'icon-svg-example',
templateUrl: './icon-svg-example.html',
templateUrl: 'icon-svg-example.html',
})
export class IconSvgExample {
constructor(iconRegistry: MdIconRegistry, sanitizer: DomSanitizer) {
Expand Down
4 changes: 2 additions & 2 deletions src/material-examples/input-form/input-form-example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Component} from '@angular/core';

@Component({
selector: 'input-form-example',
templateUrl: './input-form-example.html',
styleUrls: ['./input-form-example.css'],
templateUrl: 'input-form-example.html',
styleUrls: ['input-form-example.css'],
})
export class InputFormExample {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import {Component} from '@angular/core';

@Component({
selector: 'input-overview-example',
templateUrl: './input-overview-example.html',
templateUrl: 'input-overview-example.html',
})
export class InputOverviewExample {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import {Component} from '@angular/core';

@Component({
selector: 'list-overview-example',
templateUrl: './list-overview-example.html',
templateUrl: 'list-overview-example.html',
})
export class ListOverviewExample {}
4 changes: 2 additions & 2 deletions src/material-examples/list-sections/list-sections-example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import {Component} from '@angular/core';

@Component({
selector: 'list-sections-example',
styleUrls: ['./list-sections-example.css'],
templateUrl: './list-sections-example.html',
styleUrls: ['list-sections-example.css'],
templateUrl: 'list-sections-example.html',
})
export class ListSectionsExample {
folders = [
Expand Down
2 changes: 1 addition & 1 deletion src/material-examples/menu-icons/menu-icons-example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import {Component} from '@angular/core';

@Component({
selector: 'menu-icons-example',
templateUrl: './menu-icons-example.html',
templateUrl: 'menu-icons-example.html',
})
export class MenuIconsExample {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import {Component} from '@angular/core';

@Component({
selector: 'menu-overview-example',
templateUrl: './menu-overview-example.html',
templateUrl: 'menu-overview-example.html',
})
export class MenuOverviewExample {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import {Component} from '@angular/core';

@Component({
selector: 'progress-bar-configurable-example',
templateUrl: './progress-bar-configurable-example.html',
styleUrls: ['./progress-bar-configurable-example.css'],
templateUrl: 'progress-bar-configurable-example.html',
styleUrls: ['progress-bar-configurable-example.css'],
})
export class ProgressBarConfigurableExample {
color = 'primary';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import {Component} from '@angular/core';

@Component({
selector: 'progress-bar-overview-example',
templateUrl: './progress-bar-overview-example.html',
templateUrl: 'progress-bar-overview-example.html',
})
export class ProgressBarOverviewExample {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import {Component} from '@angular/core';

@Component({
selector: 'progress-spinner-configurable-example',
templateUrl: './progress-spinner-configurable-example.html',
styleUrls: ['./progress-spinner-configurable-example.css'],
templateUrl: 'progress-spinner-configurable-example.html',
styleUrls: ['progress-spinner-configurable-example.css'],
})
export class ProgressSpinnerConfigurableExample {
color = 'primary';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import {Component} from '@angular/core';

@Component({
selector: 'progress-spinner-overview-example',
templateUrl: './progress-spinner-overview-example.html',
templateUrl: 'progress-spinner-overview-example.html',
})
export class ProgressSpinnerOverviewExample {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import {Component} from '@angular/core';

@Component({
selector: 'radio-ng-model-example',
templateUrl: './radio-ng-model-example.html',
styleUrls: ['./radio-ng-model-example.css'],
templateUrl: 'radio-ng-model-example.html',
styleUrls: ['radio-ng-model-example.css'],
})
export class RadioNgModelExample {
favoriteSeason: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import {Component} from '@angular/core';

@Component({
selector: 'radio-overview-example',
templateUrl: './radio-overview-example.html',
templateUrl: 'radio-overview-example.html',
})
export class RadioOverviewExample {}
2 changes: 1 addition & 1 deletion src/material-examples/select-form/select-form-example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Component} from '@angular/core';

@Component({
selector: 'select-form-example',
templateUrl: './select-form-example.html',
templateUrl: 'select-form-example.html',
})
export class SelectFormExample {
selectedValue: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Component} from '@angular/core';

@Component({
selector: 'select-overview-example',
templateUrl: './select-overview-example.html',
templateUrl: 'select-overview-example.html',
})
export class SelectOverviewExample {
foods = [
Expand Down
4 changes: 2 additions & 2 deletions src/material-examples/sidenav-fab/sidenav-fab-example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import {Component, ViewEncapsulation} from '@angular/core';

@Component({
selector: 'sidenav-fab-example',
templateUrl: './sidenav-fab-example.html',
styleUrls: ['./sidenav-fab-example.css'],
templateUrl: 'sidenav-fab-example.html',
styleUrls: ['sidenav-fab-example.css'],
encapsulation: ViewEncapsulation.None,
})
export class SidenavFabExample {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Component} from '@angular/core';

@Component({
selector: 'sidenav-overview-example',
templateUrl: './sidenav-overview-example.html',
styleUrls: ['./sidenav-overview-example.css'],
templateUrl: 'sidenav-overview-example.html',
styleUrls: ['sidenav-overview-example.css'],
})
export class SidenavOverviewExample {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import {Component} from '@angular/core';

@Component({
selector: 'slide-toggle-configurable-example',
templateUrl: './slide-toggle-configurable-example.html',
styleUrls: ['./slide-toggle-configurable-example.css'],
templateUrl: 'slide-toggle-configurable-example.html',
styleUrls: ['slide-toggle-configurable-example.css'],
})
export class SlideToggleConfigurableExample {
color = 'accent';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import {Component} from '@angular/core';

@Component({
selector: 'slide-toggle-overview-example',
templateUrl: './slide-toggle-overview-example.html',
templateUrl: 'slide-toggle-overview-example.html',
})
export class SlideToggleOverviewExample {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import {Component, ViewEncapsulation} from '@angular/core';

@Component({
selector: 'slider-configurable-example',
templateUrl: './slider-configurable-example.html',
styleUrls: ['./slider-configurable-example.css'],
templateUrl: 'slider-configurable-example.html',
styleUrls: ['slider-configurable-example.css'],
encapsulation: ViewEncapsulation.None,
})
export class SliderConfigurableExample {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Component} from '@angular/core';

@Component({
selector: 'slider-overview-example',
templateUrl: './slider-overview-example.html',
styleUrls: ['./slider-overview-example.css'],
templateUrl: 'slider-overview-example.html',
styleUrls: ['slider-overview-example.css'],
})
export class SliderOverviewExample {}
Loading