954 Commits

Author SHA1 Message Date
Yarden Eitan
8170adaf65 Bumped version number to 84.4.0. 2019-05-28 10:02:33 -04:00
featherless
b61bdde17c [Buttons] Refactor dynamic type support to use mdc_scaledFontForTraitEnvironment. (#7489)
Part of https://github.com/material-components/material-components-ios/issues/7470

The existing behavior is being replaced with the identical behavior implemented by UIFont's `-mdc_scaledFontForTraitEnvironment:`, shown below:

8a139a8732/components/Typography/src/UIFont%2BMaterialScalable.m (L56-L64)
2019-05-25 01:47:51 -04:00
Galia Kaufman
6812cdaccd Merge branch 'release-candidate' into develop 2019-05-23 15:16:30 -04:00
featherless
3d9e1c2bde Merge branch 'release-candidate-hotfix' into develop 2019-05-22 16:34:06 -04:00
featherless
ddf0eebeb3 Bump the release. 2019-05-22 12:59:38 -04:00
Cody Weaver
f26673676d
[Buttons] Update dynamic type to match other components (#7425)
## Motivation
`MDCButton` was currently using `mdc_scaledFontForCurrentSizeCategory` this method makes the component harder to test. This also is against the convention we have decided as a team.

## Detailed changes
Replace the usage of `mdc_scaledFontForCurrentSizeCategory` with `mdc_scaledFontForSizeCategory:`. This also adds test for when a notification is posted that the fonts get updated.

Related to #7388
2019-05-22 08:56:03 -04:00
Galia Kaufman
72adcd3e45 Bumped version number to 84.3.0. 2019-05-21 15:25:58 -04:00
Robert Moore
dd693ce08d Merge branch 'release-candidate' into develop 2019-05-16 15:10:18 -04:00
Cody Weaver
daee4c058c
[Buttons] Remove dependency on TypographyThemer in theming extension. (#7391)
In order for us to add dynamic type to our theming extension we need to be setting the font directly in the theming extension. We cannot pass the scheme to the themer object because that would require us updating the themer object that we plan to deprecate. This removes that dependency to allow us to set the font directly in the theming extension and gets the Material iOS team off the themer object. This is in greater service to #7388.

Closes #7393
2019-05-16 07:54:14 -07:00
Robert Moore
8694c55220 Bumped version number to 84.2.0. 2019-05-16 10:31:18 -04:00
Andrew Overton
36018edb61
[List] Add List theming extension (#7397)
This PR adds the List theming extension
This work blocks #6965.
Closes #6965.
2019-05-15 14:17:38 -04:00
Yarden Eitan
c9b08814ce Bumped version number to 84.1.1. 2019-05-07 09:43:28 -04:00
Andrew Overton
3fa978c574 Bumped version number to 84.1.0. 2019-05-06 13:51:35 -04:00
randallli
414f7426dd Bumped version number to 84.0.0. 2019-05-01 13:30:24 -04:00
featherless
3543c1cfbd Merge branch 'release-candidate' into develop 2019-05-01 01:00:19 +03:00
featherless
97b25b1227 Bump the release to 83.0.2 2019-04-30 23:55:38 +03:00
Yarden Eitan
119fcf9ffd
[Chips] Adding Ripple support for Chips (#7270)
In this PR I am adding initial support for Ripple in Chips as an opt-in behavior.
The ripple will be placed in the .m file and not exposed in the header file, similarly to the existing Ink.
Clients who wish to modify the Ripple's color for state can use the existing inkColorForState API, similarly to how Ripple was integrated in Buttons.

There are currently some issues in fully integrating the Selected state that Stateful Ripple provides into Chips. There have been bugs filed that block this effort at its current state: #7265 #7266 #7267 

As part of the effort for: #7268
2019-04-30 11:45:23 -04:00
featherless
c5d4553b2c Merge branch 'release-candidate' into develop 2019-04-26 22:32:23 +03:00
featherless
60c4ddbbe8 Bump the release. 2019-04-26 00:43:52 +03:00
featherless
bedd1134ce Merge branch 'release-candidate' into develop 2019-04-23 20:07:11 +03:00
Andrew Overton
bf5d5e1c1d
[Dialogs] Graduate Dialogs theming extensions to ready (#7190)
This PR updates the dialogs theming extensions to ready.

Closes #7163.
2019-04-23 11:28:02 -04:00
featherless
e4f8320695 Bump the release number to 83.0.0. 2019-04-22 22:49:19 +03:00
Cody Weaver
bb61b24567
[AppBar] Graduate theming extension to ready (#7182)
## Context
As part of our work to move away from themer objects and onto theming extension we need to graduate all of our components theming extensions to the MaterialComponents pod.

## The fix
This PR updates the AppBar theming extension to the MaterialComponents pod, as well as updating examples and unit test.
2019-04-22 14:13:45 -04:00
Cody Weaver
9696880a71
[ActionSheet] Graduate theming extension to ready (#7181)
## Context
As part of our work to move away from _themer_ objects and onto _theming extension_ we need to graduate all of our components theming extensions to the MaterialComponents pod. 

## The fix
This PR updates the ActionSheet theming extension to the MaterialComponents pod, as well as updating examples and unit test. Additionally this removes the documentation for _themers_ since they were never out of the MaterialComponentsBeta podspec. The documentation for _themers_ is replaced with documentation for the _theming extension_.

## Bug
Closes #7160
2019-04-22 07:40:39 -04:00
Andrew Overton
94e5a978d7
[Buttons] Graduate Buttons+Theming to ready (#7187)
This PR graduates the buttons theming extension to ready.

Closes #7158.
2019-04-19 13:57:00 -04:00
Andrew Overton
a81878c263
[TextFields] Graduate TextFields theming extension to ready (#7184)
This PR graduates the textfields theming extensions to ready.

Closes #7161.
2019-04-19 12:47:43 -04:00
Wenyu Zhang
cb4ffbc580
[Chips] Move Chips Theming to Ready. (#7179)
closes https://github.com/material-components/material-components-ios/issues/7164
2019-04-19 12:00:55 -04:00
Wenyu Zhang
9aa1d72bc7
[Cards] Move Cards theming extension to ready. (#7178)
closes https://github.com/material-components/material-components-ios/issues/7165
2019-04-19 11:36:20 -04:00
Wenyu Zhang
ebb9b84be8
Move Tabs theming extension to ready. (#7176)
closes https://github.com/material-components/material-components-ios/issues/7162
2019-04-18 23:24:10 -04:00
Yarden Eitan
5bed3961e6
[ContainerScheme] Graduate ContainerScheme to ready. (#7170)
This PR graduates ContainerScheme to ready.

This includes updating the podspecs, podfile, all the import statements related to ContainerScheme, updating .kokoro rewrite rules, and finally the readme to not have ContainerScheme regarded to as being in beta.

Ran locally kokoro with -b bazel successfully.

Resolves #6732
2019-04-18 09:25:02 -04:00
Wenyu Zhang
998cdda22e Bumped version number to 82.0.0. 2019-04-16 18:03:15 -04:00
Wenyu Zhang
d506ec4088 Revert "Bumped version number to 81.2.0."
This reverts commit de8eee65d9af4420cf96bed5697a8f31daafc300.
2019-04-16 18:02:46 -04:00
Wenyu Zhang
de8eee65d9 Bumped version number to 81.2.0. 2019-04-16 16:25:15 -04:00
featherless
a3e215daa7
[ios8]! Drop support for iOS 8 in all components. (#7135)
Closes https://github.com/material-components/material-components-ios/issues/4656

I used the following `grep` to find references to iOS 8:

    grep -rI "8\.0" .
2019-04-12 23:08:35 +03:00
Yarden Eitan
8d750dc979 Bumped version number to 81.1.0. 2019-04-09 12:59:57 -04:00
Cody Weaver
02e802767b
[Buttons] Integrate MDCRipple into MDCButton (#7087)
## Related links
* Bug: b/129773399
* Ripple: [MDCRipple](https://github.com/material-components/material-components-ios/tree/develop/components/Ripple)

## Introduction
This PR integrates [`MDCStatefulRippleView`](https://github.com/material-components/material-components-ios/blob/develop/components/Ripple/src/MDCStatefulRippleView.h) into [`MDCButton`](https://github.com/material-components/material-components-ios/tree/develop/components/Buttons). This behavior is an opt in flag property added to MDCButton, `enableRippleBehavior`.  This improves the visual touch feedback for our users as MDCInkView didn't support our current motion guidelines. 

## Alternatives considered
I additionally considered using [`MDCRippleView`](https://github.com/material-components/material-components-ios/blob/develop/components/Ripple/src/MDCRippleView.h) but upon investigation that required essentially implementing MDCStatefulRippleView within MDCButton to handle the touch events.

## Videos
| Before | After |
| - | - |
|![oldRipple](https://user-images.githubusercontent.com/7131294/55747652-bd15b500-5a0a-11e9-91ab-d9e431a1371a.gif)|![newRipple](https://user-images.githubusercontent.com/7131294/55747666-c1da6900-5a0a-11e9-896a-becb06661a8a.gif)|
2019-04-09 09:40:02 -04:00
Robert Moore
a56b67ba68
[Tabs] Increase badge text contrast. (#7012)
The Tabs badge default text has a contrast ratio of around 4:1. For WCAG
AA-level text, we should have 4.5:1 for small text like this.  Changing
to Material Red #700 increases contrast to 5:1. Material Red #600 only
provides 4.4:1 against white.

Part of #6981
2019-04-03 14:09:16 -04:00
Robert Moore
afb6295ab2
[BottomNavigation] Increase badge text contrast (#7013)
Increasing text contrast for the Bottom Navigation badge. It's currently
4:1 but WCAG AA requires 4.5:1. Material Red 700 provides 5:1.  Material
Red #600 only provides 4.4:1 against white.

Part of #6981
2019-04-03 11:22:24 -04:00
Robert Moore
62ffa6fb17 Bumped version number to 81.0.0. 2019-04-01 21:41:40 -04:00
Yarden Eitan
ba8269c13e
[Ripple] Graduate Ripple to Ready. (#7000)
Following updating the docs in #6996 and adding additional tests #6992 for the Ripple:

In this PR I am officially graduating Ripple to ready.

These are the steps taken to do so:
1. Update docs to not show Beta anymore.
2. Move Ripple from the Beta podspec to the main podspec.
3. Removal of MDCCard+Private, MDCCard+Ripple, MDCCardCollectionCell+Private, MDCCardCollectionCell+Ripple, as they were used as connectors between Ripple being a beta component and Card being a ready component.
4. Moving the relevant code in the above files into the Card implementation.
5. Modifying the property `enableBetaBehavior` for Cards to `enableRippleBehavior` as it is no longer a beta behavior.

Tested to see all the examples work well for Cards and CardCollectionCells.

Closes #6941
2019-03-27 16:58:01 -04:00
Robert Moore
c886eef520 Fixing podspec for TypographyScheme 2019-03-26 09:29:32 -04:00
Robert Moore
0b4d9ebf5f Bumped version number to 80.0.0. 2019-03-25 16:26:00 -04:00
Robert Moore
4848c0c9e0 Bumped version number to 79.3.0. 2019-03-20 10:45:30 -04:00
Robert Moore
8ae3da1336 Correcting release version to 79.2.0 2019-03-19 09:26:41 -04:00
Robert Moore
a8901c95aa Bumped version number to 79.2.1. 2019-03-18 21:55:39 -04:00
featherless
5340e44671 Bump the release. 2019-03-13 15:52:35 -04:00
featherless
24224024a7 Bump the release. 2019-03-12 16:58:08 -04:00
featherless
4e7a1f6e65 Bump the release. 2019-03-08 13:52:41 -05:00
featherless
bb251cb263 Bump the release. 2019-03-05 09:52:52 -05:00
Yarden Eitan
71512ff72e reverting 2019-02-26 11:50:30 -05:00