12 Commits

Author SHA1 Message Date
featherless
58afde19c7
Update bazel workspace and version to latest. (#3052) 2018-03-07 10:17:12 -05:00
Robert Moore
96455c95ca
[Bazel] Update MDFI18N to 1.0.4 (#2644)
Fixes a bug in upstream Bazel config.
2017-12-07 13:04:14 -05:00
featherless
e357e430c5 Update the bazel apple rules to v0.2.0. (#2639) 2017-12-07 12:51:01 -05:00
featherless
3832377382 Bump the transitioning dependency to v5.0.0 (#2525)
* Bump the transitioning dependency to v5.0.0

* Bump Dialogs.

* Update example.
2017-11-29 11:35:56 -05:00
featherless
211ca772ea
[Dialogs] Migrate to Material Motion. (#2481)
This change implements the Material Motion spec for the Dialogs component using the Motion Interchange, Animator, and Transitioning APIs.

Many of the existing APIs will be able to be deprecated or made private in the future, though there is considerable existing downstream client usage of many of these APIs so this will need to be done with some care.

The client migration path for this change will look something like this on average:

```objc
// Old API
_transitionController = [[MDCDialogTransitionController alloc] init];
self.transitioningDelegate = _transitionController;		
self.modalPresentationStyle = UIModalPresentationCustom;

// New API
self.mdm_transitionController.transition = [[MDCDialogTransition alloc] init];
```
2017-11-28 11:08:35 -05:00
featherless
c9ef0366c1
[BottomSheet] Convert to Material Motion. (#2400)
* Convert.

* Remove hard toss.

* Remove local dependency on transitioning.

* Bump version.

* Remove deprecation.

* Fix headers.

* Stop animations when gestures start.

* Update dependencies.

* CGRect.
2017-11-15 18:22:45 -05:00
featherless
44a72002b4
Update the MotionAnimator and MotionInterchange bazel dependencies. (#2419) 2017-11-14 11:23:54 -05:00
featherless
5f7f04f013
Update the bazel_ios_warnings dependency to v2.0. (#2388)
v2.0.0 includes the same set of warnings used in our local .xcconfig configuration.
2017-11-09 16:45:32 -05:00
featherless
b9edf0303e
Fix MotionAnimator WORKSPACE version. (#2359)
* Fix MotionAnimator WORKSPACE version.

Incorrect SHA introduced in 8e6da0f4973b202f4f7334e33bd2747f7ff05bec.

* Use v2.0.1.
2017-11-06 11:50:56 -05:00
featherless
8e6da0f497
[ActivityIndicator] Extract motion spec and use the Material Motion Animator for all animations. (#2344)
This conversion revealed a bug in the motion timing where the indeterminate strokeEnd animation's duration was inheriting Core Animation's default duration of 0.25 seconds rather than the spec's duration. This resulted in the stroke animating in a much more jarring way than intended. This bug was fixed in https://github.com/material-components/material-components-ios/pull/2345.

Before:
![before](https://user-images.githubusercontent.com/45670/32393512-25f82ada-c0b0-11e7-91a6-dd9f9bfddb4a.gif)

After:

![after](https://user-images.githubusercontent.com/45670/32393515-2a19fb66-c0b0-11e7-8cf3-683c75f1aae6.gif)

(The gifs don't loop perfectly so there are some hitches in the animations).
2017-11-06 10:47:05 -05:00
featherless
eed027106b
[FlexibleHeader+UIMetrics] Add BUILD file. (#2323) 2017-11-01 15:20:07 -04:00
featherless
4ef8b6fdae
Initial addition of kokoro and bazel continuous integration support. (#2316)
* Initial addition of kokoro and bazel continuous integration support.

Only adds support for ActivityIndicator and its dependencies. Will add other components to the continuous integration in follow up changes.

* Add AnimationTiming.

* Fix target name.

* Use ... matching to run all tests and build all targets.

* Just run tests.

* Add skeleton tests.

* Fix copyrights and build files.

* Add bzl file.

* Standardize build files.

* Fix typo.

* Naming.

* Remove confusing comment.

* Use Xcode 8.2.
2017-11-01 13:29:49 -04:00