Commit Graph

2334 Commits

Author SHA1 Message Date
Adam Bradley
445d9420b6 refactor(checkbox): Reduce checkbox on/off transition timing 2014-04-16 15:11:41 -05:00
Adam Bradley
ed59a2c05e refactor(keyboard): Add .keyboard-open css class, same as .footer-hide 2014-04-16 15:09:27 -05:00
Adam Bradley
0e9072e481 fix(input): Fix to hide input overlays on old Android 2014-04-16 15:07:20 -05:00
Adam Bradley
83fd11c565 fix(modal): Increase delay of removing .modal-open to prevent focus under modals 2014-04-16 15:04:17 -05:00
Andy Joslin
8760de5bf7 refact(popup): remove deprecated message 2014-04-16 07:34:55 -06:00
Andy Joslin
27dfab8ba4 refact($ionicPopup): move all of prompt to new api
Closes #1145
2014-04-16 07:33:05 -06:00
Andy Joslin
5ce4dfeca9 refact(delegateService): fix error message 2014-04-16 06:17:43 -06:00
Andy Joslin
104c642019 fix($ionicModal): make it use jqLite#remove()
Closes #1138
2014-04-15 19:47:17 -06:00
Andy Joslin
1d0a4f1799 docs(delegates): fix typo 2014-04-14 13:57:50 -06:00
Andy Joslin
e5ddca34ff docs(delegates): improve warning when a controller can't be found 2014-04-14 13:55:27 -06:00
Andy Joslin
4216266f21 fix(loading): fix not hiding after two shows, always cancel delay
Fixes #1130
2014-04-14 13:39:48 -06:00
Andy Joslin
14a2790749 refactor(): reorganize source files 2014-04-14 10:47:27 -06:00
coomsie
ad8ea7a693 docs(ionSideMenuContent): s/defaul/default
Closes #1128
2014-04-14 05:19:31 -06:00
Andy Joslin
b5ef9313cf feat($ionicScrollDelegate): add getScrollView(), getScrollPosition()
Closes #1117
2014-04-11 14:00:21 -06:00
Andy Joslin
5ff15c0c63 docs(ionHeadarBar,ionFooterBar): explain sub-header & sub-footer 2014-04-11 13:48:23 -06:00
Andy Joslin
ba39fb0046 fix($ionicActionSheet): provide default functions for options
Fixes #1013
2014-04-11 09:30:58 -06:00
Andy Joslin
730a33b9c3 feat($ionicBackdrop): add backdrop show/hide service
Closes #1084
2014-04-11 09:07:09 -06:00
Andy Joslin
bc3e223e33 refactor(): ggnore, ngAnimate
Addresses #1100
2014-04-11 08:30:42 -06:00
Andy Joslin
e75e20dc9d refactor: $animate - add $animateClassToggler to stop race conditions
Addresses #1100.

Fixes race conditions where $animate.{removeClass,hideClass} are
called simultaneously, in addition fixes any blinking that coulld be
caused by showing an element just attached to the dom.
2014-04-10 10:35:36 -06:00
Andy Joslin
f7849cb846 chore(travis): only generate nightly changelog for cur version 2014-04-10 09:44:13 -06:00
Andy Joslin
bd38969167 chore(travis): use github flavored markdown for nightly changelog 2014-04-10 09:24:38 -06:00
Andy Joslin
2ba381b450 chore(build): remove test code 2014-04-10 09:02:36 -06:00
Andy Joslin
fb21944f22 chore(travis): format nightly changelog better 2014-04-10 08:55:11 -06:00
Andy Joslin
bddf1e14d9 chore(travis): distribute changelog with nightly build 2014-04-10 08:15:09 -06:00
Andy Joslin
975f760899 refactor($ionicPopup): remove test/temp code 2014-04-10 07:49:45 -06:00
Andy Joslin
235ffcbd2d refactor(ionInfiniteScroll): stop error on destroy 2014-04-10 07:48:48 -06:00
Andy Joslin
698c93fcaf fix($ionicPopup): stop race condition with show then hide
Addresses #1100.
2014-04-10 07:48:45 -06:00
Andy Joslin
eb1dee9303 fix($ionicLoading): stop race condition with show and hide
Fixes #1100.
2014-04-10 07:47:45 -06:00
Andy Joslin
56eb2cf31f docs(ionNavBar): chiefly recommend 'nav-title-slide-ios7' animation 2014-04-09 15:41:43 -06:00
Andy Joslin
1809ce2cac style(ionRefresher): pulling-text, refreshing-text default to ' '
Fixes #1052.
2014-04-09 15:17:21 -06:00
Andy Joslin
41c02f10ed chore(build): fix update-angular script 2014-04-09 09:46:07 -06:00
Andy Joslin
08da6f753c fix(ionInfiniteScroll): remove listener on $destroy 2014-04-09 08:34:05 -06:00
Andy Joslin
d58fff72de fix(ionInfiniteScroll): work properly if past horizontal boundaries
Fixes #1073

ion-infinite-scroll will now fire a scroll event if the user scrolls
past the left boundaries (if they exist) or the top boundaries (if they
exists).  This means infinite scroll works for vertical, horizontal, or
vertical plus horizontal scrolling situations.
2014-04-09 07:51:14 -06:00
Andy Joslin
426a35539e refactor($ionicLoading): keep old options.showBackdrop, but undocumented 2014-04-09 07:09:40 -06:00
Andy Joslin
3b2e2c9f5e refactor($ionicLoading): cleanup deprecations 2014-04-09 07:00:15 -06:00
Andy Joslin
d36a6f3ba9 refactor($ionicLoading): opts: +template,+templateUrl, deprecate content 2014-04-09 06:55:06 -06:00
Andy Joslin
c7d7dab75f refactor($ionicLoading): make sure .hide() always happens after .show()
Fixes #1085.  Thanks @graemefoster.
2014-04-09 06:41:43 -06:00
Andy Joslin
d0b47d879f test($ionicLoading): re-add missing unit tests 2014-04-08 15:00:41 -06:00
Adam Bradley
b654e02e0a fix(header): Header input too long on Android 4.2, closes #1081 2014-04-08 15:22:54 -05:00
Andy Joslin
cb1a5f6228 refactor($ionicPopup): add close() to returned promise, change closing
BREAKING CHANGE: $ionicPopup.show()'s button onTap function has changed.

When using `$ionicPopup.show()`, previously a button's onTap function
would only result in closing the popup and resolving the promise if the
 `onTap(event)` function returned a truthy value.

Now, a button's onTap event will *always* close the popup and resolve
the popup's promise, no matter the return value, by default. The only
way to prevent the popup from closing is to call
`event.preventDefault()`.

Change your code from this:

```js
$ionicPopup.show({
  buttons: [{
    onTap: function(event) {
      if (!shouldClosePopup) {
        return false;
      }
    }
  }]
});
```

To this:

```js
$ionicPopup.show({
  buttons: [{
    onTap: function(event) {
      if (!shouldClosePopup) {
        event.preventDefault();
      }
    }
  }]
});
```
2014-04-08 13:52:30 -06:00
Andy Joslin
98e7e3df46 refactor($ionicLoading,$ionicPopup): factor out common code, add tests
Also fixes $ionicLoading flickering on ios7 in beta.1.
2014-04-08 13:35:02 -06:00
Adam Bradley
8af018b1fa fix(scroll): Allow scrolling when touchstart target is an input, #1078 2014-04-08 14:28:12 -05:00
Andy Joslin
d00aaa5945 fix(ionHeaderBar): make it align after elements properly load
Addresses #945.
2014-04-08 13:21:59 -06:00
Adam Bradley
6a1ac355a8 refactor(item): Adjust item padding variables, create item-avatar-right 2014-04-08 11:50:50 -05:00
Andy Joslin
92c65f367b refactor(ionList): make sure attributes sync with delegate 2014-04-08 10:27:37 -06:00
Andy Joslin
933a555e08 feat($ionicNavBarDelegate): showBackButton returns whether bar is shown
Closes #1076

If the user for example switches tabs,
$ionicNavBarDelegate.getPreviousTitle() will return the title from the
navbar within the previous tab.  In this case, the back button will not
be shown.  To not use the previous title in a case like this, you can
now do:

```js
var shouldShowTitle = $ionicNavBarDelegate.showBackButton();
if (shouldShowTitle) {
  $scope.previousTitle = $ionicNavBarDelegate.getPreviousTitle();
}
```
2014-04-08 09:44:42 -06:00
Andy Joslin
24a415c32d feat($ionicNavBarDelegate): showBar returns whether navbar is shown 2014-04-08 09:44:28 -06:00
Adam Bradley
c7e3defca5 refactor(item): Create .icon-accessory and remove auto nav icons, closes #1061
BREAKING CHANGE: The developer should be stating exactly how an icon
should show, but previously the right nav arrow icon violates this by
automatically showing a right arrow when an item was an anchor or
button. Instead of using the `:after` item selector, which was always
applied by default, it uses the same markup as `item-icon-right`, which
is easier to understand, customizable and not a hard coded default.

This change removes the `:after` nav icon styling, and creates a new
class, `icon-accessory`, based off of similar CSS. The change makes a
nav arrow highly customizable, allows RTL developers to easily control
the arrow direction, and the accessory class is something that's
reusable.

An example of right side arrow using `ion-chevron-right` as the icon:

    <a class="item item-icon-right" href="#">
      Check mail
      <i class="icon ion-chevron-right icon-accessory"></i>
    </a>
2014-04-07 15:33:36 -05:00
Robin van Baalen
518e54ee86 feat($ionicSideMenuDelegate): add isOpen() method
Closes #1074. Closes #1075.
2014-04-07 13:52:24 -06:00
Adam Bradley
dfbb376552 rename .checkbox-handle to .checkbox-icon 2014-04-07 14:03:48 -05:00