* Temporarily rename the Slider card for easier dev
* Add RTL support for MDCThumbTrack
* Revert "Temporarily rename the Slider card for easier dev"
This reverts commit 3c87a42624169582448fa43f6f9ce35202326994.
* Add comments
* Removed dead components from podspec.
* Removed vestigial refs to removed components.
* Edited refs to MDCFontDiskLoader in Typography README.md.
* Updated Podfile.lock files.
* removed header_mappings_dir because it was preventing the headers from getting publicized in the pod project when use_frameworks is used in a swift project.
* ran manage_pod update
* API Review for Feature Highlight component
Summary:
This is the proposed API for the Feature Highlight component.
For more info see the following links:
Design spec: https://material.googleplex.com/growth-communications/feature-discovery.html#feature-discovery-design
Tracking bug: b/30695049
Example usage
```
MDCFeatureHighlightViewController *vc = [[MDCFeatureHighlightViewController alloc] init];
vc.delegate = self;
vc.hintTitleText = @"...";
vc.hintBodyText = @"...";
[vc highlightView:_button];
[self presentViewController:vc animated:animated completion:completion];
```
In the delegate:
```
- (void)featureHighlightWasAccepted:(MDCFeatureHighlightViewController *)highlight {
// do accepted things here
[self dismissViewControllerAnimated:YES completion:nil];
}
- (void)featureHighlightWasIgnored:(MDCFeatureHighlightViewController *)highlight {
// do ignored things here
[self dismissViewControllerAnimated:YES completion:nil];
}
```
Reviewers: ajsecord, featherless, iangordon, O1 Material components iOS, randallli
Reviewed By: ajsecord, featherless, iangordon
Subscribers: randallli, iangordon, featherless, ajsecord
Tags: #material_components_ios
Differential Revision: http://codereview.cc/D1465
* Add MDCFeatureHighlightViewController
* Add Feature Highlight typical use
* Get Feature Highlight buildable
* Copy functionality over from prototype
* Accept/Reject highlight with animation
* Rotation
* Tap anywhere in the feature highlight typical use case demo to move the button
* Align highlight center and highlight point
* Layout text correctly
* Use sample text
* Use animated transitioning delegate for presentation and dismissal animations
* Clean up presentation + dismissal animation code
* Move intructional text behind button
* Limit width of text in feature highlight
* Layout text relative to center when noncentered
* Fix rotation
* First pass at feature highlight color example
* Properly map the inner and outer colors to the view
* Use correct license header
* Automatically choose text color based on outer highlight color
* Clean up color usage
* wrap long lines
* Clean up title positioning
* Clean up radius calculation
* Constize values
* Add feature highlight nav bar example
* Move examples up a directory
* Remove nav bar example
* Improve outer highlight color docs and implementation
* Add TODO: Mask the labels during the presentation and dismissal animations.
* Clean up feature highlight view
* Clean up feature highlight examples
* Layout feature highlight labels with support for RTL
* Code review improvements
* Clean up feature highlight samples
* Feature Highlight readme
* Update Podfile.lock for Feature Highlight
* Feature highlight readme improvements
Test Plan:
Local client builds as expected.
Internal text clients build as expected.
Reviewers: O1 Material components iOS, ajsecord
Reviewed By: O1 Material components iOS, ajsecord
Tags: #material_components_ios
Differential Revision: http://codereview.cc/D1487
Summary:
Include MaterialRTL as a dependency.
Explicitly note that the view is spatial and shouldn't be mirrored.
Test Plan:
Ran catalog in LTR mode, noted correct orientation.
Ran catalog in RTL mode, noted correct orientation.
Reviewers: junius, O1 Material components iOS, ajsecord
Reviewed By: O1 Material components iOS, ajsecord
Tags: #material_components_ios
Differential Revision: http://codereview.cc/D1461