921 Commits

Author SHA1 Message Date
Jeff Verkoeyen
498e48f441 Merge branch 'v54.0.0-hotfix' into develop 2018-04-09 14:56:33 -04:00
Jeff Verkoeyen
e049dbb5b5 Bump the version. 2018-04-09 14:54:24 -04:00
Jeff Verkoeyen
c5cc9c1201 Add navigation bar. 2018-04-09 14:31:06 -04:00
Jeff Verkoeyen
f6cf9f22d6 Add missing app bar dependency. 2018-04-09 14:28:45 -04:00
Jeff Verkoeyen
f9122849cd [Cards] Add missing Shapes dependency. 2018-04-09 14:06:39 -04:00
Mohammad Cazi
207e59d1b1
[Tabs] Implementing TabBar Typography Themer. (#3278)
* Implementing TabBar Typography Themer.

* add typographyScheme to a tabbar example.

* couple of nits.
2018-04-09 12:51:58 -04:00
Jeff Verkoeyen
42de89ced3 Merge branch 'release-candidate' into develop 2018-04-09 11:58:33 -04:00
featherless
38595c6509
[NavigationBar] Implement a semantic color scheme color themer API. (#3267)
Also added unit tests and updated a couple examples to make use of the new themer APIs.

Pivotal story: https://www.pivotaltracker.com/story/show/156169509

[Delivers #156169509]

![simulator screen shot - iphone x - 2018-04-06 at 11 36 09](https://user-images.githubusercontent.com/45670/38430240-b810f8b4-398e-11e8-9583-e871a5e5542d.png)
2018-04-09 11:27:53 -04:00
Jeff Verkoeyen
189624eced Bump the release to 54.0.0. 2018-04-09 10:44:31 -04:00
Yarden Eitan
0efc202c35
[Snackbar] Implement a typography themer. (#3288)
* added typography theming to snackbar

* added TypographyThemer to kokoro

* deprecation message
2018-04-09 11:42:21 +03:00
Jeff Verkoeyen
630571211b Merge remote-tracking branch 'origin/hotfix-53.0.0' into release-candidate 2018-04-06 16:46:40 -04:00
Jeff Verkoeyen
18b937aa31 Merge branch 'hotfix-53.0.0' into develop 2018-04-06 16:38:32 -04:00
Rob Moore
f9dbf90b6b Bumped version number to 53.0.0 2018-04-06 15:33:47 -04:00
featherless
6620da4d96 Partial roll-forward of "[Typography] Migrate from FontScheme to TypographyScheming (#3219)" (#3258)
This change only adds the new Typography Scheme APIs and target with no component modifications.

This partially reverts commit 83b9ea1.

Pivotal story: https://www.pivotaltracker.com/story/show/156392054
2018-04-05 22:19:41 -04:00
featherless
83b9ea1735
Revert "[Typography] Migrate from FontScheme to TypographyScheming (#3219)" (#3256)
This reverts commit 2e48edf99f8c73c81ba4d782f51a55faf06d23a8.

This commit introduced a test-breaking change in TextFields that is blocking presubmits.

Closes https://github.com/material-components/material-components-ios/issues/3245
2018-04-05 14:04:44 -04:00
Robert Moore
25c2fc889e Merge branch 'release-candidate' into develop 2018-04-05 11:23:59 -04:00
featherless
1e2ed55efe
[FlexibleHeader] Implement a color themer API with the new MDCColorScheming type. (#3236)
This change also adds unit tests to verify the behavior.

I unfortunately had to make a new API for the new data type because it is not backwards compatible with the MDCColorScheme protocol.

Pivotal story: https://www.pivotaltracker.com/story/show/156522677
2018-04-05 08:55:11 -04:00
ianegordon
2e48edf99f
[Typography] Migrate from FontScheme to TypographyScheming (#3219)
* Migrate to Font Scheme

* Add support for iOS 8.0-8.1

* Update Themers and Tests

* Font -> Typography

* Rebase

* Update BUILD

* Cleanup

* Update naming, add docs

* Fix BUILD target

* Add Typography Dependency

* BUILD updates

* BUILD fix

* Add tests

* Typography
2018-04-04 23:47:49 -04:00
featherless
2be6cd9de5
[Themes] Add new semantic color scheme (#3216)
The new semantic color scheme includes a number of new properties focused on their contextual use within components. This should make it easier to provide consistent, holistic theming for an entire app using a set of baseline colors and mappings.

* `primaryColor` - Displayed most frequently across your app.
* `primaryColorVariant`  - A tonal variation of primary color.
* `secondaryColor` - Accents select parts of your UI.
* `backgroundColor` - The underlying color of an app’s content.
* `errorColor` - The color used to indicate error status.
* `surfaceColor` - The color of surfaces such as cards, sheets, menus.
* `onBackgroundColor` - A color that passes accessibility guidelines for text/iconography when drawn on top of `backgroundColor`.
* `onPrimaryColor` - A color that passes accessibility guidelines for text/iconography when drawn on top of `primaryColor`.
* `onSecondaryColor` - A color that passes accessibility guidelines for text/iconography when drawn on top of `secondaryColor`.
* `onSurfaceColor` - A color that passes accessibility guidelines for text/iconography when drawn on top of `surfaceColor`.

**New Catalog Component**
![screen shot 2018-03-30 at 3 20 23 pm](https://user-images.githubusercontent.com/1753199/38150623-e3d0bc84-342d-11e8-8202-c2d5b87eeb11.png)

Closes https://github.com/material-components/material-components-ios/pull/3134
2018-04-03 15:55:57 -04:00
Rob Moore
e500aa6587 Bumped version number to 52.0.0. 2018-04-02 11:57:20 -04:00
featherless
bd67db7c4e
Add initial scaffolding for the Color scheme target. (#3171)
Creates a new Color target in the schemes sub-directory. Includes:

- A CocoaPods target.
- A BUILD file.
- A barebones readme.
- An empty umbrella header.

Pivotal story: https://www.pivotaltracker.com/story/show/156357414
2018-03-29 15:57:21 -04:00
Randall Li
61897e0ea9 breaking change adjustment 2018-03-29 01:21:16 -04:00
randallli
d57e12f4d2 Bumped version number to 49.1.0. 2018-03-27 11:51:14 -04:00
Mohammad Cazi
91a376ffe1 [TextFields] Adding font themer (#3096)
* Extracting Accessibility out of FeatureHighlightViewController to a mutator.
Tests added.
Example updated.

* Revert "Extracting Accessibility out of FeatureHighlightViewController to a mutator."

This reverts commit 0b5433ebf86366087b240c4dc4992a0603fa73e0.

* Adding Font themer to TextFields.

* extra lf.

* dealing with warnings.

* Fixing unit tests.

* commenting out low priority set up for bounds

* commenting out tests to see if tests would fail.

* tests are back, scale could have been zero.

* temp fix in case the fonts are zero.

* check for default inside setter.

* fix compliing mistakes.

* add documentation for the change.

* Example of dynamic size with different fonts.

* added support for dynamic type with custom fonts.

* fixed the top overlapping issue

* Replied to comment and fixed the issues.

* Adding Text Input property to InputController
Changing the value of mdc_adjustsFontForContentSizeCategory should not effect the actual controller fonts that are set by user but only the properties of the actual textfield. In order to do that I moved the resizing of fonts away from the properties of InputController and into update layout.

* Fixing the comment. Changing font scheme to not accept nullable controllers.

* change documentation.
2018-03-23 15:03:13 -04:00
Robert Moore
6f1418df2a [Chips] Create a FontThemer (#3128)
* [Chips] Create a FontThemer

Creating a FontThemer to use MDCFontScheme and apply it to an
MDCChipView.

* PR feedback: Don't fake font scheme

* Making component pointer nonnull.
2018-03-22 16:55:21 -04:00
randallli
13f10300f1 Major version bump 2018-03-20 15:21:42 -04:00
Randall Li
f0dfbbef6d Bumped version number to 48.1.0. 2018-03-20 02:37:42 -04:00
randallli
f1791d0a95 Merge branch 'release-candidate' into develop 2018-03-16 14:38:00 -04:00
Yarden Eitan
b782d2462a [Snackbar] Added Color and Font Themers (#3102)
* tests

* files

* update BUILD

* 2018
2018-03-16 13:18:45 -04:00
ianegordon
b22c8c2650
[Dialogs] Enable custom fonts on MDCAlertController (#3097)
* [Dialogs] Break AlertController into View and ViewController

* Enable Dynamic Type at the same time as custom fonts

* Feedback
2018-03-16 13:16:54 -04:00
Robert Moore
c82fafba3e [BottomAppBar] Add simple color themer (#3094)
* [BottomAppBar] Add simple color themer

Adding a color themer that can apply an id<MDCColorScheme> to the
BottomAppBar.  Uses the `primaryColor` as the bar's background color to
match the behavior of MDCNavigationBarColorThemer.

Closes #2279

* Adjusting documentation
2018-03-15 17:45:06 -04:00
randallli
dfcd334092 fixed version to 48.0.0 2018-03-15 15:53:54 -04:00
randallli
916547adfb Bumped version number to 47.1.0. 2018-03-15 13:43:04 -04:00
randallli
58b4bdb5a9 Merge branch 'release-candidate' into develop 2018-03-15 10:41:35 -04:00
Mohammad Cazi
2cc00f431e
[Tabs] Font/Color Scheme support for tab bar. (#3083)
* Extracting Accessibility out of FeatureHighlightViewController to a mutator.
Tests added.
Example updated.

* Revert "Extracting Accessibility out of FeatureHighlightViewController to a mutator."

This reverts commit 0b5433ebf86366087b240c4dc4992a0603fa73e0.

* added font scheme for tabBar

* Added tests for color and font themer.

* Revert "Added tests for color and font themer."

This reverts commit 72312af8a4cfbad82c02e2ca84923f6f8d86e27c.

* Revert "Revert "Added tests for color and font themer.""

This reverts commit 111d0f44795b1b95efd2b9d6fcb461e2603873bb.

* test files header.

* name changes and doc fix, Build file fixes.

* tabs: Handle the case of no optional color scheme implementation, test coverage added.
2018-03-14 13:02:20 -04:00
Mohammad Cazi
fa6a2f67d6 [FeatureHighlight] Accessibility title and body mutator added to fix UIAppearance issue (#3043)
* Extracting Accessibility out of FeatureHighlightViewController to a mutator.
Tests added.
Example updated.

* Added the new folder to pod setting.

* Splitting Title and Body Mutators, added tests for case of nil color.

* extra lf.

* Options is now a variable that can be given to the mutator.

* Fixing unit test issues, Updating all examples.

* Fixing Build file.

* Fixing build file.

* build file fix

* extra pace in the build file

* Revert "extra pace in the build file"

This reverts commit 18195fc893da2bcef7f8ef21f20b9f016b6c6011.

* extra space.

* cleaning up based on PR feedback.

* call super on setup and teardown.

* has to include to folder.

* build file indentation and variable name fixes.

* added color test.

* Document the test

* Made single method for accessibility.

* removing option input from public API.

* improving tests and documentation.

* putting this change in a separate PR.
2018-03-13 12:14:43 -04:00
randallli
9673a1fe03 version bump 47.0.0 2018-03-09 14:14:48 -05:00
Robert Moore
dcbe2e5cd7
[ButtonBar] Remove UIAppearance call in themer (#3020)
MDCButtonBarColorThemer was explicitly calling UIAppearance for MDCButtonBar when contained in an MDCNavigationBar to clear the backgroundColor property. This is "magic" behavior and should not be included in the themer. Instead, the navigation bar will force the buttonBar background colors to nil (clear). Since having ButtonBars is an implementation detail, clients should not expect them to have a different background color than the navigation bar.

Closes #2789
2018-03-06 09:25:54 -05:00
randallli
49cf4442a0 bump 2018-03-01 17:27:17 -05:00
Ian Gordon
ae514608a9 Bumped version number to 46.1.0. 2018-02-27 11:12:13 -05:00
Ian Gordon
3c8bf015f9 Bumped version number to 46.0.0. 2018-02-25 15:48:54 -05:00
Ian Gordon
4f940e8cb1 Revert "[BottomSheet] Convert to Material Motion. (#2400)"
This reverts commit c9ef0366c1525be0f5c384cf90703ab73dbcf3e3.
2018-02-25 13:10:33 -05:00
Ian Gordon
1fd6ed4fab Bumped version number to 45.0.0. 2018-02-13 15:31:52 -05:00
ianegordon
f88160007e
[Dialogs] Temporarily revert MMotion (#2921)
* Revert "[Dialogs] Migrate to Material Motion. (#2481)"

This reverts commit 211ca772ea0456b56e522c0c67bd44312ddfe4d1.

* Bump animator back to 2.5.0

* Pull in develop project file

* Remove test for MMotion
2018-02-13 14:27:24 -05:00
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