Skip to content

Commit

Permalink
chore(select): finish scaffolding (#1601)
Browse files Browse the repository at this point in the history
  • Loading branch information
kara authored Oct 25, 2016
1 parent c6b4c22 commit 9422793
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 7 deletions.
2 changes: 2 additions & 0 deletions src/lib/core/theming/_all-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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);
Expand Down
6 changes: 6 additions & 0 deletions src/lib/select/_select-theme.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@import '../core/theming/palette';
@import '../core/theming/theming';

@mixin md-select-theme($theme) {

}
5 changes: 3 additions & 2 deletions src/lib/select/index.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
10 changes: 10 additions & 0 deletions src/lib/select/option.ts
Original file line number Diff line number Diff line change
@@ -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 {}
10 changes: 5 additions & 5 deletions src/lib/select/select.ts
Original file line number Diff line number Diff line change
@@ -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 {}

0 comments on commit 9422793

Please sign in to comment.