Skip to content

Commit f169152

Browse files
jelbournmmalerba
authored andcommitted
build: add missing bits for material-examples package (#4887)
Adds: * Missing `flatModuleId` from the ngc options * Makes templateUrl and styleUrls for example components match material components.
1 parent e650b04 commit f169152

File tree

49 files changed

+74
-73
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+74
-73
lines changed

src/material-examples/autocomplete-overview/autocomplete-overview-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import 'rxjs/add/operator/map';
66

77
@Component({
88
selector: 'autocomplete-overview-example',
9-
templateUrl: './autocomplete-overview-example.html',
9+
templateUrl: 'autocomplete-overview-example.html',
1010
})
1111
export class AutocompleteOverviewExample {
1212
stateCtrl: FormControl;

src/material-examples/button-overview/button-overview-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import {Component} from '@angular/core';
33

44
@Component({
55
selector: 'button-overview-example',
6-
templateUrl: './button-overview-example.html',
6+
templateUrl: 'button-overview-example.html',
77
})
88
export class ButtonOverviewExample {}

src/material-examples/button-toggle-exclusive/button-toggle-exclusive-example.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {Component} from '@angular/core';
33

44
@Component({
55
selector: 'button-toggle-exclusive-example',
6-
templateUrl: './button-toggle-exclusive-example.html',
7-
styleUrls: ['./button-toggle-exclusive-example.css'],
6+
templateUrl: 'button-toggle-exclusive-example.html',
7+
styleUrls: ['button-toggle-exclusive-example.css'],
88
})
99
export class ButtonToggleExclusiveExample {}

src/material-examples/button-toggle-overview/button-toggle-overview-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import {Component} from '@angular/core';
33

44
@Component({
55
selector: 'button-toggle-overview-example',
6-
templateUrl: './button-toggle-overview-example.html',
6+
templateUrl: 'button-toggle-overview-example.html',
77
})
88
export class ButtonToggleOverviewExample {}

src/material-examples/button-types/button-types-example.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {Component} from '@angular/core';
33

44
@Component({
55
selector: 'button-types-example',
6-
templateUrl: './button-types-example.html',
7-
styleUrls: ['./button-types-example.css'],
6+
templateUrl: 'button-types-example.html',
7+
styleUrls: ['button-types-example.css'],
88
})
99
export class ButtonTypesExample {}

src/material-examples/card-fancy/card-fancy-example.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {Component} from '@angular/core';
33

44
@Component({
55
selector: 'card-fancy-example',
6-
templateUrl: './card-fancy-example.html',
7-
styleUrls: ['./card-fancy-example.css'],
6+
templateUrl: 'card-fancy-example.html',
7+
styleUrls: ['card-fancy-example.css'],
88
})
99
export class CardFancyExample {}

src/material-examples/card-overview/card-overview-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import {Component} from '@angular/core';
33

44
@Component({
55
selector: 'card-overview-example',
6-
templateUrl: './card-overview-example.html',
6+
templateUrl: 'card-overview-example.html',
77
})
88
export class CardOverviewExample {}

src/material-examples/checkbox-configurable/checkbox-configurable-example.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import {Component} from '@angular/core';
33

44
@Component({
55
selector: 'checkbox-configurable-example',
6-
templateUrl: './checkbox-configurable-example.html',
7-
styleUrls: ['./checkbox-configurable-example.css'],
6+
templateUrl: 'checkbox-configurable-example.html',
7+
styleUrls: ['checkbox-configurable-example.css'],
88
})
99
export class CheckboxConfigurableExample {
1010
checked = false;

src/material-examples/checkbox-overview/checkbox-overview-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import {Component} from '@angular/core';
33

44
@Component({
55
selector: 'checkbox-overview-example',
6-
templateUrl: './checkbox-overview-example.html',
6+
templateUrl: 'checkbox-overview-example.html',
77
})
88
export class CheckboxOverviewExample {}

src/material-examples/chips-overview/chips-overview-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import {Component} from '@angular/core';
33

44
@Component({
55
selector: 'chips-overview-example',
6-
templateUrl: './chips-overview-example.html',
6+
templateUrl: 'chips-overview-example.html',
77
})
88
export class ChipsOverviewExample {}

0 commit comments

Comments
 (0)