Commit Graph

825 Commits

Author SHA1 Message Date
Cam Wiegert
018fb9876f test(all): use test() instead of it() where appropriate (#16129)
This replaces uses of Jest's it() function in end-to-end tests with the alias test() where it makes sense semantically.
2018-10-29 12:40:06 -05:00
Manu MA
1733c9489c docs(): value for toggle and checkbox (#16102)
* docs(): value for toggle and checkbox

fixes #16074

* update docs
2018-10-26 20:18:53 +02:00
Manu MA
33448c6eec fix(infinite-scroll): disabled resets loading/busy state (#16107)
fixes #15994
2018-10-26 19:26:16 +02:00
Manu MA
aad7711af2 fix(datetime): can participate in native <form> (#16106)
fixes #16075
2018-10-26 19:01:39 +02:00
Manu MA
c982856dba feat(toast): add "color" prop (#16100)
This commit also refactors ion-toast, so it uses shadow-dom,
this is required since CSS variables
does not work well in non-shadow-dom components.

fixes #16099
2018-10-26 18:53:02 +02:00
Manu MA
f0141817d4 fix(datetime): pickerOptions are all optional (#16101)
fixes #16095
2018-10-26 18:42:57 +02:00
Brandy Carney
9dfc863f0f fix(fab-button): use correct background in list and update the md icon color (#16092)
* fix(fab): separate the mode colors and update the md icon color

-md icon color matches spec by adding 0.54 opacity to the color

fixes #16091

* fix(fab): update the font size for buttons in a fab list

* fix(fab-button): update box-shadow for both states

* fix(fab-button): update transition to match md spec
2018-10-25 21:42:19 -05:00
Manu MA
6a138a6c55 refactor(show): remove show/hide-when components (#16098) 2018-10-25 21:32:41 -05:00
Cam Wiegert
44b0eaba85 fix(card): adjust styles to match MD (#16093)
* fix(card-content): remove top padding when after header

* fix(card): adjust text weight, sizes, and colors

* fix(card): adjust border-radius and box-shadow

* fix(card): make title/subtitle margin interchangeable
2018-10-25 16:55:54 -05:00
Manu MA
ef6895acbd fix(inputs): disabled handling (#16071) 2018-10-25 22:50:06 +02:00
Manu MA
4d3ad67740 refactor(tabs): apply design-doc (#16048) 2018-10-25 22:13:19 +02:00
Brandy Carney
fdb7da917c fix(popover): update the box shadow to match MD spec (#16089) 2018-10-25 14:56:25 -04:00
Brandy Carney
6f2b9b0479 fix(note): update note font size for MD (#16088) 2018-10-25 14:38:14 -04:00
Cam Wiegert
672324886a fix(radio): match MD sizing (#16087)
This adjusts the sizing and proportions of our radio input to match the updated Material Design spec.
2018-10-25 10:58:19 -05:00
Cam Wiegert
9c733e93b6 fix(popover): update border radius to match MD (#16086) 2018-10-25 10:40:53 -05:00
Adam Bradley
6b8c87e2da test(e2e): upload tests (#16078) 2018-10-25 01:03:01 -05:00
Adam Bradley
3c7fee5cca test(e2e): relative paths (#16077) 2018-10-24 22:41:48 -05:00
Cam Wiegert
53ca3a0373 test(app): add safe-area tests (#16072)
This adds tests to ensure components respect --ion-safe-area-* properties.
2018-10-24 16:23:09 -05:00
Adam Bradley
02ed9f96fa test(e2e): update body font family (#16065) 2018-10-24 11:09:41 -05:00
Adam Bradley
d800c48734 test(e2e): update e2e tests for screenshot (#16056) 2018-10-23 23:56:40 -05:00
Adam Bradley
02ef52b85c fix(picker): fix iOS picker options that shouldn't be showing (#16055) 2018-10-23 23:13:45 -05:00
Brandy Carney
b2021fd9c4 fix(theming): update global css variable naming and default values (#16003)
Updates all of the global variables to make sure their naming is consistent, their default values are correct, they are used properly by the related components, and remove any that are not used.

- removes some of the non mode-specific global Sass variables
- updates the md and ios values so that the default is the css variable
with different fallbacks
- removes non-color related css variables from the global file
- fixes item so it uses the background color that is set by the global
file

# Breaking Changes

## Removed Global CSS Variables

The following global CSS variables have been removed for the reasons listed.

| Variable Name                     | Reason                                          |
| ----------------------------------| ------------------------------------------------|
| `--ion-toolbar-color-inactive`    | Unused                                          |
| `--ion-ripple-background-color`   | Unused / Ripple color is based on component     |
| `--ion-header-size`               | Removed in favor of using CSS for h1-h6         |
| `--ion-header-step`               | Removed in favor of using CSS for h1-h6         |

## Renamed Global CSS Variables

The following global CSS variables have been renamed for the reasons listed.

| Old Variable Name                        | New Variable Name                  | Reason                                                                        |
| -----------------------------------------| -----------------------------------| ------------------------------------------------------------------------------|
| `--ion-toolbar-text-color`               | `--ion-toolbar-color`              | Variable is not limited to text color                                         |
| `--ion-toolbar-color-active`             | `--ion-toolbar-color-activated`    | Consistency with our component variables                                      |
| `--ion-tabbar-text-color`                | `--ion-tab-bar-color`              | Variable is not limited to text color                                         |
| `--ion-tabbar-text-color-active`         | `--ion-tab-bar-color-activated`    | Consistency with our component variables                                      |
| `--ion-tabbar-background-color`          | `--ion-tab-bar-background`         | Applies to the background property                                            |
| `--ion-tabbar-background-color-focused`  | `--ion-tab-bar-background-focused` | Applies to the background property                                            |
| `--ion-item-background-color`            | `--ion-item-background`            | Applies to the background property                                            |
| `--ion-item-background-color-active`     | `--ion-item-background-activated`  | Applies to the background property / Consistency with our component variables |
| `--ion-item-text-color`                  | `--ion-item-color`                 | Variable is not limited to text color                                         |
| `--ion-placeholder-text-color`           | `--ion-placeholder-color`          | Consistency with other variables                                              |

Fixes #15989 
Fixes #15559
2018-10-23 12:37:04 -04:00
Mike Hartington
8a4dc74324 fix(toggle): fix box-shadow overflow in toggle (#15955)
Closes #14626
2018-10-22 20:48:54 -05:00
Abdelaziz Bennouna
a0c60ffd1e fix(alert): update alert min/max interface (#15987)
Fixes #15986
2018-10-22 20:42:19 -05:00
Adam Bradley
a74e5653d5 fix(picker): delay option animate until after options initialized (#16037) 2018-10-22 20:31:27 -05:00
Adam Bradley
e644fc9246 fix(label): do not animate float labels on initial load (#16036) 2018-10-22 20:11:46 -05:00
Cam Wiegert
d033a9e544 test(menu): migrate e2e tests (#16032)
references #15803
2018-10-22 17:13:23 -05:00
Manu MA
ce80b2470e fix(reorder-group): event bubbles up (#16030)
fixes #16010
2018-10-22 23:37:55 +02:00
Adam Bradley
7ac15a875d test(alert): waitForVisible (#16031) 2018-10-22 14:47:03 -05:00
John Kirkley
62cee77277 docs(popover): popover documentation links (#16021) 2018-10-22 10:32:16 -05:00
Cam Wiegert
36b41996fe test(nav): migrate e2e tests (#16013)
* test(nav): migrate basic e2e test
* chore(nav): remove redundant host-elements test
* test(nav): rewrite nested e2e test
* test(nav): migrate routing e2e test
* chore(nav): remove unused set-root test page

references #15803
2018-10-19 17:01:15 -05:00
Adam Bradley
a9fd3399de test(e2e): force roboto font on all systems (#15993) 2018-10-19 15:22:15 -05:00
Abdelaziz Bennouna
84810f2e2a docs(alert): fix options object (#15985) 2018-10-17 15:11:07 -05:00
Adam Bradley
86d5f33841 chore(package): update to stencil 0.14.1-1 (#15992) 2018-10-17 15:01:37 -05:00
Adam Bradley
ee733980ab test(card): update header img w/ datauri (#15988) 2018-10-17 12:52:56 -05:00
Adam Bradley
c1cbf94ec9 test(img): data uri images (#15981) 2018-10-17 01:25:59 -05:00
Cam Wiegert
38a275fb77 test(alert): migrate e2e tests (#15971)
references #15803
2018-10-16 13:29:55 -05:00
Manu MA
45b46b4695 fix(angular): generate proxies for ion-tabbar (#15954) 2018-10-15 13:34:07 -05:00
Manu Mtz.-Almeida
905c7dbd1a fix(tabs): fix async deadlock 2018-10-14 11:27:53 -05:00
Manu Mtz.-Almeida
3a4b21457f chore(): update stencil 2018-10-12 11:44:43 -05:00
Cam Wiegert
e35a21f88c test(avatar): use SVG avatar image 2018-10-12 11:08:17 -05:00
Cam Wiegert
07d135bcfc test(thumbnail): use SVG thumbnail image 2018-10-12 11:08:17 -05:00
Ken Sodemann
b46052bd83 fix(ion-datetime): keep the model value consistently an ISO string (#15907) 2018-10-11 16:50:05 -05:00
Manu Mtz.-Almeida
fb3b752198 chore(): update stencil 2018-10-11 16:49:05 -05:00
Brandy Carney
c7267e1d52 test(icon): fix items test to remove errors 2018-10-11 16:30:49 -05:00
Brandy Carney
c3f165afbd test(menu-button): update to latest script, add toolbars 2018-10-11 16:27:30 -05:00
Manu Mtz.-Almeida
a72fced6fe fix(all): docs for all missing props 2018-10-11 16:24:08 -05:00
Manu Mtz.-Almeida
53305741a0 fix(toggle): improve animation motion 2018-10-11 16:24:08 -05:00
Brandy Carney
a7fae3bf1f test(menu-button): add a standalone test with menu buttons
references #14853
2018-10-11 16:20:48 -05:00
Adam Bradley
0e3ade60f6 test(e2e): fix reorder-group 2018-10-11 16:04:02 -05:00