8 Commits

Author SHA1 Message Date
a7315285c5 fix(action-sheet): add icon-left to the button if an icon exists 2016-09-22 22:43:41 -04:00
b750e4691c fix(): gulp validate passes successfully 2016-09-17 01:58:40 +02:00
7c05d0c0ba fix(di): update dependency injection and default configs 2016-09-16 00:49:09 -05:00
52ada1ca6d chore(components): ngmodule updates 2016-09-13 17:07:33 -05:00
938864e8d0 refactor(button): add ion-button attribute and icon attributes to style buttons
BREAKING CHANGES:

- `<button>` becomes `<button ion-button>`
- `<a button>` becomes `<a ion-button>`
- `<button ion-item>` does not get the `ion-button` attribute
- Buttons inside of `<ion-item-options>` do get the `ion-button`
attribute
- Removed the `category` attribute, this should be passed in
`ion-button` instead.
- Button attributes added for icons in buttons: `icon-only`,
`icon-left`, and `icon-right`

closes #7466
2016-08-16 17:11:02 -04:00
68ab2618d3 feat(action-sheet): add ability to pass multiple classes to cssClass
references #7618
2016-08-09 16:13:27 -04:00
656426672c chore(templates): import required directives for ionic templates 2016-07-01 00:59:37 -05:00
215c6d846c refactor(overlays): inject overlay providers
BREAKING CHANGES:

- Overlay components, such as Alert or Modals, should now be created
using its injected provider.
- Overlays now have the `present()` method on the overlay’s instance,
rather than using `nav.present(overlayInstance)`.
- All overlays now present on top of all app content, to include menus.
- Below is an example of the change to `Alert`, but the pattern is the
same for all overlays: ActionSheet, Loading, Modal, Picker, Popover,
Toast

WAS:

```
import { NavController, Alert } from ‘ionic-angular’;

constructor(private nav: NavController) {
}

doAlert() {
  let alert = Alert.create({
    title: 'Alert',
  });
  this.nav.present(alert);
}
```

NOW:

```
import { AlertController } from ‘ionic-angular’;

constructor(private alertCtrl: AlertController) {
}

doAlert() {
  let alert = this.alertCtrl.create({
    title: 'Alert'
  });
  alert.present();
}
```
2016-06-28 15:18:09 -05:00