66 Commits

Author SHA1 Message Date
Wenyu Zhang
39da107e4b Bumped version number to 85.0.1. 2019-06-20 11:04:23 -04:00
Yarden Eitan
eb4dbc3b0c Bumped version number to 85.0.0. 2019-06-17 11:04:52 -04:00
Cody Weaver
7b2f124229 Bumped version number to 84.6.0. 2019-06-10 09:38:49 -04:00
Cody Weaver
7900b01fd9 Bumped version number to 84.5.0. 2019-06-04 11:20:15 -04:00
Yarden Eitan
8170adaf65 Bumped version number to 84.4.0. 2019-05-28 10:02:33 -04:00
Galia Kaufman
72adcd3e45 Bumped version number to 84.3.0. 2019-05-21 15:25:58 -04:00
Robert Moore
8694c55220 Bumped version number to 84.2.0. 2019-05-16 10:31:18 -04:00
Robert Moore
c9ad1c1cdc
[Snapshot] Split implementation and supplemental. (#7356)
This change splits out the implementation-specific files (required for
writing a Snapshot test case) from the supplemental files (conveniences
for making the test cases easier to write). This work is part of #7253.

Closes #7354
2019-05-09 11:06:55 -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
97b25b1227 Bump the release to 83.0.2 2019-04-30 23:55:38 +03:00
featherless
60c4ddbbe8 Bump the release. 2019-04-26 00:43:52 +03:00
featherless
e4f8320695 Bump the release number to 83.0.0. 2019-04-22 22:49:19 +03: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
Robert Moore
62ffa6fb17 Bumped version number to 81.0.0. 2019-04-01 21:41:40 -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
Robert Moore
61e6c07f6a
[AppBar] Add theming extension for MDCAppBarViewController (#6903)
Creates a Theming Extension for MDCAppBarViewController for both Primary and Surface variants.

Closes #6866
2019-03-14 21:15:01 -04:00
Wenyu Zhang
f0d42d67df
[private] Include snapshot tests in examples in Podspec (#6895) 2019-03-14 17:06:01 -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
Robert Moore
2562f2cb96
{Cocoapods} Automatically find snapshot targets. (#6799)
Instead of having to update snapshot targets manually, the podspec could
search for components with a "tests/snapshot" subdirectory and use that
to generate subspecs.
2019-03-11 13:44:20 -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
fa7bc44bbf reverting 2019-02-26 11:57:14 -05:00
Yarden Eitan
8076d9fea9 Bumped version number to 78.0.1. 2019-02-26 10:24:29 -05:00
Andrew Overton
419d0cc9ca
[Cocoapods] Fixing Snapshot Tests (#6618)
Initially this PR was supposed to consist of a revert of #6619 (which reverted #6611) with some small tweaks to fix whatever was wrong in #6611. It turned into something else! I had a hard time figuring out a way to both run MDCDragons/MDCCatalog with ⌘R _and_ run snapshot tests within either of the two apps' schemes. The only way I was able to manage it was by abandoning our convention for podspecs (only for snapshot tests), which relies heavily on nested subspecs and test_specs. In its place, I wrote a probably not very idiomatic ruby module that aims to allow for all snapshot testing source files to funnel into a single unit test target but still give us some flexibility in how we configure snapshot tests on a per component basis.

Closes #6700.
2019-02-22 10:17:30 -05:00
Yarden Eitan
992822c764 Merge branch 'release-candidate' into develop 2019-02-21 14:47:54 -05:00
Robert Moore
ef9e18ea7f
{Testing} Create mechanism for test fakes and test data (#6673)
Sets up MDC iOS to allow each component to export "Test fakes" and test data for use by other components when performing tests.  The initial commit includes "test data" for MDCTypographyScheme that uses non-default values for each UIFont.

Contributors writing tests, particularly those that use shared components like schemes, can do so more quickly by accessing test data and test fakes directly from the component rather than having to write custom objects for each test.

**Bonus**
The new typography data has already confirmed the Dialogs bug #6637, which would have been discovered sooner if we didn't rely on the typographic defaults that already matched component defaults.

## Typical Usage

### Build/dependency management systems

**bazel BUILD files:**
```
deps = [
        "//components/schemes/Typography:TestingSupport",
],
```

**CocoaPods Podspec files:**
```ruby
  component.dependency "MaterialComponentsTestingSupport/schemes/Typography"
```

### Source includes

**Swift**
```swift
import MaterialComponentsTestingSupport.MaterialTypographyScheme_TestingSupport
```

**Objective-C**
```objc
#import <MaterialComponentsTestingSupporrt/MaterialTypographyScheme+TestingSupport.h>
```
2019-02-21 13:50:29 -05:00
Yarden Eitan
7aaa270f19 Bumped version number to 78.0.0. 2019-02-20 13:57:48 -05:00
Robert Moore
5ee639cc91
[ButtonBar] Add basic snapshot tests. (#6662)
Add simple layout and theming snapshot tests.
2019-02-20 08:26:00 -05:00
Robert Moore
41612628cc
[Buttons] Add states snapshot tests. (#6639)
Simple snapshot tests for the main UIControlStates.
2019-02-19 11:09:49 -05:00
Robert Moore
65426c86f9
[Slider] Add basic snapshot tests. (#6640)
Adding a few snapshot tests to capture the basic styling/appearance of
Sliders.
2019-02-19 09:26:53 -05:00
Robert Moore
d77f1b3dbb
[Dialogs] Add snapshot tests to MDCAlertController (#6641)
Adds basic snapshot tests to MDCAlertController.

Helped identify #6637
2019-02-19 09:26:25 -05:00
Robert Moore
fb8190d8d4
[BottomAppBar] Add basic snapshot tests. (#6643)
Adding a few simple snapshot tests to capture the default appearance of
the bar.
2019-02-19 09:25:57 -05:00
Randall Li
85d3f991c8 Bumped version number to 77.0.0. 2019-02-13 13:38:03 -05:00
Yarden Eitan
02161e4a76
[Ripple] Fix ripple layout issues with autolayout (#6588)
This fixes a long standing issue in our Ink/Ripple implementation where with auto layout the ink view doesn't fit itself correctly when there is a re-layout, as an example during an orientation change.

There were a few things needed to be fixed/added to be able to make the Ripple work correctly:

1. every time MDCRippleView lays out its view, the MDCRippleLayer sublayers need to receive the new bounds and need to lay out the ripple based on the new bounds.
2. The MDCRippleView should at all times be the size of it's superView.
2. When an MDCRippleLayer exists and needs to be laid out again, it needs to recalculate the ripple layer's position and path. This can happen as an example during a ripple animation when an orientation change occurs. This can also happen when there is a ripple overlay that isn't transient is on a surface and there is an orientation change.
3. Lastly, moving the MDCRippleLayer animations away from `removeOnCompletion = NO;` to having the final visual values be set prior to the animation, solves an issue where a `setNeedsLayout` reverts certain animations (an animation over layer.position) back to their original values and causes the ripple to be incorrectly centered.

Resolves #4533 
Resolves #4603 

Below are provided gifs showing the fix.
Before:
![beforeripplelayout](https://user-images.githubusercontent.com/4066863/52529447-c3640b00-2cbf-11e9-929b-cb69be6d3b27.gif)

After:
![afterripplelayout](https://user-images.githubusercontent.com/4066863/52529450-cb23af80-2cbf-11e9-828b-2dfd5cb2bc96.gif)
2019-02-11 17:22:26 -05:00
Ian Gordon
ac78d824a9 Bumped version number to 76.1.2. 2019-02-08 14:54:24 -05:00
Ian Gordon
fa686995c7 Bump Version 2019-02-07 13:11:55 -05:00
Ian Gordon
e650856240 Bumped version number to 76.1.0. 2019-02-06 17:49:09 -05:00
Robert Moore
68794ae90a Bumped version number to 76.0.0. 2019-01-30 13:17:41 -05:00
Robert Moore
d97f9ce0da
[BottomNavigation] Add snapshot tests. (#6521)
Adds basic snapshot tests for BottomNavigation.

Preparation for #6520
2019-01-30 08:14:15 -05:00
Rob Moore
a7cb1d6a2e Bumped version number to 75.0.1. 2019-01-23 15:33:37 -05:00