Commit Graph

307 Commits

Author SHA1 Message Date
Liam DeBeasi
0e91c6c502 fix(): properly scroll to input with scroll assist (#20742)
fixes #19589
2020-03-16 15:38:11 -04:00
Liam DeBeasi
ec4878ac08 fix(ios): large title animation now works properly in a modal (#20703)
fixes #20696
2020-03-06 10:09:39 -05:00
Liam DeBeasi
0e0e401d86 fix(animation): reset all temporary flags when interrupting an animation (#20627)
fixes #20602
2020-02-27 11:17:43 -05:00
Liam DeBeasi
fe8d74d08c fix(menu): allow ssr to work properly with hardware back button updates (#20629) 2020-02-26 15:54:50 -05:00
Liam DeBeasi
71875417f2 fix(ios): large title transition works properly in tabbed applications (#20555)
fixes #20482
2020-02-24 11:38:50 -05:00
Liam DeBeasi
6b2a929cd7 fix(menu): hardware back button now dismisses side menu if open (#20558)
fixes #20559
2020-02-24 11:37:51 -05:00
Liam DeBeasi
8d3ce8d29c fix(modal): allow swipe to close animation to be overridden (#20585)
fixes #20577
2020-02-24 11:22:07 -05:00
Liam DeBeasi
dd32a5e278 fix(ios): clamp out of bounds values for swipe to go back (#20540)
fixes #20505
2020-02-18 15:14:30 -05:00
Liam DeBeasi
e580b88477 fix(ios): translucent toolbar blur no longer obscures entering page title (#20314)
fixes #19158
2020-01-29 15:12:00 -05:00
Liam DeBeasi
b14471178e fix(menu): fix jump when dragging open (#20288)
fixes #20286
2020-01-24 15:22:51 -05:00
Brandy Carney
94159291b2 feat(components): improve button states and add new css properties (#19440)
Before users had to know the exact opacity that the MD/iOS spec called for in order to change the hover or focused background color. This allows them to change the background without having to know the opacity. 

- changes apply to Action Sheet (Buttons), Back Button, Button, FAB Button, Item, Menu Button, Segment Button, Tab Button
- greatly reduces the requirement by users to set the background hover, focused states for dark modes and custom themes, also eliminates the need to know what the hover opacity is for each based on the spec
- updates the MD dark theme per their spec
- adds a component guide for internal use changing Ionic components

references #18279 fixes #20213 fixes #19965

BREAKING CHANGE:

*Activated Class*

The `activated` class that is automatically added to buttons on press has been renamed to `ion-activated`. This will be more consistent with our `ion-focused` class we add and also will reduce conflicts with user's CSS.

*CSS Variables*

The `--background-hover`, `--background-focused` and `--background-activated` CSS variables on components that render native buttons will now have an opacity automatically set. If you are setting any of these like the following:

```
--background-hover: rgba(44, 44, 44, 0.08);
```

You will likely not see a hover state anymore. It should be updated to only set the desired color:

```
--background-hover: rgba(44, 44, 44);
```

If the opacity desired is something other than what the spec asks for, use:

```
--background-hover: rgba(44, 44, 44);
--background-hover-opacity: 1;
```
2020-01-23 16:57:47 -05:00
Liam DeBeasi
32a7401576 fix(animation): add property conversions for CSS Animations (#20252)
fixes #20251
2020-01-21 12:28:41 -05:00
Manu MA
a5229d90ca refactor(): remove checked property in favor of parent value (#19449)
BREAKING CHANGE:


The following components have been updated to remove the checked or selected properties:

- Radio
- Segment Button
- Select

Developers should set the value property on the respective parent components in order to managed checked/selected status.

Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
2020-01-17 17:22:26 -05:00
Liam DeBeasi
4bc3dc73c1 fix(menu): clamp out of bounds swipe value (#19684)
fixes #18927
2020-01-13 10:09:28 -07:00
Brandy Carney
6fc1612f42 docs(breaking): add breaking changes for v5 (#20156) 2020-01-13 11:29:29 -05:00
David Boho
49c394c3d3 fix(animation): support css animation on older devices (#20020)
fixes #20017
2019-12-18 13:19:07 -05:00
Liam DeBeasi
04e7c03132 feat(refresher): add iOS native refresher (#20037)
fixes #18664
2019-12-18 10:52:58 -05:00
Manu MA
b3b3312711 feat(modal): add card-style presentation with swipe to close gesture (#19428)
resolves #18660
2019-12-10 16:02:41 -05:00
Liam DeBeasi
56f67bd9a5 fix(animations): convert hyphenated properties to camel case when using Web Animations (#20059)
fixes #20058
2019-12-10 15:28:44 -05:00
Liam DeBeasi
656c356343 chore(animations): remove deprecated methods (#20041) 2019-12-05 09:29:38 -05:00
Liam DeBeasi
300d54356d fix(title): large title nav transition adds correct safe area value (#20029)
fixes #20028
2019-12-02 12:37:33 -05:00
Liam DeBeasi
e76619478c fix(animation): properly update Web Animation, clean up types (#19964)
Co-authored-by: manucorporat <manu.mtza@gmail.com>
2019-11-21 11:08:27 -05:00
Liam DeBeasi
fc4bb2db5c fix(header): support collapsible header with multiple toolbars (#19909)
* begin fix collapsible title with multi toolbars

* fix back button

* adjust large title positioning

* a few adjustments

* remove whitespace

* add types

* fix type
2019-11-18 08:57:56 -05:00
Adam Bradley
0d40d3f3b7 refactor(back-button): convert to shadow component (#19411)
references #18899
2019-11-14 14:39:35 -05:00
Liam DeBeasi
21484f1f3a fix(gesture): release gesture when disabling (#19855)
fixes #19848
2019-11-12 10:45:06 -05:00
Ely Lucas
1af1e2a14f chore(core): fixing test from bad rebase 2019-11-07 15:32:39 -07:00
Liam DeBeasi
e5e9dd5dfe fix(menu): clamp out of bounds swipe value (#19684)
fixes #18927
2019-11-07 15:24:09 -07:00
Liam DeBeasi
cace1b357e fix(ios): only animate large title if back button is in start slot (#19846)
fixes #19840
2019-11-06 11:14:09 -05:00
Mike Hartington
60aa027903 chore(): fix tabs (#19821)
* fix(tabs): do not wait on child tab setActive() lazy loading

* whenDefined example

* chore(): fix lint
2019-11-01 09:29:30 -07:00
Liam DeBeasi
7bd4412889 fix(animation): track correctly when updating CSS Animation (#19813)
* fix bug

* update menu

* fix
2019-10-31 12:50:54 -04:00
Liam DeBeasi
96a5e600e5 feat(animation): cubic-bezier easing conversion utility (experimental) (#19788)
resolves #19789
2019-10-31 10:16:33 -04:00
Liam DeBeasi
7d417154c5 feat(animation): Animation Identifiers (#19771)
resolves #19550
2019-10-29 15:44:41 -04:00
Liam DeBeasi
e6e01381eb fix(ios): hide leaving view after nav transition to avoid flicker (#19691)
fixes #19674
2019-10-18 10:08:42 -04:00
Liam DeBeasi
e3233000c6 fix(menu): clamp out of bounds swipe value (#19684)
fixes #18927
2019-10-18 08:56:53 -04:00
Liam DeBeasi
df1bc1e627 refactor(gesture): update Gesture API to latest (#19671) 2019-10-17 14:18:39 -04:00
Liam DeBeasi
2f882373bf fix(animations): ensure all elements are cleaned up when calling .destroy() (#19654)
* fix race condition

* remove zero
2019-10-14 14:18:29 -04:00
Brandy Carney
981cb5674b chore(tests): update tests and add e2e to ci (#19637)
- increase timeout to fix failing tests
2019-10-11 16:51:02 -04:00
Liam DeBeasi
32b97582cb refactor(): remove old animation utility (#19586)
Use Ionic Animations instead
2019-10-11 13:47:52 -04:00
Liam DeBeasi
0d699fb2e4 perf(animations): do not create setTimeout if infinite iterations (#19632)
closes #19627
2019-10-11 12:49:54 -04:00
Liam DeBeasi
589e67e4af perf(animations): wrap loops in requestAnimationFrame call (#19630)
fixes #19629
2019-10-11 12:00:52 -04:00
Adam Bradley
dbf6a448ff feat(menu): default to overlay for ios menu (#19063)
resolves #18662
2019-10-10 14:34:16 -04:00
Brandy Carney
97964a9e9f refactor(anchor): remove anchor in favor of router-link (#18935)
BREAKING CHANGES

The deprecated `ion-anchor` component has been removed in favor using `ion-router-link`. It should still only be used with vanilla and Stencil JavaScript projects. For Angular projects, use an `<a>` and `routerLink` with the Angular router.
2019-10-10 14:34:16 -04:00
Brandy Carney
07d5f77584 refactor(nav): remove nav-push, nav-pop nav-root (#19240)
BREAKING CHANGES

Removes ion-nav-pop, ion-nav-push and ion-nav-set-root in favor of using ion-nav-link with router-direction
2019-10-10 14:34:16 -04:00
Manu MA
3c4e65ba97 feat(): typed @ionic/docs (#19547) 2019-10-08 20:35:45 +02:00
Liam DeBeasi
a7b964279b fix(overlay): ensure lifecycles fire properly (#19579) 2019-10-08 10:41:52 -04:00
Liam DeBeasi
19ee21a06c fix(md): fix flicker when navigating back in MD mode on certain Android devices (#19553)
fixes #19491
2019-10-07 10:19:39 -04:00
Liam DeBeasi
dea1c2635d fix(header): fix collapsing iOS header when using with split pane (#19480)
fixes #19541
2019-10-04 15:21:15 -04:00
Liam DeBeasi
17614cdcb3 refactor(animation): rename AnimationOnFinishOptions to AnimationCallbackOptions (#19551) 2019-10-04 12:19:23 -04:00
Manu MA
f4818a1f3a refactor(animation): update animation API (#19529) 2019-10-02 19:52:46 +02:00
Liam DeBeasi
9f5ed231c3 fix(animation): animation timer fallback now accounts for iterations (#19527) 2019-10-02 10:41:29 -04:00