Skip to content

Commit be0c7a2

Browse files
amcdnlmmalerba
authored andcommitted
chore(script): autogenerate examples module and metadata (#5608)
1 parent 4e656f0 commit be0c7a2

File tree

70 files changed

+932
-287
lines changed

Some content is hidden

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

70 files changed

+932
-287
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ import {FormControl} from '@angular/forms';
44
import 'rxjs/add/operator/startWith';
55
import 'rxjs/add/operator/map';
66

7+
/**
8+
* @title Basic autocomplete
9+
*/
710
@Component({
811
selector: 'autocomplete-overview-example',
912
templateUrl: 'autocomplete-overview-example.html',

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

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

3-
3+
/**
4+
* @title Basic buttons
5+
*/
46
@Component({
57
selector: 'button-overview-example',
68
templateUrl: 'button-overview-example.html',

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

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

3-
3+
/**
4+
* @title Exclusive selection
5+
*/
46
@Component({
57
selector: 'button-toggle-exclusive-example',
68
templateUrl: 'button-toggle-exclusive-example.html',

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

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

3-
3+
/**
4+
* @title Basic button-toggles
5+
*/
46
@Component({
57
selector: 'button-toggle-overview-example',
68
templateUrl: 'button-toggle-overview-example.html',

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

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

3-
3+
/**
4+
* @title Button varieties
5+
*/
46
@Component({
57
selector: 'button-types-example',
68
templateUrl: 'button-types-example.html',

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

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

3-
3+
/**
4+
* @title Card with multiple sections
5+
*/
46
@Component({
57
selector: 'card-fancy-example',
68
templateUrl: 'card-fancy-example.html',

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

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

3-
3+
/**
4+
* @title Basic cards
5+
*/
46
@Component({
57
selector: 'card-overview-example',
68
templateUrl: 'card-overview-example.html',

src/material-examples/cdk-table-basic/cdk-table-basic-example.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ import 'rxjs/add/operator/startWith';
66
import 'rxjs/add/observable/merge';
77
import 'rxjs/add/operator/map';
88

9+
/**
10+
* @title Basic CDK data-table
11+
*/
912
@Component({
1013
selector: 'cdk-table-basic-example',
1114
styleUrls: ['cdk-table-basic-example.css'],

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

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

3-
3+
/**
4+
* @title Configurable checkbox
5+
*/
46
@Component({
57
selector: 'checkbox-configurable-example',
68
templateUrl: 'checkbox-configurable-example.html',

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

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

3-
3+
/**
4+
* @title Basic checkboxes
5+
*/
46
@Component({
57
selector: 'checkbox-overview-example',
68
templateUrl: 'checkbox-overview-example.html',

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

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

3-
3+
/**
4+
* @title Basic chips
5+
*/
46
@Component({
57
selector: 'chips-overview-example',
68
templateUrl: 'chips-overview-example.html',

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

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

3-
3+
/**
4+
* @title Stacked chips
5+
*/
46
@Component({
57
selector: 'chips-stacked-example',
68
templateUrl: 'chips-stacked-example.html',

src/material-examples/datepicker-api/datepicker-api-example.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import {Component} from '@angular/core';
22

3+
/**
4+
* @title Datepicker API
5+
*/
36
@Component({
47
selector: 'datepicker-api-example',
58
templateUrl: 'datepicker-api-example.html',

src/material-examples/datepicker-filter/datepicker-filter-example.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import {Component} from '@angular/core';
22

3+
/**
4+
* @title Datepicker Filter
5+
*/
36
@Component({
47
selector: 'datepicker-filter-example',
58
templateUrl: 'datepicker-filter-example.html',

src/material-examples/datepicker-min-max/datepicker-min-max-example.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import {Component} from '@angular/core';
22

3+
/**
4+
* @title Datepicker Min Max
5+
*/
36
@Component({
47
selector: 'datepicker-min-max-example',
58
templateUrl: 'datepicker-min-max-example.html',

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

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

3-
3+
/**
4+
* @title Basic datepicker
5+
*/
46
@Component({
57
selector: 'datepicker-overview-example',
68
templateUrl: 'datepicker-overview-example.html',

src/material-examples/datepicker-start-view/datepicker-start-view-example.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import {Component} from '@angular/core';
22

3+
/**
4+
* @title Datepicker start date
5+
*/
36
@Component({
47
selector: 'datepicker-start-view-example',
58
templateUrl: 'datepicker-start-view-example.html',

src/material-examples/datepicker-touch/datepicker-touch-example.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import {Component} from '@angular/core';
22

3+
/**
4+
* @title Datepicker Touch
5+
*/
36
@Component({
47
selector: 'datepicker-touch-example',
58
templateUrl: 'datepicker-touch-example.html',

src/material-examples/dialog-elements/dialog-elements-example.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import {Component} from '@angular/core';
22
import {MdDialog} from '@angular/material';
33

4-
4+
/**
5+
* @title Dialog elements
6+
*/
57
@Component({
68
selector: 'dialog-elements-example',
79
templateUrl: 'dialog-elements-example.html',

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import {Component} from '@angular/core';
22
import {MdDialog} from '@angular/material';
33

4-
4+
/**
5+
* @title Dialog Overview
6+
*/
57
@Component({
68
selector: 'dialog-overview-example',
79
templateUrl: 'dialog-overview-example.html',

src/material-examples/dialog-result/dialog-result-example.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import {Component} from '@angular/core';
22
import {MdDialog, MdDialogRef} from '@angular/material';
33

4-
4+
/**
5+
* @title Dialog with a result
6+
*/
57
@Component({
68
selector: 'dialog-result-example',
79
templateUrl: 'dialog-result-example.html',

0 commit comments

Comments
 (0)