Commit Graph

5292 Commits

Author SHA1 Message Date
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
Manu Mtz.-Almeida
be72d39bd9 perf(nav): avoid running zone when it is not needed 2016-11-07 20:59:48 +01:00
mhartington
bc5cd7f03f docs(input): update input docs 2016-11-07 14:52:15 -05:00
Brandy Carney
eb0b05df88 fix(sass): remove usage of colors other than primary, improve error (#8907)
* fix(sass): remove usage of colors other than primary, improve error

fixes #8266

* refactor(sass): add variables to override all modes for fab and input

* refactor(fab): rename Sass variable from in-list to list-button

BREAKING CHANGE:

- `$fab-<mode>-in-list-background-color` ->
`$fab-<mode>-list-button-background-color`
- `$fab-<mode>-in-list-text-color` ->
`$fab-<mode>-list-button-text-color`
- `$fab-<mode>-in-list-background-color-activated` ->
`$fab-<mode>-list-button-background-color-activated`
2016-11-07 17:41:10 +01:00
Manu Mtz.-Almeida
a98284a0a6 fix(test): class 'Page5' incorrectly extends base class 2016-11-04 20:42:59 +01:00
Manu Mtz.-Almeida
0ab990c015 fix(nav): it is not allowed to pop all the views 2016-11-04 20:18:29 +01:00
Manu Mtz.-Almeida
5f1a86265c fix(nav): returning Promise<false> in canLeave / canEnter works as expected 2016-11-04 20:18:09 +01:00
Manu Mtz.-Almeida
63d495ae43 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
2016-11-04 20:16:56 +01:00
Manu Mtz.-Almeida
beab06f7ce fix(nav): controller is initialized 2016-11-04 20:12:04 +01:00
Manu Mtz.-Almeida
9506a78e41 test(nav): adds worst-case e2e test 2016-11-04 19:57:19 +01:00
Manu Mtz.-Almeida
d531ec2316 perf(menu): avoid change detection when it isn't needed (#8986) 2016-11-04 13:57:15 -04:00
Brandy Carney
cf1196a209 docs(contributing): update contributing and scripts docs for commit messages 2016-11-04 13:24:08 -04:00
Justin Willis
578ffc3141 chore(plunkr): change to new rc2 plunker 2016-11-04 12:04:09 -05:00
Manu Mtz.-Almeida
759e3ea62d perf(item): improve performance of sliding item (#9005)
- Using new NativeRafDebouncer
- Events are not zone wrapped unless strictly necessary
2016-11-04 12:59:36 -04:00
Brandy Carney
f38fe8d313 chore(changelog): add dependencies to update for rc.2 2016-11-03 17:54:10 -04:00
Brandy Carney
b45da6f695 chore(changelog): update bug fixes to remove chores 2016-11-03 17:10:31 -04:00