Skip to content

Commit

Permalink
fix(forms): update packages to use new forms module
Browse files Browse the repository at this point in the history
  • Loading branch information
kara committed Jun 22, 2016
1 parent 7a1bb19 commit 0534144
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 8 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@angular/platform-browser": "2.0.0-rc.1",
"@angular/platform-browser-dynamic": "2.0.0-rc.1",
"@angular/router": "2.0.0-rc.1",
"@angular/forms": "^0.1.0",
"core-js": "^2.4.0",
"hammerjs": "^2.0.8",
"rxjs": "5.0.0-beta.6",
Expand Down
2 changes: 1 addition & 1 deletion src/components/checkbox/checkbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
forwardRef,
AfterContentInit
} from '@angular/core';
import {NG_VALUE_ACCESSOR, ControlValueAccessor} from '@angular/common';
import {NG_VALUE_ACCESSOR, ControlValueAccessor} from '@angular/forms';

/**
* Monotonically increasing integer used to auto-generate unique ids for checkbox components.
Expand Down
3 changes: 2 additions & 1 deletion src/components/checkbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
},
"homepage": "https://github.com/angular/material2#readme",
"peerDependencies": {
"@angular2-material/core": "2.0.0-alpha.5-2"
"@angular2-material/core": "2.0.0-alpha.5-2",
"@angular/forms": "^0.1.0"
}
}
2 changes: 1 addition & 1 deletion src/components/input/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
import {
NG_VALUE_ACCESSOR,
ControlValueAccessor
} from '@angular/common';
} from '@angular/forms';
import {BooleanFieldValue} from '@angular2-material/core/annotations/field-value';
import {MdError} from '@angular2-material/core/errors/error';
import {Observable} from 'rxjs/Observable';
Expand Down
3 changes: 2 additions & 1 deletion src/components/input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
},
"homepage": "https://github.com/angular/material2#readme",
"peerDependencies": {
"@angular2-material/core": "2.0.0-alpha.5-2"
"@angular2-material/core": "2.0.0-alpha.5-2",
"@angular/forms": "^0.1.0"
}
}
3 changes: 2 additions & 1 deletion src/components/radio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
},
"homepage": "https://github.com/angular/material2#readme",
"peerDependencies": {
"@angular2-material/core": "2.0.0-alpha.5-2"
"@angular2-material/core": "2.0.0-alpha.5-2",
"@angular/forms": "^0.1.0"
}
}
2 changes: 1 addition & 1 deletion src/components/radio/radio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
import {
NG_VALUE_ACCESSOR,
ControlValueAccessor
} from '@angular/common';
} from '@angular/forms';
import {
MdUniqueSelectionDispatcher
} from '@angular2-material/core/coordination/unique-selection-dispatcher';
Expand Down
3 changes: 2 additions & 1 deletion src/components/slide-toggle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
},
"homepage": "https://github.com/angular/material2#readme",
"peerDependencies": {
"@angular2-material/core": "2.0.0-alpha.5-2"
"@angular2-material/core": "2.0.0-alpha.5-2",
"@angular/forms": "^0.1.0"
}
}
2 changes: 1 addition & 1 deletion src/components/slide-toggle/slide-toggle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
import {
ControlValueAccessor,
NG_VALUE_ACCESSOR
} from '@angular/common';
} from '@angular/forms';
import { BooleanFieldValue } from '@angular2-material/core/annotations/field-value';
import { Observable } from 'rxjs/Observable';

Expand Down

0 comments on commit 0534144

Please sign in to comment.