* [Cards] New API Header files (#2886)
* header files
* rename to MDCCardCollectionCell
* update for review
* update to review
* update to review
* [Cards] Full Implementation (#2892)
* cards core implementation
* updates to API and fixes from doc
* small fixes
* podspec, examples, and tests
* small fixes
* small fix
* small fix
* update inkView API and some small nits
* refactor API and code
* refactor API and code
* remove private header
* rename to MDCCardCollectionCell
* updates to api review
* update based on reviews
* fix tests
* [Cards] Initial Docs
* updates to encoding
* small fix
* pr update
* pr update
* pr update
* pr update
* pr update
* pr update
* pr update
* ink api update
* ink api update
* Add Slider appearance properties and enable UIAppearance.
Adds `thumbRadius` and `thumbElevation` as UIAppearance properties.
Makes `color`, `disabledColor`, and `trackBackgroundColor` UIAppearance-compatible.
* Added unit tests for slider.
* Remove infeasible coding unit test for now.
* Line-length formatting.
* Rename and condense color tests, sort by order that they appear in the header.
* Rename tests and mark the thumb section.
* Replace `_thumbTrack.thumbRadius` usage with `self.thumbRadius`.
* Remove NSCoding-related helper, moved to another branch.
* Search-and-replace mixup.
* Line-length fixups.
The `itemTitleFont` property was not defaulted to a non-nil value, breaking
the API header contract. It was also not being applied when the set of items
in the bar were changed.
Closes#2734Closes#2735
* [Chips] Chip field
* Clean up example
* Nits
* [self invalidateIntrinsicContentSize];
* Reorder addChip behavior
* Use correct version check
* NSCoding
* Fix example
* 32dp
* Remove k prefix
* Constrain width of chips
* [Buttons] Remove .largeIcon shape from FloatingButton (#2513)
The LargeIcon shape is not required, since the same behavior (support
for 36-point images) can be achieved by setting the contentEdgeInsets to
.zero.
Also updates one of the button examples to use a 36-point icon.
* [Buttons] Add extended FAB layout code (#2528)
Creating (internal for now) the required properties and layout code to support
the extended FAB. Unit tests to confirm the behavior and some minor
adjustments to existing values like default contentEdgeInsets values.
Implements #2495
* [Buttons] Expose Extended FAB properties (#2543)
Making the new properties public and also migrating away from simple
property setters to the new forShape:inMode: setters required for
UIAppearance support.
* minimumSize
* maximumSize
* contentEdgeInsets
* hitAreaInsets
Implements #2495
* [Buttons] Add basic Floating Button example (#2554)
Includes automatic adjustment of extended/normal layout depending on size
classes.
Demonstrates #2495
* [Buttons] Update README for Extended FAB (#2561)
The README includes usage examples for the FAB. Adding a section to
demonstrate how to configure the FAB in its different shapes and modes.
Documents #2495
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];
```
* Add updated ink flag
* Add completion block delegate methods
* Rename existing ink to legacy ink
* Update example with legacy ink as second ink view
* Update comment formatting
* Update formatting
* Update ink unit tests
* Update ink unit tests
* Import UIKit for UIColor support
* Add dependency to Material Math
* Add Material Math dependency
* Use CABasicAnimations where possible
* Add support for maxRippleRadius
* Minor refactoring for timing functions
* Remove unused mark
* Add ink description to comments
* Minor formatting fix
* Nullability updates and clarification comments
* Remove email in comments.
* Add nullability
* Add nullability
* Use year when file was created
* Add float
* Update constant names
* Update formatting
* Update year for legal reasons
* Clarify comment about use of usesCustomInkCenter
* Update cancelAllAnimationsAnimated to stop all active ink ripples
* Remove use of ink layers array and access sublayers directly
* Check layer class in cancelAllAnimationsAnimated
* Use bounds rather than frame in layoutSubviews
* Setting radii in setNeedsLayout
* [Chips] Chip component
* Update description
* Readme fixes
* NSMutableArray -> NSArray
* Use MDCSlider
* Chips examples CBC
* MDCChipCollectionViewCell.m
* Sanitize example
* Left align single-item rows
* Copy
* Check mark
* Use static inline instead of #define
* initWithFrame:CGRectZero
* encoding decoding
* GGRectGetMinX
* If no title color has been set for a given state...
* Use new icons
* rm init override
* alwaysAnimateCellResize -> alwaysAnimateResize
* MDCChipCollectionViewCell initWithCoder
* Fix MDCChipView encoding
* Fix indent
* Fix sizing images
* Use UIEdgeInsetsInsetRect
* Layout around hidden accessory view
* TODO Pull background color from MDCPalette
* Add The chip uses this property to determine intrinsicContentSize and sizeThatFits.
* Use static functions instead of UIColor extension
* sizeToFit -> setNeedsLayout