921 Commits

Author SHA1 Message Date
Wenyu Zhang
bca847dade Bumped version number to 94.2.0. 2019-11-14 00:16:03 -05:00
Galia Kaufman
caa6e9cc67 merged release-candidate 2019-11-13 14:59:35 -05:00
Robert Moore
692c743f34
[TypographyScheme] Separate protocol target. (#8798)
Splits the `MDCTypographyScheming` protocol target from the implementation
target. This allows clients to conform to the protocol without depending on
the MDC-iOS implementation (and its dependencies).

Fixes #8445
2019-11-13 11:28:43 -05:00
Galia Kaufman
6c7997d585 Bumped version number to 94.1.0. 2019-11-11 16:21:21 -05:00
Andrew Overton
fef9b6317a Bumped version number to 94.0.0. 2019-11-08 09:31:18 -05:00
Andrew Overton
0a76117193 Move new TextFields into TextControls directory (#8726)
In this PR I extract the new TextFields from the old TextFields directory. In the future, if we bring over the input chip view and text area, they will go under this new TextControls directory as well.

Closes #8684.
2019-11-07 14:22:21 -05:00
Robert Moore
46d04a862f Bumped version to 93.5.0 2019-11-06 23:05:52 -05:00
Galia Kaufman
7e853ba84e Bumped version number to 93.4.0. 2019-11-05 13:53:27 -05:00
featherless
947b03fa6b merged release-candidate 2019-11-01 14:58:15 -04:00
featherless
055633c210 Bump the release. 2019-11-01 13:34:22 -04:00
featherless
79fb766e01 [ActivityIndicator] Delete MDCActivityIndicatorColorThemer. (#8694)
It is deprecated and has no internal usage.

Part of #8429
2019-10-31 07:13:32 -07:00
Yarden Eitan
1ca0990995 Bumped version number to 93.2.0. 2019-10-29 15:17:14 -04:00
Andrew Overton
40348b57d1 Bumped version number to 93.1.1. 2019-10-25 13:39:29 -04:00
Robert Moore
f6a86f1f66 Bumping version to 93.1.0 2019-10-24 20:53:26 -04:00
Andrew Overton
d665e1fc0a Bumped version number to 93.0.0. 2019-10-22 13:45:13 -04:00
Robert Moore
cb6c82590b merged release-candidate 2019-10-21 10:59:23 -04:00
Robert Moore
948a29b7ac Bumped version to 92.5.0 2019-10-21 09:06:18 -04:00
featherless
539093f2ff
[MaskedTransition] Delete the component. (#8592)
This component was deprecated in v91.0.0.

Closes https://github.com/material-components/material-components-ios/issues/8228
2019-10-16 16:19:48 -04:00
Andrew Overton
db80ded952 merged release-candidate 2019-10-16 09:42:14 -04:00
featherless
e7521ed500 [Chips] Fold MDCChipViewTypographyThemer into the Theming extension. (#8591)
MDCChipViewTypographyThemer will be deprecated and deleted as part of https://github.com/material-components/material-components-ios/issues/8429.

MDCChipViewTypographyThemer currently has no internal usage, so the logic is being folded into the Theming extension.

Part of https://github.com/material-components/material-components-ios/issues/8429
2019-10-15 21:58:32 -04:00
Andrew Overton
0b2762099e Bumped version number to 92.4.0. 2019-10-15 11:00:12 -04:00
Yarden Eitan
2bdf509382 Bumped version number to 92.3.1. 2019-10-09 09:19:02 -04:00
Yarden Eitan
dfb670ead5 missing podspec dependency (#8554)
This causes failure with our pod linting due to the missing dependency.
2019-10-09 09:06:32 -04:00
Yarden Eitan
df7db8efdb Bumped version number to 92.3.0. 2019-10-08 14:18:12 -04:00
featherless
83abfd5d92 Bump the release. 2019-10-07 09:11:01 -04:00
randallli
c16013d918 Bumped version number to 92.1.0. 2019-10-02 16:33:09 -04:00
Wenyu Zhang
b843136be3
[MDFTesting] remove MDFTesting references. (#8531)
MDFTesting blocks the release because of b/141850100. This PR removes the reference for now.
2019-09-30 11:20:50 -04:00
Wenyu Zhang
9dfd40427d
[Color] Use XCTAssertEqualColors from MDFTesting to help color testing. (#8497)
closes https://github.com/material-components/material-components-ios/issues/8426.

Related PR: https://github.com/material-components/material-components-ios/pulls
2019-09-25 14:42:27 -04:00
Robert Moore
4f7cd7cf35 Bumped version number to 92.0.0. 2019-09-23 14:55:13 -04:00
Randall Li
789b533c2e Bumped version number to 91.1.1. 2019-09-23 12:15:36 -04:00
Wenyu Zhang
c9fee39999 Bumped version number to 91.1.0. 2019-09-20 16:21:46 -04:00
Wenyu Zhang
a651fe5e4e [ActionSheet] set elevation value in theming extension. (#8466)
Part of https://github.com/material-components/material-components-ios/issues/8456.

Set elevation value to 8 in action sheet's theming extension.
2019-09-20 10:39:09 -04:00
Bryan Oltman
ccf77c52e2 bump version number to 91.0.0 2019-09-19 13:59:35 -04:00
featherless
e615de5217 Merge branch 'release-candidate' into develop 2019-09-17 11:48:14 -04:00
featherless
f9042e303e Bump the release. 2019-09-16 09:35:08 -04:00
Wenyu Zhang
9bd8770ae4
[BottomSheet] replace UIWebView usage with WKWebView. (#8453)
closes https://github.com/material-components/material-components-ios/issues/8381.

This PR removed the references to deprecated UIWebView, and used WKWebView (available on iOS8+) in place to keep the original behavior. 

As WKWebView is available on Mac Catalyst, the TARGET_OS_UIKITFORMAC flag is also removed.

An Example is created for this WebView change.
Screenshot:

![webview](https://user-images.githubusercontent.com/8836258/64892736-42993300-d643-11e9-8dfa-a686506de015.gif)
2019-09-13 17:41:09 -04:00
featherless
c0e74b1d20
[Typography] Pull BasicFontScheme out to an extension. (#8425)
BasicFontScheme will eventually be deprecated and deleted. Moving it to a standalone target allows us to better isolate its use in prepartion for its deletion.

In order not to make this a breaking change, schemes/Typography depends on the new extension. This is a temporary dependency that will be removed once all existing internal usage has been updated to point to the new target.

First step of https://github.com/material-components/material-components-ios/issues/8424
2019-09-10 13:32:14 -04:00
featherless
97bb87866b [ActivityIndicator] Deprecate ColorThemer. (#8430)
Part of https://github.com/material-components/material-components-ios/issues/8429

These targets have no internal usage.

Note: CocoaPods is unfortunately not able to annotate subspecs as deprecated. It generates the following when you try:

```
ERROR | [iOS] attributes: Can't set `deprecated` attribute for subspecs (in `MaterialComponents/ActivityIndicator+ColorThemer`).
```
2019-09-10 11:22:15 -04:00
featherless
0f7ee59f13 [ButtonBar] Deprecate Theming and TypographyThemer. (#8432)
Part of #8429

These targets have no internal usage.
2019-09-10 11:21:00 -04:00
featherless
5e7d819120 Bump the release. 2019-09-09 11:19:45 -04:00
Andrew Overton
1fbb91217f
[TextFields] Add label animator (#8382)
This PR adds the class that animates the textfield's label. Part of #6942.

One thing I noticed: the label's animation to the floating position (but not from it) doesn't seem to work on simulators running iOS 9, 10, or 11. It works on simulators running iOS 13 simulators though. It also works on @romoore's iPhone 4s device running iOS ~9.3 or so. I think it's just a simulator issue. Still, a little unsettling... 

Here's a gif of the animation:
![label_animation](https://user-images.githubusercontent.com/8020010/64048558-0b555d00-cb40-11e9-87f5-0c6aa2c7fbb2.gif)
2019-09-06 10:00:32 -04:00
Robert Moore
bfc7fdf530 Bumped version number to 88.2.0. 2019-09-03 12:58:27 -04:00
Wenyu Zhang
ac114b4bda
[Banner] Move Banner component out of Beta spec. (#8376)
closes https://github.com/material-components/material-components-ios/issues/5487.
2019-08-29 13:04:35 -04:00
Robert Moore
65b9f8fe84 Bumped version number to 88.1.0. 2019-08-27 08:56:37 -04:00
Yarden Eitan
b47bf86e48 Bumped version number to 88.0.1. 2019-08-22 13:25:24 -04:00
Robert Moore
c4e97e3b5c Bumped version number to 88.0.0. 2019-08-20 09:25:12 -04:00
Robert Moore
7b9bd26498 Bumped version number to 87.1.1. 2019-08-19 09:40:52 -04:00
Robert Moore
1e18891c2c Bumped version number to 87.1.0. 2019-08-16 14:19:16 -04:00
Cody Weaver
3b0e812dd6 [TextFields] Add MaterialElevation support. (#8325)
Adds conformance to MDCElevatable and MDCElevationOverriding to MDCTextField.

Closes #8011
2019-08-16 11:41:45 -04:00
Cody Weaver
04cf12c72c [Shapes] Update border color to support dynamic color (#8308)
### Context

Currently the `setBorderColor` method of MDCShapedShadowLayer can receive a dynamic color but will use the light mode color because it doesn't not know about traitCollections since it is a CALayer subclass. This causes a problem for any component that subclasses `UIControl` and updates its visuals based on state. For instance MDCCard within `setHighlighted` calls `updateBorderColor` which then would call `setBorderColor` on the shapedShadowLayer. Since traitCollection was never involved here the border gets render as it's in a light mode even if it happens to be in a dark mode. Additionally, we may need this for other CGColor things but this will unblock card for now.

### Screenshots

| Before | After |
| - | - |
|![before](https://user-images.githubusercontent.com/7131294/62970425-73d0da00-bddd-11e9-8643-6ae5b039a3a2.gif)|![after](https://user-images.githubusercontent.com/7131294/62970438-7d5a4200-bddd-11e9-9a38-45b7e8bb8328.gif)|
2019-08-16 11:41:24 -04:00