Commit Graph

2230 Commits

Author SHA1 Message Date
Adam Bradley
1bb51c2e26 chore(refresher): rename "endRefreshing" to "complete" 2016-02-29 14:44:15 -06:00
Adam Bradley
fd5c4092bf chore(refresher): update config variable names 2016-02-29 13:51:42 -06:00
Adam Bradley
20fd2c3b8b chore(refresher): add warning for required ion-refresher-content 2016-02-29 13:43:35 -06:00
Adam Bradley
d39f21f410 test(refresher): fix refresher unit tests 2016-02-29 13:27:47 -06:00
Adam Bradley
fdb311d397 chore(virtualScroll): remove virtualScroll until refactor complete 2016-02-29 13:02:18 -06:00
Brandy Carney
ea884ded6d fix(refresher): get scrollTop from the scroll element to prevent refreshing when dragging up
fixes #5207
2016-02-29 13:48:39 -05:00
Brandy Carney
4c93eb06a9 refactor(label): move label css to the correct scss files
references #5651
2016-02-29 12:24:42 -05:00
Adam Bradley
0480fa3b50 feat(infiniteScroll): add infinite scroll
Closes #5415
2016-02-29 11:13:31 -06:00
Brandon Brown
406a709aa1 Update modal.ts
Need to import ViewController for modal as well.
2016-02-27 21:20:15 -08:00
Adam Bradley
66af6ff3a0 test(actionsheet): open modal from actionsheet 2016-02-27 20:51:00 -06:00
chuz93
05a0da480a Update input.ts
Fix <ion-label of the Website's ion-item
2016-02-27 18:12:33 -06:00
Adam Bradley
91df5f97ee refactor(refresher): allow refresher content customization
Breaking Change:

## Refresher:

- `<ion-refresher>` now takes a child `<ion-refresher-content>`
component.
- Custom refresh content components can now be replaced for Ionic's
default refresher content.
- Properties `pullingIcon`, `pullingText` and `refreshingText` have
been moved to the `<ion-refresher-content>` component.
- `spinner` property has been renamed to `refreshingSpinner` and now
goes on the `<ion-refresher-content>` component.
- `refreshingIcon` property is no longer an input, but instead
`refreshingSpinner` should be used.

Was:

```
<ion-refresher (refresh)="doRefresh($event)"
pullingIcon="arrow-dropdown">
</ion-refresher>
```

Now:

```
<ion-refresher (refresh)="doRefresh($event)">
  <ion-refresher-content
pullingIcon="arrow-dropdown"></ion-refresher-content>
</ion-refresher>
```
2016-02-27 17:33:59 -06:00
Brandy Carney
d5ebf3ff5e refactor(alert): remove duplicated styles from imports
closes #5624
2016-02-26 16:57:55 -05:00
Brandy Carney
8cfebe1386 refactor(tabs): remove tabbarIcons and add tabbarLayout which accepts different values
BREAKING CHANGES: `tabbarIcons` has been replaced with `tabbarLayout`
with the following values: `icon-top`, `icon-left`, `icon-right`,
`icon-bottom`, `icon-hide`, `title-hide`.

closes #5625
2016-02-26 16:44:32 -05:00
Brandy Carney
cb8afc58ca Merge branch 'pr/5615' into 2.0 2016-02-25 18:37:06 -05:00
Brandy Carney
a0f0004012 refactor(searchbar): add class to searchbar when hideCancel is passed
only hide the search icon when hideCancel isn’t passed
2016-02-25 18:36:12 -05:00
Adam Bradley
6c73446628 feat(spinner): SVG spinners 2016-02-25 17:23:52 -06:00
Dominique Rau
21d4cef543 (search-bar) Hide cancle button for android
Hide cancle button for android as well...
Added `hideCancelButton` to example. This helps a lot for guys coming from ng1 as I tried snake-case way too long.
2016-02-25 23:52:22 +01:00
mhartington
96d35ffbe7 docs(menuTypes): make private from dgeni 2016-02-24 14:12:06 -05:00
Perry Govier
41f2f888a3 chore(ionitron): wake up ionitron! 2016-02-23 19:04:09 -06:00
Perry Govier
53fd11c49f chore(ionitron): wake up ionitron! 2016-02-23 18:55:05 -06:00
mhartington
d0a3872628 docs(navbar): add doc for hideBackButton 2016-02-23 09:47:04 -05:00
Tim Lancina
c883a2ae91 chore(): update Ionic imports in tests 2016-02-22 17:45:17 -06:00
Adam Bradley
b53d70710e feat(input): default autocomplete/autocorrect=off, fix autofocus
Related: #5480
2016-02-22 15:00:54 -06:00
Tim Lancina
1cfca53f9d chore(npm): publish package as 'ionic-angular'
BREAKING CHANGE: imports from the framework were:
```
  import {Platform} from 'ionic-framework/ionic';
```
and are now:
```
  import {Platform} from 'ionic-angular';
```
2016-02-22 13:25:55 -06:00
Arunas Cesonis
cc1dff2ceb Update id.ts 2016-02-22 10:34:13 +00:00
Adam Bradley
ea5172527b chore(gesture): null hammer on unlisten 2016-02-21 21:35:24 -06:00
Adam Bradley
ed85ab9863 test(nav): create nav memory test 2016-02-21 21:30:10 -06:00
Adam Bradley
b62725c8ce chore(animation): pass instance to onFinish callbacks 2016-02-21 13:52:25 -06:00
Adam Bradley
3c8daa0781 feat(prodMode): set isProd() when prodMode set in @App config 2016-02-21 13:01:31 -06:00
Adam Bradley
5302d63b54 chore(animation): fix ele querySelectorAll 2016-02-21 12:26:47 -06:00
Adam Bradley
4cae151d47 fix(overlay): do not dom cache views before overlays
Closes #5483
2016-02-21 00:03:58 -06:00
Adam Bradley
4fabadecb7 fix(nav): immediately stop if view removed before trans finished 2016-02-20 22:43:17 -06:00
Adam Bradley
22ec46403a chore(radio): add more types 2016-02-20 22:04:15 -06:00
Adam Bradley
730cccdc97 feat(toggle): add change event
Related #5513
2016-02-20 21:59:43 -06:00
Adam Bradley
2596731e91 feat(checkbox): add change event
Related #5513
2016-02-20 21:45:37 -06:00
Adam Bradley
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
Adam Bradley
27eacd4e0d Merge branch 'menu-improvements' into 2.0 2016-02-19 23:38:13 -06:00
Adam Bradley
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
Adam Bradley
b9eec24c88 fix(tabs): pop tab page to parent nav
Closes #5196
2016-02-19 21:43:28 -06:00
Brandy Carney
8564d79a7d fix(menu): fix enabled check
references #5535
2016-02-19 20:36:27 -05:00
Brandy Carney
5f31df05de test(menu): add karma tests 2016-02-19 20:36:05 -05:00
Brandy Carney
f0b5838880 test(menu): update test to use 3 menus and menu toggle by side
references #5535
2016-02-19 16:18:55 -05:00
Brandy Carney
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
Brandy Carney
5e1eeff40d test(menu): add test that reproduces issue with multiple menus and navbar toggles 2016-02-19 14:47:42 -05:00
Adam Bradley
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
Adam Bradley
7e49ff2550 test(Tabs): add lifecycle logs 2016-02-19 10:54:05 -06:00
Adam Bradley
0d60a0f5d5 test(NavController): add cleanup tests 2016-02-19 10:40:44 -06:00
Adam Bradley
53af766a08 test(NavController): add lifecycle tests 2016-02-19 10:23:46 -06:00
mhartington
eb3235f874 docs(actionsheet): add docs for actionsheet options 2016-02-18 19:13:55 -05:00