Skip to content

Commit 90914be

Browse files
committed
Merge branch 'release-candidate' into stable
2 parents 87351aa + 316c550 commit 90914be

File tree

62 files changed

+1064
-347
lines changed

Some content is hidden

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

62 files changed

+1064
-347
lines changed

CHANGELOG.md

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,94 @@
1+
# 109.6.0
2+
3+
This minor release adds new functionality to NavigationDrawer, ActionSheet, and Dialogs, and adds accessibility improvements to Buttons, Chips, and private/Color.
4+
5+
## New deprecations
6+
7+
While there are no new deprecations in this release, the `hitAreaInsets` APIs on `MDCChipView` and `MDCButton` have been moved to a `ToBeDeprecated` category. `hitAreaInsets` will eventually be deprecated across components. Its replacement, `visibleHitAreaInsets`, is in the process of being added to all relevant components.
8+
9+
## New features
10+
11+
### ActionSheet
12+
13+
- `MDCActionSheetControllerDelegate` has a new method, `-actionSheetController:willDisplayView:forRowAtIndexPath:`.
14+
15+
### Buttons
16+
17+
- `MDCButton` has a new `visibleHitAreaInsets` property.
18+
19+
### Chips
20+
21+
- `MDCChipView` has a new `visibleHitAreaInsets` property.
22+
23+
### Dialogs
24+
25+
- `MDCAlertController` has a new `attributedMessageAction` property.
26+
27+
### NavigationDrawer
28+
29+
- `MDCBottonDrawerPresentationController` has a new `maximumDrawerHeight` property.
30+
31+
## Component changes
32+
33+
### ActionSheet
34+
35+
* [internal change](https://github.com/material-components/material-components-ios/commit/abde17e493928c9ed2fd09620a4f2c7d848658b5) (Nobody)
36+
37+
### AppBar
38+
39+
* [Inject AppBars after view controllers have been added to the navigation controller.](https://github.com/material-components/material-components-ios/commit/b78737be488e0e3131d75aca928a4bff9d6f04fd) (Jeff Verkoeyen)
40+
41+
### Banner
42+
43+
* [Add example snapshot tests for verifying MDCColorSchemeDefaultsMaterial201907 color scheme.](https://github.com/material-components/material-components-ios/commit/f2f99a45206b546991b4ef19fef501997940ba58) (Wenyu Zhang)
44+
* [Apply container theme in examples.](https://github.com/material-components/material-components-ios/commit/be3c97421b9466ad0228dbace95dc9c15c752c04) (Wenyu Zhang)
45+
46+
### Buttons
47+
48+
* [Add a visibleAreaInsets API.](https://github.com/material-components/material-components-ios/commit/e8a1c4e7e14ff72cefd68eef1c0e8d2c0a801b14) (Yarden Eitan)
49+
50+
### Chips
51+
52+
* [Add visibleAreaInsets API to MDCChipView.](https://github.com/material-components/material-components-ios/commit/db48cefa9b3817bee3372ad77e64b0346d5f0487) (Wenyu Zhang)
53+
54+
### Dialogs
55+
56+
* [Adding tappable link support to the alert message](https://github.com/material-components/material-components-ios/commit/6bb3ece3935540754d20adeb45eaa856a9f63766) (Galia Kaufman)
57+
* [replace the message UILabel type to UITextview](https://github.com/material-components/material-components-ios/commit/f4fd6d015fedbb111adf25218f122825d465a51f) (Galia Kaufman)
58+
59+
### FeatureHighlight
60+
61+
* [Delete unused accessibility hint string and unused localization support.](https://github.com/material-components/material-components-ios/commit/b2ae9cdce12f2fc50816199417a4165b3ddcc052) (Bryan Oltman)
62+
63+
### FlexibleHeader
64+
65+
* [Remove ShiftBehaviorWithStatusBar from the public API.](https://github.com/material-components/material-components-ios/commit/0c4d18595824b22b0e9675723bf7e022e94db33e) (Jeff Verkoeyen)
66+
67+
### NavigationDrawer
68+
69+
* [Clarify `trackingScrollView` API.](https://github.com/material-components/material-components-ios/commit/57f25fd95aac12ca69567d74c2fac1fa74977254) (Cody Weaver)
70+
* [Fix bug where `maximumDrawerHeight` wouldn't allow for the correct height.](https://github.com/material-components/material-components-ios/commit/11db172e79913c3fafa379e91061a9aad213359c) (Cody Weaver)
71+
* [Fix bug where setting `maximumDrawerHeight` and `maximumInitialDrawerHeight` would allow scrolling.](https://github.com/material-components/material-components-ios/commit/2d533759d11e2596ea8106a3d7a8c1025f545e4c) (Cody Weaver)
72+
* [Support a max height](https://github.com/material-components/material-components-ios/commit/33daf325e650b27a44004ff44b97a61d98221b79) (Cody Weaver)
73+
74+
### Shapes
75+
76+
* [Resolve UIColor instance when it is set as shapedBackgroundColor to MDCShapedShadowLayer.](https://github.com/material-components/material-components-ios/commit/245b90cd57ced5096476824cefc3bf7c522d95ee) (Wenyu Zhang)
77+
78+
### Tabs
79+
80+
* [Internal change](https://github.com/material-components/material-components-ios/commit/d404e5e83271250b544431767e348cd411794445) (Jeff Verkoeyen)
81+
82+
### private/Color
83+
84+
* [Add colorWithAccessibilityContrastHigh:normal: API to support Increase Contrast color.](https://github.com/material-components/material-components-ios/commit/45b9b222e30dbd77e508ff742892ea1fe45b650b) (Wenyu Zhang)
85+
86+
## Multi-component changes
87+
88+
* [Add prepareShadowPath to MDCShadowLayer to allow its subclass preparing shadow path before MDCShadowLayer lays out its sublayers.](https://github.com/material-components/material-components-ios/commit/b19e4e964d5a60e800d8ae71f7b87af7828094c8) (Wenyu Zhang)
89+
90+
---
91+
192
# 109.5.0
293

394
This minor release adds functionality to MDCSnackbarManagerDelegate and includes internal cleanup of FlexibleHeader.

MaterialComponents.podspec

Lines changed: 2 additions & 4 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 = "109.5.0"
5+
mdc.version = "109.6.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"
@@ -422,6 +422,7 @@ Pod::Spec.new do |mdc|
422422
component.dependency "MaterialComponents/Ripple"
423423
component.dependency "MaterialComponents/ShadowElevations"
424424
component.dependency "MaterialComponents/ShadowLayer"
425+
component.dependency "MaterialComponents/ShapeLibrary"
425426
component.dependency "MaterialComponents/Shapes"
426427
component.dependency "MaterialComponents/Typography"
427428
component.dependency "MaterialComponents/private/Math"
@@ -846,9 +847,6 @@ Pod::Spec.new do |mdc|
846847
"components/#{component.base_name}/src/*.{h,m}",
847848
"components/#{component.base_name}/src/private/*.{h,m}"
848849
]
849-
component.resources = [
850-
"components/#{component.base_name}/src/Material#{component.base_name}.bundle"
851-
]
852850

853851
component.dependency "MaterialComponents/Availability"
854852
component.dependency "MaterialComponents/private/Math"

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.5.0"
3+
mdc.version = "109.6.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.5.0"
3+
s.version = "109.6.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.5.0"
3+
s.version = "109.6.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.5.0"
56+
s.version = "109.6.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.5.0
1+
109.6.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.5.0</string>
18+
<string>109.6.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>109.5.0</string>
22+
<string>109.6.0</string>
2323
<key>LSRequiresIPhoneOS</key>
2424
<true/>
2525
<key>UIAppFonts</key>

catalog/MDCDragons/AppDelegate.swift

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ import CatalogByConvention
1919

2020
@UIApplicationMain
2121
class AppDelegate: UIResponder, UIApplicationDelegate {
22-
var window: UIWindow?
22+
var window: MDCCatalogWindow?
2323

24-
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
25-
self.window = UIWindow(frame: UIScreen.main.bounds)
24+
func application(
25+
_ application: UIApplication,
26+
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
27+
) -> Bool {
28+
self.window = MDCCatalogWindow(frame: UIScreen.main.bounds)
2629
UIApplication.shared.statusBarStyle = .lightContent
2730
let tree = CBCCreateNavigationTree()
2831
var rootNodeViewController: UIViewController
@@ -39,7 +42,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
3942
}
4043
let navigationController = UINavigationController(rootViewController: rootNodeViewController)
4144
navigationController.interactivePopGestureRecognizer?.delegate = navigationController
42-
45+
4346
self.window?.rootViewController = navigationController
4447
self.window?.makeKeyAndVisible()
4548
return true

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.5.0</string>
18+
<string>109.6.0</string>
1919
<key>CFBundleVersion</key>
20-
<string>109.5.0</string>
20+
<string>109.6.0</string>
2121
<key>LSRequiresIPhoneOS</key>
2222
<true/>
2323
<key>UILaunchStoryboardName</key>

0 commit comments

Comments
 (0)