420 Commits

Author SHA1 Message Date
6f3b9bef82 style(tslint): tslint updates 2016-04-06 21:28:52 -05:00
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
3df5989e27 fix(router): update path recognizer
Closes #5997
2016-04-05 20:45:45 -05:00
3733ebc55e feat(router): allow multiple routers
Custom routers could be add to update LocalStorage, API updates,
database changes, etc.
2016-04-05 15:36:35 -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
6cd90eed3c fix(loading): fix animation for loading the first time
references #5426
2016-04-05 14:08:30 -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
24443c3b53 fix(ViewController): call onDismiss after transition ends
Closes #5818
2016-03-12 03:21:07 -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
b62725c8ce chore(animation): pass instance to onFinish callbacks 2016-02-21 13:52:25 -06:00
4cae151d47 fix(overlay): do not dom cache views before overlays
Closes #5483
2016-02-21 00:03:58 -06:00
4fabadecb7 fix(nav): immediately stop if view removed before trans finished 2016-02-20 22:43:17 -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
20fef818ff chore(types): add more types to ViewController 2016-02-16 23:06:13 -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
e06cf71aae feat(tabs): rootParams, pass params to tabs
Closes #5172
2016-02-15 00:01:23 -06:00
019009a3e2 chore(): fix bad types for docs 2016-02-12 16:36:27 -05:00
5941042a98 chore() normalize types in docs 2016-02-12 15:51:28 -05: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
224382a10e Merge branch '2.0' of https://github.com/driftyco/ionic into ins_n_outs 2016-02-11 14:10:04 -05:00
d958085c03 docs(navPush): add input docs 2016-02-11 12:23:07 -05:00
8bde8d7522 fix(modal): set root nav view controller 2016-02-10 11:38:57 -06:00
8401aa4449 style(button): format css 2016-02-10 09:11:40 -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
e6068785f6 refactor(transitions): created Transition class
Created interfaces for NavOptions, AnimationOptions and
TransitionOptions Created Transition class and move transition ts files
to their own folder.
2016-02-10 01:57:54 -06:00
da18868636 refactor(animations): inline css animations 2016-02-09 16:23:01 -06:00
9cc28791db docs(navController): update docs 2016-02-09 10:17:09 -05: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
858855050d docs(demos): rename nav-push-pop to navigation and use it on the nav as well
references #5311
2016-02-03 18:04:13 -05:00
843947933f docs(NavController): remove members from NavCtrl docs 2016-02-01 22:18:29 -06:00
257247f9ee docs(navController): update docs 2016-02-01 23:05:05 -05:00
a913e3e084 docs(nav): make inputs private 2016-02-01 22:43:03 -05:00