Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(select): finish scaffolding #1601

Merged
merged 1 commit into from
Oct 25, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore(select): finish scaffolding
  • Loading branch information
kara committed Oct 25, 2016
commit edd767775f9f0d06f12e7cced59ca4584cdf533b
2 changes: 2 additions & 0 deletions src/lib/core/theming/_all-theme.scss
Original file line number Diff line number Diff line change
@@ -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 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 {
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 {}