Commit graph

113 commits

Author SHA1 Message Date
Anatoly Pashin
f92a1442f8 add item-avatar-right 2015-07-29 15:47:50 +10:00
Francis Poirier
8790039618 Session set hasTabsTop to true when Platform is Android
Since the `tabs-top` class can be set based on the Platform in the helper then the  `Session.get('hasTabsTop')` needs to be set properly.
2015-07-20 12:44:24 -04:00
Nick Wientge
ef895b05d5 Merge pull request #247 from gwendall/master
ionKeyboard: fix input focus event handler + blur on keyboard hide
2015-07-20 07:29:55 -07:00
Gwen
1187591925 fix input focus event handler for ionKeyboard + blur inputs on keyboard hide 2015-07-20 13:42:13 +02:00
Nick Wientge
289e330e85 Merge pull request #244 from gwendall/master
custom barClass to ionModal + fix bug on call ionModal.open on startup
2015-07-16 09:44:24 -07:00
Gwen
d8a1f0c2f8 fix bug when calling ionModal before ionBody rendered 2015-07-16 17:13:02 +02:00
Gwen
68e64b5393 fix bug when calling ionModal before ionBody rendered 2015-07-16 17:05:34 +02:00
Gwen
e0d08e8e13 allow passing custom barClasses to ionModal 2015-07-16 16:50:21 +02:00
Jamie Loberman
45dd4d61b8 Only scroll entering nav view, not the one you're leaving.
If you had already been to a page previously, and then navigated away from it, there was a flash of it's previous scroll position that showed.  This ensures that only the view that is being animated in to view, is scrolled to the correct position, and the one leaving the view is left alone.
2015-07-08 11:51:22 -07:00
Eliezer Steinbock
8dd6d43e75 fixed a bug in ionTab 2015-07-03 00:25:32 +03:00
Lalo Martins
04fcd742e9 Correctly insert nodes at the end of a parent
In _uihooks, sometimes the `next` argument is null, which means the new dquote> node should be appended to the parent. However, using jQuery
(`$(node).insertBefore(next)`), that's not possible, since jQuery
has no way of knowing what parent you mean.

Instead, this commit uses a standard DOM method,
`parent.insertBefore(node, next)`, which does the right thing --
it's what Blaze uses internally when no `insertElement` hook is
defined.
2015-06-19 02:14:34 +02:00
Luca Adalberto Vandro
eb9ef9e234 Update ionTabs.js
According to Ionic documentation:
"For iOS, tabs will appear at the bottom of the screen. For Android, tabs will be at the top of the screen, below the nav-bar."
http://ionicframework.com/docs/api/directive/ionTabs/

This change makes meteoric more consistent with Ionic making the UX closer to the native one.
This behavior can be prevented by passing any string to the style attribute, e.g. style="none", like in Ionic $ionicConfigProvider
http://ionicframework.com/docs/api/provider/$ionicConfigProvider/#tabs.style
2015-06-18 02:09:22 +02:00
Luca Adalberto Vandro
93c92cba47 Update ionHeaderBar.js
Handle the case when there's more than a single button on both sides of the bar.
It should fix #100 and #182 and it could be a more general solution.
2015-06-17 06:18:52 +02:00
Sivli Kestanous
f63d523c64 Handle dynamic back urls
I have a url that was fetched from collection data. I was rendering the template before the subscription was done and the template data was {url: null}. 

Quick fix was to only render the template when the url existed but that cased a flicker when going though routes quickly.

This fix could have been done in an autorun but given that it is only called once this makes the most sense to me.
2015-06-03 12:29:19 -04:00
Richard Lai
a2e7437f72 Popover fixes 2015-05-08 12:48:00 +00:00
tomwasd
ea8516618e IonScrollPositions based on route path rather than route name 2015-04-28 08:05:19 +01:00
Rijk van Wel
b14f14d0a4 Fix for view title parameter 2015-04-16 16:01:16 +02:00
Rijk van Wel
bbc03d6056 Added title parameter to ionView 2015-04-15 16:14:35 +02:00
Marcus Koosmann
52a59c173e Added badge color option to ionTab 2015-03-15 12:57:11 -07:00
zhou lin
4d0d050c56 add initial slides 2015-03-13 01:48:31 +08:00
dcsan
33e9182b00 typo 2015-03-11 15:59:03 -07:00
dcsan
1b18dd0c41 backbutton warns about routes that dont exist 2015-03-11 15:55:28 -07:00
Francis Poirier
f3c24019a5 Added textWrap class to item 2015-03-09 10:34:03 -04:00
Nick Wientge
55085b3800 dont mess with the keyboard on android. should fix #89 2015-03-06 12:58:42 -08:00
Nick Wientge
ebf37381fe Merge pull request #95 from bastiRe/master
ionPopup implementation
2015-03-03 08:49:04 -08:00
Nick Wientge
c10ac658c7 simplify current tab logic, don't use localstorage 2015-03-03 08:45:16 -08:00
BastiRehm
463a3ad1ab Added template reference to the callbacks and fixed subtitle bug 2015-03-02 11:18:16 +10:00
BastiRehm
2fddbb1498 Added check for callback to alert functionality of ionPopup 2015-03-01 17:50:09 +10:00
BastiRehm
0912292823 Added prompt functionality to IonPopup 2015-03-01 17:32:34 +10:00
BastiRehm
ed3d3f17bf Added confirm functionality to IonPopup 2015-03-01 17:05:45 +10:00
BastiRehm
8dc91bc4a4 Added alert functionality to IonPopup 2015-03-01 16:55:35 +10:00
BastiRehm
7e8a826f7d Added possibility to pass either template or html string into popup 2015-03-01 16:44:11 +10:00
BastiRehm
e642b095e9 Added fadeout animation and functions for buttons 2015-02-28 20:40:11 +10:00
BastiRehm
8f7ade5065 Boilerplate code for popup added 2015-02-28 18:31:31 +10:00
Nick Wientge
f21463f806 fix slidebar teardown 2015-02-24 16:13:45 -08:00
Nick Wientge
2d3b2e781f Merge remote-tracking branch 'origin/master' 2015-02-24 16:08:32 -08:00
Nick Wientge
1959ed7583 initial slidebox implementation. closes #5 2015-02-24 16:08:15 -08:00
Nick Wientge
5fd3ec6d96 Merge pull request #88 from bastiRe/master
Added possibility for text-only tabs
2015-02-24 13:04:52 -08:00
BastiRehm
f124df154c Added possibility for text-only tabs 2015-02-19 14:44:30 +10:00
Nick Wientge
a29f799175 more keyboard fixes, publish 0.1.15 2015-02-18 20:06:12 -08:00
Nick Wientge
b1c0db5dbf fix keyboard focusing/scrolling 2015-02-18 19:48:20 -08:00
Joshua Ohlman
5d47571ac1 Fix for ion-modal spurious blaze errors 2015-02-18 13:09:51 -06:00
Nick Wientge
420cdf264a upgrade ionic-keyboard, use keyboard-open class instead of manually toggling elements 2015-02-13 18:39:31 -08:00
Nick Wientge
a432469fc3 fix conflicts 2015-02-11 09:27:03 -08:00
Francis Poirier
7a75449b6d Added custom classes to modal header component 2015-02-10 16:12:54 -05:00
Francis Poirier
0a811d4fbb Added custom classes to modal header component 2015-02-10 16:12:29 -05:00
Francis Poirier
e3e418b82a Added custom classes to modal component 2015-02-10 16:02:35 -05:00
Francis Poirier
994d2f412d Added custom classes to modal component 2015-02-10 15:59:11 -05:00
Nick Wientge
015341d019 initial ionKeyboard implementation and support for custom modal templates. Fixes #59 and #12 2015-02-09 19:31:35 -08:00
Nick Wientge
d88915ef4f dont show loading backdrop by default 2015-02-08 19:02:31 -08:00