Skip to content

Commit 2cfacf6

Browse files
committed
Merge branch 'release-candidate' into stable
2 parents e27b978 + 09d42d3 commit 2cfacf6

File tree

145 files changed

+1175
-1875
lines changed

Some content is hidden

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

145 files changed

+1175
-1875
lines changed

CHANGELOG.md

Lines changed: 231 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,234 @@
1+
# 96.0.0
2+
3+
In this major release we deleted and deprecated a bunch of APIs in BottomAppBar, Snackbar,
4+
TextField, ActionSheet, BottomNavigation, ButtonBar, Cards, Feature highlight, Ink, Page control,
5+
and Tabs. We also enables ripple by default on Action Sheet. It was using a legacy ink animation.
6+
7+
## Breaking changes
8+
9+
### BottomAppBar
10+
11+
Delete deprecated MDCBottomAppBarColorThemer
12+
13+
### Snackbar
14+
15+
Delete snackbarMessageViewTextColor
16+
17+
### TextField
18+
19+
Delete MDCTextFieldColorThemer
20+
21+
## New deprecations
22+
23+
### ActionSheet
24+
25+
Deprecated inkColor. Use the ripple APIs.
26+
27+
### BottomNavigation
28+
29+
Deprecate MDCBottomNavigationTypography themer
30+
31+
### ButtonBar
32+
33+
Deprecate MDCButtonBarColorThemer
34+
35+
### Button
36+
37+
Deprecate MDCFloatingButtonShapeThemer
38+
39+
### Cards
40+
41+
Deprecate MDCCardThemer
42+
43+
### Feature highlight
44+
45+
Deprecate MDCFeatureHighlightFontThemer
46+
47+
### Ink
48+
49+
Deprecate MDCInkColorThemer
50+
51+
### Page Control
52+
53+
Deprecate-MDCPageControlColorThemer-applyColorScheme-toPageContro
54+
55+
### Snackbar
56+
57+
Deprecate MDCSnackbarColorThemer
58+
59+
### Tabs
60+
61+
Deprecate MDCTabBarColorThemer
62+
63+
### TextFields
64+
65+
Deprecate MDCTextFieldFontThemer
66+
67+
## New features
68+
69+
### Chips
70+
71+
ChipFieldShouldBeginEditing method to MDCChipFieldDelegate to control if editing is allowed.
72+
73+
```
74+
- (BOOL)chipFieldShouldBeginEditing:(MDCChipField *)chipField {
75+
return YES;
76+
}
77+
````
78+
79+
### Snackbar
80+
81+
Adds elementToFocusOnDismiss to MDCSnackbarMessage so a client can specify a view to focus on after the snackbar message is dismissed.
82+
83+
```objc
84+
snackBarMessage.elementToFocusOnDismiss = view;
85+
```
86+
87+
## API changes
88+
89+
#### ActionSheet
90+
91+
*deprecated* property: `inkColor` in `MDCActionSheetController`. Use rippleColor instead.
92+
93+
*deprecated* property: `enableRippleBehavior` in `MDCActionSheetController`. Use ripple.
94+
95+
#### BottomAppBar
96+
97+
*deprecated* class: `MDCBottomAppBarColorThemer`. No replacement exists. Please comment on https://github.com/material-components/material-components-ios/issues/7172 in order to indicate interest in a replacement API.
98+
99+
#### BottomNavigationBar
100+
101+
*deprecated* class: `MDCBottomNavigationBarTypographyThemer`. Please use the Theming extension instead.
102+
103+
#### ButtonBar
104+
105+
*deprecated* class: `MDCButtonBarColorThemer`. ButtonBar is not intended to be themed as a standalone component. Please theme it via the AppBar component's Theming extension instead.
106+
107+
#### Button
108+
109+
*deprecated* class: `MDCFloatingButtonShapeThemer`. Please use [MDCFloatingButton applySecondaryThemeWithScheme:] instead. (Note: Shape theming is no longer available as an independent API.
110+
111+
#### Cards
112+
113+
*deprecated* protocol: `MDCCardScheming`. MDCCardScheming was made obsolete by theming with MDCContainerSchemes.
114+
115+
*deprecated* class: `MDCCardScheme`. MDCCardScheming was made obsolete by theming with MDCContainerSchemes.
116+
117+
*deprecated* class: `MDCCardThemer`. Please use MaterialCards+Theming instead.
118+
119+
#### ChipField
120+
121+
*new* method: `-chipFieldShouldBeginEditing:` in `MDCChipFieldDelegate`. Asks the delegate if editing should begin in the specified chip field.
122+
123+
#### FeatureHighlight
124+
125+
*deprecated* class: `MDCFeatureHighlightFontThemer`. No replacement exists. Please comment on https://github.com/material-components/material-components-ios/issues/7172 in order to indicate interest in a replacement API.
126+
127+
#### Ink
128+
129+
*deprecated* class: `MDCInkColorThemer`. Please use Ripple instead.
130+
131+
#### Page Control
132+
133+
*deprecated* class: `MDCPageControlColorThemer`. No replacement exists. Please comment on https://github.com/material-components/material-components-ios/issues/7172 in order to indicate interest in a replacement API.
134+
135+
#### Snackbar
136+
137+
*removed* property: `snackbarMessageViewTextColor` in `MDCSnackbarMessageView`. Use messsageTextColor instead.
138+
139+
*deprecated* class: `MDCSnackbarColorThemer`. No replacement exists. Please comment on https://github.com/material-components/material-components-ios/issues/7172 in order to indicate interest in a replacement API.
140+
141+
*new* property: `elementToFocusOnDismiss` in `MDCSnackbarMessage`. Element to focus on snackbar message dismiss. Focuses the first element on screen after dismiss by default. The focus will change to the element only if the focus is on the snackbar message.
142+
143+
#### Tabs
144+
145+
*deprecated* class: `MDCTabBarColorThemer`. Please use the Theming extension instead.
146+
147+
## Component changes
148+
149+
### ActionSheet
150+
151+
* [Action sheet enable ripple (#9135)](https://github.com/material-components/material-components-ios/commit/96cebca8cdf5bdb52f4f508f222e51bf011a8348) (Bryan Oltman)
152+
* [Deprecate MDCActionSheetAction inkColor (#9127)](https://github.com/material-components/material-components-ios/commit/0107d70d28b286e66e909d068600e577f673ee2a) (Bryan Oltman)
153+
154+
### Banner
155+
156+
* [Add a Swift example. (#9173)](https://github.com/material-components/material-components-ios/commit/d1b7468f336d0f875356f2435774e897da9ca431) (Wenyu Zhang)
157+
* [Update Readme to document the latest APIs. (#9100)](https://github.com/material-components/material-components-ios/commit/033bbd7a7addd6f38d72aa63d699c7bcc09e08d0) (Wenyu Zhang)
158+
159+
### BottomNavigation
160+
161+
* [Deprecate MDCBottomNavigationTypography themer and update docs (#9156)](https://github.com/material-components/material-components-ios/commit/3a92bc4acb767bcd6ebc9aa07c34b19e4e47c34d) (Andrew Overton)
162+
* [Migrate MDCBottomNavigationBarColorThemer use to theming extension (#9142)](https://github.com/material-components/material-components-ios/commit/3b0bc4fda3b9792606730e0fe0d52acbcd24daf3) (Bryan Oltman)
163+
164+
### ButtonBar
165+
166+
* [Deprecate MDCButtonBarColorThemer (#9155)](https://github.com/material-components/material-components-ios/commit/1e167e23766a9cc70d92a9d132ef72930e5990d7) (Andrew Overton)
167+
168+
### Buttons
169+
170+
* [Deprecate MDCFloatingButtonShapeThemer (#9101)](https://github.com/material-components/material-components-ios/commit/b4858b9bf56cd7172fb86cb89d7a6e87cf61c615) (Galia Kaufman)
171+
* [Removing deprecated MDCFloatingButtonShapeThemer from theming extension (#9102)](https://github.com/material-components/material-components-ios/commit/16320d671e24a374c70acb0afbcacfd77aab255b) (Galia Kaufman)
172+
173+
### Cards
174+
175+
* [Delete old docs (#9163)](https://github.com/material-components/material-components-ios/commit/1a067127a2004b8a6eedacf9bfd3e709a884fe3b) (Andrew Overton)
176+
* [Deprecate MDCCardThemer (#9054)](https://github.com/material-components/material-components-ios/commit/394a518d3e1203f7512167c4add9938bb21d191c) (Andrew Overton)
177+
* [Deprecate MDCCardThemer (#9108)](https://github.com/material-components/material-components-ios/commit/0c529fd53d0121a8759f02f6c0f780116cc6a92b) (Bryan Oltman)
178+
* [Migrate MDCCardsColorThemer to theming extensions (#9141)](https://github.com/material-components/material-components-ios/commit/4e414624388c896c573fa1a67344d1caeab08f5a) (Bryan Oltman)
179+
180+
### Chips
181+
182+
* [Add RTL snapshot tests. (#9131)](https://github.com/material-components/material-components-ios/commit/c369d445e52a925b2aa6435ed80ab976fee09cd0) (Robert Moore)
183+
* [Add chipFieldShouldBeginEditing method to MDCChipFieldDelegate (#9157)](https://github.com/material-components/material-components-ios/commit/9c3a3fbdd2d97b0a45a1273730e5e71c76f46c83) (Bryan Oltman)
184+
* [Fix calculation of accessory frame. (#9167)](https://github.com/material-components/material-components-ios/commit/df352364df6d128f15b7fe0ec93c84774f412e6d) (Robert Moore)
185+
* [Remove Themer references from README (#9149)](https://github.com/material-components/material-components-ios/commit/7491ff40712ecd1bc5b6952b5f0ad66f48f13e54) (Bryan Oltman)
186+
187+
### Dialogs
188+
189+
* [Snapshot tests for long action titles. (#9154)](https://github.com/material-components/material-components-ios/commit/a73bc32e9fa870a7a95fe6eed9e8505cab26830c) (Robert Moore)
190+
191+
### FeatureHighlight
192+
193+
* [deprecate MDCFeatureHighlightFontThemer (#9115)](https://github.com/material-components/material-components-ios/commit/c8b904426e6ca6c8e2cdc363c00d8bf6bbd99f05) (Andrew Overton)
194+
195+
### Ink
196+
197+
* [Deprecate MDCInkColorThemer (#9113)](https://github.com/material-components/material-components-ios/commit/06d9c4a0eb1022a677671b5b3f7db3b2bad8ae47) (Andrew Overton)
198+
199+
### List
200+
201+
* [removing use of MDCListColorThemer before deprecating it. (#9145)](https://github.com/material-components/material-components-ios/commit/5c4884261f5e228f7bc1e81c7d5a967b8c2b917b) (Galia Kaufman)
202+
203+
### PageControl
204+
205+
* [Update read me for MDCPageControlColorThemer (#9153)](https://github.com/material-components/material-components-ios/commit/41dd9f2ac300b49fa8c1e71209a5795655bc0a86) (Andrew Overton)
206+
* [deprecate-MDCPageControlColorThemer-applyColorScheme-toPageControl (#9123)](https://github.com/material-components/material-components-ios/commit/27957164144e00b5a4a30ef40f712126ebb5db1b) (Andrew Overton)
207+
208+
### Snackbar
209+
210+
* [Adds elementToFocusOnDismiss to MDCSnackbar (#9148)](https://github.com/material-components/material-components-ios/commit/a14b9c668da2e19a629b3d69999e9e3a5811bf16) (Yarden Eitan)
211+
* [Deprecate MDCSnackbarColorThemer (#9152)](https://github.com/material-components/material-components-ios/commit/e4fad9a7a88f1f907043a88dae024327000d1c12) (Andrew Overton)
212+
* [delete snackbarMessageViewTextColor (#9056)](https://github.com/material-components/material-components-ios/commit/13b9ec6835818d8c389ac6520570e2acca618402) (Andrew Overton)
213+
214+
### Tabs
215+
216+
* [Deprecate MDCTabBarColorThemer (#9103)](https://github.com/material-components/material-components-ios/commit/044d5331d74253745fc3494487f953b62038b2de) (Andrew Overton)
217+
* [Disable Ripple while scrolling TabBarView (#9144)](https://github.com/material-components/material-components-ios/commit/79e48f49416256d1af8eb09f7ba6b273a97887c0) (Robert Moore)
218+
* [Document `MDCTabBarViewLayoutStyle` (#9132)](https://github.com/material-components/material-components-ios/commit/9ef0b30611b8283d19ea496060acafd2433e1188) (Robert Moore)
219+
220+
### TextFields
221+
222+
* [Delete MDCTextFieldColorThemer (#9109)](https://github.com/material-components/material-components-ios/commit/87b9dd5a7d9b8bf38c8ed1ba1c3c5b0e9b838dd8) (Bryan Oltman)
223+
* [Deprecate MDCTextFieldFontThemer (#9169)](https://github.com/material-components/material-components-ios/commit/6d2bfc4e3bcb7e6e6fb8586d1f17b5d39fe94cbe) (Andrew Overton)
224+
* [Remove references to MDCTextFieldColorThemer from README (#9151)](https://github.com/material-components/material-components-ios/commit/85f6dd9c09ae70973632c50b11dbd3b737354ed9) (Bryan Oltman)
225+
226+
## Multi-component changes
227+
228+
* [Delete deprecated MDCBottomAppBarColorThemer (#9166)](https://github.com/material-components/material-components-ios/commit/68a65d33d374baa0d5814f42cc7b52e8b9b4d2ae) (Bryan Oltman)
229+
230+
---
231+
1232
# 95.0.1
2233

3234
In this hotfix we revert c83333f to address issue where dialog messages are not properly displayed
@@ -50,7 +281,6 @@ We deprecated the color themer in preperation of deleting it. Use theming instea
50281

51282
We deprecated the color themer in preperation of deleting it. Use theming instead.
52283

53-
54284
### Text Field
55285

56286
We deprecated the color themer in preperation of deleting it. Use theming instead.

MaterialComponents.podspec

Lines changed: 1 addition & 16 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 = "95.0.1"
5+
mdc.version = "96.0.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"
@@ -286,22 +286,9 @@ Pod::Spec.new do |mdc|
286286
"components/#{component.base_name}/tests/unit/supplemental/*.{h,m,swift}"
287287
]
288288
unit_tests.resources = "components/#{component.base_name}/tests/unit/resources/*"
289-
unit_tests.dependency "MaterialComponents/BottomAppBar+ColorThemer"
290289
end
291290
end
292291

293-
mdc.subspec "BottomAppBar+ColorThemer" do |extension|
294-
extension.ios.deployment_target = '9.0'
295-
extension.public_header_files = [
296-
"components/#{extension.base_name.split('+')[0]}/src/#{extension.base_name.split('+')[1]}/*.h"
297-
]
298-
extension.source_files = [
299-
"components/#{extension.base_name.split('+')[0]}/src/#{extension.base_name.split('+')[1]}/*.{h,m}"
300-
]
301-
extension.dependency "MaterialComponents/#{extension.base_name.split('+')[0]}"
302-
extension.dependency "MaterialComponents/Themes"
303-
end
304-
305292
# BottomNavigation
306293

307294
mdc.subspec "BottomNavigation" do |component|
@@ -669,8 +656,6 @@ Pod::Spec.new do |mdc|
669656
"components/#{extension.base_name.split('+')[0]}/src/#{extension.base_name.split('+')[1]}/private/*.{h,m}"
670657
]
671658
extension.dependency "MaterialComponents/#{extension.base_name.split('+')[0]}"
672-
extension.dependency "MaterialComponents/#{extension.base_name.split('+')[0]}+ColorThemer"
673-
extension.dependency "MaterialComponents/#{extension.base_name.split('+')[0]}+ShapeThemer"
674659
extension.dependency "MaterialComponents/schemes/Container"
675660

676661
extension.test_spec 'UnitTests' do |unit_tests|

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 = "95.0.1"
3+
mdc.version = "96.0.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 = "95.0.1"
3+
s.version = "96.0.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 = "95.0.1"
3+
s.version = "96.0.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 = "95.0.1"
56+
s.version = "96.0.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-
95.0.1
1+
96.0.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>95.0.1</string>
18+
<string>96.0.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>95.0.1</string>
22+
<string>96.0.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>95.0.1</string>
18+
<string>96.0.0</string>
1919
<key>CFBundleVersion</key>
20-
<string>95.0.1</string>
20+
<string>96.0.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 = "95.0.1"
3+
s.version = "96.0.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)