Commit Graph

68 Commits

Author SHA1 Message Date
Manu Mtz.-Almeida
be0b6a8872 refactor(all): cosmetic changes + app.resize as event emitter 2017-02-28 17:34:12 +01:00
Justin Willis
54e50f48e5 chore(platform): resize works correctly
* chore(platform): resize works correctly

* chore(platform): height correct after resize

* test(platform): add new dimensions unit tests

* chore(platform): works with keyboard too

* chore(platform): store values

* chore(platform): change const to var
2017-02-17 18:01:34 +01:00
Justin Willis
f12fc61211 fix(platform): detect iPad Pro correctly (#10292)
* fix(platform): iPad pro is detected as an iPad

* chore(platform): ipad should be last
2017-02-02 16:19:34 -05:00
Justin Willis
d3f4bc0616 test(platform): new user agent tests (#10215)
* test(platform): new user agent tests

* chore(platform): clean up tests

* chore(platform): make sure ipad/iphone detected correctly
2017-01-27 15:24:35 -05:00
Justin Willis
8840124ece fix(platform): orientation detected correctly 2017-01-23 20:22:40 -06:00
Adam Bradley
24d0052541 chore(noImplicitAny): add noImplicitAny to tsconfig 2017-01-12 10:14:50 -06:00
Robert Coie
7906e90ae0 chore: add void return value for some callback signatures (#9967) 2017-01-11 17:10:34 -05:00
Brandy Carney
e9adab0114 fix(platform): only set isPortrait when the width/height is set 2017-01-10 13:46:12 -05:00
Adam Bradley
7000b1b173 refactor: improve tree shaking abilities
Internal refactor completed in order to improve tree shaking and dead
code removal. The public API, with an exception to ion-slides, has
stayed the same. However, internally many changes were required so
bundlers could better exclude modules which should not be bundled.
Ultimately most changes resorted to removing references to `window` or
`document`, or a module that referenced one of those.

BREAKING CHANGES

ion-slides was refactored to remove the external dependencies, and
rewritten in TypeScript/ES6 modules to again improve tree shaking
abilities.
2017-01-09 09:51:39 -06:00
Mike Hartington
97ec20e422 fix(ripple): disable ripple on android 4.4 with chrome 2016-12-14 14:38:26 -06:00
Adam Bradley
bdf02d4280 chore(util): add removeArrayItem fn 2016-11-29 10:21:47 -06:00
Dominik Strasser
8a67c4e525 redo - add min-height 2016-11-28 20:02:19 +01:00
Dominik Strasser
b7cac56f7b fix(toolbar): remove calculated height
toolbar-statusbar-padding should only add padding-top
2016-11-28 18:59:51 +01:00
Manu Mtz.-Almeida
d82bb01505 fix(nav): back button and title not aligned on baseline
fixes #8983
2016-11-27 18:09:23 +01:00
Manu Mtz.-Almeida
4be47bd3dd fix(animation): improve menu and go back swipe 2016-11-21 23:09:57 +01:00
Adam Bradley
3b304974ec fix(input): improve scroll to input and focusing
Related #6228
2016-11-21 08:56:00 -06:00
Manu Mtz.-Almeida
6f96ede2ea style(all): minor changes 2016-11-20 16:00:17 +01:00
Adam Bradley
4ed6b3666a fix(platform): fix window width/height calculations
It was possible for the incorrect window width and height to be
remember when the keyboard was showing. This makes sure to keep the
most accurate dimensions whether the app started either landscape or
portrait, if the keyboard was opened or closed, and if the app was
rotated. Related #6228
2016-11-18 15:27:01 -06:00
Manu Mtz.-Almeida
0c61c2a8c1 perf(tapclick): tapPolyfill is only used in UIWebView!
- improves drastically the responsiveness in WK and iOS Safari
2016-11-18 02:24:22 +01:00
Justin Willis
7201999674 refactor(platform): enable scrollAssist on Android
By default, Android devices should also have scrollAssist applied.
2016-11-16 11:56:01 -06:00
Manu Mtz.-Almeida
32ab817181 fix(gestures): gesture controller handled by components
* fix(gestures): gesture controller is handled by components

fixes #9046

* fix(gestures): adds hybrid disable scroll assistance

fixes #9130
fixes #9052
fixes #7444
2016-11-16 10:03:51 -06:00
Manu Mtz.-Almeida
04d61ee47a fix(nav): swipe to go back gesture
- smoother by debouncing touch events (reduces bank)
- dynamic animation duration
- intelligent behavior based in the position, speed and direccion of the swipe (sharing logic with sliding item)

fixes #8919
fixes #8958
fixes #7934
2016-11-01 13:38:27 -05:00
Manu Mtz.-Almeida
35d12efe0b fix(tapclick): several improvements
- refactors code using UIEventManager
- improved performance by using passive event listeners
- fixes isScrolling()
- click tolerance has been increased to match native behavior
- click is immediately prevented if the content is scrolled.
2016-10-20 21:14:45 +02:00
Brandy Carney
8921cb1290 fix(cordova): add Sass variables for md and wp statusbar padding (#8788)
* fix(cordova): add Sass variables for md and wp statusbar padding

fixes #8712

* style(cordova): remove extras spaces
2016-10-19 00:03:19 +02:00
mhartington
75175f6388 docs(): update docs 2016-09-27 11:35:30 -04:00
Dan Bucholtz
83d973b1a8 chore(demos): change dgeni path for demos
change dgeni path for demos
2016-09-20 15:20:04 -05:00
Adam Bradley
c1777c6d18 test(config): fix unit tests 2016-09-16 01:23:04 -05:00
Adam Bradley
7c05d0c0ba fix(di): update dependency injection and default configs 2016-09-16 00:49:09 -05:00
Adam Bradley
6784f5e744 fix(exports): update module exports 2016-09-14 15:54:24 -05:00
Adam Bradley
a154d837a0 chore(storage): move storage out of platform 2016-09-13 16:40:13 -05:00
Adam Bradley
78122c551d refactor(sass): restructure for sass theme updates 2016-09-13 15:54:23 -05:00
Adam Bradley
a9e0eef1a6 refactor(platform): provide platform setup factory 2016-09-13 15:16:32 -05:00
Max Lynch
2cb61d3d5a chore(sql): Update comment 2016-08-03 21:37:59 -05:00
Brandy Carney
a468fde3f3 fix(menu): add statusbarPadding to the header and content in a menu
fixes #7385
2016-07-29 10:05:54 -05:00
Brandy Carney
087e2f2480 revert(tabs): undo commit that removes tab sub pages
Fix advanced tabs test

This reverts
https://github.com/driftyco/ionic/commit/743de19ae898e83375b51ef9c376225
c8e63f0ef
2016-07-28 15:28:55 -05:00
Manu Mtz.-Almeida
44ab527f74 fix(backdrop): flicker in UIWebView 2016-07-19 13:33:44 -07:00
Manu Mtz.-Almeida
ac8e4dce06 style(all): tslinter warnings 2016-07-19 13:31:46 -07:00
perry
4f52135c13 Revert "Revert "Merge branch 'master' of https://github.com/driftyco/ionic""
This reverts commit 4a6086c1f8.
2016-07-18 19:40:03 -05:00
perry
4a6086c1f8 Revert "Merge branch 'master' of https://github.com/driftyco/ionic"
This reverts commit 8945bf906d, reversing
changes made to f4fac225fa.
2016-07-18 19:24:56 -05:00
Adam Bradley
743de19ae8 refactor(tabs): remove tabSubPages UI
The Material Design spec has added “Bottom Navigation”, which is what
Ionic calls “Tabs”. Ionic’s MD mode now follows the updated Material
Design spec with the tabbar placed on the bottom. Additionally, any tab
sub pages do not automatically cover up the tabbar. Covering up the
tabbar is still possible by using a modal, however, it is no longer a
default feature for MD mode.
2016-07-12 20:28:40 -05:00
Brandy Carney
d01ee4b0ce fix(app): add status bar padding when tab subpages are hidden
closes #7203
2016-07-07 15:22:56 -04:00
Adam Bradley
2fe42ed63e chore(): clean up unused references 2016-06-28 11:28:25 -05:00
Brandy Carney
15642e4847 fix(cordova): fix the status bar padding with the new structure 2016-06-17 13:39:48 -04:00
Dan Bucholtz
b20647c16e refactor(click-block): reversing previous change, making getBoolean use fallback of true
reversing previous change, making getBoolean use fallback of true
2016-06-13 15:53:51 -05:00
Dan Bucholtz
d7cdba82db refactor(click-block): update to config for click-block
update to config for click-block
2016-06-13 15:28:32 -05:00
Dan Bucholtz
761a1f6245 fix(click-block): click block is now showing on all screns. It wasn't previously on Android and des (#6846)
click block is now showing on all screns.  It wasn't previously on Android and desktop
2016-06-10 12:32:56 -05:00
Brandy Carney
181129b7b4 fix(modal): add status bar padding to modal 2016-06-09 14:44:19 -04:00
Adam Bradley
84f37cf4d5 feat(backButton): register back button actions 2016-06-08 10:42:19 -05:00
Merott Movahedi
f6ec19bdba docs(platform): correct a minor typo of "hardware"
"hardware" is mistyped "hardward". Correct that. That's all.

**Ionic Version:** 2.x
2016-06-04 10:13:24 +01:00
Adam Bradley
cc93366b9c fix(platform): pass original event in EventEmitter 2016-06-02 12:26:54 -05:00