44 Commits

Author SHA1 Message Date
5d562166fc refactor(): global refactoring to avoid IDE warnings and cleaner code (#11296)
* refactor(style): redundant measure units

* refactor(): change pointless boolean operation to cast

* refactor(): change redundant 'if' statement

* refactor(style): remove overwritten property value

* fix(spellcheck): wrong attribute value

* refactor(datetime-test): There should be a space between attribute and previous attribute

* refactor(import): import can be shortened

* refactor(semicolon): add missing semicolon

* docs(): fix incorrect parameter name

* refactor(): remove trailing unused parameters

* fix(menu): create mock change signature

* refactor(): remove redundant imports
all tests are passing

* refactor(style): 'var' used instead of 'let' or 'const'

* Revert "refactor(style): 'var' used instead of 'let' or 'const'"

This reverts commit 0369dbcaa877b69534e6e78cb17f6b8aa7603597.

* refacrot(): remove unused code

* Revert "refactor(style): remove overwritten property value"

* revert(hammer): don't modify 3rd party files

* revert(activator): follow interface

* revert(activator): follow interface (cont)

* revert(activator): follow interface (cont)

* merge(master): fix conflicts

* revert(): change pointless boolean operation to cast

* revert(): text align is covered by a different PR

* revert(): add back unused parameters

* revert(): add back unused parameters
2017-05-05 01:11:00 +02:00
3b32b8e648 fix(sliding-gesture): missing return value 2017-04-25 21:33:30 +02:00
53113366e2 fix(menu): rtl support 2017-04-24 01:02:20 +02:00
51d507998c fix(menu): rtl support
Squashed commit of the following:

commit 57b59eb373e76401caf1c42fa696a67e1e6a69b7
Merge: dcf80e416 f26c4b4fe
Author: Amit Moryossef <amitmoryossef@gmail.com>
Date:   Fri Apr 21 14:38:03 2017 +0300

    merge 'master'

commit dcf80e4161f33ca3ff4cea5ce0c6358107bbcdff
Author: Amit Moryossef <amitmoryossef@gmail.com>
Date:   Fri Apr 21 01:24:40 2017 +0300

    tests(menu): add menu rtl tests

commit d65575b9ca63402fdc49991349320ad1dd76f114
Author: Amit Moryossef <amitmoryossef@gmail.com>
Date:   Fri Apr 21 01:24:00 2017 +0300

    tests(mock): add platform to mockMenu

commit faad17ca3231d999296907a9892b3afdb48e124f
Author: Amit Moryossef <amitmoryossef@gmail.com>
Date:   Fri Apr 21 01:23:01 2017 +0300

    fix(menu): update gesture only if it exists

commit e50eb184ec5af3cfdb3634b1d7cfe1899da36054
Author: Amit Moryossef <amitmoryossef@gmail.com>
Date:   Fri Apr 21 00:55:50 2017 +0300

    refactor(menu): use magic get/set for side update

commit 89a1715661fa889157f39401c419fc55d4809f9e
Author: Amit Moryossef <amitmoryossef@gmail.com>
Date:   Thu Apr 20 19:31:49 2017 +0300

    revert(menu): revert removed dependency
    this PR is for a specific feature

commit 7c1263624c68fc2729b24f10956841b6ff0c22f6
Merge: 4465f82f6 860567288
Author: Amit Moryossef <amitmoryossef@gmail.com>
Date:   Thu Apr 20 19:26:10 2017 +0300

    Merge remote-tracking branch 'upstream/master' into menu

commit 4465f82f644a96830379fe3bef8e0fbe53e6f998
Author: Amit Moryossef <amitmoryossef@gmail.com>
Date:   Thu Apr 20 16:11:13 2017 +0300

    style(backdrop): fix code style

commit da4983a16133ee7d85f3393161d16fe1a33d2fa4
Author: Amit Moryossef <amitmoryossef@gmail.com>
Date:   Thu Apr 20 16:09:18 2017 +0300

    revert(renderer): back to renderer1

commit 80ab0941d6351e3787dba11c4a6398da7044fb24
Author: Amit Moryossef <amitmoryossef@gmail.com>
Date:   Sun Apr 16 11:34:34 2017 +0300

    fix(swipe-back): change side according to dir

commit f99cb9844f325f43d9fb7ca22394e7ccff89f3b3
Author: Amit Moryossef <amitmoryossef@gmail.com>
Date:   Sun Apr 16 11:26:49 2017 +0300

    feat(platform): add dir change event emitter

commit 90de5d1105f6554ad759f280d2ed96ff6b3ef28a
Author: Amit Moryossef <amitmoryossef@gmail.com>
Date:   Sat Apr 15 20:13:09 2017 +0300

    fix(menu): add gesture side real-time update
    migrated to Renderer2
2017-04-23 18:06:04 +02:00
59eb9a328d refactor(): restructure components to loosen coupling, move overlay-portal, click-block, menu-controller and other app-level functionality to app directory. The motivation for this change is logical grouping, decoupling components from each other, and improving the ability to drop more unused components from bundle 2017-04-20 23:21:25 -05:00
396f891f33 chore(docs): updating dgeni typescript package 2017-03-14 14:50:31 -05:00
e40590d68c refactor(gestures): move to constants from enum
move to constants from enum
2017-03-02 15:04:34 -06:00
8d9f374065 fix(all): memory leaks
fixes #10459
fixes #10416
fixes #10286
2017-02-28 17:50:42 +01:00
23a70e151e fix(gestures): drag events are debounced
- Performance regressions in menu, sliding item, toggle, go back swipe and scroll up to refresh.
- Buggy sliding item
2017-01-21 00:56:09 +01:00
24d0052541 chore(noImplicitAny): add noImplicitAny to tsconfig 2017-01-12 10:14:50 -06:00
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
eebb062e71 fix(app): navPop() does not go to previous tab
references #7611
2016-12-03 21:40:59 +01:00
b63344c230 fix(gesture): nativeRaf is unsafe 2016-12-03 15:52:40 +01:00
c08c21a4a0 refactor(gestures): using new DomController 2016-12-02 11:45:26 +01:00
6ef6f0aeea fix(toggle): uses PanGesture abstraction
fixes #9428
2016-12-01 16:19:01 +01:00
7b2a6d523e fix(app): setScrollDisabled() is a private method 2016-12-01 13:31:58 +01:00
788a7b61f9 perf(menu): using passive events in menu 2016-11-26 15:45:55 +01:00
320989540e perf(menu): improves menu performance and fixes some edge cases 2016-11-25 22:56:53 +01:00
66afe34d64 fix(gesture): pass type to hammer.get() so pinch and rotate can be enabled 2016-11-16 21:25:59 -08:00
c44f6b6f2e perf(animation): improves _progress() hot function
- progress() is the function where more time is spent during any swipe gesture
- replace iterating over the _fx properties, using an array instead
- optimize pointerCoord(), profiler showed it’s one of the most called functions
2016-11-16 19:48:35 +01:00
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
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
8585427fb4 fix(menu): open/close race condition
fixes #7629 #8001
2016-09-14 15:49:11 -05:00
b8fb9c7c6d style(gestures): style updates 2016-09-13 15:25:30 -05:00
1d33da9a56 style(): fix angular style import (#7722) 2016-08-17 13:19:08 -04:00
90929d0ef9 docs(gestures): fix dgeni tag
Closes #7721
2016-08-14 18:45:35 -05:00
174efc196d fix(gestures): fixes scroll issue with hammer config
Fixes scroll issue with hammer config where pinch/rotate gestures are preventing the screen from scrolling.

Closes #6897
2016-08-10 14:16:08 -05:00
4cfb5a48ee doc(): update private 2016-08-06 12:26:06 -04:00
86c5aaf7a1 perf(menu): several improvements
- `display: none;` when menu is closed
- `ion-backdrop` is display: none when it is not used
- `ion-backdrop` is much smaller
2016-07-20 07:16:31 -07:00
ac8e4dce06 style(all): tslinter warnings 2016-07-19 13:31:46 -07:00
4f52135c13 Revert "Revert "Merge branch 'master' of https://github.com/driftyco/ionic""
This reverts commit 4a6086c1f8e756b86460697f685af0c8f81e3019.
2016-07-18 19:40:03 -05:00
4a6086c1f8 Revert "Merge branch 'master' of https://github.com/driftyco/ionic"
This reverts commit 8945bf906d68d469e4653a9db2f564bc588eb0d6, reversing
changes made to f4fac225fa3a9151565a1e3c3ccb334405b6a57f.
2016-07-18 19:24:56 -05:00
6e9eb93717 test(gestures): adds unit tests for pan recognizer 2016-07-16 19:06:56 +02:00
5909fa4ba5 refactor(gestures): no longer use hammer for drag gestures 2016-07-15 11:23:36 -05:00
72c24bc927 feat(gesture-controller): disable/enable scrolling 2016-07-14 00:52:43 +02:00
9f19023cb9 feat(gesture): Introducing new gesture controller 2016-07-13 22:11:38 +02:00
cd6ad23ef3 docs(viewController, picker, popover, toast, gestures, utils): update docs 2016-06-30 15:50:26 -04:00
b266e9f66e docs(): update docs 2016-06-09 12:50:00 -04:00
03f4511635 chore(tslint): fix noImplicitAny errors 2016-05-31 18:40:29 -05:00
c8f760f080 chore(build): rename ionic directory to src and update all references in the build process. 2016-05-19 13:22:40 -05:00
9039297110 rename src to ionic 2015-04-25 10:59:09 -05:00
065214526f add initial split view, build to es5 2015-04-07 17:09:45 -06:00
bd45ee58da aside: fix an error 2015-03-31 13:37:00 -06:00
18d82fb50d change all paths to use ionic2/ 2015-03-27 11:52:38 -06:00