6 Commits

Author SHA1 Message Date
Galia Kaufman
df2a4a8c1d
[Dialogs] Fix presented corner radius in custom view controllers (#6696)
DialogPresentationController changes the corner radius dynamically during presentation while ensuring that the presented view's corner radius always matches the corner radius of the tracking view which draws the shadow behind the presented view.
2019-03-02 10:03:55 -05:00
Wenyu Zhang
e30b8b2b39
[Dialogs] hide non main examples in Catalog (#6576) 2019-02-08 15:34:55 -05:00
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
Andrew Overton
a006ff6e4f
Add MDCDialogPresentationController+MaterialTheming (#6286)
This PR adds `MDCDialogPresentationController+MaterialTheming`.

Closes #5968.
2019-01-14 13:35:04 -05:00
Cody Weaver
1ca10a8669
[Theming] Update our theming extensions (#5945)
### Context
All of our theming targets should be `MDC<#Component>+Theming` but all files should be `MDC<#Component>+MaterialTheming.m/h`. We got out of sync and caught this early.

### The problem
Our targets and file names weren't correct in some cases

### The fix
Update our targets and files to be what we have decided as a team.
2018-12-10 14:16:37 -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