Skip to content

Commit 459b7ab

Browse files
author
Jeff Verkoeyen
committed
Merge branch 'release-candidate' into stable
2 parents e5005ca + 8fa9bdb commit 459b7ab

File tree

178 files changed

+1595
-390
lines changed

Some content is hidden

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

178 files changed

+1595
-390
lines changed

CHANGELOG.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,80 @@
1+
# 103.1.0
2+
3+
This minor release introduces iOS 13 support for BottomNavigation, divider customization for ActionSheet actions, and several bug fixes.
4+
5+
## New features
6+
7+
### ActionSheet
8+
9+
MDCActionSheetAction has two new APIs, `dividerColor` and `showsDivider`. These APIs can be used to show a divider above the action.
10+
11+
```objc
12+
action.showsDivider = YES;
13+
action.dividerColor = UIColor.greenColor;
14+
```
15+
16+
MDCActionSheetController now has a delegate, `MDCActionSheetControllerDelegate`, that can be used to react to action sheet dismissal.
17+
18+
```objc
19+
actionSheet.delegate = self;
20+
21+
- (void)actionSheetControllerDidDismiss:(MDCActionSheetController *)actionSheetController {
22+
NSLog(@"Did dismiss");
23+
}
24+
```
25+
26+
### BottomNavigation
27+
28+
MDCBottomNavigationBar now supports iOS 13's large content viewer functionality.
29+
30+
## Component changes
31+
32+
### ActionSheet
33+
34+
* [Action sheet divider (#9449)](https://github.com/material-components/material-components-ios/commit/0d632ff762d69049463817a80db7149a4c535a16) (Cody Weaver)
35+
* [Add delegate to support dismissal notification (#9475)](https://github.com/material-components/material-components-ios/commit/42b004fcd7108825bf9d8f436c557a0a11fd2a97) (Bryan Oltman)
36+
37+
### AppBar
38+
39+
* [Fix swipe to go back gesture for MDCAppBarNavigationController. (#9448)](https://github.com/material-components/material-components-ios/commit/53ab07d693a8a27f96d12dc17715b768d16059af) (featherless)
40+
41+
### BottomNavigation
42+
43+
* [Adds large content viewer support (#9451)](https://github.com/material-components/material-components-ios/commit/69d39caeb96c2c2dc4ff80e10269ba815c799159) (Eric Lee)
44+
* [Fix bug in delegate method call (#9489)](https://github.com/material-components/material-components-ios/commit/e51a83afeb149b2e051f9abb8b43ce134f0b23f4) (Robert Moore)
45+
46+
### Dialogs
47+
48+
* [Use dot notation for properties and copyedits. (#9458)](https://github.com/material-components/material-components-ios/commit/33e69ab97351299ad6c3daac93946422922d7b1c) (Randall Li)
49+
50+
### FeatureHighlight
51+
52+
* [Allow UIAccessibility to activate the "dismiss" affordance. (#9486)](https://github.com/material-components/material-components-ios/commit/076aaa29dc039ec393533f27094903d9eebbcb6b) (Robert Moore)
53+
54+
### FlexibleHeader
55+
56+
* [Annotate to-be-deprecated APIs accordingly. (#9492)](https://github.com/material-components/material-components-ios/commit/9efa83581e90da776d848a9ae12140b0a695cc00) (featherless)
57+
58+
### NavigationDrawer
59+
60+
* [Update `transitionPercentageForContentOffset:` to use `kEpsilon` (#9471)](https://github.com/material-components/material-components-ios/commit/5e316d7a1575bd7cfcd4b20d083cfdcd3ddefc68) (Jake Rockland)
61+
62+
### Snackbar
63+
64+
* [Add example to show snackbar with keyboard (#9479)](https://github.com/material-components/material-components-ios/commit/c95a4449972c43da4642e622a3247a4c16ab7687) (Bryan Oltman)
65+
* [Update dismiss animation duration (#9472)](https://github.com/material-components/material-components-ios/commit/a20a5f6aa6ee704a49b9ec3270a7d547003e457c) (Yarden Eitan)
66+
67+
### TextControls
68+
69+
* [Update README (#9466)](https://github.com/material-components/material-components-ios/commit/c70ad694273d71e33c9edd6b268692c21e9bd4fb) (Andrew Overton)
70+
71+
### TextFields
72+
73+
* [Add identity check in -setTextColor: in MDCTextField (#9480)](https://github.com/material-components/material-components-ios/commit/7a48d3997fafb2b7a9e8ed4b76cf39772389430d) (Andrew Overton)
74+
* [MDCTextInputControllerOutlinedTextArea border width fix (#9454)](https://github.com/material-components/material-components-ios/commit/b28e09d345e518a042609b9a176e9ca99d98b024) (Andrew Overton)
75+
76+
---
77+
178
# 103.0.0
279

380
This major release includes a refactoring of the TextControls libraries, a theming extension for TextFields' underline controller,

MaterialComponents.podspec

Lines changed: 3 additions & 2 deletions
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 = "103.0.0"
5+
mdc.version = "103.1.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"
@@ -321,7 +321,8 @@ Pod::Spec.new do |mdc|
321321
"components/#{component.base_name}/tests/unit/supplemental/*.{h,m,swift}"
322322
]
323323
unit_tests.exclude_files = [
324-
"components/#{component.base_name}/tests/unit/MDCBottomNavigationBarControllerTests.m"
324+
"components/#{component.base_name}/tests/unit/MDCBottomNavigationBarControllerTests.m",
325+
"components/#{component.base_name}/tests/unit/MDCBottomNavigationBarControllerDelegateTests.m"
325326
]
326327
unit_tests.resources = "components/#{component.base_name}/tests/unit/resources/*"
327328
end

MaterialComponentsBeta.podspec

Lines changed: 3 additions & 2 deletions
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 = "103.0.0"
3+
mdc.version = "103.1.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"
@@ -64,7 +64,8 @@ Pod::Spec.new do |mdc|
6464

6565
component.test_spec 'UnitTests' do |unit_tests|
6666
unit_tests.source_files = [
67-
"components/#{component.base_name}/tests/unit/MDCBottomNavigationBarControllerTests.m"
67+
"components/#{component.base_name}/tests/unit/MDCBottomNavigationBarControllerTests.m",
68+
"components/#{component.base_name}/tests/unit/MDCBottomNavigationBarControllerDelegateTests.m"
6869
]
6970
end
7071
end

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 = "103.0.0"
3+
s.version = "103.1.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 = "103.0.0"
3+
s.version = "103.1.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 = "103.0.0"
56+
s.version = "103.1.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-
103.0.0
1+
103.1.0

catalog/MDCCatalog/AppDelegate.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate, MDCAppBarNavigationContro
4444
let rootNodeViewController = MDCCatalogComponentsController(node: tree)
4545
navigationController.pushViewController(rootNodeViewController, animated: false)
4646

47-
// In the event that an example view controller hides the navigation bar we generally want to
48-
// ensure that the edge-swipe pop gesture can still take effect. This may be overly-assumptive
49-
// but we'll explore other alternatives when we have a concrete example of this approach causing
50-
// problems.
51-
navigationController.interactivePopGestureRecognizer?.delegate = navigationController
52-
5347
self.window?.rootViewController = navigationController
5448
self.window?.makeKeyAndVisible()
5549

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>103.0.0</string>
18+
<string>103.1.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>103.0.0</string>
22+
<string>103.1.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>103.0.0</string>
18+
<string>103.1.0</string>
1919
<key>CFBundleVersion</key>
20-
<string>103.0.0</string>
20+
<string>103.1.0</string>
2121
<key>LSRequiresIPhoneOS</key>
2222
<true/>
2323
<key>UILaunchStoryboardName</key>

0 commit comments

Comments
 (0)