170 Commits

Author SHA1 Message Date
86fc741e63 fix(nav): portal nav should always animate
Closes #6059
2016-04-06 16:51:08 -05:00
b0635667f3 fix(router): fix nested ion-nav router 2016-04-06 08:59:02 -05:00
5cb319f619 test(karma): add karma tests for the present/zIndex of a portal
references #5426
2016-04-05 15:24:57 -04:00
d3fa29fe95 feat(loading): add internal stack for the loading service
this allows the user to push multiple loading indicators on top of each
other without interfering with the page stack, as well as navigation
between pages behind the loading indicator.

references #5426
2016-04-04 23:38:58 -04:00
442d135dae feat(ion-content): adds <ion-fixed> for non-scrollable page content
closes #5987
2016-03-30 21:07:32 +02:00
17c38862cc fix(Nav): fixes swipeBackEnabled as attribute
closes #5653
2016-03-18 16:04:28 +01:00
1dd73aac7a fix(nav): correctly set zIndex when there's a previous view 2016-03-12 05:05:29 -06:00
d77e8d963f fix(nav): use setRoot when root property changes
Closes #5668
2016-03-06 23:33:44 -06:00
897501650a fix(nav): create opts object when undefined/null
Closes #5737
2016-03-06 14:07:26 -06:00
5863e2c74f fix(nav): change init zIndex to 100 2016-03-06 13:27:30 -06:00
ad50a11b3c fix(nav): reset zIndex when goes under 0
Closes #5718
2016-03-06 10:34:17 -06:00
e639457654 fix(overlays): update keyboard focus management 2016-03-05 20:32:21 -06:00
4922fc6075 fix(nav): do not hide pages if an overlay is in the stack
Closes #5430
2016-03-05 13:34:14 -06:00
a237c16bc0 chore(): use relative imports in tests 2016-03-02 15:43:51 -06:00
c883a2ae91 chore(): update Ionic imports in tests 2016-02-22 17:45:17 -06:00
ed85ab9863 test(nav): create nav memory test 2016-02-21 21:30:10 -06:00
4cae151d47 fix(overlay): do not dom cache views before overlays
Closes #5483
2016-02-21 00:03:58 -06:00
b9eec24c88 fix(tabs): pop tab page to parent nav
Closes #5196
2016-02-19 21:43:28 -06:00
6b9e59d0d0 feat(NavController): prevent other lifecycle events from firing
For Alert and ActionSheet, the currently active page’s leaving
lifecycle event should not fire. However, for Modal, the currently
active page’s leaving lifecycle should fire. Closes #5516
2016-02-19 12:06:49 -06:00
0d60a0f5d5 test(NavController): add cleanup tests 2016-02-19 10:40:44 -06:00
53af766a08 test(NavController): add lifecycle tests 2016-02-19 10:23:46 -06:00
8f0b88b7e4 fix(NavController): fire onPageWillUnload/DidUnload
Fixes #5507
2016-02-18 11:05:45 -06:00
da37029195 feat(nav): iOS swipe to go back
Closes #5185
2016-02-17 13:35:34 -06:00
04c1c7c3bd chore(typings): add es6 and jasmine typings
As of beta.6, angular2 no longer ships es6-shim or jasmine typings, so
we provide them ourselves.
2016-02-15 15:36:01 -06:00
8b724a3bcb chore(tests): make typescript and unit tests friends 2016-02-12 13:59:38 -06:00
5f254f285f chore(e2e): make typescript and e2e friends 2016-02-12 11:37:39 -06:00
38a3be438f fix(button): bar-button uses inner span as flexbox
- Fixed block/full buttons, now there are display: block
- Fixes <ion-segment-button> warnings
2016-02-10 15:49:19 +01:00
acf12cdd15 refactor(menu): inject MenuController to control app menus
Menu has been improved to make it easier to open, close, toggle and
enable menus.
Instead of injecting `IonicApp` to find the menu component, you now
inject
`MenuController`.

Was:

```
constructor(app: IonicApp) {
  this.app = app;
}
openMenu() {
  this.app.getComponent('leftMenu').close();
}
```

Now:

To programmatically interact with any menu, you can inject the
`MenuController`
provider into any component or directive. This makes it easy get ahold
of and
control the correct menu instance. By default Ionic will find the app's
menu
without requiring a menu ID. An id attribute on an `<ion-menu>` is only
required
if there are multiple menus on the same side. If there are multiple
menus, but
on different sides, you can use the name of the side to get the correct
menu

If there's only one menu:

```
constructor(menu: MenuController) {
  this.menu = menu;
}
openMenu() {
  this.menu.close();
}
```

If there is a menu on the left and right side:

```
toggleMenu() {
  this.menu.toggle('left');
}
```

If there are multiple menus on the same side:

```
<ion-menu id="myMenuId" side="left">...</ion-menu>
<ion-menu id="otherMenuId" side="left">...</ion-menu>

closeMenu() {
  this.menu.close('myMenuId');
}
```
2016-02-04 16:47:05 -06:00
ecb5e4f031 test(alert): dismiss alert, then run nav.pop() 2016-01-29 23:31:51 -06:00
e76b55994c fix(input): checked attr can be an empty string or no value 2016-01-27 08:09:37 -06:00
42f6b1056f fix(input): update input css/tests 2016-01-27 08:09:37 -06:00
3213d02375 refactor(NavController): improve transitions, view stages
This refactor made it so view transitions do no step on one another when a new transition happens
during an active transition.
2016-01-19 14:24:49 -06:00
6b2f42467f fix(navParams): move navParams to nav-params.ts 2016-01-15 11:03:14 -06:00
ff10b3bb49 fix(navCtrl): add more states during transitions 2016-01-15 10:21:18 -06:00
883e1b68b1 refactor(icon): rename icon to ion-icon
Closes #855
2016-01-05 22:27:07 -06:00
c136d2143a alert wip 2015-12-23 23:11:40 -06:00
364f9e12ae fix(keyboard): close keyboard after transition
Closes #754
2015-12-16 10:49:24 -06:00
5d6d9b9610 chore(upgrad): ng alpha52 and case-sensitive templates 2015-12-10 22:52:55 -06:00
d464d5cb1c remove angular2/angular2 imports 2015-12-10 16:41:57 -06:00
05aaa2d34d fix templates after alpha50 2015-12-09 08:26:44 -06:00
8b693ce836 toolbar button updates 2015-12-07 11:18:00 -06:00
dbeb0f78ae fix(platform): update ripple activator fn
Closes #671
2015-12-02 10:34:29 -06:00
85e773b56b refactor(navCtrl): move async parts of transition into their own fn 2015-12-01 19:59:21 -06:00
cd9e6a2ab1 test(nav): removing automatic page push on nav 2015-12-01 14:27:17 -05:00
448385ed84 fix(navCtrl): run change detection after stage
Also fixes #675
2015-12-01 11:01:11 -06:00
10c76a64df feat(viewCtrl): setBackButtonText() 2015-12-01 09:43:12 -06:00
f2afea8479 feat(viewCtrl): create showBackButton() 2015-12-01 09:23:26 -06:00
ad276f4161 fix(navCtrl): wrap user lifecycle evts w/ try/catch 2015-11-28 00:10:38 -06:00
3d47061e4a feat(nav): detach ChangeDetectorRef during transition 2015-11-27 22:14:55 -06:00
f4d82f05ea fix(navController): update element caching
Also renamed setViews() to setPages(), and moved the index argument in
insert() to be the first arg.
Closes #641
2015-11-25 10:27:55 -06:00