Manu Mtz.-Almeida
e0d876e9f0
fix(clickblock): clickblock applies longer
...
references #9531
2016-12-07 09:49:13 -06:00
Manu Mtz.-Almeida
66bbd24d8d
perf(ripple): prevents jank by using raf
2016-12-05 21:28:32 +01:00
Manu Mtz.-Almeida
1e95e856ed
fix(menu): two menus can’t be animated at the same time
2016-12-05 18:29:17 +01:00
Manu Mtz.-Almeida
8de253a9b1
fix(app): go back navigation can close menus
2016-12-02 14:06:51 +01:00
Manu Mtz.-Almeida
c08c21a4a0
refactor(gestures): using new DomController
2016-12-02 11:45:26 +01:00
Brandy Carney
3532a71c29
docs(sass): add documentation for sass variables
...
This adds documentation for loading, menu, picker, popover, radio,
refresher, select, and toast. Also removes unused variables.
References #8785
2016-12-01 18:39:52 -05:00
Adam Bradley
bdf02d4280
chore(util): add removeArrayItem fn
2016-11-29 10:21:47 -06:00
Manu Mtz.-Almeida
eafd13f53e
fix(menu): clicking the backdrop/content closes the menu
2016-11-29 12:45:00 +01:00
Manu Mtz.-Almeida
788a7b61f9
perf(menu): using passive events in menu
2016-11-26 15:45:55 +01:00
Manu Mtz.-Almeida
a722107d88
perf(events): ionDrag events are not zone wrapped
2016-11-26 15:44:48 +01:00
Manu Mtz.-Almeida
320989540e
perf(menu): improves menu performance and fixes some edge cases
2016-11-25 22:56:53 +01:00
Manu Mtz.-Almeida
91478edd9f
fix(menu): improves menu swipe animation
2016-11-23 20:16:28 +01:00
Manu Mtz.-Almeida
5ad7fd1908
perf(rendering): add css containment
2016-11-23 11:08:45 -06:00
Brandy Carney
624cb356df
fix(menu-toggle): move logic for css class to the menu toggle
...
fixes #8943
2016-11-23 11:00:34 -06:00
Manu Mtz.-Almeida
4be47bd3dd
fix(animation): improve menu and go back swipe
2016-11-21 23:09:57 +01:00
Manu Mtz.-Almeida
168428e6c0
fix(menu): disable menu swipe while transitioning
2016-11-17 17:51:27 +01:00
Manu Mtz.-Almeida
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
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
d531ec2316
perf(menu): avoid change detection when it isn't needed ( #8986 )
2016-11-04 13:57:15 -04: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
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
Manu Mtz.-Almeida
8dd66735ab
refactor(menu): gestureCtrl is a private property of menu
2016-10-22 18:13:24 +02:00
mhartington
0005e3416e
doc(menu): hide private methods
2016-10-22 11:47:19 -04:00
Manu Mtz.-Almeida
ff1f340285
test(assert): adds new debugging assert() util
...
improves removing of console.debug statements
fixes #8483
2016-10-18 09:10:00 -05:00
Manu Mtz.-Almeida
a06bd69926
fix(menu): console.debug statements are one line
2016-10-13 17:51:18 +02:00
Manu Mtz.-Almeida
db72a7d26b
fix(menu): menu's content is resized properly
...
fixes #8504
2016-10-10 08:45:22 -05:00
Manu Mtz.-Almeida
e75d9be822
fix(reorder): several reorder lists in the same view
2016-09-30 19:39:53 +02:00
Manu Mtz.-Almeida
9bbe485ed0
fix(menu): backdrop click without 300ms delay
...
fixes #6405
2016-09-30 14:36:30 +02:00
Dan Bucholtz
f0ac42ef49
chore(build): remove console.debug from prod
...
remove console.debug from prod
2016-09-27 15:12:59 -05:00
Basti Be
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
Dan Bucholtz
83d973b1a8
chore(demos): change dgeni path for demos
...
change dgeni path for demos
2016-09-20 15:20:04 -05:00
Manu Mtz.-Almeida
8585427fb4
fix(menu): open/close race condition
...
fixes #7629 #8001
2016-09-14 15:49:11 -05:00
Adam Bradley
52ada1ca6d
chore(components): ngmodule updates
2016-09-13 17:07:33 -05:00
Brandy Carney
750cde38e2
refactor(css): scope component css to mode
2016-09-13 16:52:47 -05:00
Adam Bradley
d7be8a80c0
test(ngmodule): update to ngmodule
2016-09-13 15:44:02 -05:00
Brandy Carney
55a0257dbc
refactor(colors): color should be added as an input instead of directly adding the color to the component
...
BREAKING CHANGES:
Colors should be passed in the `color` input on components, not added
individually as an attribute on the component.
For example:
```
<ion-tabs primary>
```
Becomes
```
<ion-tabs color=”primary”>
```
Or to bind an expression to color:
```
<ion-navbar [color]="barColor">
...
</ion-navbar>
```
```ts
@Component({
templateUrl: 'build/pages/about/about.html'
})
export class AboutPage {
barColor: string;
constructor(private nav: NavController, platform: Platform) {
this.barColor = platform.is('android') ? 'primary' : 'light';
}
}
```
Reason for this change:
It was difficult to dynamically add colors to components, especially if
the name of the color attribute was unknown in the template.
This change keeps the css flat since we aren’t chaining color
attributes on components and instead we assign a class to the component
which includes the color’s name.
This allows you to easily toggle a component between multiple colors.
Speeds up performance because we are no longer reading through all of
the attributes to grab the color ones.
references #7467
closes #7087 closes #7401 closes #7523
2016-08-23 17:16:55 -04:00
TOMA Hadrien
bfd093628a
docs(menuController): add param for menuId
...
Closes #7665
2016-08-19 15:42:03 -04:00
Brandy Carney
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
Adam Bradley
3c493652b2
test(): update to public navCtrl convention
2016-08-04 13:50:15 -05:00
Manu Mtz.-Almeida
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
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
Manu Mtz.-Almeida
cac378f35b
fix(menu): only one menu can be opened at a time
...
fixes #6826
2016-07-17 20:42:29 -05:00
Manu Mtz.-Almeida
5909fa4ba5
refactor(gestures): no longer use hammer for drag gestures
2016-07-15 11:23:36 -05:00
Manu Mtz.-Almeida
a2a71893e4
style(menu): typo (degress -> degrees)
2016-07-14 11:24:30 +02:00
Manu Mtz.-Almeida
32a70a62de
fix(menu): swipe menu is triggered when the swipe |angle| < 40º
2016-07-14 11:17:23 +02:00
Manu Mtz.-Almeida
d230cb40fe
fix(gestures): detecting swipe angle correctly + sliding item logic fix
2016-07-14 00:03:53 +02:00
Manu Mtz.-Almeida
9f19023cb9
feat(gesture): Introducing new gesture controller
2016-07-13 22:11:38 +02:00
Manu Mtz.-Almeida
cac1d4f961
fix(menu): getBackdropElement
...
references #7125
2016-07-02 17:30:37 +02:00