6 Commits

Author SHA1 Message Date
Cody Weaver
754eeaff1c [Dialogs] Update examples to use theming extensions (#6497)
## Related links

* Bug: #6438 
* Component: [Dialogs](https://github.com/material-components/material-components-ios/tree/develop/components/Dialogs)

## Introduction

As we move to theming extensions all components that have a theming extension should use that within it's examples. Currently MDCAlertController has a theming extension and should use it in all examples. Additionally all components within the examples that have a theming extension should use it.

## The problem

Within MDCAlertController examples some components are using the old _Themers_.

## The fix

For all components being used in MDCAlertController examples use a theming extension if available.

## Additional notes

This also cleans up some ivar usage and import statements.
2019-01-30 14:31:14 -05:00
Robert Moore
f7cf6baeb7
[Dialogs] {bazel} Add reusable examples rules. (#6252)
Adding two new rules to our bazel definitions for examples. Objective-C
examples and Swift examples. Using these ensures we have a common set of
definitions for things like warnings, Swift version, and default
visibility.

Closes #6215
2019-01-09 12:59:09 -05:00
Galia Kaufman
f472cab956
[Dialogs] adding backgroundColor property for dark theme support (#6066)
Adding a backgroundColor property to MDCAlertController, which enables dark theming of MDCAlertController (b/121269110).
2019-01-08 10:29:31 -05:00
featherless
73bdc03c2b
[automated] Rename MaterialComponentsAlpha to MaterialComponentsBeta. (#6018)
This is an automated change generated by replacing all instances of MaterialComponentsAlpha with MaterialComponentsBeta. This is not a breaking change because changes to Alpha/Beta components (including renaming them) are not considered breaking.

The MaterialComponentsAlpha podspec was mistakenly named Alpha, when what we meant was more close to Beta. The distinction is that Alpha components are not expected to be used by clients, while Beta components are.
2018-12-14 10:47:31 -05:00
Yarden Eitan
8761898671 update imports for new theming 2018-12-11 12:04:10 -05:00
Galia Kaufman
3f3e5b0efc
[Dialogs] Renaming example view controllers (#5932)
Adding "Example" to names of all example view controllers of Dialogs - in files/class names.
2018-12-06 15:55:51 -05:00