Skip to content

Commit 13ec0a8

Browse files
committed
Merge branch 'release-candidate' into stable
2 parents 0daf0ec + 4023991 commit 13ec0a8

File tree

61 files changed

+1383
-245
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1383
-245
lines changed

CHANGELOG.md

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,108 @@
1+
# 109.3.0
2+
3+
This minor release includes API improvements to ProgressView, SnackBars and TextFields, as well as tests and bug fixes for ActionSheet, AppBar, BottomAppBar, BottomSheet, Collections, Dialogs, FlexibleHeader and Tabs.
4+
5+
## New features
6+
7+
ProgressView supports a gradient progress bar:
8+
9+
```objc
10+
self.progressView.progressTintColors = @[
11+
(id)UIColor.greenColor.CGColor, (id)UIColor.blueColor.CGColor, (id)UIColor.redColor.CGColor
12+
];
13+
```
14+
15+
Snackbars support setting presentation host view on a specific message:
16+
17+
```objc
18+
MDCSnackbarMessage *message = [MDCSnackbarMessage messageWithText:@"message"];
19+
message.presentationHostViewOverride = self.collectionView;
20+
```
21+
22+
Snackbars enable dismissal when the user taps anywhere on the snackbar.
23+
24+
```objc
25+
MDCSnackbarMessage *message = [MDCSnackbarMessage messageWithText:@"message"];
26+
message.shouldDismissOnOverlayTap = YES;
27+
```
28+
29+
TextFields support setting the border radius:
30+
31+
```objc
32+
textField.borderRadius = 4.0f;
33+
```
34+
35+
## API changes
36+
37+
## Component changes
38+
39+
### ActionSheet
40+
41+
* [Add test showcasing how when an Action's image is set it does not update an ActionSheet.](https://github.com/material-components/material-components-ios/commit/d30de4507cf9dd80bd1cf487fa0d3f09cc931416) (Cody Weaver)
42+
* [Support setting image later in lifecycle](https://github.com/material-components/material-components-ios/commit/b9822411b97730324dedca19492d895c68fc880a) (Cody Weaver)
43+
44+
### AppBar
45+
46+
* [Add a presented hidden example.](https://github.com/material-components/material-components-ios/commit/3b99d09c6940733a05c68464fb1d47c7e51bc3b0) (Jeff Verkoeyen)
47+
* [Clarify the purpose of the example supplemental view controllers.](https://github.com/material-components/material-components-ios/commit/580a1ecbde28452041ca731d0bcc8f48ad0b1ded) (Jeff Verkoeyen)
48+
* [Don't hide the navigation bar in AppBarNavigationControllerExample.](https://github.com/material-components/material-components-ios/commit/459066d00ee638e32b6c46ed05fa7242ed524ae3) (Jeff Verkoeyen)
49+
* [Extract a sample app bar view controller to supplemental.](https://github.com/material-components/material-components-ios/commit/783c9de40ed114b6814fcf724e5d830e71b709ef) (Jeff Verkoeyen)
50+
* [Make the presented hidden example show a new view controller each time.](https://github.com/material-components/material-components-ios/commit/97702e8b0c958f726d01a08eb47ed676949ca20b) (Jeff Verkoeyen)
51+
52+
### BottomAppBar
53+
54+
* [Have BottomAppBar respect safe area](https://github.com/material-components/material-components-ios/commit/9220d5b801487df51560e61327e8c47305c02bdf) (Andrew Overton)
55+
56+
### BottomSheet
57+
58+
* [Have the container sheet be laid out by the container view's bounds, not frame.](https://github.com/material-components/material-components-ios/commit/65b749fb56fc15fad14ff7f71c0fb432337ee033) (Yarden Eitan)
59+
60+
### Collections
61+
62+
* [Fix dynamic color not working when it is used in collectionView:cellBackgroundColorAtIndexPath:.](https://github.com/material-components/material-components-ios/commit/5e0294184b61f0e1cd382b7d97066f0e73924ef1) (Wenyu Zhang)
63+
* [Remove special characters from example breadcrumbs.](https://github.com/material-components/material-components-ios/commit/146fb7754ca9f5d4e3615922399a8f6e78a9e716) (Jeff Verkoeyen)
64+
65+
### Dialogs
66+
67+
* [Allow MDCAlertController to become first responder via its view.](https://github.com/material-components/material-components-ios/commit/776d02886183fa8e089740731c1ee97f28963868) (Jake Rockland)
68+
* [Allow MDCAlertController to become first responder.](https://github.com/material-components/material-components-ios/commit/da54c6f67a28691ecb3962e963f36d50ec501358) (Wenyu Zhang)
69+
* [Fix the vertical alignment of long justified actions.](https://github.com/material-components/material-components-ios/commit/b3cf4e42e6a6daab59b0085de8038dc73d7e43d8) (Galia Kaufman)
70+
* [Fix UITextView accessory view example](https://github.com/material-components/material-components-ios/commit/e9802b3e148b7c06f749d13491a9d306a1ac68e9) (Galia Kaufman)
71+
* [Fixing broken unit test](https://github.com/material-components/material-components-ios/commit/67cb856040cd9d08c004b9e3ade21ad24f193422) (Galia Kaufman)
72+
* [Include insets in alignment calculations of long actions](https://github.com/material-components/material-components-ios/commit/b3bf62df4ea5e92b0626d02ea9149c7f2184e283) (Galia Kaufman)
73+
* [Test a large title image with custom insets.](https://github.com/material-components/material-components-ios/commit/99d6facc5bd41455bb86e6246745be29b699d67d) (Iryna Berezan)
74+
75+
### FlexibleHeader
76+
77+
* [Add a safe area layout guide example.](https://github.com/material-components/material-components-ios/commit/cb574d4141864606140b89787b3431d0120a7918) (Jeff Verkoeyen)
78+
79+
### ProgressView
80+
81+
* [Add support for gradient progress bar.](https://github.com/material-components/material-components-ios/commit/9c480c21a4bbebaae6b47d0e5d6bd14081504ae5) (Wenyu Zhang)
82+
* [Change progressTintColor and trackTintColor to nullable.](https://github.com/material-components/material-components-ios/commit/7ea444964588754841229d0d4ca24740112e6891) (Wenyu Zhang)
83+
* [Update expected translated string value for Progress localization test.](https://github.com/material-components/material-components-ios/commit/14bdd278b459c01249c7aa9077759afeac4b1460) (Wenyu Zhang)
84+
85+
### Snackbar
86+
87+
* [Add ability to set presentation host view on specific message.](https://github.com/material-components/material-components-ios/commit/ec84eb996ed00b2e7e5f9376c59b3a453e561bb1) (Yarden Eitan)
88+
* [Add an option to dismiss when the user taps anywhere on the overlay.](https://github.com/material-components/material-components-ios/commit/39e9475f5efb84aee6ed4c636057ecc20239d269) (Nobody)
89+
* [Update localized string in localization test.](https://github.com/material-components/material-components-ios/commit/d14c658666b1a2882be5b7642e67f6035c237ec2) (Wenyu Zhang)
90+
91+
### Tabs
92+
93+
* [Add programmatic tab switcher buttons to TabBarView example](https://github.com/material-components/material-components-ios/commit/0740f3d9e049944138f77947835740d8b0328723) (Andrew Overton)
94+
* [Move effectively private MDCTabBarExtendedAlignment.h and MDCTabBarSizeClassDelegate.h headers into extension directories.](https://github.com/material-components/material-components-ios/commit/b2d470ea7da67ec40b8a7226e23f686e29f9d81b) (Bryan Oltman)
95+
96+
### TextFields
97+
98+
* [Add borderRadius property](https://github.com/material-components/material-components-ios/commit/fb10ae1b1fc70a689949ac5e46e72a54751116c5) (Jonathan Willing)
99+
100+
## Multi-component changes
101+
102+
* [Correct `accessibilityLabel` docs](https://github.com/material-components/material-components-ios/commit/5b2b452bb5de2becc209df346532c581446ba5c4) (Rob Moore)
103+
104+
---
105+
1106
# 109.2.0
2107

3108
This minor release includes bug fixes and tests for ActionSheet, BottomAppBar, BottomSheet, Cards, Dialogs, FlexibleHeader, NavigationBar and TextFields.

MaterialComponents.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ load 'scripts/generated/icons.rb'
22

33
Pod::Spec.new do |mdc|
44
mdc.name = "MaterialComponents"
5-
mdc.version = "109.2.0"
5+
mdc.version = "109.3.0"
66
mdc.authors = "The Material Components authors."
77
mdc.summary = "A collection of stand-alone production-ready UI libraries focused on design details."
88
mdc.homepage = "https://github.com/material-components/material-components-ios"

MaterialComponentsBeta.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |mdc|
22
mdc.name = "MaterialComponentsBeta"
3-
mdc.version = "109.2.0"
3+
mdc.version = "109.3.0"
44
mdc.authors = "The Material Components authors."
55
mdc.summary = "A collection of stand-alone alpha UI libraries that are not yet guaranteed to be ready for general production use. Use with caution."
66
mdc.homepage = "https://github.com/material-components/material-components-ios"

MaterialComponentsEarlGreyTests.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "MaterialComponentsEarlGreyTests"
3-
s.version = "109.2.0"
3+
s.version = "109.3.0"
44
s.authors = "The Material Components authors."
55
s.summary = "This spec is an aggregate of all the Material Components EarlGrey tests."
66
s.description = "This spec is made for use in the MDC Catalog."

MaterialComponentsExamples.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "MaterialComponentsExamples"
3-
s.version = "109.2.0"
3+
s.version = "109.3.0"
44
s.authors = "The Material Components authors."
55
s.summary = "This spec is an aggregate of all the Material Components examples."
66
s.description = "This spec is made for use in the MDC Catalog. Used in conjunction with CatalogByConvention we create our Material Catalog."

MaterialComponentsSnapshotTests.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ end
5353

5454
Pod::Spec.new do |s|
5555
s.name = "MaterialComponentsSnapshotTests"
56-
s.version = "109.2.0"
56+
s.version = "109.3.0"
5757
s.authors = "The Material Components authors."
5858
s.summary = "This spec is an aggregate of all the Material Components snapshot tests."
5959
s.homepage = "https://github.com/material-components/material-components-ios"

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
109.2.0
1+
109.3.0

catalog/MDCCatalog/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>109.2.0</string>
18+
<string>109.3.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>109.2.0</string>
22+
<string>109.3.0</string>
2323
<key>LSRequiresIPhoneOS</key>
2424
<true/>
2525
<key>UIAppFonts</key>

catalog/MDCDragons/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>109.2.0</string>
18+
<string>109.3.0</string>
1919
<key>CFBundleVersion</key>
20-
<string>109.2.0</string>
20+
<string>109.3.0</string>
2121
<key>LSRequiresIPhoneOS</key>
2222
<true/>
2323
<key>UILaunchStoryboardName</key>

catalog/MaterialCatalog/MaterialCatalog.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "MaterialCatalog"
3-
s.version = "109.2.0"
3+
s.version = "109.3.0"
44
s.summary = "Helper Objective-C classes for the MDC catalog."
55
s.description = "This spec is made for use in the MDC Catalog."
66
s.homepage = "https://github.com/material-components/material-components-ios"

0 commit comments

Comments
 (0)