76 Commits

Author SHA1 Message Date
2b4d7b7be9 fix(angular): apply validation classes properly
* fix(angular): add validation classes to ion-item

* fix(inputs): focus handling

fixes #17171
fixes #16052
fixes #15572
fixes #16452
fixes #17063
2019-01-19 22:56:00 +01:00
6364e4e2a1 fix(inputs): keyboard focus improvements (#16838)
fixes #16815
fixes #16872
fixes #13978
fixes #16610
2019-01-11 19:36:02 +01:00
c68292b78f test(rtl): add rtl script to all e2e tests (#17009) 2019-01-08 15:06:23 -06:00
3d656ac312 docs(all): improve type docs for event 2018-12-28 20:38:24 +01:00
f9483a0c13 refactor(utils): reorganize some chunks 2018-12-28 20:38:24 +01:00
8029df344a fix(segment): set colors in the parent segment and remove the unused color property (#16590)
* style(theming): clean up sass TODOs

* fix(item): use proper padding on small buttons in an item

* refactor(components): remove color from unused components

* chore(components): update build files to remove color

* fix(tab-bar): remove unused layout prop

* test(segment): add custom test and update standalone

* docs(segment): update usage examples to remove layout

* test(segment): update tests to remove layout

* test(tab-bar): update tests to remove layout

* fix(segment): set the colors in the parent segment

but use them in the child segment button

This allows the user to customize all of the segment buttons from segment, while still allowing the `color` property to take precedence, and they can also edit the segment button colors directly if desired.

This actually fixes some bugs surrounding colors and allows customization for a segment inside of a toolbar.

references #14853

* style(sass): fix lint errors

* chore(build): build files

* fix(segment-button): use transparent background

* docs(segment-button): add color activated back

* why does the build hate me

* fix(segment): set initial css variables to avoid inheriting

* fix(segment): set initial color activated

also add new line to the nav readme because reasons

* test(segment): parent mode should match children
2018-12-06 00:12:14 +01:00
7ba94900bb refactor(themes): remove the outer-content class from core (#16589)
BREAKING CHANGES

The outer-content class has been removed in favor of setting the color in your app instead:

```
.outer-content {
  --background: #f2f2f2;
 }
```
2018-12-04 16:38:50 -05:00
6b7f8ae201 chore(): update stencil (#16506) 2018-11-29 18:54:51 +01:00
fd79b57748 fix(inputs): fix aria with shadow-dom (#16329) 2018-11-16 19:26:55 +01:00
8e2a6ddd75 fix(toggle): match MD toggle track background for off state (#16277) 2018-11-08 15:20:44 -06:00
e416c23b3b fix(item): update to match Material Design spec (#16182)
- splits the item min height by mode
- removes padding end from the slotted end components in favor of using 16px on the item
- updates the icon color to lighter gray (rgb)
- removes font size change from text wrapped labels
- add list spec test to include MD examples

fixes #14799
2018-11-04 10:58:57 -05:00
ecc2c55370 docs(all): possible values are extracted by stencil (#16190)
* docs(all): possible values are extracted by stencil

* add defaults

* remove all hardcoded defaults

* update stencil
2018-11-02 00:06:40 +01:00
92ee4efb12 fix(inputs): add z-index for all inputs
fixes #16157
2018-10-31 14:46:46 +01:00
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
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
ef6895acbd fix(inputs): disabled handling (#16071) 2018-10-25 22:50:06 +02:00
3c7fee5cca test(e2e): relative paths (#16077) 2018-10-24 22:41:48 -05:00
02ed9f96fa test(e2e): update body font family (#16065) 2018-10-24 11:09:41 -05:00
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
8a4dc74324 fix(toggle): fix box-shadow overflow in toggle (#15955)
Closes #14626
2018-10-22 20:48:54 -05:00
a9fd3399de test(e2e): force roboto font on all systems (#15993) 2018-10-19 15:22:15 -05:00
86d5f33841 chore(package): update to stencil 0.14.1-1 (#15992) 2018-10-17 15:01:37 -05:00
3a4b21457f chore(): update stencil 2018-10-12 11:44:43 -05:00
a72fced6fe fix(all): docs for all missing props 2018-10-11 16:24:08 -05:00
53305741a0 fix(toggle): improve animation motion 2018-10-11 16:24:08 -05:00
ae3271f2d7 test(all): inject test styles on flag 2018-10-11 15:13:23 -05:00
a999c1f0a9 perf(): prevent unnecesary event listener changes 2018-10-09 16:03:14 -05:00
2172aa9dae test(screenshot): use Arial for testing 2018-10-09 13:40:31 -05:00
9d109d68c8 fix(all): disable animations in e2e tests 2018-10-08 10:18:31 -05:00
6bc35a306c test(components): migrate e2e tests to puppeteer
references #15803
2018-10-05 18:11:11 -04:00
aaaf55cbb5 chore(): disable e2e testing in CI 2018-09-25 20:17:16 +02:00
f0e95c477a test(toggle): update e2e screenshots 2018-09-20 13:22:53 -05:00
c49d896e08 refactor(all): using ComponentInterface 2018-09-14 18:47:00 +02:00
21d1f2e2dd fix(item): update hostContext to use ion-item element
fixes styling issues with children elements using the .in-item class
2018-09-13 11:46:13 -04:00
a4b11797e4 fix(test): workaround for nav tests 2018-09-05 23:57:56 +02:00
29837f23fd test(e2e): update to stencil 0.13.0-3 testing 2018-09-05 16:49:34 -05:00
1f198622f8 fix(toggle): empty hidden input value when not checked 2018-09-05 16:48:43 -05:00
e7416435d8 refactor(all): additional tslint rules 2018-09-01 18:06:59 +02:00
ba2230510e refactor(all): strict boolean conditions 2018-09-01 17:23:03 +02:00
096d9a76f3 fix(css): add core.css (#15220)
fixes #15170
2018-08-29 18:05:20 +02:00
86acb8cd92 fix(toggle): cursor: pointer in desktop 2018-08-26 22:10:36 +02:00
7917ba96ef refactor(all): consistent gesture events 2018-08-26 01:26:36 +02:00
d856ecfbbf chore(): update to latest stencil 2018-08-12 12:04:27 +02:00
2e7d355edf fix(input): event interfaces 2018-08-12 01:18:59 +02:00
b70bb70991 refactor(toggle): move pointer-events to base CSS
relates to #15129
2018-08-10 20:12:15 +02:00
cb08ba973b chore(toggle): revert gesture changes from outdated branch 2018-08-08 12:25:50 -05:00
773c2c2274 fix(toggle): add and document custom properties
references #14850
2018-08-08 11:50:30 -05:00
a77ee2a6f8 fix(sliding): fix core gesture logic + priority configuration
fixes #14763
2018-08-07 17:14:04 +02:00
e9fd184175 fix(datetime): fix gesture 2018-08-02 23:15:26 +02:00
49cac8beec perf(gesture): lazy loaded dynamic ES module 2018-08-01 05:08:39 +02:00