Commit Graph

10061 Commits

Author SHA1 Message Date
Brandy Carney
b8fdf41737 5.0.0-beta.6 v5.0.0-beta.6 2020-01-23 17:17:56 -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
6e0c745703 4.11.9 2020-01-23 13:16:15 -07: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
Ely Lucas
5d8e0ed703 fix(react): remove leaving view when routerdirection is back, fixes #20124 (#20268) 2020-01-23 13:10:29 -07:00
Ely Lucas
9b2680d40d fix(react): adding missing overlay component events, fixes #19923 (#20266) 2020-01-23 13:10:29 -07:00
Ely Lucas
85be000a4c fix(react): support routes without a path for notfound routes, fixes #20259 (#20261) 2020-01-23 13:10:29 -07:00
Ely Lucas
f971f76b4b fix(react): update icon types to be a string as well, fixes #20229 (#20230) 2020-01-23 13:10:29 -07:00
Ely Lucas
50dcab5c32 fix(react): re attach props on update, fixes 20192 (#20228) 2020-01-23 13:09:21 -07:00
Ely Lucas
9a8057cdf2 fix(react): Don't render overlay children if isOpen is false, fixes #20225 (#20226) 2020-01-23 13:09:21 -07:00
Liam DeBeasi
b59d7647fd feat(react): add Ionic Animations wrapper (experimental) (#20273) v4.11.9 2020-01-23 14:26:29 -05:00
Schneider Werner Walter
7af0198e2e chore(ngAdd): use project name in builders
Closes #19765
2020-01-23 10:22:11 -05:00
Eduardo Roth
e693169cf0 fix(ngAdd): fix path for css styles in monorepo (#19904)
* feat(ng-add): Fix path for css styles in monorepo

* fix(): Changes proposed by SchnWalter

* chore(): Remove unused var

* chore(): Remove unused var
2020-01-23 10:11: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
Liam DeBeasi
34bfc62820 merge release-5.0.0-beta.5
5.0.0-beta.5
2020-01-17 19:20:24 -05:00
Liam DeBeasi
3024a216ec 5.0.0-beta.5 v5.0.0-beta.5 2020-01-17 17:55:15 -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
Ely Lucas
dc78f98153 fix(react): updating icon type and add caret to internal icons (#20216) 2020-01-16 09:49:32 -07:00
Brandy Carney
ad96c462a6 docs(breaking): update ionicons to link to its own changelog 2020-01-15 15:59:11 -05:00
Ely Lucas
28aa5eed94 chore(react): updating types for location state to fix type errors (#20207) 2020-01-14 12:49:58 -07: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
88fa670bc9 release-4.11.8 2020-01-13 10:28:18 -07:00
Ely Lucas
a1c5a06812 4.11.8 2020-01-13 10:15:08 -07:00
Ely Lucas
57eec1cb0a fix(react): add missing react memory router 2020-01-13 10:12:07 -07:00
Ely Lucas
d294e67f52 fix(react): supporting ios and md props on icons (#20170) 2020-01-13 10:12:07 -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
Ely Lucas
f290025d73 chore(): bumping timeout 2020-01-13 10:06:39 -07:00
Brandy Carney
6fc1612f42 docs(breaking): add breaking changes for v5 (#20156) v4.11.8 2020-01-13 11:29:29 -05:00
Rajat Soni
14eda3c2ba docs(): fix broken grid layout link (#20188) 2020-01-13 09:04:55 -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
Brandy Carney
808b1bd461 merge release-5.0.0-beta.4
Release 5.0.0 beta.4
2020-01-06 13:08:35 -05:00
Brandy Carney
dae5c5d28c 5.0.0-beta.4 v5.0.0-beta.4 2020-01-06 12:04:40 -05:00