387 Commits

Author SHA1 Message Date
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
ecb5e4f031 test(alert): dismiss alert, then run nav.pop() 2016-01-29 23:31:51 -06:00
1c618b51eb feat(overlay): fire the cancel handler when dismissing from backdrop
Renamed action sheet’s button.style to button.role, and added
button.role to alerts. Pass the button’s role in the dismiss method.
Related #5251
2016-01-29 16:11:25 -06:00
dbc681fb7c docs(): hide methods not requiring docs 2016-01-27 14:27:36 -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
8f9727891b fix(tabs): fix overlay present on tabs 2016-01-25 12:54:55 -06:00
4d218666fb docs(navController): fix param parsing error
Closes #5137
2016-01-22 10:24:32 -06:00
f5f4169db0 fix(NavController): default setRoot/setPages to not animate transitions
setRoot() will be commonly used by side menus, which should not animate between pages.
2016-01-21 16:38:57 -06:00
ba0a041e86 fix(NavController): check if view has already been destroyed 2016-01-21 16:32:59 -06:00
ee106377fc chore(angular): upgrade to angular 2.0.0-beta.1
Biggest change was that renderer takes  and not just .
2016-01-20 11:15:01 -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
02626b9489 chore(): add types to Refresher 2016-01-14 21:04:20 -06:00
100b1e79ae chore(): fix Tabs types 2016-01-13 22:40:30 -06:00
c4d59002c0 chore(): fix menu types 2016-01-13 21:03:37 -06:00
763341a45d chore(): fix NavRegistry types 2016-01-13 17:32:42 -06:00
8fdc9ed673 chore(): fix NavController typescript errors 2016-01-12 21:41:37 -06:00
00b0f4de56 chore(): fix NavController typescript errors 2016-01-12 16:02:20 -06:00
88aad3f880 refactor(decorators): remove ConfigComponent 2016-01-11 22:51:54 -06:00
4bc6d8a6af fix(overlay): log error when rootNav is Tabs
Closes #897
2016-01-09 23:13:12 -06:00
883e1b68b1 refactor(icon): rename icon to ion-icon
Closes #855
2016-01-05 22:27:07 -06:00
4203f9b179 Merge branch 'overlay-refactor' 2016-01-04 09:26:59 -06:00
da986a5fb0 feat(transition): pass isRTL in transition opts 2016-01-01 21:56:40 -06:00
ac7ca8756f docs(navCtrl): NavController#present docs 2015-12-31 21:09:30 -06:00
a63b5044df fix(actionSheet): action sheet icons 2015-12-31 20:47:12 -06:00
1e427443ad chore(): fix overlay demos/tests 2015-12-30 20:38:27 -06:00
ba2b67e569 modal updates 2015-12-30 16:23:20 -06:00
2c169ff508 wip 2015-12-30 15:03:05 -06:00
c65d2331ff miss quote in direction option example 2015-12-29 14:16:05 +01:00
c136d2143a alert wip 2015-12-23 23:11:40 -06:00
98e4336c16 wip 2015-12-22 21:45:28 -06:00
829442dffe chore(decorators): move decorators up one directory 2015-12-18 10:32:24 -06:00