36 Commits

Author SHA1 Message Date
52ada1ca6d chore(components): ngmodule updates 2016-09-13 17:07:33 -05:00
c11ae69b12 docs(popover): update instructions for presenting a popover 2016-08-17 09:22:09 -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
54a33e08e7 docs(overlays): update the overlay docs for multiple classes in cssClass
closes #7618
2016-08-10 11:12:02 -04:00
cca3309f4c chore(nav): create nav-interfaces file 2016-07-11 23:24:25 -05:00
cd6ad23ef3 docs(viewController, picker, popover, toast, gestures, utils): update docs 2016-06-30 15:50:26 -04:00
ec99bfd019 feat(viewcontroller): add onWillDismiss callback
Fixed #6702
2016-06-30 08:06:19 -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
c7fa9490bf style(imports): add spaces in imports 2016-06-22 14:29:27 -05:00
e5d79d28c0 refactor(ViewController): remove need for viewType property 2016-06-16 15:26:16 -05:00
d13fa4e2cf refactor(structure): allow content to scroll under headers/footers 2016-06-16 11:28:02 -05:00
ea450d41d3 fix(popover): allow target element to be positioned at left:0
fixes #6896
2016-06-14 17:31:59 -04:00
8350df0cfc fix(popover): hide arrow if no event was passed
closes #6796
2016-06-09 17:03:28 -04:00
1d78f78407 feat(popover): background dismiss, escape dismiss
background dismiss, escape dismiss

closes #6817
2016-06-09 13:54:46 -05:00
2be96f29b2 * refactor(overlays): overlays now are enabled via ionViewDidEnter (#6811) closes #6753
overalys now are enabled via ionViewDidEnter

* style(overlays): fixed tslint error

fixed tslint error

* style(overlays): formatting

formatting

* refactor(overlays): minor refactor to match style

minor refactor to match style
2016-06-09 13:35:03 -05:00
c1d09dd6b2 refactor(nav): replace DynamicComponentLoader w/ ComponentFactory 2016-06-08 16:42:23 -05:00
a1a582b7a1 fix(ion-backdrop): new ion-backdrop can prevent background scrolling
closes #6656
2016-06-02 17:09:44 +02:00
c18335e946 refactor(lifecycle): lifecycle methods prefixed w/ ionView
BREAKING CHANGES:

- Lifecycle method prefixes have changed to `ionView`
- `onPageLoaded` renamed to `ionViewLoaded`
- `onPageWillEnter` renamed to `ionViewWillEnter`
- `onPageDidEnter` renamed to `ionViewDidEnter`
- `onPageWillLeave` renamed to `ionViewWillLeave`
- `onPageDidLeave` renamed to `ionViewDidLeave`
- `onPageWillUnload` renamed to `ionViewWillUnload`
- `onPageDidUnload` renamed to `ionViewDidUnload`
2016-06-01 12:06:15 -05:00
11448dcd0c chore(tslint): fix noImplicitAny errors 2016-05-31 21:07:17 -05:00
8a920a24a5 Merge branch 'bootstrap-refactor' into 2.0 2016-05-31 15:50:21 -05:00
94e938d6b3 docs(bootstrap): update to use ionicBootstrap 2016-05-31 15:47:16 -05:00
6bd91f02a3 fix(popover): position MD popover on top of element clicked
fixes #6683
2016-05-31 13:40:36 -04:00
4b4092b25e refactor(popover): change call to willEnter to fireWillEnter to match view-controller changes, fix l
change call to willEnter to fireWillEnter to match view-controller changes, fix linting error
2016-05-27 14:01:26 -05:00
44a7da8adc feat(popover): change MD animation and use for WP also
references #5420
2016-05-27 12:46:33 -04:00
e419ec61d2 feat(popover): fix MD animations and start from the right side
references #5420
2016-05-27 11:35:41 -04:00
1d0d755214 feat(popover): add MD animation
references #5420
2016-05-26 13:29:57 -04:00
1e7b57257c feat(popover): adjust popover to position in the center with no event
references #5420
2016-05-25 17:56:00 -04:00
438a389ef8 feat(popover): position popover in the top middle if no event
add API docs for popover.

references #5420
2016-05-25 17:06:24 -04:00
620b7c86b0 feat(popover): add height auto for safari and remove ability to scroll on backdrop
references #5420
2016-05-25 14:55:41 -04:00
4db72cfc2c feat(popover): fix long popovers that go off the page
Allow popovers to be of dynamic height and only cut them off when they
exceed the height of the body. Clean up styles for each mode.

references #5420
2016-05-25 12:12:18 -04:00
57a1274b6c feat(popover): modify the animation for each mode
add another wrapper div to fix the arrow not animating at the same time.

references #5420
2016-05-24 16:00:23 -04:00
04a59d27a2 docs(demos): add popover API demo, tweak e2e demo
references #5420
2016-05-24 14:07:03 -04:00
1373108f51 style(popover): fix linter errors for sass and ts
references #5420
2016-05-24 11:11:40 -04:00
2cd1b51628 feat(popover): position the popover on transition instead of create
references #5420
2016-05-23 16:34:57 -04:00
a96e36aa0e feat(popover): change template in popover to a page similar to modal
add ability to pass event in the transition, so on present of the
popover, clean up the positioning

references #5420
2016-05-23 14:15:17 -04:00
53fd3c3973 feat(popover): add popover component
references #5420
2016-05-23 10:54:14 -04:00