12 Commits

Author SHA1 Message Date
Yarden Eitan
7f7bc36202
[Catalog] Expose colorScheme + typographyScheme properties for all examples to use app wide theming (#3478)
Made colorScheme and typographyScheme properties in the class interfaces for all our examples.
Moved theming away from example inits and into viewDidLoad
Small update for slider example to allow it to grab the theming properly.
Related Pivotal: https://www.pivotaltracker.com/story/show/156616695
2018-04-25 15:15:17 -04:00
Yarden Eitan
8717640dbd [Textfields] Added Filled and Outlined themers (#3438)
[Textfields] Added Filled and Outlined themers (#3438)
2018-04-20 18:13:32 -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
75c81a1659
[TextFields] Adding Color Themer. (#3255)
* Adding Color Themer for Textfields.

* We have to keep the old API around, and deprecated after releasing the new version.

* fixing indentions.

* Importing the needed headers instead of forward declaration, documenting the deprecation and suggested methods to use.

* Filled text field example is updated to style the textfield with the semantic color scheme.
TextFieldColorThemer should be able to theme any MDCTextInput.

* fixed couple of method name change updates.

* Adding Color Themer for Textfields.

* We have to keep the old API around, and deprecated after releasing the new version.

* fixing indentions.

* Importing the needed headers instead of forward declaration, documenting the deprecation and suggested methods to use.

* Filled text field example is updated to style the textfield with the semantic color scheme.
TextFieldColorThemer should be able to theme any MDCTextInput.

* fixed couple of method name change updates.

* Revert "fixed couple of method name change updates."

This reverts commit 9e0ef0f2eb08026e05b1f182aab6b4dc84fa766b.

* Revert "Revert "fixed couple of method name change updates.""

This reverts commit bda6b13ff979811bd1eccc6ef365dd273fed007b.

* fixing breaking tests.
2018-04-06 12:06:12 -04:00
Yarden Eitan
c88a059640
[Catalog] Remove unwanted warnings from build (#2794)
* fix warnings for .count in Swift strings and duplicate images in Asset folders, also give the Extension target all icons

* update project settings to recommended ones
2018-01-05 16:58:33 -05:00
Yarden Eitan
29d760c7d6
Added isPresentable to catalog files, ported over ZShadow to dragons. (#2726) 2017-12-15 12:20:35 -05:00
Martin Petrov
f98a9d42ed @objc annoaing catalog by convention (#2305) 2017-10-30 10:24:17 -04:00
Will Larche
75cf565fea [TextFields] Fix text fields overlapping labels (#2163)
* [TextFields] Removes ambiguous layout.

* [TextFields] Better code organization and comment.

* [TextFields] Adding a filled in field to the examples.

* [TextFields] Correcting placeholder not rising when text is set programatically. Also better naming.

* [TextFields] Giving examples of each floating style a set .text.

* [TextFields] Adding placeholder float test.
2017-10-12 23:25:50 -04:00
Will Larche
5dae93c6c4 [TextFields] Adding .placeholderText to controllers (#2149)
* [TextFields] Adding .placeholderText to fix bugs and continue moving API to controller.

* [TextFields] PR feedback.

* [TextFields] Removes ambiguous layout.

* [TextFields] Better code organization and comment.
2017-10-12 09:16:07 -04:00
Will Larche
b438856be2 [TextFields] Examples bug and formatting (#2137)
* [TextFields] Formatting correction.

* [TextFields] Example bug.
2017-10-09 21:54:41 -04:00
Will Larche
90e79dd815 [TextFields] iOS 11 example bugs fixed (#2071)
* [TextFields] Example fix for iOS 11.

* [TextFields] iOS 11 bugs fixed.

* [TextFields] Formatting

* [TextFields] Xcode 8 support

* [TextFields] Example layout correction.

* [TextFields] Xcode and iOS safety code.

* [TextFields] typo corrections.

* [TextFields] Code for Xcode conditional.

* [TextFields] Xcode 8 support.

* [TextFields] Pleasing the static analyzer.

* [TextFields] Formatting improvement.

* [TextFields] Swift compiler conditional change and some formatting.

* [TextFields] Swift example notification changes.

* [TextFields] Safer notifcations code in Objc.

* [TextFields] Formatting
2017-10-02 20:30:17 -04:00
Will Larche
cde864f235 [TextFields] Renaming classes to match the MD spec (#2061)
* [TextFields] Renaming classes to match the spec.

* [TextFields] Renaming examples.
2017-09-27 22:10:47 -04:00