Commit Graph

5268 Commits

Author SHA1 Message Date
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
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
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
Jake Price
08db53ec0b Fix - Update spelling in toolbar-title.ts docs
A basic spelling change in the toolbar-title.ts documentation (heder to header)
2016-11-02 07:44:42 +00:00
Manu Mtz.-Almeida
c76d15dd6a test(nav): adds missing ionViewWillLoad counter 2016-11-02 00:51:10 +01:00
Manu Mtz.-Almeida
17dbf695c7 fix(nav): willLoad() does not have to be zone wrapped 2016-11-01 23:56:50 +01:00
Manu Mtz.-Almeida
f1f44ebdd4 fix(range): range with long label renders correctly 2016-11-01 23:50:57 +01:00
Manu Mtz.-Almeida
06357dc441 refactor(icon): improves logic for isActive 2016-11-01 23:49:54 +01:00
Manu Mtz.-Almeida
3fe3d98b0f Merge branch 'fix/angular-update' of github.com:driftyco/ionic 2016-11-01 19:45:15 +01: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
504e6e0440 Merge pull request #8969 from uofmmike/patch-1
Update deep-linker.ts
2016-11-01 05:03:53 +01:00
Manu Mtz.-Almeida
4f6a9b143c feat(tabs): tabsHideOnSubPages can be modified per tab
references #8970
2016-11-01 02:21:28 +01:00
MIke M
086b89e563 Update deep-linker.ts
Added 2 missing "," not the most exciting change on earth.
2016-10-31 13:49:53 -07:00