Commit Graph

2286 Commits

Author SHA1 Message Date
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
Adam Bradley
b0b446d5d9 fix(checkbox): Remove tap highlight and fix checkbox appearance in Firefox, closes #496 2014-04-07 13:25:54 -05:00
Andy Joslin
757f181931 fix(ionTab): make sure all tab-nav attributes are re-interpolated on change
Fixes #955.

Closes #1071.
2014-04-07 11:12:32 -06:00
Adam Bradley
5c300dd3e0 refactor(platform): Rename isCordova() to isWebView()
BREAKING CHANGE: ionic.Platform.isCordova() has been renamed to
ionic.Platform.isWebView()
2014-04-07 11:56:11 -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
c4a3d4ccbf test(navClear): remove ddescribe 2014-04-07 10:31:38 -06:00
Andy Joslin
4dffc5f6c6 fix(navClear): only set viewOptions if click leads to state change
Closes #1043
2014-04-07 10:21:00 -06:00
Andy Joslin
d6c960c2a6 feat(ionSlideBox): add pager-click attribute
Fixes #785
2014-04-07 10:21:00 -06:00
Adam Bradley
79f6b251c3 test(tap): Tests for ignoreTapInspect, recordCoordinates, isRecentTap 2014-04-07 11:07:31 -05:00
Adam Bradley
9d83b05580 test(tap): split apart ignoreSimulateClick tests 2014-04-07 10:01:53 -05:00
Adam Bradley
b7bb0db917 test(click): fix html test 2014-04-07 09:43:41 -05:00
Adam Bradley
a977332f2b fix(tap): Do not preventDefault after input focus, #1068 2014-04-07 09:43:41 -05:00
Andy Joslin
a19e3b62f8 feat($ionicModal): pass modal instance to modal.shown/modal.hidden events
Fixes #1065
2014-04-07 08:05:11 -06: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
e3c59e96a9 test(tap): add some more tests for taps 2014-04-07 00:44:29 -05:00
Adam Bradley
cf686548da fix(tap): Remove 300ms delay when tapping select elements 2014-04-05 23:43:12 -05:00
Adam Bradley
b1d9ab84f4 run not ran 2014-04-05 21:28:12 -05:00
Adam Bradley
ead30f2ed5 docs(platform): Explain ionic.Platform.ready() further 2014-04-05 20:46:17 -05:00
Andy Joslin
3a577129e9 bower: change version to ^1.2.12 2014-04-05 14:37:13 -06:00
Adam Bradley
e6e6601d4a .item-select cursor: pointer 2014-04-05 01:23:08 -05:00
Peter Collins
cb86afdb92 Add travis integration for Slack 2014-04-04 19:27:11 -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
Adam Bradley
cb602b587b fix(tap): Prevent clicks from firing after scrolling, #579 2014-04-04 12:28:42 -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
Andy Joslin
ad12bffca7 refact(navClear): lower priority 2014-04-04 09:38:04 -06:00
Andy Joslin
ce42623176 style(navClear): remove unused dependencies 2014-04-04 09:37:32 -06:00
Andy Joslin
4f47bf24f0 fix(navClear): be sure it runs before ngClick
Closes #1047
2014-04-04 09:32:16 -06:00
Adam Bradley
3ee5ea77a6 fix(tap): Deactivate elements during scroll at the same time click is ignored, #997
Previously I disabled the activation class immediately on a touchmove,
where as the click will still work if you touchstart and touchend
within a few pixels of each other. So visually it may have looked like
the click shouldn't have worked. I just updated it so the use the same
numbers. For example, if you hold down an item and move just 5 pixels,
the item will stay active (before it wouldn't have), and the click will
fire. But at the same time, if you hold down an item, and move a larger
distance, once it realizes that it went farther than 6 pixels it'll not
allow a click to happen, AND it'll not show the item as being active.
2014-04-03 23:24:31 -05:00
Adam Bradley
4ff6acb10e fix for .item-select 2014-04-03 15:39:34 -05:00
Andy Joslin
12b25dcaed chore(build): only put one banner in css file 2014-04-03 13:32:10 -06:00
Michal Lukasiewicz
75e74cc9f3 chore(build): add angular-sanitize.js bundle's banner
Closes #1041
2014-04-03 13:14:04 -06:00
Adam Bradley
0c1362861d refactor ionic.tap and start writing tests 2014-04-03 13:52:48 -05:00
Andy Joslin
21ff75479f fix($ionicPopup): make it work if jquery is included
Closes #1027
2014-04-03 11:55:13 -06: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
Adam Bradley
feffc99b6a Merge pull request #1040 from mturkson23/patch-1
fixed the header bar link to the docs
2014-04-03 12:15:59 -05:00
Michael E. Turkson
cf950e0500 fixed the header bar link to the docs
The link to the relevant documentation on the header bar [1.0.0-beta.1 (2014-03-25)] was missing a "d". This caused it to return a 404 "Page not found" whenever it was clicked.
2014-04-03 16:39:58 +00:00
Adam Bradley
43ad2271d8 docs(scroll): Fix typo 2014-04-03 09:20:43 -05:00
Adam Bradley
447dd39683 Merge pull request #1035 from oori/overflow-scroll-fix
overflow-scroll fix
2014-04-03 09:15:31 -05:00
Andy Joslin
4fd9a91a24 demo(swipeable-cards): more fixes 2014-04-03 07:18:56 -06:00
Andy Joslin
1415c5e064 demo(swipeable-cards): remove unused code 2014-04-03 07:16:27 -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