2198 Commits

Author SHA1 Message Date
4fabadecb7 fix(nav): immediately stop if view removed before trans finished 2016-02-20 22:43:17 -06:00
22ec46403a chore(radio): add more types 2016-02-20 22:04:15 -06:00
730cccdc97 feat(toggle): add change event
Related #5513
2016-02-20 21:59:43 -06:00
2596731e91 feat(checkbox): add change event
Related #5513
2016-02-20 21:45:37 -06:00
892b0071cb fix(sass): rename brightness/inverse sass functions
Prefix custom sass color functions with color-
Closes #5542
2016-02-20 20:34:59 -06:00
27eacd4e0d Merge branch 'menu-improvements' into 2.0 2016-02-19 23:38:13 -06:00
004e63555e refactor(menu): improve menu get lookup
If a `menuId` is not provided then it'll return the first menu found.
If a `menuId` is `left` or `right`, then it'll return the enabled menu
on that side. Otherwise, if a `menuId` is provided, then it'll try to
find the menu using the menu's `id` property. If a menu is not found
then it'll return `null`. If a menu id was provided, but was not found,
it will not fallback to finding any menu. Closes #5535
2016-02-19 23:37:31 -06:00
b9eec24c88 fix(tabs): pop tab page to parent nav
Closes #5196
2016-02-19 21:43:28 -06:00
8564d79a7d fix(menu): fix enabled check
references #5535
2016-02-19 20:36:27 -05:00
5f31df05de test(menu): add karma tests 2016-02-19 20:36:05 -05:00
f0b5838880 test(menu): update test to use 3 menus and menu toggle by side
references #5535
2016-02-19 16:18:55 -05:00
a2b7a21a95 feat(menu): grab the menu by side only if it is enabled
this removes the need to pass an id when you enable one menu

references #5535
2016-02-19 16:18:31 -05:00
5e1eeff40d test(menu): add test that reproduces issue with multiple menus and navbar toggles 2016-02-19 14:47:42 -05:00
6b9e59d0d0 feat(NavController): prevent other lifecycle events from firing
For Alert and ActionSheet, the currently active page’s leaving
lifecycle event should not fire. However, for Modal, the currently
active page’s leaving lifecycle should fire. Closes #5516
2016-02-19 12:06:49 -06:00
7e49ff2550 test(Tabs): add lifecycle logs 2016-02-19 10:54:05 -06:00
0d60a0f5d5 test(NavController): add cleanup tests 2016-02-19 10:40:44 -06:00
53af766a08 test(NavController): add lifecycle tests 2016-02-19 10:23:46 -06:00
eb3235f874 docs(actionsheet): add docs for actionsheet options 2016-02-18 19:13:55 -05:00
9c0eebd245 fix(alert): add max height to alert body so it will overflow
closes #5316
2016-02-18 16:55:34 -05:00
26c616bc20 derp: the inputs still get read from the input property 2016-02-18 12:22:04 -05:00
ae392e2db3 test(slides): update slide tests to use options instead of attributes
references #5189
2016-02-18 12:18:13 -05:00
d21ae88018 refactor(slides): remove the attributes from the slider and use options to pass them instead
also commented out some attributes that aren’t working right now.

BREAKING CHANGES: Slider attributes have been removed in favor of
passing them in options

references #5189
2016-02-18 12:18:13 -05:00
8f0b88b7e4 fix(NavController): fire onPageWillUnload/DidUnload
Fixes #5507
2016-02-18 11:05:45 -06:00
7e3eb23345 test(select): ngFor ion-option w/ array of numbers
Related: #5495
2016-02-18 10:25:13 -06:00
22c32f3ab5 fix(animations): remove inline styles when finished
Allows for one animation to control multiple elements. Optionally
removes inline styles when the animation finishes. Fixes checking for
the will-change property. Does not always apply translateZ on ion-page.

Closes #5130
2016-02-17 23:02:31 -06:00
148b3685f3 test(slides): add test for slides and remove the second parameter on the move event
references #5379
2016-02-17 15:34:28 -05:00
aee817c749 Merge branch '2.0' into pr/5379
# Conflicts:
#	ionic/components/slides/slides.ts
2016-02-17 15:30:13 -05:00
8f30154230 chore(tabs): add optional parent NavController 2016-02-17 14:00:39 -06:00
f757f8abe1 chore(tabs): fix tabs injectables 2016-02-17 13:51:33 -06:00
2d157cbc3f test(item): add activated class to one of the items
references #5350
2016-02-17 14:42:42 -05:00
90f165f838 fix(item): add min-height to item-inner to remove gap between items
fixes #5350
2016-02-17 14:42:42 -05:00
eea7416d76 test(item): add items that reproduce the white gap above the activated state
references #5350
2016-02-17 14:42:42 -05:00
da37029195 feat(nav): iOS swipe to go back
Closes #5185
2016-02-17 13:35:34 -06:00
ae17e7f988 docs(tabs): updated docs 2016-02-17 12:45:40 -05:00
b752432ef1 refactor(pull-to-refresh): rename the starting event to start
updated docs to reflect new name and renamed an internal function

BREAKING CHANGE: starting event no longer exists, must use start

References #5207
2016-02-17 12:29:30 -05:00
1063baaffd docs(pull-to-refresh): fix API docs for the starting event
references #5207
2016-02-17 12:05:29 -05:00
20fef818ff chore(types): add more types to ViewController 2016-02-16 23:06:13 -06:00
93b456145c chore(gestures): add isListening to gestures 2016-02-16 22:20:14 -06:00
80fa94bd41 chore(types): add types to slide gestures 2016-02-16 22:08:22 -06:00
d33db81ed6 chore(menu): rename swipe progress steps 2016-02-16 20:21:33 -06:00
acf1894b75 refactor(pull-to-refresh): emit starting event and change all events to emit the refresher
Cleaned up the API docs for scroll and test also.

References #5207
2016-02-16 14:34:02 -05:00
c365c923bd fix(alert): add padding under the alert title for iOS when there is no message
closes #5299
2016-02-16 12:59:16 -05:00
0d47a1b79f feat(menu): allow persistent menus
Closes #5204
2016-02-15 21:40:16 -06:00
c02fb51d04 feat(menu): close any opened menu 2016-02-15 19:42:30 -06:00
e26092cfe4 chore(item-sliding-gesture): fix Hammer type error 2016-02-15 15:36:01 -06:00
04c1c7c3bd chore(typings): add es6 and jasmine typings
As of beta.6, angular2 no longer ships es6-shim or jasmine typings, so
we provide them ourselves.
2016-02-15 15:36:01 -06:00
ff24152524 fix(menu): add/remove gesture listeners per enabled menu 2016-02-15 13:23:01 -06:00
e06cf71aae feat(tabs): rootParams, pass params to tabs
Closes #5172
2016-02-15 00:01:23 -06:00
a76808b4f1 chore(decorators): add types to decorators
Closes #5375
2016-02-14 22:19:12 -06:00
1e0df9249e test(): update checkbox/select/toggle tests 2016-02-14 14:43:37 -06:00