327 Commits

Author SHA1 Message Date
Randall Li
21d7fa6974 bump version 2018-02-09 14:07:09 -05:00
Ian Gordon
ac35b61d91 Update podspec dependencies 2018-02-01 19:28:16 -05:00
Ian Gordon
f82275d591 Bumped version number to 44.6.0. 2018-02-01 18:57:55 -05:00
Yarden Eitan
58f24b4f18 [Cards] Initial Implementation (#2894)
* [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
2018-02-01 18:45:43 -05:00
Sam Morrison
31f908a10d [Chips] RTL support (#2863) 2018-01-25 09:34:24 -08:00
Ian Gordon
d44cffb445 Bumped version number to 44.5.0. 2018-01-22 12:27:48 -08:00
Ian Gordon
a6912063bc Bumped version number to 44.4.0. 2018-01-16 11:32:38 -05:00
ianegordon
c1fd27147a
Simplify podspec (#2828) 2018-01-12 10:09:54 -05:00
Ian Gordon
3f485eb59e Bumped version number to 44.3.0. 2018-01-11 01:28:42 -05:00
Ian Gordon
5ce221f554 Update podspec file 2018-01-11 01:18:23 -05:00
Ian Gordon
20faefcd0c Merge branch 'release-candidate' into develop 2018-01-11 00:10:56 -05:00
ianegordon
5a05ff9f9b
[Typography] Add FontThemer & FontScheme to FeatureHighlight (#2760)
* [Typography] Add FontThemer & FontScheme to FeatureHighlight

* Add Themer Example

* Remove TODO

* Cleanup / Feedback

* Migrate to new type hierarchy
2018-01-10 23:35:36 -05:00
Ian Gordon
cdebd6c4ae Bumped version number to 44.2.0. 2018-01-10 18:04:39 -05:00
Adrian Secord
f2ab451423 Bumped version number *down* to 44.1.0 because breaking change was reverted. 2018-01-08 10:36:55 -05:00
Adrian Secord
3dfa26fd0c Adding ShapeLibrary dep to Chips. 2018-01-08 10:29:23 -05:00
Adrian Secord
5e4968769a Bumped version number to 45.0.0. 2018-01-08 07:41:49 -05:00
Yarden Eitan
c29c4c5b5a remove themer from bottomnavbar (#2814) 2018-01-07 23:01:01 -05:00
Adrian Secord
294643fc0b
[Slider] Add appearance properties and enable UIAppearance. (#2796)
* 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.
2018-01-07 12:15:02 -05:00
Ian Gordon
bf75aa63d1 Bumped version number to 44.0.0. 2018-01-03 16:59:49 -05:00
Yarden Eitan
6df22d2cd6
Update MaterialComponents podspec to separate extensions from component. Breaking change, please see description when sending out a new release (#2748)
* [Catalog] Update catalog readme to reflect podspec filename change

* upate podspec

* update spec to extension

* more specific dependency

* added documentation
2018-01-02 16:51:58 -05:00
Jeff Verkoeyen
bd3eb3e391 Merge branch 'release-candidate' into develop 2017-12-20 13:18:52 -05:00
Robert Moore
da57f335e8
[BottomNavigation] Correct itemTitleFont behavior (#2736)
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 #2734
Closes #2735
2017-12-18 15:35:30 -05:00
Ian Gordon
69ee8b8520 Bumped version number to 43.1.0. 2017-12-14 16:26:28 -05:00
Jeff Verkoeyen
4acb488d88 Bump the release. 2017-12-12 12:35:26 -05:00
Jeff Verkoeyen
09df5e9ab0 Bump the release number to 42.2.0. 2017-12-12 11:59:18 -05:00
Jeff Verkoeyen
c239dd5e48 Bump the release. 2017-12-11 16:44:57 -05:00
Sam Morrison
183e289a87
[Chips] Use shaped shadow layer (#2628)
* [Chips] Use shaped shadow layer

* Review comments

* Nil shadowPath on shape generator assignment
2017-12-11 11:13:37 -05:00
Jeff Verkoeyen
7f63f3599d Merge branch 'release-candidate' into develop 2017-12-08 15:10:45 -05:00
Sam Morrison
5384f00f9a
[Chips] Chip field (#2600)
* [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
2017-12-08 12:20:30 -05:00
Jeff Verkoeyen
9a9cacb3f8 Bump the release. 2017-12-07 12:56:59 -05:00
featherless
0cf6cda80c [BottomNavigation] Add missing Ink dependency. (#2642) 2017-12-07 12:00:31 -05:00
featherless
284b6e3c6a
[BottomNavigation] Add missing Ink dependency. (#2642) 2017-12-07 11:59:03 -05:00
Robert Moore
2d8333d7d8 [Buttons] Extended FAB (#2563)
* [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
2017-12-04 12:55:55 -05:00
Jeff Verkoeyen
960767356e Bump the release to 41.0.0. 2017-12-01 13:59:50 -05:00
Jeff Verkoeyen
dd4124c866 Bump the release. 2017-11-29 15:51:42 -05:00
Jeff Verkoeyen
5043f728b8 Merge branch 'release-candidate' 2017-11-29 14:55:06 -05:00
Jeff Verkoeyen
5479b1724a Bump the release. 2017-11-29 14:47:31 -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
Jeff Verkoeyen
f49b0c5d53 Merge branch 'release-candidate' 2017-11-29 09:27:29 -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
Junius Gunaratne
a27d49408a
[Ink] Retrofit new ink layer with updated animation into existing ink API (#2488)
* 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
2017-11-28 09:59:25 -05:00
Jeff Verkoeyen
d02f32961f Bump the release to 40.1.0. 2017-11-22 12:26:30 -05:00
Sam Morrison
49ce464983 Merge branch 'release-candidate' 2017-11-17 16:06:26 -05:00
Sam Morrison
ea6c9ca3ad Bumped version number to 40.0.3. 2017-11-17 15:25:41 -05:00
Adrian Secord
2b437a248b Merge branch 'release-candidate' 2017-11-15 22:21:07 -05:00
Adrian Secord
95c7a00ae1 Bumped version number to 40.0.2. 2017-11-15 19:49:07 -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
Adrian Secord
133b012b87 Bumped version number to 40.0.0. 2017-11-15 08:59:28 -05:00
Sam Morrison
7c8131b672 [Chips] Chip component (#2389)
* [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
2017-11-15 08:29:10 -05:00
Yurii Samsoniuk
f437e8187a [Slider] Use MDCPalettes for default thumb track color (#2369) 2017-11-13 23:35:35 -05:00