39 Commits

Author SHA1 Message Date
788a7b61f9 perf(menu): using passive events in menu 2016-11-26 15:45:55 +01:00
a722107d88 perf(events): ionDrag events are not zone wrapped 2016-11-26 15:44:48 +01:00
320989540e perf(menu): improves menu performance and fixes some edge cases 2016-11-25 22:56:53 +01:00
4be47bd3dd fix(animation): improve menu and go back swipe 2016-11-21 23:09:57 +01:00
168428e6c0 fix(menu): disable menu swipe while transitioning 2016-11-17 17:51:27 +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
d531ec2316 perf(menu): avoid change detection when it isn't needed (#8986) 2016-11-04 13:57:15 -04: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
033e1eae17 fix(nav): adds public willLoad lifecycle event
* fix(nav): adds public willLoad lifecycle event

* test(menu): adds more asserts
2016-11-01 13:12:29 -05:00
8dd66735ab refactor(menu): gestureCtrl is a private property of menu 2016-10-22 18:13:24 +02:00
0005e3416e doc(menu): hide private methods 2016-10-22 11:47:19 -04:00
db72a7d26b fix(menu): menu's content is resized properly
fixes #8504
2016-10-10 08:45:22 -05:00
e75d9be822 fix(reorder): several reorder lists in the same view 2016-09-30 19:39:53 +02:00
9bbe485ed0 fix(menu): backdrop click without 300ms delay
fixes #6405
2016-09-30 14:36:30 +02:00
43cfea6ee0 docs(menu): fixed broken links for navbar
Closes #8184

Also renamed "NavBar" to "Navbar" to be consistent with the rest of the documentation.
2016-09-23 14:06:34 -04:00
83d973b1a8 chore(demos): change dgeni path for demos
change dgeni path for demos
2016-09-20 15:20:04 -05:00
8585427fb4 fix(menu): open/close race condition
fixes #7629 #8001
2016-09-14 15:49:11 -05:00
52ada1ca6d chore(components): ngmodule updates 2016-09-13 17:07:33 -05:00
938864e8d0 refactor(button): add ion-button attribute and icon attributes to style buttons
BREAKING CHANGES:

- `<button>` becomes `<button ion-button>`
- `<a button>` becomes `<a ion-button>`
- `<button ion-item>` does not get the `ion-button` attribute
- Buttons inside of `<ion-item-options>` do get the `ion-button`
attribute
- Removed the `category` attribute, this should be passed in
`ion-button` instead.
- Button attributes added for icons in buttons: `icon-only`,
`icon-left`, and `icon-right`

closes #7466
2016-08-16 17:11:02 -04:00
3c493652b2 test(): update to public navCtrl convention 2016-08-04 13:50:15 -05: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
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
cac378f35b fix(menu): only one menu can be opened at a time
fixes #6826
2016-07-17 20:42:29 -05:00
5909fa4ba5 refactor(gestures): no longer use hammer for drag gestures 2016-07-15 11:23:36 -05:00
9f19023cb9 feat(gesture): Introducing new gesture controller 2016-07-13 22:11:38 +02:00
cac1d4f961 fix(menu): getBackdropElement
references #7125
2016-07-02 17:30:37 +02:00
656426672c chore(templates): import required directives for ionic templates 2016-07-01 00:59:37 -05:00
c7fa9490bf style(imports): add spaces in imports 2016-06-22 14:29:27 -05:00
db9fa7ead3 fix(item): improve open/close logic, update demos 2016-06-11 20:07:08 -05:00
29791f8556 fix(menu): swiping menu distinguishes between opening and closing direction
Closes #5511
2016-06-09 07:57:29 -05:00
a1a582b7a1 fix(ion-backdrop): new ion-backdrop can prevent background scrolling
closes #6656
2016-06-02 17:09:44 +02:00
11448dcd0c chore(tslint): fix noImplicitAny errors 2016-05-31 21:07:17 -05:00
8a920a24a5 Merge branch 'bootstrap-refactor' into 2.0 2016-05-31 15:50:21 -05:00
94e938d6b3 docs(bootstrap): update to use ionicBootstrap 2016-05-31 15:47:16 -05:00
d563aa65a3 refactor(events): rename all Ionic events to start with ion
BREAKING CHANGES:

Renamed all Ionic events to start with `ion`. The following events were
renamed:

- **Checkbox**
  - `change` -> `ionChange`
- **DateTime**
  - `change` -> `ionChange`
  - `cancel` -> `ionCancel`
- **InfiniteScroll**
  - `infinite` -> `ionInfinite`
- **Menu**
  - `opening` -> `ionDrag`
  - `opened` -> `ionOpen`
  - `closed` -> `ionClose`
- **Option**
  - `select` -> `ionSelect`
- **Picker**
  - `change` -> `ionChange`
- **RadioButton**
  - `select` -> `ionSelect`
- **RadioGroup**
  - `change` -> `ionChange`
- **Refresher**
  - `refresh` -> `ionRefresh`
  - `pulling` -> `ionPull`
  - `start` -> `ionStart`
- **Searchbar**
  - `input` -> `ionInput`
  - `blur` -> `ionBlur`
  - `focus` -> `ionFocus`
  - `cancel` -> `ionCancel`
  - `clear` -> `ionClear`
- **Segment**
  - `change` -> `ionChange`
  - `select` -> `ionSelect`
- **Select**
  - `change` -> `ionChange`
  - `cancel` -> `ionCancel`
- **Slides**
  - `willChange` -> `ionWillChange`
  - `didChange` -> `ionDidChange`
  - `move` -> `ionDrag`
- **TabButton**
  - `select` -> `ionSelect`
- **Tab**
  - `select` -> `ionSelect`
- **Tabs**
  - `change` -> `ionChange`
- **Toggle**
  - `change` -> `ionChange`

Closes #6568
2016-05-31 12:01:46 -04:00
51ee8b7eb3 feat(menu): add opened/closed events 2016-05-19 23:21:29 -05:00
f18a62485d fix(menu): fix swipe to go back and left menu conflict
Closes #5575
2016-05-19 23:11:36 -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