Skip to content

Commit

Permalink
chore(): add package.json for radio
Browse files Browse the repository at this point in the history
  • Loading branch information
jelbourn committed Mar 16, 2016
1 parent 40ae220 commit 548b5b5
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 5 deletions.
27 changes: 27 additions & 0 deletions src/components/radio/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "@angular2-material/radio",
"version": "2.0.0-alpha.1",
"description": "Angular 2 Material radio",
"main": "./radio.js",
"typings": "./radio.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/angular/material2.git"
},
"keywords": [
"angular",
"material",
"material design",
"components",
"radio"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/angular/material2/issues"
},
"homepage": "https://github.com/angular/material2#readme",
"peerDependencies": {
"angular2": "^2.0.0-beta.8",
"@angular2-material/core": "2.0.0-alpha.1"
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- TODO(jelbourn): render the radio on either side of the content -->
<!-- TODO(mtlin): Evaluate trade-offs of using native radio vs. cost of additional bindings. -->
<label [attr.for]="inputId" class="md-radio-label">
<!-- The actual `radio` part of the control. -->
<!-- The actual 'radio' part of the control. -->
<div class="md-radio-container">
<div class="md-radio-outer-circle"></div>
<div class="md-radio-inner-circle"></div>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
import {Component, DebugElement} from 'angular2/core';
import {By} from 'angular2/platform/browser';

import {MdRadioButton, MdRadioGroup, MdRadioChange} from './radio_button';
import {MdRadioButton, MdRadioGroup, MdRadioChange} from './radio';
import {MdRadioDispatcher} from './radio_dispatcher';

export function main() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ export class MdRadioGroup implements AfterContentInit {

@Component({
selector: 'md-radio-button',
templateUrl: './components/radio/radio_button.html',
styleUrls: ['./components/radio/radio-button.css'],
templateUrl: './components/radio/radio.html',
styleUrls: ['./components/radio/radio.css'],
encapsulation: ViewEncapsulation.None
})
export class MdRadioButton implements OnInit {
Expand Down
2 changes: 1 addition & 1 deletion src/demo-app/radio/radio-demo.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {Component} from 'angular2/core';
import {MdRadioButton, MdRadioGroup} from '../../components/radio/radio_button';
import {MdRadioButton, MdRadioGroup} from '../../components/radio/radio';
import {MdRadioDispatcher} from '../../components/radio/radio_dispatcher';

@Component({
Expand Down

0 comments on commit 548b5b5

Please sign in to comment.