32 Commits

Author SHA1 Message Date
52ada1ca6d chore(components): ngmodule updates 2016-09-13 17:07:33 -05:00
16df3a4aab refactor(css): update theme imports 2016-09-13 16:57:32 -05:00
750cde38e2 refactor(css): scope component css to mode 2016-09-13 16:52:47 -05:00
d7be8a80c0 test(ngmodule): update to ngmodule 2016-09-13 15:44:02 -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
4f52135c13 Revert "Revert "Merge branch 'master' of https://github.com/driftyco/ionic""
This reverts commit 4a6086c1f8e756b86460697f685af0c8f81e3019.
2016-07-18 19:40:03 -05:00
4a6086c1f8 Revert "Merge branch 'master' of https://github.com/driftyco/ionic"
This reverts commit 8945bf906d68d469e4653a9db2f564bc588eb0d6, reversing
changes made to f4fac225fa3a9151565a1e3c3ccb334405b6a57f.
2016-07-18 19:24:56 -05:00
86fd8a480f fix(picker): fix iOS 8 picker display
Fixes #7319
2016-07-14 21:28:01 -05:00
d6f62bcb60 fix(sliding): much better UX + performance
- sliding should behave exactly like a native one
- much better performance

references #7049
references #7116
closes #6913
closes #6958
2016-07-12 15:30:19 +02:00
cca3309f4c chore(nav): create nav-interfaces file 2016-07-11 23:24:25 -05:00
656426672c chore(templates): import required directives for ionic templates 2016-07-01 00:59:37 -05:00
cd6ad23ef3 docs(viewController, picker, popover, toast, gestures, utils): update docs 2016-06-30 15:50:26 -04:00
4980659bd6 test(overlay): use injectable overlay controllers 2016-06-28 15:20:42 -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
b1b7bb806a test(picker): fixes return data 2016-06-27 20:04:51 +02:00
b8551defd5 fix(picker): adds align to the PickerColumn interface 2016-06-27 20:04:51 +02: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
02c863b1a9 refactor(picker): uses new UIEventManager 2016-06-20 20:32:55 +02:00
1a8f6d745d test(header): update header markup 2016-06-17 11:43:30 -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
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
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
170cf8c409 fix(picker): safari fired pointerEnd() twice (#6708)
closes #6704
2016-05-31 16:36:59 -05:00
8a920a24a5 Merge branch 'bootstrap-refactor' into 2.0 2016-05-31 15:50:21 -05:00
6e9087534d test(bootstrap): update to use ionicBootstrap 2016-05-31 15:49:12 -05:00
d563aa65a3 refactor(events): rename all Ionic events to start with ion
BREAKING CHANGES:

Renamed all Ionic events to start with `ion`. The following events were
renamed:

- **Checkbox**
  - `change` -> `ionChange`
- **DateTime**
  - `change` -> `ionChange`
  - `cancel` -> `ionCancel`
- **InfiniteScroll**
  - `infinite` -> `ionInfinite`
- **Menu**
  - `opening` -> `ionDrag`
  - `opened` -> `ionOpen`
  - `closed` -> `ionClose`
- **Option**
  - `select` -> `ionSelect`
- **Picker**
  - `change` -> `ionChange`
- **RadioButton**
  - `select` -> `ionSelect`
- **RadioGroup**
  - `change` -> `ionChange`
- **Refresher**
  - `refresh` -> `ionRefresh`
  - `pulling` -> `ionPull`
  - `start` -> `ionStart`
- **Searchbar**
  - `input` -> `ionInput`
  - `blur` -> `ionBlur`
  - `focus` -> `ionFocus`
  - `cancel` -> `ionCancel`
  - `clear` -> `ionClear`
- **Segment**
  - `change` -> `ionChange`
  - `select` -> `ionSelect`
- **Select**
  - `change` -> `ionChange`
  - `cancel` -> `ionCancel`
- **Slides**
  - `willChange` -> `ionWillChange`
  - `didChange` -> `ionDidChange`
  - `move` -> `ionDrag`
- **TabButton**
  - `select` -> `ionSelect`
- **Tab**
  - `select` -> `ionSelect`
- **Tabs**
  - `change` -> `ionChange`
- **Toggle**
  - `change` -> `ionChange`

Closes #6568
2016-05-31 12:01:46 -04:00
2b836a930f chore(tests): correct components to use src path instead of ionic to ensure karma tests pass. 2016-05-19 16:58:08 -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