diff --git a/demos/component-docs/actionSheet/actionSheet.ts b/demos/component-docs/actionSheet/actionSheet.ts index 83ef677164..be3b284c63 100644 --- a/demos/component-docs/actionSheet/actionSheet.ts +++ b/demos/component-docs/actionSheet/actionSheet.ts @@ -20,7 +20,7 @@ export class ActionSheetPage { { text: 'Favorite', icon: 'ion-md-heart-outline'} ], destructiveText: 'Delete', - titleText: 'Purchased', + titleText: 'Albums', cancelText: 'Cancel', cancel: function() { console.log('Canceled'); @@ -38,11 +38,12 @@ export class ActionSheetPage { this.actionSheet.open(androidSheet || { buttons: [ - { text: 'Share This' }, - { text: 'Move' } + { text: 'Share'}, + { text: 'Play'}, + { text: 'Favorite'} ], destructiveText: 'Delete', - titleText: 'You Opened Action Sheet', + titleText: 'Albums', cancelText: 'Cancel', cancel: function() { console.log('Canceled'); diff --git a/demos/component-docs/app.css b/demos/component-docs/app.css index 0c961e226d..1768e2be98 100644 --- a/demos/component-docs/app.css +++ b/demos/component-docs/app.css @@ -83,3 +83,13 @@ scroll-content { color: #31D55F; } +.md .action-sheet-destructive { + border-top: 1px solid rgba(204, 204, 204, 0.32); + margin-top: 8px; + padding-top: 4px; +} + +.md .action-sheet-cancel icon, .md .action-sheet-destructive icon { + color: #757575; +} + diff --git a/demos/component-docs/icons/icons.html b/demos/component-docs/icons/icons.html index bb034e3479..67b4570a41 100644 --- a/demos/component-docs/icons/icons.html +++ b/demos/component-docs/icons/icons.html @@ -67,7 +67,7 @@ - + diff --git a/demos/component-docs/index.ts b/demos/component-docs/index.ts index 328ce94004..a4a054f8b9 100644 --- a/demos/component-docs/index.ts +++ b/demos/component-docs/index.ts @@ -5,7 +5,7 @@ import * as helpers from 'helpers'; @App({ - template: '' + template: '' }) class DemoApp { diff --git a/demos/weather/index.ts b/demos/weather/index.ts index 2579213ea5..781d6e728c 100755 --- a/demos/weather/index.ts +++ b/demos/weather/index.ts @@ -1,4 +1,4 @@ -import {Component, Directive, View, NgIf, NgFor, NgClass, ElementRef} from 'angular2/angular2'; +import {Component, Directive, NgIf, NgFor, NgClass, ElementRef} from 'angular2/angular2'; import {FormBuilder, Control, ControlGroup, Validators, FORM_DIRECTIVES} from 'angular2/angular2'; import {App, IonicView, Animation, Content, Scroll, Modal, NavController, NavParams} from 'ionic/ionic'; @@ -58,9 +58,7 @@ let WEATHER_ICONS = { selector: 'weather-icon', inputs: [ 'icon' - ] -}) -@View({ + ], template: '', directives: [NgClass] }) @@ -82,9 +80,7 @@ export class WeatherIcon { selector: 'current-time', inputs: [ 'localtz' - ] -}) -@View({ + ], template: '{{currentTime}}', }) export class CurrentTime { @@ -102,9 +98,7 @@ export class CurrentTime { selector: 'current-weather', inputs: [ 'current' - ] -}) -@View({ + ], templateUrl: 'current-weather.html', directives: [NgIf] }) @@ -177,9 +171,7 @@ export class CurrentWeather { selector: 'background-cycler', inputs: [ 'image' - ] -}) -@View({ + ], template: '
' }) export class BackgroundCycler { diff --git a/demos/yerk/main.html b/demos/yerk/main.html index 59e85c1e73..47ea1ee8af 100644 --- a/demos/yerk/main.html +++ b/demos/yerk/main.html @@ -1,10 +1,10 @@