46 Commits

Author SHA1 Message Date
Wenyu Zhang
b457b13005 Internal change.
PiperOrigin-RevId: 417635153
2021-12-21 09:32:05 -08:00
Alyssa Weiss
377a73f6a8 Internal change
PiperOrigin-RevId: 372353231
2021-05-06 08:56:51 -07:00
Jeff Verkoeyen
1abdf16760 Optimizing imports
PiperOrigin-RevId: 357185990
2021-02-12 07:36:41 -08:00
Jeff Verkoeyen
791596b851 [ActionSheet] Update all test and example files to match conventions.
PiperOrigin-RevId: 334822431
2020-10-01 08:54:27 -07:00
Bryan Oltman
e5f4e3fcb0 [ActionSheet] Add actionSheetControllerDismissalAnimationCompleted method to MDCActionSheetControllerDelegate.
This function notifies MDCActionSheetController delegates that the (user-triggered) dismissal animation has completed and the action sheet is no longer on the screen.

PiperOrigin-RevId: 314974453
2020-06-05 12:27:52 -07:00
Nobody
70716800b8 Internal change
PiperOrigin-RevId: 312085611
2020-05-18 16:41:12 +00:00
Jeff Verkoeyen
92254ea119 Rename all icons to an ic_<#name#> convention.
PiperOrigin-RevId: 308232277
2020-04-24 04:33:51 -07:00
Jeff Verkoeyen
44ec4e204c Internal change
PiperOrigin-RevId: 307562279
2020-04-21 01:44:02 -07:00
Jeff Verkoeyen
8311f56970 Internal change
PiperOrigin-RevId: 307386696
2020-04-20 06:31:24 -07:00
Jeff Verkoeyen
64bf9aea71 Internal change
PiperOrigin-RevId: 307314646
2020-04-19 17:21:52 -07:00
Jeff Verkoeyen
16c6a8daa8 Internal change
PiperOrigin-RevId: 307260042
2020-04-19 02:00:06 -07:00
Jeff Verkoeyen
2ffd66d74c Internal change
PiperOrigin-RevId: 307106055
2020-04-17 13:39:12 -07:00
Jeff Verkoeyen
1f5035c624 Internal change
PiperOrigin-RevId: 307098660
2020-04-17 12:58:28 -07:00
Jeff Verkoeyen
a9131baeb2 Internal change
PiperOrigin-RevId: 306962501
2020-04-16 18:31:09 -07:00
Jeff Verkoeyen
b56963f4ed [ActionSheet] Remove duplicate primary demo bit.
The ActionSheetComparisonExample was specifying itself as a primaryDemo even though ActionSheetTypicalUseExample is the primary demo.

PiperOrigin-RevId: 306293221
2020-04-13 13:08:10 -07:00
Bryan Oltman
42b004fcd7
[ActionSheet] Add delegate to support dismissal notification (#9475)
Add `MDCActionSheetControllerDelegate` to `MDCActionSheetController` with `actionSheetControllerDidDismiss:` so users of the ActionSheet component can react to dismissal.

Fixes #9147
2020-01-23 15:12:39 -05:00
featherless
315140a146 [ActionSheet] Standardize the examples. (#9334)
- Examples do not need .h files, so those have been removed.
- Example filenames should match the format "<Component><Example>Example.(h|swift)". The Swift example has been clarified as a "Typical Use" example accordingly.

Conventions: https://github.com/material-foundation/material-foundation-conventions-objc
2019-12-23 10:55:17 -05:00
Bryan Oltman
0107d70d28
[ActionSheet] Deprecate MDCActionSheetAction inkColor (#9127)
Part of b/145204880, will link to the mirrored Github issue once it has been created.
2019-12-06 11:43:46 -05:00
Robert Moore
8fb17f7b0a
[ActionSheet] Add contentEdgeInsets API. (#9008)
This is the first of three APIs required to support customized action cell
layouts necessary for internal design guidelines.  The `contentEdgeInsets` API
allows configuring the inset/outset values of the content rectangle of each
action cell.

Part of #8709
2019-11-22 07:19:49 -05:00
Cody Weaver
5310c5c448
[ActionSheet] Allow Swift example to support dynamic type (#8946)
Perviously the ActionSheet swift example did not support dynamic type. This updates the example table to support dynamic type.

## Screenshots

| Before | After |
|---|---|
|![Simulator Screen Shot - iPhone 5 - 2019-11-15 at 10 11 58](https://user-images.githubusercontent.com/7131294/68965314-5f133200-0790-11ea-988f-63871d8f5183.png)|![Simulator Screen Shot - iPhone 5 - 2019-11-15 at 10 11 20](https://user-images.githubusercontent.com/7131294/68965322-63d7e600-0790-11ea-826c-a7724b8935c5.png)|



Closes #8820
2019-11-15 12:25:45 -08:00
Cody Weaver
762ef5e484
[ActionSheet] Fix crash in example (#8734)
Currently the "Material : UIKit comparison" example crashes if open on iPad. This change updates it so that the UIKit ActionSheet is then a popover on iPad.

Closes #8730
2019-11-05 09:21:42 -08:00
Cody Weaver
d73d498d7e
[ActionSheet] Add dark mode support to theming extension (#8245)
This PR adds dark mode support to the theming extension for MDCActionSheetController. In order to support dark mode clients will need to set dynamic colors in their color scheme. 

There is no change to `mdc_elevationDidChangeBlock` because the elevation on an MDCActionSheetController should never change since it is not a settable property. If we later expose a setter then we will need to add that functionality. Additionally unit test were added but since MDCActionSheetController doesn't allow for subclassing I could not test for traitCollection changes. In order to test this more thoroughly do the steps as follows.

1. Launch MDCCatalog on an iOS 13 simulator.
2. Open the ActionSheet example.
3. Switch between light and dark mode in Xcode 11.

Following the steps above, this should be the result.
![actionSheet](https://user-images.githubusercontent.com/7131294/62724608-61bbf980-b9e1-11e9-8979-d586b49d2c58.gif)
2019-08-12 14:33:27 -04:00
Yarden Eitan
c64b90d844
[ActionSheet] Adds the Ripple behavior to ActionSheet. (#7594)
## Related links
* Bug: Closes #7383  
* Ripple: [MDCRippleTouchController](https://github.com/material-components/material-components-ios/tree/develop/components/Ripple)

## Introduction
This PR integrates [`MDCRippleTouchController`](https://github.com/material-components/material-components-ios/blob/develop/components/Ripple/src/MDCRippleTouchController.h) into [`MDCActionSheetController`](https://github.com/material-components/material-components-ios/tree/develop/components/ActionSheet). This behavior is an opt in flag property added to MDCActionSheetController, `enableRippleBehavior`.  This improves the visual touch feedback for our users as MDCInkView didn't support our current motion guidelines. We are also marking any of the Ink APIs ToBeDeprecated as part of the [Deprecation Policy](cb6b8e9599/contributing/deprecation_policy.md (step-4-add-a-comment-to-the-api-indicating-that-it-will-be-deprecated)).

## Videos
| Before | After |
| - | - |
|![oldRipple](https://user-images.githubusercontent.com/4066863/59469373-a7ee4580-8e02-11e9-9200-5ca939a42f42.gif)|![newRipple](https://user-images.githubusercontent.com/4066863/59469387-ad4b9000-8e02-11e9-8df6-c5263b15239d.gif)|
2019-06-15 15:34:53 -04:00
Yarden Eitan
52da482fd2 [Catalog] Add @objc annotations to our containerScheme instances in Swift (#7243)
We need to add @objc annotations to the containerScheme instances in our Swift examples, because we moved to Swift 4.2, the respondsToSelector won't find the setContainerScheme: setter otherwise.
2019-04-23 10:07:56 +03:00
Cody Weaver
9696880a71
[ActionSheet] Graduate theming extension to ready (#7181)
## Context
As part of our work to move away from _themer_ objects and onto _theming extension_ we need to graduate all of our components theming extensions to the MaterialComponents pod. 

## The fix
This PR updates the ActionSheet theming extension to the MaterialComponents pod, as well as updating examples and unit test. Additionally this removes the documentation for _themers_ since they were never out of the MaterialComponentsBeta podspec. The documentation for _themers_ is replaced with documentation for the _theming extension_.

## Bug
Closes #7160
2019-04-22 07:40:39 -04:00
Yarden Eitan
5bed3961e6
[ContainerScheme] Graduate ContainerScheme to ready. (#7170)
This PR graduates ContainerScheme to ready.

This includes updating the podspecs, podfile, all the import statements related to ContainerScheme, updating .kokoro rewrite rules, and finally the readme to not have ContainerScheme regarded to as being in beta.

Ran locally kokoro with -b bazel successfully.

Resolves #6732
2019-04-18 09:25:02 -04:00
Andrew Overton
c56d5d76d3
Add @objc annotations to get examples to show up in Dragons (#7168)
This is a follow up PR for #7166 adds @objc annotations to Swift catalogMetadata() methods, because the Swift 4 compiler no longer attempts to infer what methods should be visible to Objective-C. As a result of this change in the compiler, no Swift examples were showing up in Dragons after #7166. See this article: https://useyourloaf.com/blog/objc-warnings-upgrading-to-swift-4/ for additional context.
2019-04-17 21:35:43 -04:00
Cody Weaver
50307bb330
[Container] Fix colorScheme and typographyScheme to be nonnull. (#6699)
## Introduction
Before we move container scheme to ready we need to have both the `colorScheme` and `typographyScheme` nonnull. By making colorScheme and typographyScheme of MDCContainerScheming nonnull, clients will reduce the amount of conditional checks required in their apps and reduce a category of potential errors (accidentally passing nil to a nonnull parameter).

## The problem
Both `colorScheme` and `typographyScheme` were nullable in the container scheme making it harder for clients to use the container scheme throughout their app on non Material UIElements, i.e. UIView.backgroundColor

## The fix
Make both of these properties nonnull.

## Additional work
- [x]  I had to update the swift examples to not be optional and I additionally removed the nil checks from the ObjC examples.
2019-02-27 15:47:26 -05:00
Cody Weaver
7614c80c26
[ActionSheet] Promote to Ready (#6613)
## Related links
* Component: [ActionSheet](https://github.com/material-components/material-components-ios/tree/develop/components/ActionSheet)
* Component readiness: [beta-components](https://github.com/material-components/material-components-ios/blob/develop/contributing/beta_components.md)

## Introduction
MDCActionSheet has been in the beta program [since last August](https://github.com/material-components/material-components-ios/pull/4830). I don't foresee any major API changes. 

## Motivation
This will allow clients to use MDCActionSheet through CocoaPods instead of having to clone our repo.

## Proposed solution
Update the Podspec to reflect the `MDCActionSheet` component as a _Ready_ component.
2019-02-13 12:34:35 -05:00
Joe Aguilar
fc7f30d012 [Catalog] Completed audit of swift forced unwrapping in catalog (#6186)
This work closes #3984.

This change audits the rest of the catalog swift examples force unwrapping. I had begun this process with PR #6117.
2019-02-06 11:01:48 -05:00
Cody Weaver
e11f9995d5
[ActionSheet] Make examples use container scheme (#6493)
## Related links
* Bug: #6442 
* Component: [ActionSheet](https://github.com/material-components/material-components-ios/tree/develop/components/ActionSheet)
## Introduction
As we move to theming extensions all components that have a theming extension should use that within it's examples. Currently MDCActionSheet has a theming extension and is using it in the examples but the examples we also using the old button _Themers_ instead of the theming extensions.
## The problem
Within MDCActionSheet examples some buttons are using the old _Themers_.
## The fix
For all components being used in MDCActionSheet examples use a theming extension if available.
## Additional notes
This also cleans up some ivar usage.
2019-01-28 21:12:39 -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
Cody Weaver
86cdea966a
Update examples (#5979)
### Context
In #5975 we added the new style for theming components. This should be in our examples so clients know how to properly theme things.
### The problem
The examples were theming wrong.
### The fix
Update the examples to theme with the new additions
### Screenshots

| Before | After |
| - | - |
|![simulator screen shot - iphone xs max - 2018-12-11 at 15 44 41](https://user-images.githubusercontent.com/7131294/49829174-b8423c80-fd5b-11e8-9f6b-0db151b5194c.png)|![simulator screen shot - iphone xs max - 2018-12-11 at 15 38 21](https://user-images.githubusercontent.com/7131294/49829180-bc6e5a00-fd5b-11e8-9190-032e7a518594.png)|
|![simulator screen shot - iphone xs max - 2018-12-11 at 15 44 46](https://user-images.githubusercontent.com/7131294/49829187-c2643b00-fd5b-11e8-99c2-61ed53555c10.png)|![simulator screen shot - iphone xs max - 2018-12-11 at 15 38 27](https://user-images.githubusercontent.com/7131294/49829195-c7c18580-fd5b-11e8-928f-54e12dad1500.png)|
|![simulator screen shot - iphone xs max - 2018-12-11 at 15 44 50](https://user-images.githubusercontent.com/7131294/49829200-ce4ffd00-fd5b-11e8-9e92-c5cb55a083c9.png)|![simulator screen shot - iphone xs max - 2018-12-11 at 15 38 32](https://user-images.githubusercontent.com/7131294/49829214-d5770b00-fd5b-11e8-86e6-f5ab861413e9.png)|
2018-12-11 16:18:42 -05:00
Robert Moore
d0073c8da2
[ActionSheet] Rename example view controllers. (#5866)
Renaming each of the 3 example view controllers to include
"ExampleViewController" so they're easier to find. This is closer to our
typical naming pattern for example view controllers.
2018-12-04 09:18:28 -05:00
Robert Moore
372d6b24f9
No longer using -init for Color Scheme. (#5734)
{MDC iOS} No longer using `-init` for Color Scheme.

Based on the discussions in go/mdc-ios-theming, we should not use the `-init` default initializer. Instead, we should use an explicit set of defaults.

Search regex: '\[\[MDCSemanticColorScheme alloc\] init\]'
2018-11-12 12:54:47 -05:00
ianegordon
d90bf4cb8c
[ActionSheet] Add example comparing Material and UIKit (#5724)
Example that allows the presentation of a Material Action Sheet and a UIKit Action Sheet (UIAlertController in Action Sheet mode).

This will simplify verification that our a11y functionality matches UIKit.
2018-11-12 08:25:50 -08:00
Cody Weaver
1c95887654
[ActionSheet] Update examples to use global themer
### Context
Before #5345 there wasn't a global themer so the examples used the typography themer and color themer.
### The problem
There is now a global themer that isn't being used
### The fix
Apply the global themer to all examples instead of the typography themer and color themer.
### Bug
Closes #5391 
### Screenshots
| Before | After |
| - | - |
|![simulator screen shot - iphone x - 2018-10-10 at 10 03 11](https://user-images.githubusercontent.com/7131294/46741777-b680cd80-cc73-11e8-952e-79d514259ad3.png)|![simulator screen shot - iphone x - 2018-10-10 at 10 01 33](https://user-images.githubusercontent.com/7131294/46741787-baaceb00-cc73-11e8-9640-5f0f33e3b7ae.png)|
2018-10-10 13:45:34 -04:00
Cody Weaver
b52096c7e8
[ActionSheet] Add color themer (#5207)
### The problem

ActionSheet previously didn't have a color themer at all.

### The fix

This adds a color themer to ActionSheet, as well as test to test these use cases

### Related issues

#5039 

### Code snippet

#### Swift
```
let actionSheet = MDCActionSheetController()
MDCActionSheetColorThemer.applySemanticColorScheme(colorScheme, to: actionSheet)
```

#### ObjC
```
MDCActionSheetController *actionSheet = [[MDCActionSheetController alloc] init];
[MDCActionSheetColorThemer applySemanticColorScheme:self.colorScheme
                            toActionSheetController:actionSheet];
```

### Screenshots
| Before | After |
| ------ | ----- |
|![simulator screen shot - iphone x - 2018-09-24 at 09 17 13](https://user-images.githubusercontent.com/7131294/45954309-ae216500-bfda-11e8-8114-eb971ce36567.png)|![simulator screen shot - iphone x - 2018-09-24 at 09 16 10](https://user-images.githubusercontent.com/7131294/45954316-b2e61900-bfda-11e8-9e5a-16ff2e65cf7c.png)|

_Screenshot generated with_
```
self.colorScheme.surfaceColor = .yellow
self.colorScheme.onSurfaceColor = .magenta
```
2018-09-24 15:25:47 -04:00
Robert Moore
6bc8e40fd7
[ActionSheet] Fix Swift imports. (#5072)
The Swift example had some missing imports and cannot be compiled
internally.
2018-09-10 08:11:58 -04:00
Robert Moore
a2b6a60659
[ActionSheet] Make ActionSheet not presentable. (#4995)
Since the Action Sheet is an Alpha component, it should not be in the catalog.
2018-09-04 16:42:36 -04:00
featherless
d5c064fdff
[automated] Fix more copyright stanzas. (#4990)
Our creativity knows no bounds.

### Find

```
/\*
 *Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.
 *
 *Licensed under the Apache License,? Version 2\.0 \(the "License"\);
 *you may not use this file except in compliance with the License\.
 *You may obtain a copy of the License at
 *
 *http://www\.apache\.org/licenses/LICENSE-2\.0
 *
 *Unless required by applicable law or agreed to in writing,? software
 *distributed under the License is distributed on an "AS IS" BASIS,?
 *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,? either express or implied\.
 *See the License for the specific language governing permissions and
 *limitations under the License\.
 *\*/
```

```
/\*
 *Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.
 *Licensed under the Apache License, Version 2\.0 \(the "License"\);
 *you may not use this file except in compliance with the License\.
 *You may obtain a copy of the License at
 *http://www\.apache\.org/licenses/LICENSE-2\.0
 *Unless required by applicable law or agreed to in writing, software
 *distributed under the License is distributed on an "AS IS" BASIS,
 *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
 *See the License for the specific language governing permissions and
 *limitations under the License\.
 *\*/
```

```
/\*

 *Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.
 *
 *Licensed under the Apache License, Version 2\.0 \(the "License"\);
 *you may not use this file except in compliance with the License\.
 *You may obtain a copy of the License at
 *
 *http://www\.apache\.org/licenses/LICENSE-2\.0
 *
 *Unless required by applicable law or agreed to in writing, software
 *distributed under the License is distributed on an "AS IS" BASIS,
 *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
 *See the License for the specific language governing permissions and
 *limitations under the License\.

 *\*/
```

```
/\*
 *Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.
 *
 *Licensed under the Apache License, Version 2\.0 \(the "License"\);
 *you may not use this file except in compliance with the License\.
 *You may obtain a copy of the License at
 *
 *http://www\.apache\.org/licenses/LICENSE-2\.0
 *
 *Unless required by applicable law or agreed to in writing, software
 *distributed under the License is distributed on an "AS IS" BASIS,
 *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
 *See the License for the specific language governing permissions and
 *limitations under the License\.
 *\*/
```

```
/\*
 Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.

 Licensed under the Apache License, Version 2\.0 \(the "License"\);
 you may not use this file except in compliance with the License\.
 You may obtain a copy of the License at

 http://www\.apache\.org/licenses/LICENSE-2\.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
 See the License for the specific language governing permissions and
 limitations under the License\.
 \*/
```

```
/\*
 Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.

 +Licensed under the Apache License, Version 2\.0 \(the "License"\);
 +you may not use this file except in compliance with the License\.
 +You may obtain a copy of the License at

 +http://www\.apache\.org/licenses/LICENSE-2\.0

 +Unless required by applicable law or agreed to in writing, software
 +distributed under the License is distributed on an "AS IS" BASIS,
 +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
 +See the License for the specific language governing permissions and
 +limitations under the License\. *\*/
```

```
/\*
 Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.

 +Licensed under the Apache License, Version 2\.0 \(the "License"\);
 +you may not use this file except in compliance with the License\.
 +You may obtain a copy of the License at

 +http://www\.apache\.org/licenses/LICENSE-2\.0

 +Unless required by applicable law or agreed to in writing, software
 +distributed under the License is distributed on an "AS IS" BASIS,
 +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
 +See the License for the specific language governing permissions and
 +limitations under the License\.
 *\*/
```

```
/\*
 Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.

 Licensed under the Apache License, Version 2\.0 \(the "License"\)
 you may not use this file except in compliance with the License\.
 You may obtain a copy of the License at

 http://www\.apache\.org/licenses/LICENSE-2\.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
 See the License for the specific language governing permissions and
 limitations under the License\.
 \*/
```

```
/\*
 Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.

 Licensed under the Apache License, Version 2\.0 \(the "License"\);
 you may not use this file except in compliance with the License\.
 You may obtain a copy of the License at

 http://www\.apache\.org/licenses/LICENSE-2\.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
 See the License for the specific language governing permissions and
 limitations under the License\.
 \*/
```

```
/\*
 Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.
 Licensed under the Apache License, Version 2\.0 \(the "License"\);
 you may not use this file except in compliance with the License\.
 You may obtain a copy of the License at

 http://www\.apache\.org/licenses/LICENSE-2\.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
 See the License for the specific language governing permissions and
 limitations under the License\.
 \*/
```

### Replace

```
// Copyright $1-present the Material Components for iOS authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
```
2018-08-31 16:09:12 -04:00
featherless
2181084272
[automated] Standardize our open source license stanza to what Xcode generates. (#4985)
Removes the need to copy-paste stanzas from other files anymore as we'll rely on #4478 to generate the correct stanza for us instead.

This was an automated change generated by running a find-and-replace regular expression:

```
/\*
 Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.

 Licensed under the Apache License, Version 2\.0 \(the "License"\);
 you may not use this file except in compliance with the License\.
 You may obtain a copy of the License at

 http://www\.apache\.org/licenses/LICENSE-2\.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
 See the License for the specific language governing permissions and
 limitations under the License\.
 \*/
```

```
/\*
Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.

Licensed under the Apache License, Version 2\.0 \(the "License"\);
you may not use this file except in compliance with the License\.
You may obtain a copy of the License at

http://www\.apache\.org/licenses/LICENSE-2\.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
See the License for the specific language governing permissions and
limitations under the License\.
\*/
```

```
/\*
 Copyright ([0-9]+)-present the Material Components for iOS authors\. All Rights Reserved\.
 Licensed under the Apache License, Version 2\.0 \(the "License"\);
 you may not use this file except in compliance with the License\.
 You may obtain a copy of the License at
 http://www\.apache\.org/licenses/LICENSE-2\.0
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
 See the License for the specific language governing permissions and
 limitations under the License\.
 \*/
```

```
// Copyright $1-present the Material Components for iOS authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
```
2018-08-31 12:13:07 -04:00
Cody Weaver
05d4be9e43
[ActionSheet] Add typography themer (#4966)
Add a typography themer to the Action Sheet component.
2018-08-30 19:33:34 -04:00
Yarden Eitan
3480c50c67
updated to newest CbC standard (#4956)
Move to the new CbC standard released in CatalogByConvention v2.5.0. See PR: material-foundation/cocoapods-catalog-by-convention#27 for more info on the change.
2018-08-29 20:45:13 -04:00
Cody Weaver
77fc2f759c
[ActionSheet] Add example with too many options to fit on screen (#4946)
This PR adds an example so showcase behavior when there are too many options on to present them on screen initially.
2018-08-29 11:38:22 -04:00
Cody Weaver
1f4b8e0789
[ActionSheet] Add Action sheet (#4830)
This PR adds the Action Sheet component for the iOS platform. In a later PR theming will be added and then an App Bar to support full screen.
2018-08-28 06:16:23 -04:00