Commit Graph

9264 Commits

Author SHA1 Message Date
Paul Stelzer
54e5a244ef fix(tab-bar): adds selected color if tab bar is using a color (#16766)
fixes #16761
2018-12-17 11:22:59 -05:00
peterennis
9b0fe957e9 chore(changelog): backtick typo in property (#16778) 2018-12-17 10:45:31 +01:00
Manu MA
35e3848d96 fix(angular): fix sibling router-outlets (#16774)
fixes #16411
2018-12-17 01:49:56 +01:00
Manu Mtz.-Almeida
b5efedeb1c fix(progress-bar): looking nice inside toolbar 2018-12-16 20:44:10 +01:00
Manu Mtz.-Almeida
77640c907c fix(core): export ionic lifecycle names
fixes #16760
2018-12-16 20:44:10 +01:00
Manu Mtz.-Almeida
0699884d10 fix(body): body background matches ion-content 2018-12-16 20:44:10 +01:00
Manu Mtz.-Almeida
4c4bdf256d fix(pwa): use 100% of the viewport
Fixes issue in Iphone X white bottom padding
2018-12-16 18:22:33 +01:00
Manu Mtz.-Almeida
f393a82ed6 fix(all): ts 3.2 issues 2018-12-16 18:22:33 +01:00
Manu Mtz.-Almeida
56dd8ae342 feat(angular): tabs.select()
fixes #16753
2018-12-16 18:22:33 +01:00
Brandy Carney
60ef98d1a7 fix(list): adjust label margin to align with spec for md (#16751)
fixes #16643
2018-12-14 18:03:25 -05:00
Manu Mtz.-Almeida
7366677b44 4.0.0-beta.19 v4.0.0-beta.19 2018-12-14 23:41:21 +01:00
Manu Mtz.-Almeida
e7db4077be test(menu): fix e2e 2018-12-14 23:33:01 +01:00
Manu MA
e8cec60faf fix(fab-button): adding size prop instead of [mini] (#16692)
- Consistency with rest of API
- Auto docs
- Helps react

fixes #16680
2018-12-14 23:16:20 +01:00
Brandy Carney
c2ada8445c fix(fab-button): get translucent working including with color (#16750)
fixes #16450
2018-12-14 17:01:30 -05:00
Josh Thomas
33e0ae4afa feat(react): add initial react code. (#16748) 2018-12-14 14:54:28 -06:00
Brandy Carney
4053f386fd refactor(components): consistent css variables for size (#16600)
Reviews the `--width` and `--height` variables in each component to either remove or add them based on need.

- fixes a bug where the spinner color wasn't being set properly in loading
- adds css variables for customizing background, color, some borders in overlays
- fixes a bug where prefix, suffix are taking up too much width in picker

closes #16097
references ionic-team/ionic-docs#228

BREAKING CHANGES

## Core Components

Removes the `--width` and `--height` variables from the following components, in favor of CSS:

- Button
- FAB Button
- Checkbox
  - Removes the `--width`/`--height` and adds a `--size` variable that is set on the width and height, allowing width and height to still be set and border-radius to still use it as a variable
- Radio
  - Removes the `--width`/`--height` and `--inner-width`/`--inner-height` variables. Calculates inner values based on parent element size.

## Overlay Components

The following components have all be converted to shadow (or scoped) and have CSS variables for width/height:

- Action Sheet _(scoped)_
- Alert  _(scoped)_
- Loading  _(scoped)_
- Menu _(shadow)_
- Modal  _(scoped)_
- Picker _(scoped)_
- Popover  _(scoped)_
- Toast _(shadow)_

The above components will now have the following CSS variables for consistency among overlays:

| Name              |
| ----------------- |
| `--height`        |
| `--max-height`    |
| `--max-width`     |
| `--min-height`    |
| `--min-width`     |
| `--width`         |

If the component does not set the value, it will default to `auto`.

## Removed CSS Variables

The following CSS properties have been removed:

| Component      | Property            | Reason                          |
| ---------------| --------------------| --------------------------------|
| **Button**     | `--height`          | Use CSS instead                 |
| **Button**     | `--margin-bottom`   | Use CSS instead                 |
| **Button**     | `--margin-end`      | Use CSS instead                 |
| **Button**     | `--margin-start`    | Use CSS instead                 |
| **Button**     | `--margin-top`      | Use CSS instead                 |
| **Button**     | `--width`           | Use CSS instead                 |
| **Checkbox**   | `--height`          | Use CSS or `--size`             |
| **Checkbox**   | `--width`           | Use CSS or `--size`             |
| **FAB Button** | `--width`           | Use CSS instead                 |
| **FAB Button** | `--height`          | Use CSS instead                 |
| **FAB Button** | `--margin-bottom`   | Use CSS instead                 |
| **FAB Button** | `--margin-end`      | Use CSS instead                 |
| **FAB Button** | `--margin-start`    | Use CSS instead                 |
| **FAB Button** | `--margin-top       | Use CSS instead                 |
| **Menu**       | `--width-small`     | Use a media query and `--width` |
| **Radio**      | `--width`           | Use CSS instead                 |
| **Radio**      | `--height`          | Use CSS instead                 |
| **Radio**      | `--inner-height`    | Calculated based on parent      |
| **Radio**      | `--inner-width`     | Calculated based on parent      |
2018-12-14 15:45:14 -05:00
Manu MA
f93e4fdc64 fix(datetime): picker inherits mode (#16731)
fixes #16717
2018-12-14 02:07:21 +01:00
Manu MA
f05c7d677d fix(angular): virtual-scroll (#16729)
fixes #16725
fixes #16432
fixes #16023
fixes #14591
fixes #16050
fixes #15587
2018-12-14 00:36:30 +01:00
Manu MA
d4e4b52826 fix(angular): tab-bar slot=top (#16727)
fixes #16722
2018-12-13 22:30:15 +01:00
Manu Mtz.-Almeida
a27fdc31c7 4.0.0-beta.18 v4.0.0-beta.18 2018-12-13 17:40:14 +01:00
Manu Mtz.-Almeida
c65734dd40 chore(): lint before update package.json 2018-12-13 17:03:18 +01:00
Manu Mtz.-Almeida
a961dca7e8 fix(angular): lint issue 2018-12-13 16:43:04 +01:00
Manu MA
b6aea08be4 fix(content): do not scroll on pan-x (#16721) 2018-12-13 16:30:37 +01:00
Manu MA
c4e122362d chore(): update stencil/ionicons (#16720)
* chore(): update stencil/ionicons

* add ionicons copy task
2018-12-13 16:02:30 +01:00
Adam Bradley
0a1b39e60d chore(package): update to stencil 0.16.1-6 (#16713) 2018-12-12 16:40:06 -06:00
Manu MA
2553820f78 fix(angular): swipe to go backs in tabs (#16710) 2018-12-12 17:49:51 +01:00
Paul Stelzer
b6fd440d34 docs(breaking): update breaking change on tabs (#16707) 2018-12-12 17:40:15 +01:00
Manu MA
585a84f829 chore(angular): strict tslint (#16708) 2018-12-12 17:17:43 +01:00
Adam Bradley
ecf1bae441 chore(package): update to stencil 0.16.1-5 (#16706) 2018-12-12 09:54:27 -06:00
Daniel Sogl
453f9acc20 refactor(angular): remove unused import (#16551) 2018-12-12 15:31:07 +01:00
Paul Stelzer
6b0fc49519 fix(refresher): close animation and hidden on pull down (#16700)
fixes #16254
2018-12-12 15:21:59 +01:00
Paul Stelzer
3e15402408 docs(tabs): Add changes after refactor (#16699) 2018-12-12 15:06:27 +01:00
Manu MA
c60adf8bd4 test(progress): reproducible CI screenshot (#16704) 2018-12-12 14:58:22 +01:00
Adam Bradley
060794e9c8 fix(angular): wait for core defined in angular initializer (#16693) 2018-12-11 21:01:15 -06:00
Manu MA
a6a17235d0 fix(item-divider): use prop for sticky (#16691) 2018-12-11 23:06:14 +01:00
Manu MA
e08b739168 test(angular): lazy loading tabs (#16690) 2018-12-11 20:40:19 +01:00
Manu MA
9b83befa76 feat(all): vscode HTML autocompletion support (#16687) 2018-12-11 16:38:59 +01:00
Manu MA
147380533c fix(tab-bar): hide on keyboard events (#16688)
fixes #16419
2018-12-11 16:29:55 +01:00
Manu MA
1f78a7c56a chore(angular): use tslib (#16686) 2018-12-11 16:14:46 +01:00
Paul Stelzer
1a299b01fe feat(toast): add CSS variables for box-shadow and border (#16679)
* feat(toast): add border and box-shadow CSS variable

* feat(toast): add new CSS vars
2018-12-11 13:29:42 +01:00
Steve Kennedy
9a47fc4de0 fix(angular): remove rogue console debug message (#16530)
Fixes #16529
2018-12-11 09:46:14 +01:00
Manu MA
d69427eac0 fix(angular): swipeBackEnabled global config (#16668)
fixes #16624
2018-12-11 01:32:28 +01:00
Manu MA
82172b6043 chore(swiper): update deps (#16667) 2018-12-11 01:20:17 +01:00
Manu MA
2933f61e8d fix(react): add class based APIs (#16665)
fixes #16583
2018-12-11 01:08:00 +01:00
Gustav Bylund
64557a7bcc feat(fab-button): add css border properties (#16656)
allow styling border with css custom properties

fixes #16652
2018-12-10 17:46:49 -05:00
Brandy Carney
2f63049909 fix(tab-bar): update tab-bar to set the color/background of tab-button (#16641)
similar to the PR for segment: https://github.com/ionic-team/ionic/pull/16590, this implements the color/background in the tab-bar and inherits it in tab-button

closes #14853
2018-12-10 17:33:06 -05:00
Paul Stelzer
9167fb4fe1 feat(progress-bar): add progress bar component (#16559)
resolves #16558
2018-12-10 17:03:52 -05:00
Cam Wiegert
a2c7b9558b fix(button/chip): move hover styles into media query (#16664)
This ensures that all :hover styles live inside a (any-hover: hover)
media query.

closes #16108
2018-12-10 15:02:59 -06:00
Manu Mtz.-Almeida
f0ef061a6b test(angular): add lazy loading tabs test 2018-12-10 21:32:16 +01:00
Manu Mtz.-Almeida
509cfd54aa chore(angular): update dependencies
fixes #16539
2018-12-10 21:32:16 +01:00