24 Commits

Author SHA1 Message Date
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
c08c21a4a0 refactor(gestures): using new DomController 2016-12-02 11:45:26 +01:00
eafd13f53e fix(menu): clicking the backdrop/content closes the menu 2016-11-29 12:45:00 +01:00
788a7b61f9 perf(menu): using passive events in menu 2016-11-26 15:45:55 +01:00
320989540e perf(menu): improves menu performance and fixes some edge cases 2016-11-25 22:56:53 +01:00
4be47bd3dd fix(animation): improve menu and go back swipe 2016-11-21 23:09:57 +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
d531ec2316 perf(menu): avoid change detection when it isn't needed (#8986) 2016-11-04 13:57:15 -04:00
04d61ee47a fix(nav): swipe to go back gesture
- smoother by debouncing touch events (reduces bank)
- dynamic animation duration
- intelligent behavior based in the position, speed and direccion of the swipe (sharing logic with sliding item)

fixes #8919
fixes #8958
fixes #7934
2016-11-01 13:38:27 -05:00
8dd66735ab refactor(menu): gestureCtrl is a private property of menu 2016-10-22 18:13:24 +02:00
ff1f340285 test(assert): adds new debugging assert() util
improves removing of console.debug statements

fixes #8483
2016-10-18 09:10:00 -05:00
a06bd69926 fix(menu): console.debug statements are one line 2016-10-13 17:51:18 +02:00
f0ac42ef49 chore(build): remove console.debug from prod
remove console.debug from prod
2016-09-27 15:12:59 -05:00
8585427fb4 fix(menu): open/close race condition
fixes #7629 #8001
2016-09-14 15:49:11 -05: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
cac378f35b fix(menu): only one menu can be opened at a time
fixes #6826
2016-07-17 20:42:29 -05:00
5909fa4ba5 refactor(gestures): no longer use hammer for drag gestures 2016-07-15 11:23:36 -05:00
a2a71893e4 style(menu): typo (degress -> degrees) 2016-07-14 11:24:30 +02:00
32a70a62de fix(menu): swipe menu is triggered when the swipe |angle| < 40º 2016-07-14 11:17:23 +02:00
d230cb40fe fix(gestures): detecting swipe angle correctly + sliding item logic fix 2016-07-14 00:03:53 +02:00
9f19023cb9 feat(gesture): Introducing new gesture controller 2016-07-13 22:11:38 +02:00
29791f8556 fix(menu): swiping menu distinguishes between opening and closing direction
Closes #5511
2016-06-09 07:57:29 -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