Robert Moore
1ff25354ce
Bumped version number to 85.10.0.
2019-07-29 13:52:57 -04:00
Cody Weaver
9654bee873
[BottomSheet] Add CocoaPod dependency to MaterialElevation ( #8110 )
...
In #8102 I didn't add the dependency to MaterialElevation in Cocoapods this is a follow up to add that dependency.
Related to #8025
Follow up to #8102
2019-07-29 07:53:11 -07:00
Robert Moore
dce2d98f92
[Dialogs] Add MaterialElevation support to AlertController. ( #8098 )
...
Adds conformance to `MDCElevatable` and `MDCElevationOverriding` to
`MDCAlertController`.
Part of #8020
2019-07-28 20:15:49 -04:00
Yarden Eitan
b8ea85d21a
[NavigationDrawer] Adding MDCElevation support ( #8100 )
...
This adds elevation conformance and support to the MDCBottomDrawerViewController.
Closes #8015
2019-07-26 17:50:48 -04:00
Yarden Eitan
f1a0665d67
[Snackbar] Supports MaterialElevation. ( #8081 )
...
Adds conformance to MDCElevatable and MDCElevationOverriding for snackbar message view.
Closes #8013
2019-07-26 17:50:00 -04:00
Cody Weaver
43dddb988e
[BottomSheet] Add elevation property ( #8089 )
...
Adds an elevation property to MDCBottomSheet and MDCBottomSheet presentation controller. Snapshot test have been added for the MDCBottomSheetControlller.view as well as unit test for all public APIs.
Prework for #8025
2019-07-26 14:08:16 -07:00
Wenyu Zhang
c3f8c6adeb
[Elevation] Add a UIColor category to support resolving color with elevation. ( #8085 )
...
This PR provides two methods to allow users resolving color with elevation.
closes https://github.com/material-components/material-components-ios/issues/8086 .
2019-07-26 16:48:56 -04:00
Bryan Oltman
657483ea40
[FlexibleHeader] Conform to MDCElevatable, MDCElevationOverriding ( #8099 )
...
Add elevation property and elevationDidChange block to `MDCFlexibleHeaderView`. Elevation will be set in an upcoming PR by `MDCAppBarViewController`.
Closes #8018
2019-07-26 16:48:03 -04:00
Robert Moore
e48bf74898
Merge branch 'release-candidate' into develop
2019-07-25 10:54:49 -04:00
Robert Moore
23666efe36
Bumped release version.
2019-07-25 10:01:18 -04:00
Robert Moore
cbeb6f5bc7
[List] Support MaterialElevation. ( #8078 )
...
Adds conformance to `MDCElevatable` and `MDCElevationOverriding` for the base
cell and self-sizing stereo cell.
Closes #8017
2019-07-25 09:25:20 -04:00
Robert Moore
403c1b6a29
[Buttons] Support MaterialElevation. ( #8073 )
...
Adds protocol conformance for `MDCElevatable` and `MDCElevationOverriding`.
Closes #8023
2019-07-25 09:24:35 -04:00
Wenyu Zhang
95047be49d
Merge branch 'release-candidate' into develop
2019-07-24 16:50:27 -04:00
Yarden Eitan
f2b12a10ed
[Cards] MDCCard conforms to MDCElevation and MDCElevationOverride ( #8054 )
...
Adds support for the MDCElevation and MDCElevationOverride protocols.
2019-07-24 16:13:32 -04:00
Robert Moore
58aa3402bf
[Chips] Conform to MDCElevatable and MDCElevationOverriding. ( #8068 )
...
Adds the necessary properties and implementation to conform to the protocols.
Closes #8021
2019-07-24 13:49:52 -04:00
Robert Moore
4768e610a8
[BottomNavigation] Add MDCElevation support. ( #8038 )
...
Adds support for the `MDCElevatable` and `MDCElevationOverriding` protocols.
Closes #8026
2019-07-24 13:30:21 -04:00
Wenyu Zhang
a86ef1e576
Bumped version number to 85.9.0.
2019-07-23 19:18:05 -04:00
Yarden Eitan
6eb335a0f9
[Ink] Dynamic color support ( #7974 )
...
Adding dynamic color support to the Ink component.
Ink comprises of multiple MDCInkLayer sublayer instances, and they all should update their colors when the style of the system turns to Dark.
Closes #7871
2019-07-22 10:14:31 -04:00
Yarden Eitan
5cdb7f95f7
[Ripple] Add dynamic color support for ripple. ( #7968 )
...
Adds dynamic color support for Ripple and tests using snapshot tests that the dark mode color is correctly applied.
Closes #7867
(this is an un-revert of dfbecc6547 now that https://github.com/material-components/material-components-ios/pull/7949 landed)
2019-07-19 07:50:52 -07:00
Cody Weaver
63eda9bfa0
[Elevation] Add MDCElevation protocol. ( #7955 )
...
This change adds a protocol `MDCElevation` for clients to conform to so that their is a consistent API for getting a `UIView` elevation. This is in it's own folder because it can be used as a standalone protocol and is agnostic of ShadowElevations and schemes/Color.
For additional context please see go/material-dark-mode-elevation-support
Closes #7961
2019-07-18 14:16:55 -07:00
Wenyu Zhang
dfbecc6547
Revert "[Ripple] Add dynamic color support for ripple. ( #7877 )"
...
This reverts commit edb5f11af1a830e004fdffef536c4b6306b4eb4b.
2019-07-17 12:36:38 -04:00
Wenyu Zhang
ad15a1a450
Bumped version number to 85.8.0.
2019-07-16 18:55:56 -04:00
Cody Weaver
b0b04a2adf
[FlexibleHeader] Add unit test for the shadow layer ( #7909 )
...
MDCFlexibleHeader currently doesn't have any tests related to the shadow layer. This adds tests for that property. Since there are no general flexible header tests I added this within it's own file as all other test files seem specific to other tests.
2019-07-14 08:50:55 -04:00
Yarden Eitan
edb5f11af1
[Ripple] Add dynamic color support for ripple. ( #7877 )
...
This relies on #7861 .
Adds dynamic color support for Ripple and tests using snapshot tests that the dark mode color is correctly applied.
Closes #7867
2019-07-11 22:13:46 -04:00
Wenyu Zhang
0175300afc
[schemes] Use UIColor method instead of static method to generate ( #7894 )
...
Follow up to https://github.com/material-components/material-components-ios/pull/7860 .
Replace the original static method used in color scheme.
2019-07-11 18:07:39 -04:00
Andrew Overton
03e4e901b7
Merge branch 'release-candidate' into develop
2019-07-11 15:03:20 -04:00
Cody Weaver
64d5d315ad
[Snackbar] Use MDCShadowLayer instead of UIKit shadows ( #7843 )
...
MDCSnackbarMessageView was previously using UIKit to display its shadows. This is a deviation from the rest of our components. This change updates the implementation so that we can later expose an API for `elevation` so that clients can customize the elevation of the snackbar and get its elevation accordingly. No tests were added because this changes the underlying layer class and snapshot tests were already in place to catch the visual diffs.
Closes #7829
2019-07-11 07:17:39 -04:00
Wenyu Zhang
a65f36d4be
[Color] Add UIColor+MaterialDynamic to support dynamic color. ( #7860 )
...
DynamicColor is not only useful inside color scheme class, but also in some other classes (dragon controller) as a utility method. A new UIColor category is created in this PR to facilitate it.
2019-07-10 20:58:56 -04:00
Andrew Overton
541767579b
Bumped version number to 85.7.0.
2019-07-10 17:23:33 -04:00
Robert Moore
e7df8df4e4
Bumped version number to 85.6.0.
2019-07-10 14:15:08 -04:00
Andrew Overton
930e754112
Bumped version number to 85.5.1.
2019-07-09 20:17:10 -04:00
Andrew Overton
a7b621138b
[FlexibleHeader] Add Math dependency to FlexibleHeader ( #7833 )
...
Adding a Math dependency to FlexibleHeader. The release hit a snag in the very last step because this wasn't here :(
Closes #7835 .
2019-07-09 20:01:53 -04:00
Andrew Overton
b8469028f0
Bumped version number to 85.5.0.
2019-07-08 16:02:05 -04:00
Andrew Overton
43920aed56
[ProgressView] Add an MDCProgressView theming extension ( #7791 )
...
This PR adds a theming extension for MDCProgressView in support of b/136013554.
2019-07-08 13:11:08 -04:00
Robert Moore
d95c7ec87d
Bumped version number to 85.4.0.
2019-07-03 12:27:51 -04:00
Robert Moore
af878e8263
Bumped version number to 85.3.0.
2019-07-02 15:21:47 -04:00
Andrew Overton
ad3a25fabc
Bumped version number to 85.2.0.
2019-07-01 12:23:47 -04:00
Andrew Overton
eadb2e18fe
[TextFields] Add MDCBaseTextField as extension ( #7694 )
...
#7410 added MDCBaseTextField as a beta component in a sibling directory of the main TextFields directory. #7584 added MDCBaseTextField as a beta component within the main TextFields directory. This PR adds MDCBaseTextField as a non-beta component (i.e. not in MaterialComponentsBeta.podspec) in an extension of the TextFields subspec called TextFIelds+ContainedInputView. Related to #7375 .
2019-06-25 09:47:55 -04:00
Cody Weaver
966cee2398
Merge branch 'release-candidate' into develop
2019-06-24 15:17:48 -04:00
Cody Weaver
f7ac1dbbbb
[BottomNavigation] Add theming extension ( #7691 )
...
Adds a theming extension to the bottom navigation component. This follows the guidelines outlined in the design doc.
Design doc: go/mdc-ios-theming-extensions.
Closes #7565
2019-06-24 13:21:38 -04:00
Cody Weaver
4ffc112b7f
Bumped version number to 85.1.0.
2019-06-24 12:13:36 -04:00
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
Yarden Eitan
4a49885507
[ThumbTrack] Adds the Ripple behavior to Thumbtrack. ( #7590 )
...
## Related links
* Bug: Closes #7378
* Ripple: [MDCRippleView](https://github.com/material-components/material-components-ios/tree/develop/components/Ripple )
## Introduction
This PR integrates [`MDCRippleView`](https://github.com/material-components/material-components-ios/blob/develop/components/Ripple/src/MDCRippleView.h ) into [`MDCThumbTrack`](https://github.com/material-components/material-components-ios/tree/develop/components/private/ThumbTrack ). This behavior is an opt in flag property added to MDCThumbTrack, `enableRippleBehavior`. This improves the visual touch feedback for our users as MDCInkView didn't support our current motion guidelines. We are also marking any of the Ink APIs ToBeDeprecated as part of the [Deprecation Policy](cb6b8e9599/contributing/deprecation_policy.md (step-4-add-a-comment-to-the-api-indicating-that-it-will-be-deprecated) ).
As you can see in the below videos, Ink was never implemented correctly for Slider, and therefore never appeared. With Ripple enabled, we finally get the right results, as seen [in our spec](https://material.io/design/components/sliders.html#continuous-slider ).
## Videos
| Before | After |
| - | - |
|||
2019-06-15 19:15:58 -04:00
Yarden Eitan
9246b77e5e
[BottomNavigation] Adds the Ripple behavior to BottomNavigation. ( #7589 )
...
## Related links
* Bug: Closes #7377
* Ripple: [MDCRippleTouchController](https://github.com/material-components/material-components-ios/tree/develop/components/Ripple )
## Introduction
This PR integrates [`MDCRippleTouchController`](https://github.com/material-components/material-components-ios/blob/develop/components/Ripple/src/MDCRippleTouchController.h ) into [`MDCBottomNavigationBar`](https://github.com/material-components/material-components-ios/tree/develop/components/BottomNavigation ). This behavior is an opt in flag property added to MDCBottomNavigationBar, `enableRippleBehavior`. This improves the visual touch feedback for our users as MDCInkView didn't support our current motion guidelines.
## Videos
| Before | After |
| - | - |
|||
2019-06-15 18:10:32 -04:00
Yarden Eitan
c64b90d844
[ActionSheet] Adds the Ripple behavior to ActionSheet. ( #7594 )
...
## Related links
* Bug: Closes #7383
* Ripple: [MDCRippleTouchController](https://github.com/material-components/material-components-ios/tree/develop/components/Ripple )
## Introduction
This PR integrates [`MDCRippleTouchController`](https://github.com/material-components/material-components-ios/blob/develop/components/Ripple/src/MDCRippleTouchController.h ) into [`MDCActionSheetController`](https://github.com/material-components/material-components-ios/tree/develop/components/ActionSheet ). This behavior is an opt in flag property added to MDCActionSheetController, `enableRippleBehavior`. This improves the visual touch feedback for our users as MDCInkView didn't support our current motion guidelines. We are also marking any of the Ink APIs ToBeDeprecated as part of the [Deprecation Policy](cb6b8e9599/contributing/deprecation_policy.md (step-4-add-a-comment-to-the-api-indicating-that-it-will-be-deprecated) ).
## Videos
| Before | After |
| - | - |
|||
2019-06-15 15:34:53 -04:00
Yarden Eitan
b9ad888e6d
[List] Adds the Ripple behavior to List. ( #7591 )
...
## Related links
* Bug: Closes #7380
* Ripple: [MDCRippleView](https://github.com/material-components/material-components-ios/tree/develop/components/Ripple )
## Introduction
This PR integrates [`MDCRippleView`](https://github.com/material-components/material-components-ios/blob/develop/components/Ripple/src/MDCRippleView.h ) into [`MDCBaseCell`](https://github.com/material-components/material-components-ios/tree/develop/components/List ). This behavior is an opt in flag property added to MDCBaseCell, `enableRippleBehavior`. This improves the visual touch feedback for our users as MDCInkView didn't support our current motion guidelines. We are also marking any of the Ink APIs ToBeDeprecated as part of the [Deprecation Policy](cb6b8e9599/contributing/deprecation_policy.md (step-4-add-a-comment-to-the-api-indicating-that-it-will-be-deprecated) ).
## Videos
| Before | After |
| - | - |
|||
2019-06-15 14:32:48 -04:00
Yarden Eitan
e78713078a
[Tabs] Adds the Ripple behavior to Tabs. ( #7583 )
...
## Related links
* Bug: Closes #7379
* Ripple: [MDCRippleTouchController](https://github.com/material-components/material-components-ios/tree/develop/components/Ripple )
## Introduction
This PR integrates [`MDCRippleTouchController`](https://github.com/material-components/material-components-ios/blob/develop/components/Ripple/src/MDCRippleTouchController.h ) into [`MDCTabBar`](https://github.com/material-components/material-components-ios/tree/develop/components/Tabs ). This behavior is an opt in flag property added to MDCTabBar, `enableRippleBehavior`. This improves the visual touch feedback for our users as MDCInkView didn't support our current motion guidelines. We are also marking any of the Ink APIs ToBeDeprecated as part of the [Deprecation Policy](cb6b8e9599/contributing/deprecation_policy.md (step-4-add-a-comment-to-the-api-indicating-that-it-will-be-deprecated) ).
## Videos
| Before | After |
| - | - |
|||
2019-06-15 12:48:22 -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