Commit Graph

1738 Commits

Author SHA1 Message Date
Liam DeBeasi
44211c11ee fix(refresher): update animation for dashed property values (#20310) 2020-01-27 12:21:26 -05:00
Brandy Carney
33186ba716 fix(picker): include showBackdrop in interface (#20301)
fixes #18893
2020-01-27 11:20:32 -05:00
Brandy Carney
767b005eac fix(components): inherit text indent in all components with text inherit (#20300)
fixes #17786
2020-01-27 11:18:59 -05:00
Brandy Carney
7b44ae2a40 fix(toast): inherit color in cancel button for a toast with color (#20299)
fixes #20139
2020-01-27 11:16:23 -05:00
Brandy Carney
1c2d64873e docs(list-header): update list header API changes and usage (#20289)
closes #20284
2020-01-24 16:06:54 -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
Ely Lucas
445f129e2d release-4.11.9 2020-01-23 13:56:20 -07:00
Nikos Douvlis
d76a5031c4 feat(segment-button): add --indicator-height property to segment button (#19653) 2020-01-23 15:55:57 -05:00
Ely Lucas
3a56228290 fix(core): updating type of input value to accept numbers, fixes #20173 (#20267) 2020-01-23 13:10:29 -07:00
Liam DeBeasi
b59d7647fd feat(react): add Ionic Animations wrapper (experimental) (#20273) 2020-01-23 14:26:29 -05:00
Liam DeBeasi
e613f63590 fix(content): set min-height to allow for sticky headers(#20265)
fixes #20258
2020-01-22 11:42:24 -05:00
Liam DeBeasi
f896821753 fix(segment): clicking disabled button no longer adds ripple to active button (#20254)
fixes #20253
2020-01-21 16:36:41 -05:00
Liam DeBeasi
443cbd9eb2 fix(modal): card-style modal now opens at full width on larger devices (#20256)
fixes #20255
2020-01-21 15:31:44 -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
Brandy Carney
9232f16eea fix(card): remove top padding of content in iOS if under header (#20223) 2020-01-17 15:10:19 -05:00
Liam DeBeasi
dbccf8dd77 docs(title): update button example with large title (#20222)
fixes #20217
2020-01-17 10:04:37 -05:00
Liam DeBeasi
8732a10757 refactor(): remove deprecated controllers (#20165)
* remove action-sheet-controller and alert-controller

* rmeove loading controller

* remove popover controller

* remove toast controller

* remove picker-controller

* remove modal controller

* remove menu controller

* update menu ctrl in tests

* run linter

* remove window refs

* Update core/src/components/loading/test/standalone/index.html

Co-Authored-By: Brandy Carney <brandyscarney@users.noreply.github.com>

* remove window from modal tests

* test

* testing timeout

* change timeout

Co-authored-by: Brandy Carney <brandyscarney@users.noreply.github.com>
2020-01-14 12:09:35 -05:00
Liam DeBeasi
5b0400d5af fix(modal): prevent double dismiss via gesture and backdrop tap on card-style modal (#20203)
* fix double dismiss via backdrop tap

* add back deleted line

* fix whitespace
2020-01-14 12:08:32 -05:00
Brandy Carney
dc66ce48e1 feat(segment): implement iOS 13 segment with animation (#19036)
Changes
Closes #18663

* Converts Segment to shadow
* Enables gesture to swipe between segment buttons
* Adds indicator transition to slide the indicator between buttons
* Updates global theme variables
* Removes activated state, now handled by the gesture
* Updates iOS to latest iOS 13 UI
* Ensures customization is working for the buttons and indicator
* Updates the e2e tests
2020-01-14 11:51:28 -05:00
Liam DeBeasi
8e11f79fcc fix(header): header opacity properly resets on collapsible titles (#20202) 2020-01-14 11:40:35 -05:00
Liam DeBeasi
9d63b41a52 fix(content): scroll-content div now takes up full height of container (#20194)
fixes #20185
2020-01-13 16:09:19 -05:00
Ely Lucas
a1c5a06812 4.11.8 2020-01-13 10:15:08 -07:00
Ely Lucas
f8773a4e04 chore(docs): updating ActionSheet React sample 2020-01-13 10:12:07 -07:00
Ely Lucas
432887b410 fix(react): fixing type of icon in ToastOptions, ActionSheetOptions, fixes #20100 2020-01-13 10:12:07 -07: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
Asif Rahman
7b032c5e9b feat(datetime): add custom timezone display property (#19519)
resolves #19401
2020-01-09 15:29:40 -05:00
Andreas Greimel
39d12629db fix(picker): pick correct option at low velocities (#19660)
fixes #19659
2020-01-09 13:35:01 -05:00
Mike Hartington
cf287fda7f fix(modal): card-style modal offset now matches the iOS spec (#20166)
* chore(core): better animations
Updates animations to be closer to native

* Add css alternative

Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
2020-01-09 10:57:45 -05:00
Adam Bradley
3aa47e6e2f fix(ssr): reflect content-id attribute (#20169)
Co-authored-by: Brandy Carney <brandyscarney@users.noreply.github.com>
2020-01-08 21:36:30 -06:00
Liam DeBeasi
53fad978c5 fix(action-sheet): allow scrollable action-sheet with many options (#20145)
fixes #17311
2020-01-08 13:29:44 -05:00
Liam DeBeasi
3b4988aa60 feat(toast): expose shadow parts (#20146)
resolves #19722
2020-01-06 15:53:26 -05:00
Liam DeBeasi
814ec765b9 feat(refresher): add MD native refresher (#20096)
resolves #17316
2020-01-03 14:56:26 -05:00
Liam DeBeasi
a01c10267e feat(radio): add --border-radius and --inner-border-radius variables (#20140) 2020-01-03 13:14:39 -05:00
Alex Arvanitidis
c32a7bcd20 feat(checkbox): add --checkmark-width variable (#19933)
resolves #16803

Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
2020-01-03 12:20:04 -05:00
Brandy Carney
9318d2418e fix(icons): fix the ellipsis fill in ionicons (#20137)
- update docs icon usage for Ionicons 5
- update tests to remove mode prefixed icons
- update tests to use the correct icons for Ionicons 5
- update to latest ionicons dev which fixes the ellipsis icon fill
2020-01-03 12:19:17 -05:00
Liam DeBeasi
02a46a1007 feat(toggle): add --border-radius and --handle-border-radius variables (#20141) 2020-01-03 12:14:02 -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
Antoine
6d6aba6d40 docs(item): add button property to items with click handler (#20049) 2019-12-16 13:47:17 -05:00
Liam DeBeasi
6612604733 refactor(searchbar): set inputmode default to undefined (#20080)
fixes #20074

BREAKING CHANGE: The `inputmode` property for `ion-searchbar` now defaults to `undefined`. To get the old behavior, set the `inputmode` property to `"search"`.
2019-12-16 12:16:54 -05:00
Liam DeBeasi
1cabb53650 fix(modal): account for safe area on devices with a notch (#20072)
* fix card modal on notch phones

* only apply safe area for card modal

* fix styles, fix gesture race condition

* a few more tweaks
2019-12-16 12:09:34 -05:00
Brandy Carney
9d1fe2e14f test(select): remove debuggers 2019-12-16 11:52:28 -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
6e0b9c4548 fix(picker): pass selected value to handler on dismiss (#20042)
fixes #20036
2019-12-05 11:14:39 -05:00
Liam DeBeasi
656c356343 chore(animations): remove deprecated methods (#20041) 2019-12-05 09:29:38 -05:00
William Reiske
66e6dfbe44 docs(progress-bar): fix typo (#20009) 2019-12-04 14:43:20 -05:00