Commit Graph

5307 Commits

Author SHA1 Message Date
Max Lynch
9469b4ff9a feat(input): clearOnEdit feature. Closes #9187 2016-11-16 16:42:48 -06:00
Manu Mtz.-Almeida
91f5087bc6 fix(animation): regression in _willChg() 2016-11-16 21:06:52 +01:00
Brandy Carney
9f7972b6fd fix(styles): update ios and md styles closer to native 2016-11-16 14:12:29 -05:00
Adam Bradley
c8aad56c6a perf(click): increase number to find activatable elements
Closes #9190
2016-11-16 13:01:18 -06: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
70f8a8e5eb fix(nav): zIndex in overlays 2016-11-16 12:17:25 -06: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
Mike Hartington
c16e56634d docs(navController): add note about overlay components 2016-11-16 11:00:56 -06:00
mhartington
d283aa0057 docs(errorHandler): add docs 2016-11-16 08:33:34 -08:00
Adam Bradley
89feb689b8 chore(tappable): add pointer cursor to tappable elements 2016-11-16 10:29:53 -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
Adam Bradley
339857af1e chore(translate): remove translate provider
Translate provider and TranslatePipe has been removed. Please use
NG2-Translate instead:
http://ionicframework.com/docs/v2/resources/ng2-translate/
2016-11-16 10:01:22 -06:00
Manu Mtz.-Almeida
c78dc19754 perf(animation): optimizing hot loops
- local variable optimization
- progressStep() does not debounce
2016-11-16 16:22:52 +01:00
Adam Bradley
5c4838b813 feat(tappable): auto add tappable attribute for ion-item clicks 2016-11-16 09:10:32 -06:00
Brian Dennis
12b8157e1e chore(): update dgeni config 2016-11-16 08:14:51 -06:00
Manu Mtz.-Almeida
3a2ff85f6a perf(animation): set after styles should not be recursive 2016-11-16 13:41:54 +01:00
Adam Bradley
a7042e37c2 style: js is hard 2016-11-15 13:58:10 -06:00
Adam Bradley
c72b67d376 fix(datetime): fix min/max displayFormat and pickerFormat
Closes #8729
2016-11-15 13:52:32 -06:00
Adam Bradley
45fcf76e4d chore(package): update dependency versions 2016-11-15 12:45:55 -06:00
Manu Mtz.-Almeida
2348d228fa fix(picker): prevents scrolling under the picker 2016-11-15 12:14:57 +01:00
Manu Mtz.-Almeida
b77b2ae440 fix(nav): willLeave is called before willEnter
fixes #9163
2016-11-15 10:42:03 +01:00
Adam Bradley
f3b0333997 perf(picker): improves performance of picker and datepicker 2016-11-14 14:55:43 -06:00
Manu Mtz.-Almeida
fc2ee6472f perf(picker): improves performance of picker and datepicker 2016-11-14 21:14:13 +01:00
Manu Mtz.-Almeida
909293a735 fix(nav): fixes empty stack condition 2016-11-14 21:11:31 +01:00
perry
b93799713f chore(CI) skipping demo builds for now 2016-11-14 13:18:13 -06:00
Louis Orleans
10dfa1704b docs(navController): improve lifecycle hooks
Closes #9128
Documenting the possible return values of lifecycle hooks
2016-11-14 10:57:08 -08:00
Alan
025c5cc646 fix(components): add a mode agnostic css class (#9133)
Fixes #8545
2016-11-14 13:50:01 -05:00
Ramon Henrique Ornelas
d3ef28d3ec chore(): export abstract class to simplify to building of custom components 2016-11-14 10:25:52 -06:00
Adam Bradley
0da84121da feat(): export NavControllerBase for building of components similar to ion-tab 2016-11-14 10:25:22 -06:00
Manu Mtz.-Almeida
d9e9ece836 fix(animation): always run before classes and functions
fixes #8842
fixes #8769
2016-11-14 10:24:05 -06:00
Denny Biasiolli
217c171e5f chore(CI): update dgeni 2016-11-14 10:10:29 -06:00
Adam Bradley
d6418e1dc4 fix(nav): do not allow removing all views from a nav
* fix(nav): controller is initialized

* fix(nav): transitioning state is a boolean not a timer

long async promises in canLeave / canEnter can lead to a false negative of isTransitioning()
It is key for the internal consistency of NavController to always know the correct state

* fix(nav): returning Promise<false> in canLeave / canEnter works as expected

* fix(nav): it is not allowed to pop all the views
2016-11-14 09:46:45 -06:00
Manu Mtz.-Almeida
a28ed2bbcf fix(navPush): check if the NavPush page exists. (#8934)
When using the NavPush directive there isn't a way to disable the nav from trying to push.
2016-11-14 16:43:26 +01:00
Brandy Carney
5e5c33a2d9 fix(item): fix color input for item divider and list header
* fix(item): fix color input for item divider and list header

- adds ItemDivider class to add color and mode css classes to item
divider
- adds e2e test for item divider colors
- adds sass variables to improve control over list headers and item
divider styles
- fixes style for item divider so it will be styled regardless of being
inside a list for md and wp modes

references #8376

* refactor(popover): remove the background color styling from ion-content and item

- change the default text color and background color to match the theme
variables. This makes popover look better on dark theme and removes the
nesting of styles that breaks list headers.

fixes #8376
2016-11-10 19:46:25 -06:00
Brandy Carney
d3b0140ebf test(button): fix linter errors 2016-11-10 20:44:38 -05:00
Brandy Carney
ee3decc31d fix(colors): override element styling and tweak colors for card and item
* refactor(card): add color/mode classes to header, title, content

- Remove native HTML element styling inside of cards (headings,
paragraph)
- Move the default color for the HTML elements to the content
- Generate colors for the card itself, the header, the content, and the
title using the color input
- Add e2e test for card colors

References #8330

* refactor(item): remove paragraph styles, update activated colors

- Adds test for item colors
- Removes the color from native paragraph elements allowing colors to
be passed

Closes #9081

* refactor(item): bring back paragraph color and override in the item loop

* refactor(card): add back heading and paragraph colors and override in color loop
2016-11-10 19:43:22 -06:00
Nick
898ac3e863 fix(button) remove outline color class, then add back standard color class (#9114)
fixes #9031 fixes #8845
2016-11-10 20:39:27 -05:00
Brandy Carney
4a74127012 Revert "fix(sass): change default font path (#8811)"
This reverts commit 0940d5a4d7.
2016-11-10 20:17:26 -05:00
Brandy Carney
6117dd8f65 test(button): add test for dynamic outline buttons
references #8845 references #9031
2016-11-10 19:53:50 -05:00
Justin Willis
0940d5a4d7 fix(sass): change default font path (#8811) 2016-11-10 19:29:06 -05:00
Denny Biasiolli
faed85c6d3 docs(input): fix typo in documentation (#9103) 2016-11-10 18:53:07 -05:00
Adam Bradley
6b777721f4 feat(IonicErrorHandler): custom ionic error handler provider 2016-11-10 17:29:50 -06:00
Brandy Carney
ae1197ac2f refactor(typography): add ion-text attribute selector, deprecate others
* fix(fab): remove chained css and exclude from typography directive

references #8293

* refactor(typography): add `ion-text` attribute selector, deprecate others

closes #8293
2016-11-10 10:12:52 -06:00
Brandy Carney
0e53ec315d fix(button): fix ios buttons in colored toolbar so they don't use the default color
fixes #8566
2016-11-09 19:05:21 -05:00
Alan Agius
b00860bb78 fix(typography): Exclude ion-item on a tags selector (#8340) 2016-11-09 16:33:49 -05:00
Brandy Carney
3dab925375 test(item): add items with colors to the buttons test
references #8293
2016-11-09 14:08:21 -05:00
Brandy Carney
82d0bde0e2 test(button): add test for anchor buttons, update basic test
references #8293
2016-11-09 14:07:50 -05:00
Manu Mtz.-Almeida
dec5a0b35c perf(item): reorder is only added to the DOM if needed
I have measured the performance impact of this change, since we use the push change detector strategy, the *ngIf is only evaluated once.

Items wrapped around an element with the ListReorder directive will receive a hidden `<ion-reorder>` in their DOM, but items that are not wrapped (i.e. they CAN NOT be reordered) will not even have the `<ion-reorder>` element in their DOM.

fixes #9065
2016-11-08 13:22:12 +01:00
mhartington
ac157c0474 docs(viewController): update viewController 2016-11-07 15:44:45 -05:00
mhartington
b4b9adb7fc refactor(textarea): remove type input from textarea 2016-11-07 15:05:00 -05:00