491 Commits

Author SHA1 Message Date
John Detloff
f31cd3010d
Update BottomNavigationBar color themer (#3316)
https://www.pivotaltracker.com/story/show/156171489

Before:

https://user-images.githubusercontent.com/1418389/38699258-8753b1b8-3e65-11e8-8681-6998b13b1307.png
https://user-images.githubusercontent.com/1418389/38699259-875ded04-3e65-11e8-81ff-1d75069d6b22.png
https://user-images.githubusercontent.com/1418389/38699260-8768d480-3e65-11e8-93d2-16ad46e816f5.png


After:

https://user-images.githubusercontent.com/1418389/38699244-7ca2f10c-3e65-11e8-8b58-ac385b89e658.png
https://user-images.githubusercontent.com/1418389/38699245-7cad2f46-3e65-11e8-94b6-e326d9ca6854.png
https://user-images.githubusercontent.com/1418389/38699246-7cb5fa86-3e65-11e8-88f2-7359d40a2490.png
2018-04-12 16:14:49 -04:00
Jeff Verkoeyen
70c98b8138 Bump the version. 2018-04-12 08:29:50 -04:00
Jeff Verkoeyen
9cd14c5941 Merge branch 'release-candidate' into develop 2018-04-11 09:43:51 -04:00
Jeff Verkoeyen
cc75dbde7e Bump the release to 54.3.0. 2018-04-11 09:07:40 -04:00
Yarden Eitan
2146d297b1
[Buttons] Implement a typography themer. (#3318)
Addition of a unit test, and updated the examples to use the new typography themer.

Pivotal: https://www.pivotaltracker.com/story/show/156171586
2018-04-11 15:34:52 +03:00
Yarden Eitan
66f9b8702a
[Snackbar] Implement a semantic color scheme color themer API. (#3287)
Addition of a unit test, and updated the examples to use the new themer. Removed older stub color themer that was a no-op.

Pivotal: https://www.pivotaltracker.com/story/show/156171666
2018-04-11 10:49:57 +03:00
Mohammad Cazi
81351551f6
Chips typography implementation. (#3312)
Tests and example added.
2018-04-10 15:41:44 -04:00
Mohammad Cazi
0efdeb2a3f
[TextFields] Typography Themer implementation. (#3303)
* TextFields Typography Themer added.
Tests and example included.

* Removing extra checks, comment the reason behind checking pointsize

* fixing typo.
2018-04-10 15:41:32 -04:00
Mohammad Cazi
fe10c83c5d
BottomNavigationBar Typography Implementation, (#3311)
Tests and example added.
2018-04-10 14:20:17 -04:00
Jeff Verkoeyen
e7d4aff6c9 Merge branch 'release-candidate' into develop 2018-04-10 11:38:25 -04:00
Mohammad Cazi
8e83dcf343
[NavigationBar] typography implementation. (#3304)
* Navigation Bar Typography Themer implementation.
Tests and example added.

* fixing merge conflict mistake and tests.
2018-04-10 11:01:51 -04:00
Jeff Verkoeyen
0572b5bd55 Bump the release. 2018-04-10 08:58:19 -04:00
Yarden Eitan
99fd914646
[Buttons] Implement a semantic color scheme color themer API. (#3306)
Addition of a unit test, and updated example to use the new themer.

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

Flat button and raised button theming are separate stories and will be added in separate PRs.
2018-04-10 15:51:17 +03:00
Robert Moore
f9b034955f
[ThumbTrack] Refactoring to open the API (#3291)
Slider will require additional API from ThumbTrack to support upcoming color
parameterization. As a first step, MDCThumbTrack is being refactored to
increase its API to support broader customization.

Partially implements #3137
2018-04-09 23:09:27 -04:00
Jeff Verkoeyen
dc4edf3d6c Merge branch 'release-candidate' into develop 2018-04-09 16:46:59 -04:00
John Detloff
eb3167032f
Update ActivityIndicator Color Themer (#3259) 2018-04-09 16:31:58 -04:00
Mohammad Cazi
7716981f1f
[Dialogs] Implement MDCAlertController typography themer. (#3302)
* Implementing MDCAlertTypographyThemer.

* fixed the test.

* Implementing MDCAlertTypographyThemer.

* fixed the test.

* Dialogs: Example for typography added.
2018-04-09 16:08:56 -04:00
Mohammad Cazi
8563ec05c7
[FeatureHighlight] Implementation of Typography Themer. (#3268)
* Adding TypographyThemer for FeatureHighlight.

* finish the deprecation comment.

* fix blaze build

* Typography -> TypographyThemer

* Updated old tests.

* Cleaning up comments, and test.

* use an instead of a for MDC
2018-04-09 16:08:20 -04:00
Jeff Verkoeyen
cab431d3b4 Bump the release number. 2018-04-09 16:03:27 -04:00
Jeff Verkoeyen
4619174a1a Merge branch 'v54.0.0-hotfix' into release-candidate 2018-04-09 14:58:46 -04:00
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