Commit Graph

784 Commits

Author SHA1 Message Date
Max Lynch
8847774f2a fix(bar): Increased button icon font size 2014-04-28 13:25:30 -05:00
Adam Bradley
3bf1cd3496 .item-select select max-width: 65% 2014-04-28 13:25:11 -05:00
Adam Bradley
f4745c3689 enable/disable toggle pointer-events w/ css only, closes #1185 2014-04-28 12:37:44 -05:00
Adam Bradley
ae3318a081 refactor(keyboard): Scroll to inputs hidden by keyboard 2014-04-24 20:22:16 -05:00
Andy Joslin
e5e5b911f7 collection-repeat: enable grid functionality 2014-04-24 07:32:31 -06:00
Andy Joslin
934158baf5 virtualScroll: non-full-featured version, to start testing 2014-04-23 17:52:51 -06:00
Andy Joslin
a7eb521c90 fix(tabs-item-hide): only hide tab nav items 2014-04-21 17:17:34 -06:00
Andy Joslin
af2302ecc1 scss(tabs): allow syntax with same tabbar to work 2014-04-21 16:31:46 -06:00
Adam Bradley
2a6f702980 fix(tabs): Tab icon align within nested tabs, closes #1093 2014-04-17 22:40:02 -05:00
Adam Bradley
885965b5d7 remove !important from .tab-item.disabled 2014-04-17 20:37:36 -05:00
Adam Bradley
49c6c3fb55 Merge pull request #1162 from nickl-/master
Also enable disabled for tab-item
2014-04-17 20:32:21 -05:00
Adam Bradley
aac1d1773f Merge branch 'tap-refactor' 2014-04-17 15:23:58 -05:00
Adam Bradley
715b7876ed Merge branch 'master' of https://github.com/driftyco/ionic 2014-04-17 15:21:45 -05:00
Adam Bradley
5ab3d68616 remove android overlay fix because it breaks keyboard focusing 2014-04-17 13:34:24 -05:00
nickl-
009580bb56 Also enable disabled for tab-item.
Enable for tab-item class the same disabled functionality that exists for button
2014-04-17 20:22:07 +02:00
Max Lynch
f7b25aa9fa Fixed infinite scroll issues 2014-04-17 12:41:22 -05:00
Adam Bradley
c587dec28f android textarea .cloned-text-input fix 2014-04-17 11:31:05 -05:00
Adam Bradley
ee1c8dc8b7 tap updates for select elements 2014-04-17 11:07:14 -05:00
Adam Bradley
d0047cda44 refactor(tap): Refactor tap system for improved tap/click/keyboard/scroll/focus
Overhaul of the tap system so the keyboard does not cover up focused
inputs, correctly bring up the keyboard on text input focus, disabling
focus during scroll, disabling clicks after a hold then scroll,
removing 300ms delay without additional event handlers on each element,
etc. Refactored the tap/click/scroll/activator events for more
testability, along with adding more tests.
2014-04-17 08:26:25 -05:00
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
Andy Joslin
bc3e223e33 refactor(): ggnore, ngAnimate
Addresses #1100
2014-04-11 08:30:42 -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
6a1ac355a8 refactor(item): Adjust item padding variables, create item-avatar-right 2014-04-08 11:50:50 -05: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
Adam Bradley
dfbb376552 rename .checkbox-handle to .checkbox-icon 2014-04-07 14:03:48 -05:00
Adam Bradley
b0b446d5d9 fix(checkbox): Remove tap highlight and fix checkbox appearance in Firefox, closes #496 2014-04-07 13:25:54 -05:00
Adam Bradley
9bac6050a0 feat(avatar): Adding .item-avatar-left and deprecating .item-avatar 2014-04-07 11:43:57 -05:00
Andy Joslin
c6f5ed3b6c scss(back-button): make position:absolute while fading out
Fixes #1069
2014-04-07 07:56:30 -06:00
Adam Bradley
e6e6601d4a .item-select cursor: pointer 2014-04-05 01:23:08 -05:00
Adam Bradley
6cfe0c5287 Merge pull request #1053 from driftyco/pr/1049
fix(checkbox): stretch checkbox's clickable area to full width
2014-04-04 16:33:23 -05:00
Adam Bradley
5238f8f3dd fix(checkbox): stretch checkbox's clickable area to full width 2014-04-04 15:36:55 -05:00
Adam Bradley
aff2df91da Merge pull request #1050 from driftyco/pr/1049
feat(grid): Added .row-baseline and .row-stretch
2014-04-04 14:00:24 -05:00
Adam Bradley
e0e7a83b07 feat(grid): Added .row-baseline and .row-stretch 2014-04-04 13:59:13 -05:00
Christian
82b04ea8d0 scss(popup): max-width 100% for huge content areas
Closes #1031
2014-04-04 10:15:26 -06:00
Robin van Baalen
804dfd7a38 Added support for align-items: stretch in grid
Now you can do:

```
<div class="row row-stretch">
    <div class="col">Very<br />Much<br />Text<br /></div>
    <div class="col">Short</div>
    <div class="col">Shrt</div>
</div>
```

All columns will have equal heights. Especially useful when 'simulating' tables with the grid system.
2014-04-04 09:12:28 -07:00
Andy Joslin
986dbac893 refactor(ionList): more expressive, declarative (breaking change)
Closes #1024.

BREAKING CHANGE: ion-list syntax has changed in favor of simplicity &
flexibility.

Relevant documentation:
[ionList](http://ionicframework.com/docs/api/directive/ionList),
[ionItem](http://ionicframework.com/docs/api/directive/ionItem),
[ionOptionButton](http://ionicframework.com/docs/api/directive/ionOptionButton),
[ionReorderButton](http://ionicframework.com/docs/api/directive/ionReorderButton),
[ionDeleteButton](http://ionicframework.com/docs/api/directive/ionDeleteButton),
[$ionicListDelegate](http://ionicframework.com/docs/api/service/$ionicListDelegate).

To migrate, change your code from this:

```html
<ion-list option-buttons="[{text:'hello',type:'button-positive',onTap:tap()}]"
          on-delete="onDelete(el)"
          delete-icon="ion-minus-circled"
          can-delete="true"
          show-delete="shouldShowDelete"
          on-reorder="onReorder(el, startIndex, toIndex)"
          reorder-icon="ion-navicon"
          can-reorder="true"
          show-reorder="shouldShowReorder">
  <ion-item ng-repeat="item in items">
    {{item}}
  </ion-item>
</ion-list>
```

To this:

```html
<ion-list show-delete="shouldShowDelete"
          show-reorder="shouldShowReorder">
  <ion-item ng-repeat="item in items">
    {{item}}
    <ion-delete-button class="ion-minus-circled"
                       ng-click="onDelete(item)">
    </ion-delete-button>
    <ion-reorder-button class="ion-navicon"
                       ng-click="onReorder(item, $fromIndex, $toIndex)">
    </ion-reorder-button>
    <ion-option-button class="button-positive" ng-click="tap()">
      Hello
    </ion-option-button>
  </ion-item>
</ion-list>
```
2014-04-04 10:12:16 -06:00
Adam Bradley
4ff6acb10e fix for .item-select 2014-04-03 15:39:34 -05:00
Andy Joslin
6b5083bc9a scss(nav-title-slide-ios7): no back button animation on no-animation 2014-04-03 11:33:04 -06:00
Andy Joslin
ad67184800 fix(refresher): get rid of flickers except on droid-4.4
Fixes #1014.
2014-04-03 11:29:08 -06:00
Oori
0a9b7c2cab overflow-scroll: fix iOS bug where relative children of scroller disappear while scrolling. resolved by forcing hardware acceleration 2014-04-03 10:23:09 +02:00
Oori
9460d9bdd4 overflow-scroll: removed duplicate css entries 2014-04-03 10:22:49 +02:00
Adam Bradley
8a12f2d16c feat(select): Styled select elements, both inline and as a list item 2014-04-02 23:25:21 -05:00
Andy Joslin
972579383a feat(ionNavBar): make back button animated
Closes #1030
2014-04-02 19:35:09 -06:00
Adam Bradley
096a01c117 fix(labels): Fix .input-label's width for androids w/out full flex box support, #998 2014-04-02 15:39:35 -05:00
Adam Bradley
5b0f5d024c fix(item): Vertically align nav icon w/out flexbox to prevent android crashes, #928 2014-04-01 22:33:28 -05:00
Adam Bradley
7f94a62d40 vertically align checkbox w/ top:50% / negative margin to prevent android issues 2014-04-01 22:31:30 -05:00