23 Commits

Author SHA1 Message Date
4cd5834cfd Merge branch 'master' into v4
# Conflicts:
#	.scss-lint.yml
#	README.md
#	scripts/gulp/tasks/e2e.dev.ts
#	scripts/gulp/util.ts
#	src/components/action-sheet/action-sheet-component.ts
#	src/components/card/card.ios.scss
#	src/components/card/card.md.scss
#	src/components/card/card.wp.scss
#	src/components/card/test/map/main.html
#	src/components/card/test/social/main.html
#	src/components/slides/slides.scss
#	src/components/slides/slides.ts
#	src/components/toggle/toggle.ios.scss
#	src/components/toggle/toggle.ts
#	src/themes/ionic.mixins.scss
2017-06-12 13:33:33 -04:00
a40b872975 fix(rtl): add icon-start and icon-end attributes (#11737)
* feat(icon): add start/end

* fix(icon): add all relevant deprecations

* fix(deprecation): add deprecation to missing selector

* revert(tests): revert icon-start/end from tests
2017-06-02 14:00:18 -04:00
e50dc31d93 Merge branch 'master' into v4
# Conflicts:
#	README.md
#	package.json
#	src/components/action-sheet/action-sheet-component.ts
#	src/components/badge/badge.scss
#	src/components/card/card.ios.scss
#	src/components/card/card.md.scss
#	src/components/card/card.wp.scss
#	src/components/scroll/scroll.scss
#	src/components/scroll/scroll.ts
#	src/components/scroll/test/basic/main.html
#	src/components/slides/slides.scss
#	src/components/slides/swiper/swiper-effects.ts
#	src/components/slides/swiper/swiper-events.ts
#	src/components/slides/swiper/swiper-parallax.ts
#	src/components/slides/swiper/swiper.ts
#	src/components/toggle/test/toggle.spec.ts
#	src/components/toggle/toggle-gesture.ts
#	src/components/toggle/toggle.ios.scss
#	src/components/toggle/toggle.md.scss
#	src/components/toggle/toggle.ts
#	src/components/toggle/toggle.wp.scss
#	src/themes/ionic.mixins.scss
2017-05-17 23:03:49 +02:00
3b4b29e832 refactor(action-sheet): adds proper TS types 2017-05-05 01:01:49 +02:00
f9b76f3b2e fix(): update to remove 'button ion-button' and add CUSTOM_ELEMENTS_SCHEMA. 2017-04-28 14:39:27 -05:00
396f891f33 chore(docs): updating dgeni typescript package 2017-03-14 14:50:31 -05:00
42a0c7fa61 refactor(action-sheet): restructure action-sheet, move controller to separate module
restructure action-sheet, move controller to separate module
2017-03-02 14:39:19 -06:00
8d9f374065 fix(all): memory leaks
fixes #10459
fixes #10416
fixes #10286
2017-02-28 17:50:42 +01:00
be0b6a8872 refactor(all): cosmetic changes + app.resize as event emitter 2017-02-28 17:34:12 +01:00
8ca9797c0f fix(clickblock): add NavOptions.minClickBlockDuration
* feat(clickblock): ability to set a minimum duration for click block

* fix(clickblock): add NavOptions.minClickBlockDuration
2017-01-09 16:44:37 -06:00
7000b1b173 refactor: improve tree shaking abilities
Internal refactor completed in order to improve tree shaking and dead
code removal. The public API, with an exception to ion-slides, has
stayed the same. However, internally many changes were required so
bundlers could better exclude modules which should not be bundled.
Ultimately most changes resorted to removing references to `window` or
`document`, or a module that referenced one of those.

BREAKING CHANGES

ion-slides was refactored to remove the external dependencies, and
rewritten in TypeScript/ES6 modules to again improve tree shaking
abilities.
2017-01-09 09:51:39 -06:00
dc7a638ae4 refactor(overlay): remove default pageTransitionDelay on dismiss 2016-11-21 13:40:21 -06:00
8d7d7bdaba chore(focus): create reusable focusOutActiveElement() 2016-11-21 11:40:33 -06:00
06938b64a5 fix(backdrop): remove click cursor when the backdrop is not tappable 2016-11-20 16:00:53 +01:00
32ab817181 fix(gestures): gesture controller handled by components
* fix(gestures): gesture controller is handled by components

fixes #9046

* fix(gestures): adds hybrid disable scroll assistance

fixes #9130
fixes #9052
fixes #7444
2016-11-16 10:03:51 -06:00
a7315285c5 fix(action-sheet): add icon-left to the button if an icon exists 2016-09-22 22:43:41 -04:00
b750e4691c fix(): gulp validate passes successfully 2016-09-17 01:58:40 +02:00
7c05d0c0ba fix(di): update dependency injection and default configs 2016-09-16 00:49:09 -05:00
52ada1ca6d chore(components): ngmodule updates 2016-09-13 17:07:33 -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
68ab2618d3 feat(action-sheet): add ability to pass multiple classes to cssClass
references #7618
2016-08-09 16:13:27 -04:00
656426672c chore(templates): import required directives for ionic templates 2016-07-01 00:59:37 -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