6 Commits

Author SHA1 Message Date
Jeff Verkoeyen
1920b96b2a [Dialogs] Add example snapshot tests.
PiperOrigin-RevId: 309275412
2020-04-30 12:22:43 -07:00
Yarden Eitan
90938fe59f
[Dialogs] Adds the Ripple behavior to Dialogs. (#7595)
## Related links
* Bug: Closes #7379 
* Ripple: [Ripple](https://github.com/material-components/material-components-ios/tree/develop/components/Ripple)

## Introduction
This PR allows enabling the Ripple Behavior for [`MDCAlertController and MDCAlertControllerView`](https://github.com/material-components/material-components-ios/tree/develop/components/Dialogs) by enabling the ripple behavior of the internal `MDCButton`. This behavior is an opt in flag property added to MDCAlertController, `enableRippleBehavior`.  This improves the visual touch feedback for our users as MDCInkView didn't support our current motion guidelines.

## Videos
| Before | After |
| - | - |
|![oldRipple](https://user-images.githubusercontent.com/4066863/59470021-81c9a500-8e04-11e9-8071-cdc2d3a81ceb.gif)|![newRipple](https://user-images.githubusercontent.com/4066863/59470027-85f5c280-8e04-11e9-834b-a180c8805e40.gif)|
2019-06-15 12:47:00 -04: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
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
Randall Li
fe0099d65c Merge branch 'release-candidate' into develop 2018-12-06 16:36:03 -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