Commit Graph

2969 Commits

Author SHA1 Message Date
Manu MA
0120eee8d4 fix(inputs): fix styles in firefox (#17066) 2019-01-11 20:28:56 +01:00
Manu MA
6364e4e2a1 fix(inputs): keyboard focus improvements (#16838)
fixes #16815
fixes #16872
fixes #13978
fixes #16610
2019-01-11 19:36:02 +01:00
Sankha Lakshan Karunasekara
275d385c17 docs(item): update usage documentation (#16448)
resolves #16440
2019-01-11 12:57:59 -05:00
Brandy Carney
d2fa946c18 fix(item): no lines on item should take precedence over list lines (#17049)
fixes #16900
2019-01-11 10:37:54 -05:00
Manu MA
63e0501ae6 fix(input): disable shadow-dom for text inputs (#17043)
fixes #17020
2019-01-11 16:07:38 +01:00
Manu MA
418052f84b fix(fab-button): add default padding for fab-button (#17050) 2019-01-11 00:58:35 +01:00
Brandy Carney
82457d874b fix(action-sheet): remove the height shift on press and update iOS design (#16862)
This changes the border into a linear gradient background image which allows us to avoid the height decrease on press and have the same border as the background color when pressed.

- merges all action sheet tests to the basic directory (except standalone, translucent), references #16715
- removes the height shift on press, fixes #16790
- fixes the cancel button on iOS so it is `#ffffff` by default
- gets the look of the action sheet closer to native for iOS
- only applies the translucent and backdrop filter if it is supported by the browser (chrome will not show transparent anymore)
- updates documentation to describe when translucent will show up
- adds documentation on how to use screenshot tests
2019-01-10 18:13:31 -05:00
Adam Bradley
169da3709b fix(datetime): do no change order of formatted dates w/ rtl (#17024) 2019-01-09 17:20:36 -06:00
Tamesh Sharma
f1c970af8d test(avatar): update index.html (#17017) 2019-01-09 12:08:01 -06:00
Adam Bradley
1338d71dff fix(picker): do not change datetime/picker column order in RTL (#17018)
Closes #16294
2019-01-09 12:06:13 -06:00
Adam Bradley
b4f34054ef fix(icon): fix rtl detail icon for ios (#17016)
Closes #14958
2019-01-09 11:31:30 -06:00
Manu Mtz.-Almeida
bb40f3e38e test(nav): fix e2e tests 2019-01-09 17:30:04 +01:00
Abdelaziz Bennouna
6d6472baf5 fix(col): handle RTL offset-*, pull-*, and push-* (#16702) 2019-01-09 09:43:14 -06:00
Adam Bradley
48ab42f8ad test(popover): add popover rtl test (#17015) 2019-01-09 09:34:42 -06:00
Abdelaziz Bennouna
7846019612 fix(popover): position properly in RTL / MD modes (#16745) 2019-01-09 09:13:30 -06:00
Adam Bradley
c68292b78f test(rtl): add rtl script to all e2e tests (#17009) 2019-01-08 15:06:23 -06:00
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