Commit Graph

5280 Commits

Author SHA1 Message Date
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
Brandy Carney
eb55747485 chore(ionic): release rc.2 2016-11-03 17:00:18 -04:00
Brandy Carney
e7ad038b4d test(modal): update modal test to add new buttons and move toast v2.0.0-rc.2 2016-11-03 16:27:30 -04:00
Manu Mtz.-Almeida
a1e17c6f78 chore(): generate coverage to umd js only 2016-11-03 20:24:35 +01:00
Manu Mtz.-Almeida
d988367e3a chore(): using correct angular version in demos 2016-11-03 19:19:29 +01:00
Manu Mtz.-Almeida
8d2c8b6984 fix(action-sheet): Improve Action Sheet styles across all the platforms (#8736)
fixes #8663
2016-11-03 10:34:52 -04:00
ramonornela
24b087caf2 feat(): export NavControllerBase for building of components similar to ion-tab 2016-11-03 06:20:26 -02:00
Manu Mtz.-Almeida
299522fe53 Merge pull request #8989 from JakePrice86/patch-1
Fix - Update spelling in toolbar-title.ts docs
2016-11-03 00:58:03 +01:00
Manu Mtz.-Almeida
09c08e9dd1 fix(transition): wrong easing 2016-11-03 00:57:06 +01:00
Manu Mtz.-Almeida
7735be7c4f chore(): add remove debug statements logs 2016-11-03 00:56:06 +01:00
Manu Mtz.-Almeida
0a25a836ae Merge pull request #9003 from vaskou/refactor/transition-wp
fix(transition): syntax of cubic-bezier easing
2016-11-03 00:55:17 +01:00
Vasilis Koutsopoulos
813d945b79 fix(transition): syntax of cubic-bezier easing 2016-11-03 01:26:36 +02:00
Justin Willis
98d474b879 fix(): add missing export (#8999) 2016-11-02 15:26:05 -05:00