29 Commits

Author SHA1 Message Date
9f19023cb9 feat(gesture): Introducing new gesture controller 2016-07-13 22:11:38 +02:00
cca3309f4c chore(nav): create nav-interfaces file 2016-07-11 23:24:25 -05:00
df07682407 docs(alertController, navController): update docs 2016-06-30 13:46:09 -04:00
55a5e83020 fix(nav): fix menuCtrl reference in swipe back 2016-06-29 21:12:22 -05:00
b615c60478 fix(loading): fix loading overlay during app init
Closes #6209
2016-06-29 00:27:50 -05:00
3fb58d95c3 demo(overlay): use injectable overlay controllers 2016-06-28 20:46:43 -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
060d064325 Merge branch '2.0' into layout-refactor
# Conflicts:
#	src/components/tabs/test/advanced/index.ts
2016-06-21 11:37:47 -05:00
2bff535e7b fix(tabs): swipeBackEnabled works with tabs as expected 2016-06-21 10:56:30 -05:00
7842991c1a fix(nav): auto set iOS black transition bg via css 2016-06-20 14:12:13 -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
41ecfdc4ae style(navigation): fixed sass-lint error, changed function name
fixed sass-lint error, changed function name
2016-06-14 22:27:31 -05:00
a655cd78ac Feature/child nav fixes (#6907)
* fix(navigation): fixes bug where navigating to page with child-nav immediately re-enables app

fixes bug where navigating to page with child-nav immediately re-enables app

closes #6752

* test(navigation): added some additional tests

added some additional tests

* test(tabs): added multiple nested children test

added multiple nested children test
2016-06-14 15:52:24 -05:00
d6b7d5dd9b fix(navigation): keep the click block up longer if the keyboard is open (#6884)
* fix(navigation): keep the click block up longer if the keyboard is open

keep the click block up longer if the keyboard is open

closes  #6540

* refactor(navigation): changed formatting, reduced keyboard duration padding

changed formatting, reduced keyboard duration padding
2016-06-13 13:15:31 -05:00
0660cb6b4a docs(nav): NavOptions.animation values 2016-06-11 20:05:40 -05:00
c1d09dd6b2 refactor(nav): replace DynamicComponentLoader w/ ComponentFactory 2016-06-08 16:42:23 -05:00
9f293e8549 feat(navPop): add nav pop method on the app instance 2016-06-08 10:42:19 -05:00
9cd80cbfe8 chore(nav): add promise rejects to popTo 2016-06-01 22:19:13 -05: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
73635f3939 refactor(bootstrap): use ionicBootstrap() to bootstrap
BREAKING CHANGES:

- Ionic's custom decorators have been removed.
- `@App` and `@Page` should be replaced with `@Component`.
- `IonicApp` has been renamed to `App`.
- `ionicBootstrap` is required to bootstrap the app.
- Config is now the 3rd parameter in `ionicBootstrap(rootComponent,
providers, config)`.
- Property `prodMode` is now a config option, enabling or disabling
production mode.
2016-05-31 15:42:06 -05:00
f6f16340e2 refactor(nav-controller): add data property to the leaving opts so it's accessible to transition w
add data property to the leaving opts so it's accessible to transition when exiting
2016-05-27 14:19:15 -05:00
dfa991d409 Feature/observable ext (#6670)
* refactor(nav-controller): refactor to better support dynamic component loading
2016-05-27 13:49:37 -05: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
f18a62485d fix(menu): fix swipe to go back and left menu conflict
Closes #5575
2016-05-19 23:11:36 -05:00
c8f760f080 chore(build): rename ionic directory to src and update all references in the build process. 2016-05-19 13:22:40 -05:00