Commit Graph

1053 Commits

Author SHA1 Message Date
Manu MA
44fb45e2bc perf(angular): bundle size improvements for angular (#16966) 2019-01-07 22:05:36 +01:00
Arthur
45db44abe7 docs(grid): fix links to row and col components (#16859) 2019-01-04 11:31:23 -05:00
Manu MA
7ee8aa66dd fix(ripple-effect): never capture click (#16955)
fixes #16939
2019-01-04 12:07:47 +01:00
Michael T. Schall
d22e57db72 docs(virtual-scroll): fix property name (#16952) 2019-01-04 11:46:58 +01:00
Abdelaziz Bennouna
005f4135ac docs(segment): update segment usage to include label (#16882)
Adapt docs to 4.0.0-beta.16 breaking change
2019-01-03 17:45:18 -05:00
Manu MA
8ee9205629 fix(tabs): fix goto root (#16926)
fixes #16917
2019-01-01 17:51:38 +01:00
Manu MA
cda2573fdd chore(): update stencil (#16921)
* chore(): update stencil

* fix angular
2018-12-31 17:35:33 +01:00
kplhub
09726b0d35 feat(radio-group): add missing implementation for property allowEmptySelection (#16880)
fixes #16841
2018-12-31 17:24:44 +01:00
Javier Aviles
19c8d2252a docs(infinite-scroll): usage docs
* Update readme.md

* Update readme.md

* Modifying readme for scrollInfinite in the right place
2018-12-31 17:14:37 +01:00
Manu MA
6ca7645258 fix(tab-button): allow standalone tab-button (#16905)
* fix(tab-button): allow standalone tab-button

fixes #16845

* fix lint issue
2018-12-31 12:51:36 +01:00
Manu MA
302be5392c fix(overlays): make them hidden until presented (#16903)
fixes #16685
2018-12-29 01:31:33 +01:00
Manu Mtz.-Almeida
3d656ac312 docs(all): improve type docs for event 2018-12-28 20:38:24 +01:00
Manu Mtz.-Almeida
b3316d480f fix(fab): fab size when href provided
fixes #16833
2018-12-28 20:38:24 +01:00
Manu Mtz.-Almeida
f05c59979f fix(menu): swipe-back has higher priority
fixes #16864
2018-12-28 20:38:24 +01:00
Manu Mtz.-Almeida
f9483a0c13 refactor(utils): reorganize some chunks 2018-12-28 20:38:24 +01:00
Manu MA
8b140306ef refactor(animation): remove ion-animation-controller (#16842) 2018-12-21 13:17:42 +01:00
Manu MA
1227d57ac7 fix(select): interfaceOptions can customize mode (#16826)
fixes #16825
2018-12-20 00:50:27 +01:00
Brandy Carney
74587db672 fix(segment): update indicator and border based on theme (#16821)
adds an example to the custom e2e test

fixes #16820
2018-12-19 12:40:12 -05:00
Manu Mtz.-Almeida
e2ee0b60ad fix(modal): --box-shadow
fixes #16798
2018-12-19 16:55:35 +01:00
Manu MA
fb380028ee fix(core): ts lint issue (#16814) 2018-12-19 13:18:37 +01:00
Manu MA
d1cecf142b fix(virtual-scroll): fixes dynamic changes 2018-12-19 00:27:04 +01:00
Manu Mtz.-Almeida
dfbb5b6e6e docs(modal): add docs for params 2018-12-18 18:34:29 +01:00
Brandy Carney
e3d7282b57 fix(action-sheet): set 100% height to fix scrollable options (#16789)
* test(action-sheet): include more buttons to scroll in the screenshot
2018-12-17 17:27:03 -05:00
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
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
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
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
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 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
2553820f78 fix(angular): swipe to go backs in tabs (#16710) 2018-12-12 17:49:51 +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
Manu MA
a6a17235d0 fix(item-divider): use prop for sticky (#16691) 2018-12-11 23:06:14 +01:00
Manu MA
147380533c fix(tab-bar): hide on keyboard events (#16688)
fixes #16419
2018-12-11 16:29:55 +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
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