954 Commits

Author SHA1 Message Date
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
Robert Moore
ba29295f59 Bumped version number to 87.0.2. 2019-08-15 15:48:10 -04:00
Robert Moore
7e32b6f04b Bumped version number to 87.0.1. 2019-08-14 18:57:54 -04:00
Robert Moore
716845b74d Bumped version number to 87.0.0. 2019-08-12 22:20:57 -04:00
Robert Moore
4b8e984899 Merge branch 'release-candidate' into develop 2019-08-12 15:28:27 -04:00
Cody Weaver
d73d498d7e
[ActionSheet] Add dark mode support to theming extension (#8245)
This PR adds dark mode support to the theming extension for MDCActionSheetController. In order to support dark mode clients will need to set dynamic colors in their color scheme. 

There is no change to `mdc_elevationDidChangeBlock` because the elevation on an MDCActionSheetController should never change since it is not a settable property. If we later expose a setter then we will need to add that functionality. Additionally unit test were added but since MDCActionSheetController doesn't allow for subclassing I could not test for traitCollection changes. In order to test this more thoroughly do the steps as follows.

1. Launch MDCCatalog on an iOS 13 simulator.
2. Open the ActionSheet example.
3. Switch between light and dark mode in Xcode 11.

Following the steps above, this should be the result.
![actionSheet](https://user-images.githubusercontent.com/7131294/62724608-61bbf980-b9e1-11e9-8979-d586b49d2c58.gif)
2019-08-12 14:33:27 -04:00
Robert Moore
42279abf94
[TextFields] Don't list MDFI18N as dependency twice. (#8290)
Removes a duplicated dependency from the podspec for Text Fields.
2019-08-12 14:25:13 -04:00
Robert Moore
c3b692faac Fix TextFields dependency. 2019-08-12 14:21:51 -04:00
Robert Moore
780851923d Bumped version number to 86.1.0. 2019-08-12 13:05:47 -04:00
Yarden Eitan
d9f1b67647 Bumped version number to 86.0.0. 2019-08-05 16:55:35 -04:00
Robert Moore
2a321fc790 Bumped version number to 85.12.0. 2019-08-01 09:47:55 -04:00
Robert Moore
02892fe0ef Merge branch 'release-candidate' into develop 2019-07-31 13:38:58 -04:00
Cody Weaver
2feb8f96cd
[ActionSheet] Add MaterialElevation support (#8111)
Adds conformance to MDCElevatable and MDCElevationOverriding to
MDCActionSheetController.

Closes #8030
2019-07-31 10:22:30 -07:00
Robert Moore
18a8181bc9 Bumped version number to 85.11.0. 2019-07-31 09:47:41 -04:00
Cody Weaver
c6ab74349d
[Slider] Add MaterialElevation support (#8127)
Adds conformance to MDCElevatable and MDCElevationOverriding to
MDCSlider.

Closes #8014
2019-07-30 21:57:43 -07:00
Robert Moore
b0d75b60ff Merge branch 'release-candidate' into develop 2019-07-30 09:44:04 -04:00
Cody Weaver
a9a0fcadd0
[Tabs] Add MaterialElevation support (#8116)
Adds conformance to MDCElevatable and MDCElevationOverriding to
MDCTabBar.

Closes #8012
2019-07-29 20:48:34 -07:00
Cody Weaver
60c60f288c
[NavigationBar] Add MaterialElevation support. (#8115)
Adds conformance to MDCElevatable and MDCElevationOverriding to
MDCNavigationBar.

Closes #8016
2019-07-29 20:47:46 -07:00