Commit Graph

9103 Commits

Author SHA1 Message Date
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
Manu MA
a9247ce0e9 chore(): use defineCustomElements exclude (#16647) 2018-12-09 18:45:50 +01:00
Paul Stelzer
0e09ed6065 chore(release): fixes the build on Windows (#16645) 2018-12-09 17:58:44 +01:00
Manu MA
437ad09122 refactor(angular): lazy loading tabs (#16637)
Fixes #16619
2018-12-08 17:23:39 +01:00
Brandy Carney
86fc9a557e fix(toolbar): style all slotted content in order not only buttons (#16617)
- style all slotted content to order properly in a toolbar, not only buttons
- removes duplicated sass variables
- use current color in select so icon will inherit toolbar color

BREAKING CHANGES

- Removes `--icon-color` and `--placeholder-color` from select in favor of inheritance with opacity
2018-12-07 17:55:59 -05:00
Paul Stelzer
0c61e79268 chore(issues): fix Ionic Appflow support link (#16640) 2018-12-07 16:47:51 -05:00
Paul Stelzer
7c30689001 chore(issues): update the issue templates (#16578) 2018-12-07 11:07:01 -05:00
lukejoliat
c036cb0924 feat(range): add support for range bar border radius (#16519) 2018-12-07 10:42:06 -05:00
Manu MA
1a27bce7fd chore(): release script for docs (#16620) 2018-12-07 01:26:53 +01:00
Manu MA
28b40fc725 refactor(angular): prefix all ionic components (#16618)
fixes #16550
2018-12-07 00:39:07 +01:00
Manu MA
edf3659949 Fix some angular (#16615)
* fix(angular): platform types

fixes #16535

* fix(angular): memory leak in lifecycle events

fixes #16285

* fix ci

* single core
2018-12-06 22:19:35 +01:00
Manu MA
119e0c1fd2 refactor(all): avoid using export const enum (#16614)
* refactor(all): avoid using export const enum

fixes #16497

* add tslint
2018-12-06 21:19:49 +01:00