@@ -61,55 +61,85 @@ import {
61
61
import { TabsTemplateLabelExample } from './tabs-template-label/tabs-template-label-example' ;
62
62
import { RadioOverviewExample } from './radio-overview/radio-overview-example' ;
63
63
import { SidenavOverviewExample } from './sidenav-overview/sidenav-overview-example' ;
64
+ import { SelectOverviewExample } from './select-overview/select-overview-example' ;
65
+ import { ChipsOverviewExample } from './chips-overview/chips-overview-example' ;
66
+ import { ChipsStackedExample } from './chips-stacked/chips-stacked-example' ;
67
+ import { SelectFormExample } from './select-form/select-form-example' ;
64
68
65
69
70
+ export interface LiveExample {
71
+ title : string ;
72
+ component : any ;
73
+ }
74
+
66
75
/**
67
76
* The list of example components.
68
77
* Key is the example name which will be used in `material-docs-example="key"`.
69
78
* Value is the component.
70
79
*/
71
-
72
80
export const EXAMPLE_COMPONENTS = {
73
- 'button-overview' : ButtonOverviewExample ,
74
- 'button-types' : ButtonTypesExample ,
75
- 'button-toggle-exclusive' : ButtonToggleExclusiveExample ,
76
- 'button-toggle-overview' : ButtonToggleOverviewExample ,
77
- 'card-fancy' : CardFancyExample ,
78
- 'card-overview' : CardOverviewExample ,
79
- 'checkbox-configurable' : CheckboxConfigurableExample ,
80
- 'checkbox-overview' : CheckboxOverviewExample ,
81
- 'dialog-overview' : DialogOverviewExample ,
82
- 'dialog-result' : DialogResultExample ,
83
- 'grid-list-dynamic' : GridListDynamicExample ,
84
- 'grid-list-overview' : GridListOverviewExample ,
85
- 'icon-overview' : IconOverviewExample ,
86
- 'icon-svg' : IconSvgExample ,
87
- 'input-form' : InputFormExample ,
88
- 'input-overview' : InputOverviewExample ,
89
- 'list-overview' : ListOverviewExample ,
90
- 'list-sections' : ListSectionsExample ,
91
- 'menu-icons' : MenuIconsExample ,
92
- 'menu-overview' : MenuOverviewExample ,
93
- 'progress-bar-configurable' : ProgressBarConfigurableExample ,
94
- 'progress-bar-overview' : ProgressBarOverviewExample ,
95
- 'progress-spinner-configurable' : ProgressSpinnerConfigurableExample ,
96
- 'progress-spinner-overview' : ProgressSpinnerOverviewExample ,
97
- 'radio-ngmodel' : RadioNgModelExample ,
98
- 'radio-overview' : RadioOverviewExample ,
99
- 'sidenav-fab' : SidenavFabExample ,
100
- 'sidenav-overview' : SidenavOverviewExample ,
101
- 'slider-configurable' : SliderConfigurableExample ,
102
- 'slider-overview' : SliderOverviewExample ,
103
- 'slide-toggle-configurable' : SlideToggleConfigurableExample ,
104
- 'slide-toggle-overview' : SlideToggleOverviewExample ,
105
- 'snack-bar-component' : SnackBarComponentExample ,
106
- 'snack-bar-overview' : SnackBarOverviewExample ,
107
- 'tabs-overview' : TabsOverviewExample ,
108
- 'tabs-template-label' : TabsTemplateLabelExample ,
109
- 'toolbar-multirow' : ToolbarMultirowExample ,
110
- 'toolbar-overview' : ToolbarOverviewExample ,
111
- 'tooltip-overview' : TooltipOverviewExample ,
112
- 'tooltip-position' : TooltipPositionExample ,
81
+ 'button-overview' : { title : 'Basic buttons' , component : ButtonOverviewExample } ,
82
+ 'button-types' : { title : 'Button varieties' , component : ButtonTypesExample } ,
83
+ 'button-toggle-exclusive' : {
84
+ title : 'Exclusive selection' ,
85
+ component : ButtonToggleExclusiveExample
86
+ } ,
87
+ 'button-toggle-overview' : { title : 'Basic button-toggles' , component : ButtonToggleOverviewExample } ,
88
+ 'chips-overview' : { title : 'Basic chips' , component : ChipsOverviewExample } ,
89
+ 'chips-stacked' : { title : 'Stacked chips' , component : ChipsStackedExample } ,
90
+ 'card-fancy' : { title : 'Card with multiple sections' , component : CardFancyExample } ,
91
+ 'card-overview' : { title : 'Basic cards' , component : CardOverviewExample } ,
92
+ 'checkbox-configurable' : { title : 'Configurable checkbox' , component : CheckboxConfigurableExample } ,
93
+ 'checkbox-overview' : { title : 'Basic checkboxes' , component : CheckboxOverviewExample } ,
94
+ 'dialog-overview' : { title : 'Basic dialog' , component : DialogOverviewExample } ,
95
+ 'dialog-result' : { title : 'Dailog with a result' , component : DialogResultExample } ,
96
+ 'grid-list-dynamic' : { title : 'Dynamic grid-list' , component : GridListDynamicExample } ,
97
+ 'grid-list-overview' : { title : 'Basic grid-list' , component : GridListOverviewExample } ,
98
+ 'icon-overview' : { title : 'Basic icons' , component : IconOverviewExample } ,
99
+ 'icon-svg' : { title : 'SVG icons' , component : IconSvgExample } ,
100
+ 'input-form' : { title : 'Inputs in a form' , component : InputFormExample } ,
101
+ 'input-overview' : { title : 'Basic inputs' , component : InputOverviewExample } ,
102
+ 'list-overview' : { title : 'Basic list' , component : ListOverviewExample } ,
103
+ 'list-sections' : { title : 'List with sections' , component : ListSectionsExample } ,
104
+ 'menu-icons' : { title : 'Menu with icons' , component : MenuIconsExample } ,
105
+ 'menu-overview' : { title : 'Basic menu' , component : MenuOverviewExample } ,
106
+ 'progress-bar-configurable' : {
107
+ title : 'Configurable progress-bar' ,
108
+ component : ProgressBarConfigurableExample
109
+ } ,
110
+ 'progress-bar-overview' : { title : 'Basic progress-bar' , component : ProgressBarOverviewExample } ,
111
+ 'progress-spinner-configurable' : {
112
+ title : 'Configurable progress-bar' ,
113
+ component : ProgressSpinnerConfigurableExample
114
+ } ,
115
+ 'progress-spinner-overview' : {
116
+ title : 'Basic progress-spinner' ,
117
+ component : ProgressSpinnerOverviewExample
118
+ } ,
119
+ 'radio-ngmodel' : { title : 'Radios with ngModel' , component : RadioNgModelExample } ,
120
+ 'radio-overview' : { title : 'Basic radios' , component : RadioOverviewExample } ,
121
+ 'select-overview' : { title : 'Basic select' , component : SelectOverviewExample } ,
122
+ 'select-form' : { title : 'Select in a form' , component : SelectFormExample } ,
123
+ 'sidenav-fab' : { title : 'Sidenav with a FAB' , component : SidenavFabExample } ,
124
+ 'sidenav-overview' : { title : 'Basic sidenav' , component : SidenavOverviewExample } ,
125
+ 'slider-configurable' : { title : 'Configurable slider' , component : SliderConfigurableExample } ,
126
+ 'slider-overview' : { title : 'Basic slider' , component : SliderOverviewExample } ,
127
+ 'slide-toggle-configurable' : {
128
+ title : 'Configurable slide-toggle' ,
129
+ component : SlideToggleConfigurableExample
130
+ } ,
131
+ 'slide-toggle-overview' : { title : 'Basic slide-toggles' , component : SlideToggleOverviewExample } ,
132
+ 'snack-bar-component' : {
133
+ title : 'Snack-bar with a custom component' ,
134
+ component : SnackBarComponentExample
135
+ } ,
136
+ 'snack-bar-overview' : { title : 'Basic snack-bar' , component : SnackBarOverviewExample } ,
137
+ 'tabs-overview' : { title : 'Basic tabs' , component : TabsOverviewExample } ,
138
+ 'tabs-template-label' : { title : 'Tabs with a label template' , component : TabsTemplateLabelExample } ,
139
+ 'toolbar-multirow' : { title : 'Multi-row toolbar' , component : ToolbarMultirowExample } ,
140
+ 'toolbar-overview' : { title : 'basic toolbar' , component : ToolbarOverviewExample } ,
141
+ 'tooltip-overview' : { title : 'Basic tooltip' , component : TooltipOverviewExample } ,
142
+ 'tooltip-position' : { title : 'Tooltip with custom position' , component : TooltipPositionExample } ,
113
143
} ;
114
144
115
145
/**
@@ -123,6 +153,8 @@ export const EXAMPLE_LIST = [
123
153
ButtonTypesExample ,
124
154
CardFancyExample ,
125
155
CardOverviewExample ,
156
+ ChipsOverviewExample ,
157
+ ChipsStackedExample ,
126
158
CheckboxConfigurableExample ,
127
159
CheckboxOverviewExample ,
128
160
DialogOverviewExample ,
@@ -146,6 +178,8 @@ export const EXAMPLE_LIST = [
146
178
RadioNgModelExample ,
147
179
RadioOverviewExample ,
148
180
SidenavFabExample ,
181
+ SelectOverviewExample ,
182
+ SelectFormExample ,
149
183
SidenavOverviewExample ,
150
184
SliderConfigurableExample ,
151
185
SliderOverviewExample ,
0 commit comments