@@ -11,9 +11,7 @@ import {
11
11
PizzaPartyComponent ,
12
12
SnackBarComponentExample
13
13
} from './snack-bar-component/snack-bar-component-example' ;
14
- import {
15
- ProgressBarConfigurableExample
16
- } from './progress-bar-configurable/progress-bar-configurable-example' ;
14
+ import { ProgressBarConfigurableExample } from './progress-bar-configurable/progress-bar-configurable-example' ;
17
15
import {
18
16
DialogOverviewExample ,
19
17
DialogOverviewExampleDialog
@@ -30,9 +28,7 @@ import {SlideToggleOverviewExample} from './slide-toggle-overview/slide-toggle-o
30
28
import { SlideToggleFormsExample } from './slide-toggle-forms/slide-toggle-forms-example' ;
31
29
import { MenuOverviewExample } from './menu-overview/menu-overview-example' ;
32
30
import { CheckboxConfigurableExample } from './checkbox-configurable/checkbox-configurable-example' ;
33
- import {
34
- ButtonToggleExclusiveExample
35
- } from './button-toggle-exclusive/button-toggle-exclusive-example' ;
31
+ import { ButtonToggleExclusiveExample } from './button-toggle-exclusive/button-toggle-exclusive-example' ;
36
32
import { ListSectionsExample } from './list-sections/list-sections-example' ;
37
33
import { SnackBarOverviewExample } from './snack-bar-overview/snack-bar-overview-example' ;
38
34
import {
@@ -47,20 +43,14 @@ import {TooltipOverviewExample} from './tooltip-overview/tooltip-overview-exampl
47
43
import { ButtonToggleOverviewExample } from './button-toggle-overview/button-toggle-overview-example' ;
48
44
import { GridListOverviewExample } from './grid-list-overview/grid-list-overview-example' ;
49
45
import { TooltipPositionExample } from './tooltip-position/tooltip-position-example' ;
50
- import {
51
- ProgressSpinnerConfigurableExample
52
- } from './progress-spinner-configurable/progress-spinner-configurable-example' ;
46
+ import { ProgressSpinnerConfigurableExample } from './progress-spinner-configurable/progress-spinner-configurable-example' ;
53
47
import { ListOverviewExample } from './list-overview/list-overview-example' ;
54
48
import { SliderOverviewExample } from './slider-overview/slider-overview-example' ;
55
- import {
56
- SlideToggleConfigurableExample
57
- } from './slide-toggle-configurable/slide-toggle-configurable-example' ;
49
+ import { SlideToggleConfigurableExample } from './slide-toggle-configurable/slide-toggle-configurable-example' ;
58
50
import { IconSvgExample } from './icon-svg-example/icon-svg-example' ;
59
51
import { SidenavFabExample } from './sidenav-fab/sidenav-fab-example' ;
60
52
import { CardOverviewExample } from './card-overview/card-overview-example' ;
61
- import {
62
- ProgressSpinnerOverviewExample
63
- } from './progress-spinner-overview/progress-spinner-overview-example' ;
53
+ import { ProgressSpinnerOverviewExample } from './progress-spinner-overview/progress-spinner-overview-example' ;
64
54
import { TabsTemplateLabelExample } from './tabs-template-label/tabs-template-label-example' ;
65
55
import { RadioOverviewExample } from './radio-overview/radio-overview-example' ;
66
56
import { SidenavOverviewExample } from './sidenav-overview/sidenav-overview-example' ;
@@ -70,22 +60,42 @@ import {ChipsStackedExample} from './chips-stacked/chips-stacked-example';
70
60
import { SelectFormExample } from './select-form/select-form-example' ;
71
61
import { PaginatorOverviewExample } from './paginator-overview/paginator-overview-example' ;
72
62
import { DatepickerOverviewExample } from './datepicker-overview/datepicker-overview-example' ;
73
- import {
74
- PaginatorConfigurableExample
75
- } from './paginator-configurable/paginator-configurable-example' ;
63
+ import { PaginatorConfigurableExample } from './paginator-configurable/paginator-configurable-example' ;
76
64
import { InputOverviewExample } from './input-overview/input-overview-example' ;
77
65
import { InputErrorsExample } from './input-errors/input-errors-example' ;
78
66
import { InputFormExample } from './input-form/input-form-example' ;
79
67
import { InputPrefixSuffixExample } from './input-prefix-suffix/input-prefix-suffix-example' ;
80
68
import { InputHintExample } from './input-hint/input-hint-example' ;
69
+ import { InputClearableExample } from './input-clearable/input-clearable-example' ;
81
70
import {
82
- MdAutocompleteModule , MdButtonModule , MdButtonToggleModule , MdCardModule , MdCheckboxModule ,
83
- MdChipsModule , MdDatepickerModule , MdDialogModule , MdGridListModule , MdIconModule , MdInputModule ,
84
- MdListModule , MdMenuModule , MdPaginatorModule , MdProgressBarModule , MdProgressSpinnerModule ,
85
- MdRadioModule , MdSelectModule , MdSidenavModule , MdSliderModule , MdSlideToggleModule ,
86
- MdSnackBarModule , MdTabsModule , MdToolbarModule , MdTooltipModule
71
+ MdAutocompleteModule ,
72
+ MdButtonModule ,
73
+ MdButtonToggleModule ,
74
+ MdCardModule ,
75
+ MdCheckboxModule ,
76
+ MdChipsModule ,
77
+ MdDatepickerModule ,
78
+ MdDialogModule ,
79
+ MdGridListModule ,
80
+ MdIconModule ,
81
+ MdInputModule ,
82
+ MdListModule ,
83
+ MdMenuModule ,
84
+ MdPaginatorModule ,
85
+ MdProgressBarModule ,
86
+ MdProgressSpinnerModule ,
87
+ MdRadioModule ,
88
+ MdSelectModule ,
89
+ MdSidenavModule ,
90
+ MdSliderModule ,
91
+ MdSlideToggleModule ,
92
+ MdSnackBarModule ,
93
+ MdTabsModule ,
94
+ MdToolbarModule ,
95
+ MdTooltipModule
87
96
} from '@angular/material' ;
88
97
98
+
89
99
export interface LiveExample {
90
100
title : string ;
91
101
component : any ;
@@ -136,6 +146,7 @@ export const EXAMPLE_COMPONENTS = {
136
146
'grid-list-overview' : { title : 'Basic grid-list' , component : GridListOverviewExample } ,
137
147
'icon-overview' : { title : 'Basic icons' , component : IconOverviewExample } ,
138
148
'icon-svg' : { title : 'SVG icons' , component : IconSvgExample } ,
149
+ 'input-clearable' : { title : 'Input with clear button' , component : InputClearableExample } ,
139
150
'input-form' : { title : 'Inputs in a form' , component : InputFormExample } ,
140
151
'input-overview' : { title : 'Basic inputs' , component : InputOverviewExample } ,
141
152
'input-errors' : { title : 'Input Errors' , component : InputErrorsExample } ,
@@ -251,6 +262,7 @@ export const EXAMPLE_LIST = [
251
262
GridListOverviewExample ,
252
263
IconOverviewExample ,
253
264
IconSvgExample ,
265
+ InputClearableExample ,
254
266
InputFormExample ,
255
267
InputOverviewExample ,
256
268
InputPrefixSuffixExample ,
0 commit comments