chore(select): finish scaffolding (#1601)

This commit is contained in:
Kara
2016-10-25 12:35:35 -07:00
committed by GitHub
parent c6b4c2211f
commit 9422793e15
5 changed files with 26 additions and 7 deletions
+2
View File
@@ -13,6 +13,7 @@
@import '../../progress-bar/progress-bar-theme';
@import '../../progress-circle/progress-circle-theme';
@import '../../radio/radio-theme';
@import '../../select/select-theme';
@import '../../sidenav/sidenav-theme';
@import '../../slide-toggle/slide-toggle-theme';
@import '../../slider/slider-theme';
@@ -37,6 +38,7 @@
@include md-progress-bar-theme($theme);
@include md-progress-circle-theme($theme);
@include md-radio-theme($theme);
@include md-select-theme($theme);
@include md-sidenav-theme($theme);
@include md-slide-toggle-theme($theme);
@include md-slider-theme($theme);
+6
View File
@@ -0,0 +1,6 @@
@import '../core/theming/palette';
@import '../core/theming/theming';
@mixin md-select-theme($theme) {
}
+3 -2
View File
@@ -1,11 +1,12 @@
import {NgModule, ModuleWithProviders} from '@angular/core';
import {MdSelect} from './select';
import {MdOption} from './option';
export * from './select';
@NgModule({
imports: [],
exports: [MdSelect],
declarations: [MdSelect],
exports: [MdSelect, MdOption],
declarations: [MdSelect, MdOption],
})
export class MdSelectModule {
static forRoot(): ModuleWithProviders {
+10
View File
@@ -0,0 +1,10 @@
import {Component, ViewEncapsulation} from '@angular/core';
@Component({
moduleId: module.id,
selector: 'md-option',
template: ``,
styleUrls: ['select.css'],
encapsulation: ViewEncapsulation.None
})
export class MdOption {}
+5 -5
View File
@@ -1,10 +1,10 @@
import {Component, ViewEncapsulation} from '@angular/core';
@Component({
moduleId: module.id,
selector: 'md-select',
templateUrl: 'select.html',
styleUrls: ['select.css'],
encapsulation: ViewEncapsulation.None
moduleId: module.id,
selector: 'md-select',
templateUrl: 'select.html',
styleUrls: ['select.css'],
encapsulation: ViewEncapsulation.None
})
export class MdSelect {}