Commit Graph

21 Commits

Author SHA1 Message Date
Dan Bucholtz
145fcd24f2 refactor(transitions): remove transition registry
remove transition registry
2017-03-02 15:09:17 -06:00
Manu Mtz.-Almeida
8d9f374065 fix(all): memory leaks
fixes #10459
fixes #10416
fixes #10286
2017-02-28 17:50:42 +01:00
Adam Bradley
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
Manu Mtz.-Almeida
320989540e perf(menu): improves menu performance and fixes some edge cases 2016-11-25 22:56:53 +01:00
Vasilis Koutsopoulos
813d945b79 fix(transition): syntax of cubic-bezier easing 2016-11-03 01:26:36 +02:00
Manu Mtz.-Almeida
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
Manu Mtz.-Almeida
d9e8b1bec6 refactor(nav-controller-base): cleanup some logic
NavControllerBase is the core of ionic 2 navigation. It handles all the transitions and it is complicated code to follow.
I am refactoring it to allow future developers and contributors to follow it better.

!node.parent now becomes node.isRoot()

ViewController does not remove itself from the stack, but two new auxiliar function in nav controller: _insertView() and _removeView() are used to add a view to the stack.

And so on...

All e2e and unit tests passing...
2016-10-18 16:36:55 +02:00
Manu Mtz.-Almeida
ba557acb4f fix(nav): ion-nav inside ion-content work properly 2016-10-15 02:59:57 +02:00
Max Lynch
eab5726fb3 fix(navbar): Don't fade out navbars. Fixes #8060 2016-10-12 22:22:21 -05:00
Manu Mtz.-Almeida
c8954d8a16 fix(nav): ionViewCanLeave does not break navigation
fixes #8408
2016-10-10 21:45:58 +02:00
Manu Mtz.-Almeida
fcc515f5d7 fix(transition): ios-transition can be used in MD/WP
fixes #7171
2016-10-10 08:47:40 -05:00
Manu Mtz.-Almeida
db72a7d26b fix(menu): menu's content is resized properly
fixes #8504
2016-10-10 08:45:22 -05:00
Adam Bradley
7c05d0c0ba fix(di): update dependency injection and default configs 2016-09-16 00:49:09 -05:00
Adam Bradley
41a7e07651 refactor(transition): create transition controller 2016-09-13 15:12:14 -05:00
Manu Mtz.-Almeida
ac8e4dce06 style(all): tslinter warnings 2016-07-19 13:31:46 -07:00
Adam Bradley
1986710537 refactor(content): add dimension read/write methods 2016-06-17 15:23:13 -05:00
Adam Bradley
e5d79d28c0 refactor(ViewController): remove need for viewType property 2016-06-16 15:26:16 -05:00
Adam Bradley
d13fa4e2cf refactor(structure): allow content to scroll under headers/footers 2016-06-16 11:28:02 -05:00
Adam Bradley
11448dcd0c chore(tslint): fix noImplicitAny errors 2016-05-31 21:07:17 -05:00
Brandy Carney
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
Josh Thomas
c8f760f080 chore(build): rename ionic directory to src and update all references in the build process. 2016-05-19 13:22:40 -05:00