Commit Graph

769 Commits

Author SHA1 Message Date
Adam Bradley
591dbc3fec changed gestures to add .disable-user-behavior instead of multiple styles 2014-02-20 21:26:10 -06:00
Adam Bradley
d2a0780bba feat(sideMenu): Degrade .menu-content box-shadow w/ platform grade for animation performance 2014-02-20 20:44:25 -06:00
Adam Bradley
b69b40c826 feat(grade): Set grade in body class depending on platform performance
First draft of how devices play out:

.grade-a:
- iOS
- >= Android 4.4

.grade-b:
- Android >= 4 && < 4.4

.grade-c:
- Android < 4
2014-02-20 20:41:48 -06:00
Adam Bradley
356afdf04f sideMenu parent to use .view instead of .pane so translate3d is not applied 2014-02-20 16:50:01 -06:00
Adam Bradley
07092f009c fix(sideMenu): remove translate3d when not needed, close #636 2014-02-20 16:33:40 -06:00
Adam Bradley
575cb1cbb9 avoid document.createElement('div') in css polyfill 2014-02-20 15:49:30 -06:00
Adam Bradley
52671c18f9 fix(transform): Polyfill style.transform to work w/ non-webkit 2014-02-20 15:40:12 -06:00
Adam Bradley
a0492f319c fix tabBar tests 2014-02-20 14:58:48 -06:00
Adam Bradley
67722343dd use span instead of i for tab badges, closes #552 2014-02-20 14:43:22 -06:00
Adam Bradley
e199aa8b7a cursor: pointer only for links w/ href 2014-02-20 13:55:16 -06:00
Max Lynch
5f9a80fc01 removed unnecessary module injection 2014-02-20 09:50:13 -08:00
Max Lynch
89ec1b954e fix(htmlSanitize) - Added ngSanitize back, fixes #641 2014-02-20 09:48:55 -08:00
Adam Bradley
2a68d0b5b6 increase REMOVE_PREVENT_DELAY by 50ms 2014-02-20 10:35:15 -06:00
Max Lynch
02365e0fe3 Fixed #642
Added polyfill for transforms
2014-02-19 21:13:38 -08:00
Max Lynch
2e6f640b4a Added mousewheel support to scroll view 2014-02-19 16:30:39 -08:00
Adam Bradley
a5471aeeb5 change classList fallback for multiple args 2014-02-18 22:58:21 -06:00
Adam Bradley
08dcca9ffb fix jshint 2014-02-18 21:57:04 -06:00
Adam Bradley
0421b7b450 Minimal classList polyfill added 2014-02-18 21:54:15 -06:00
Adam Bradley
42f39bbf3c remove two classNames in one call 2014-02-18 20:34:12 -06:00
Andy Joslin
2c39a21498 feat(ionic): prefix all directives with ion-
BREAKING CHANGE: All directives are now prefixed with `ion-`.

For any directive you use, add the ionic prefix.

For example, change this HTML:

```html
<tabs>
  <tab title="home" href="/tab/home">
    <content>Hello!</content>
  </tab>
</tabs>
```

To this HTML:

```
<ion-tabs>
  <ion-tab title="home" href="/tab/home">
    <ion-content>Hello!</ion-content>
  </ion-tab>
</ion-tabs>
```
2014-02-18 16:13:00 -05:00
Adam Bradley
ec8862a7cc tap polyfill removeClickPrevent and label fixes 2014-02-18 13:27:14 -06:00
Andy Joslin
0d3718cc21 fix(ionicLoading): make showDelay default to 0 (was 2000) 2014-02-18 11:57:44 -05:00
Andy Joslin
b137cb318c refactor(scrollView): remove test code 2014-02-18 10:09:45 -05:00
Adam Bradley
62fefc3c2d click/tap refactor 2014-02-18 09:03:10 -06:00
Andy Joslin
7cf4eef961 refactor(navBar): do not animate if there is no navDirection 2014-02-17 22:05:49 -05:00
Andy Joslin
e5340d8e2c style(dom-trace): always console.debug() so is easier to filter out 2014-02-17 21:51:15 -05:00
Andy Joslin
d056ad1fef perf(animations): throttle calls to requestAnimationFrame
Closes #582
2014-02-17 17:26:34 -05:00
Adam Bradley
97f4f6eace feat(angular): Update to Angular v1.2.13, closes #600 2014-02-17 16:15:15 -06:00
UniRing
3d7011eb19 test(navBar): add tests for changing title, left/right buttons
Closes #622. Closes #623.
2014-02-17 16:52:10 -05:00
UniRing
7f9668090d Fixes NavBar
Fixes NavBar not showing the right buttons and not updating his title
correctly.
2014-02-17 21:20:59 +01:00
Andy Joslin
ebae638dfb test(ionicSideMenu): remove ddescribe 2014-02-17 13:13:32 -05:00
Andy Joslin
bfefc69f3c feat(sideMenu): allow and watch attrs width & is-enabled 2014-02-17 13:03:17 -05:00
Andy Joslin
39ad3e0b26 fix(scrollView): allow contenteditable element to be pressed normally
Closes #421
2014-02-17 12:12:59 -05:00
Andy Joslin
a5d964734f fix(scrollView): fix error from checking device before ready 2014-02-17 11:57:20 -05:00
Adam Bradley
71ea118e4d range.getBoundingClientRect check for null, fixes #580 2014-02-17 10:44:05 -06:00
Christian Henke
7281e2abf0 fix(loading): make showDelay option work correctly
The 'showDelay' configuration option of $ionicLoading exists but
does not lead to any delay whatsoever.

This change implements that functionality.

Closes #562
2014-02-17 11:43:13 -05:00
Andy Joslin
70d952499a fix(ionicScrollDelegate): tapScrollToTop won't fire for button tap
Closes #557
2014-02-17 11:40:16 -05:00
Andy Joslin
17cc040896 fix(anchorScroll): find offset of nested elements correctly
Closes #618
2014-02-17 10:20:39 -05:00
Andy Joslin
9bc928f031 fix(modal): do not click buttons underneath modal 2014-02-17 10:16:03 -05:00
Andy Joslin
749cd3829c fix(navBar): animations work properly
Starting a couple of versions ago, animations in navbar stopped working.
I took this as a chance to fix this, and ddo a refactor to make the code
more modular and testable.

Lots of manual dom manipulation was offloaded to angular directives, and
now we will not have bugs with end-user using interpolated class
attribute on their own nav-bar and overriding our own manually added
classes.
2014-02-17 09:11:52 -05:00
Andy Joslin
e1b6fd4f84 fix(scrollView): cancel scrollTop every time hash is set
Before it, only cancelled scrollTop the first time the hash was set.

Addresses #618
2014-02-17 09:10:23 -05:00
Adam Bradley
f736ae510e blur active input w/ setTimeout 2014-02-16 22:07:19 -06:00
Andy Joslin
35ad05163a refactor(navBar): use class interpolation 2014-02-13 16:02:00 -05:00
Andy Joslin
65e10afd08 refactor(navBar): use ngClass instead of interpolated class 2014-02-13 15:05:42 -05:00
Andy Joslin
5470d77ac0 feat(navBar): allow expression in type. <nav-bar type="{{myType}}">
Closes #599
2014-02-13 14:56:29 -05:00
Andy Joslin
e106457e61 feat(modal): add .isShown() method to modal instances
Closes #320
2014-02-13 14:42:35 -05:00
Andy Joslin
110ff9f475 feat(modal): $broadcast 'modal.shown/hidden/removed' from parent scope
Closes #243
2014-02-13 14:40:54 -05:00
Andy Joslin
0c52fd2673 chore(travis): remove console.log from *all* ionic js files
Closes #586
2014-02-13 12:28:44 -05:00
Andy Joslin
80ee6c2497 test(tabs): add tab.shown catching to test page
Addresses #588
2014-02-13 12:18:02 -05:00
Andy Joslin
69fda4e526 fix(tabs): broadcast tab.shown/tab.hidden to only child scopes
Addresses #588
2014-02-13 12:15:41 -05:00