Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

Commit 482a9a8

Browse files
committed
Merge branch 'release-candidate' into stable
2 parents 44a33e5 + 08d371b commit 482a9a8

File tree

78 files changed

+437
-1483
lines changed

Some content is hidden

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

78 files changed

+437
-1483
lines changed

CHANGELOG.md

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,157 @@
1+
# 95.0.0
2+
3+
In this major release we deleted a bunch of APIs already marked deprecated in the Button Bar,
4+
Button, Ink, Chip componnts.
5+
6+
## Breaking changes
7+
8+
### Button
9+
10+
`MDCButton` removed `cornerRadius`.
11+
12+
#### Chips
13+
14+
We removed a bunch of themer classes and protocols that are not part of our latest theming offering.
15+
16+
## New deprecations
17+
18+
### Navigation Bar
19+
20+
We deprecated the color themer in preperation of deleting it. Use theming instead.
21+
22+
### Outlined Button
23+
24+
We deprecated the color themer in preperation of deleting it. Use theming instead.
25+
26+
### Text Button
27+
28+
We deprecated the color themer in preperation of deleting it. Use theming instead.
29+
30+
### Cards
31+
32+
We deprecated the color themer in preperation of deleting it. Use theming instead.
33+
34+
### Tab Bar
35+
36+
We deprecated the color themer in preperation of deleting it. Use theming instead.
37+
38+
39+
### Text Field
40+
41+
We deprecated the color themer in preperation of deleting it. Use theming instead.
42+
43+
### Thumb Track
44+
45+
We deprecated the private thumbtrack component's `thumbMaxRippleRadius`.
46+
47+
## API changes
48+
49+
#### MDCButton
50+
51+
*removed* property: `cornerRadius` in `MDCButton`
52+
53+
#### Chips
54+
55+
*removed* protocol: `MDCChipViewScheming`. Use Chips+Theming instead.
56+
57+
*removed* class: `MDCChipViewThemer`. Use Chips+Theming instead.
58+
59+
*removed* class: `MDCChipViewColorThemer`. Use Chips+Theming instead.
60+
61+
*removed* class: `MDCChipViewFontThemer`. Use Chips+Theming instead.
62+
63+
*removed* class: `MDCChipViewShapeThemer`. Use Chips+Theming instead.
64+
65+
*removed* class: `MDCChipViewTypographyThemer`. Use Chips+Theming instead.
66+
67+
#### Navigation Bar
68+
69+
*deprecated* class: MDCBottomNavigationBarColorThemer. Use MaterialBottomNavigation+Theming instead.
70+
71+
#### Outlined Button
72+
73+
*deprecated* class: MDCOutlinedButtonColorThemer. Please use
74+
[MDCButton applyOutlinedThemeWithScheme:] instead. (Note: Color theming is no longer available as an
75+
independent API.
76+
77+
#### Text Button
78+
79+
*deprecated* class: MDCTextButtonColorThemer. Please use [MDCButton applyTextThemeWithScheme:]
80+
instead. (Note: Color theming is no longer available as an independent API.)")
81+
82+
#### Cards
83+
84+
*deprecated* class: MDCCardsColorThemer. Please use MaterialCards+Theming instead.
85+
86+
#### Tab Bar
87+
88+
*deprecated* class: MDCTabBarFontThemer. Please use the theming extension instead.
89+
90+
#### Text Field
91+
92+
*deprecated* class: MDCTextFieldColorThemer. Please use the MaterialTextFields+Theming instead.
93+
94+
#### Thumb Track
95+
96+
*deprecated* property: `thumbMaxRippleRadius` in `MDCThumbTrack`. Opt-in to Ripple by setting
97+
enableRippleBehavior to YES, and then use thumbRippleMaximumRadius instead. Learn more at
98+
https://github.com/material-components/material-components-ios/tree/develop/components/Ink#migration-guide-ink-to-ripple
99+
100+
## Component changes
101+
102+
## Changes
103+
104+
### Banner
105+
106+
* [Add unit test to test background color change when user interface changes. (#9073)](https://github.com/material-components/material-components-ios/commit/8a2650d5c31cddd73f3ca497a8a9e5f64bb6bdb4) (Wenyu Zhang)
107+
* [Implement UIAccessibilityContainer informal protocol to correct accessibility order. (#9116)](https://github.com/material-components/material-components-ios/commit/8a9a81a74811112de32c92215819dada5cd4672e) (Wenyu Zhang)
108+
* [Post accessibility notification when Banner shows on the screen in examples. (#9111)](https://github.com/material-components/material-components-ios/commit/0fcef85a440e108745cdf74d1e698fd47563881c) (Wenyu Zhang)
109+
110+
### BottomNavigation
111+
112+
* [Deprecate MDCBottomNavigationBarColorThemer (#9126)](https://github.com/material-components/material-components-ios/commit/352a110b81ca1f8b562ad7d150715b7448d4e6e2) (Bryan Oltman)
113+
114+
### ButtonBar
115+
116+
* [delete-MDCButtonBarTypographyThemer (#9117)](https://github.com/material-components/material-components-ios/commit/7ece2c118751771fab24fbf27642e0066ef826cc) (Andrew Overton)
117+
118+
### Buttons
119+
120+
* [Delete MDCButton cornerRadius (#9121)](https://github.com/material-components/material-components-ios/commit/c0464f44da0a4c460f6fc28daef5f4b00f18295a) (Bryan Oltman)
121+
* [Deprecate MDCOutlinedButtonColorThemer (#9048)](https://github.com/material-components/material-components-ios/commit/92ac86ec863564cfad5e618c8d17ca63f2ade3c7) (Galia Kaufman)
122+
* [Deprecating MDCTextButtonColorThemer (#9049)](https://github.com/material-components/material-components-ios/commit/705dfd7788ba8f9ef03ca6d9cbeb2d2c7d56a63c) (Galia Kaufman)
123+
124+
### Cards
125+
126+
* [Deprecate MDCCardsColorThemer (#9078)](https://github.com/material-components/material-components-ios/commit/285c8898c094ed314b6b38cfe63f2f1bdb50232c) (Bryan Oltman)
127+
128+
### Chips
129+
130+
* [Move themer code to MDCChipView+MaterialTheming (#9110)](https://github.com/material-components/material-components-ios/commit/322d162c5ef3035f3447f51adc206aedb8ed995e) (Bryan Oltman)
131+
132+
### Ink
133+
134+
* [Delete deprecated MDCInkTouchControllerLegacyDelegate (#9077)](https://github.com/material-components/material-components-ios/commit/0aa91cca0a1cacdb11c327413f119c41a7e611dd) (Bryan Oltman)
135+
136+
### Tabs
137+
138+
* [Deprecate MDCTabbarFontThemer (#9114)](https://github.com/material-components/material-components-ios/commit/23ddfe27155f4eef619a8291ec8f38c14419cb39) (Andrew Overton)
139+
* [Don't use MDCTabBarColorThemer in examples (#9125)](https://github.com/material-components/material-components-ios/commit/38840677fff750814bf31d4ac5ae15eb4d9f0882) (Andrew Overton)
140+
141+
### TextFields
142+
143+
* [Mark MDCTextFieldColorThemer as deprecated (#9076)](https://github.com/material-components/material-components-ios/commit/9adc054ce046bb5f938f229f32f62f63697923b6) (Bryan Oltman)
144+
145+
### private/ThumbTrack
146+
147+
* [deprecate-MDCThumbTrack-thumbMaxRippleRadius (#9120)](https://github.com/material-components/material-components-ios/commit/8e1dae7e3ec64ed08864eb3c3616499d4270a593) (Andrew Overton)
148+
149+
## Multi-component changes
150+
151+
* [Delete Themers (#9028)](https://github.com/material-components/material-components-ios/commit/f848eaf5eed5a242fc02b0a7b815541e11041979) (Bryan Oltman)
152+
153+
---
154+
1155
# 94.5.0
2156

3157
This minor release introduces new APIs to AppBar, FlexibleHeader and Dialogs. AppBar and

MaterialComponents.podspec

Lines changed: 3 additions & 88 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 = "94.5.0"
5+
mdc.version = "95.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"
@@ -260,6 +260,8 @@ Pod::Spec.new do |mdc|
260260
"components/#{extension.base_name.split('+')[0]}/tests/unit/#{extension.base_name.split('+')[1]}/*.{h,m,swift}"
261261
]
262262
unit_tests.dependency "MaterialComponents/schemes/Container"
263+
unit_tests.dependency "MaterialComponents/private/Color"
264+
unit_tests.dependency "MaterialComponents/private/Math"
263265
end
264266
end
265267

@@ -575,7 +577,6 @@ Pod::Spec.new do |mdc|
575577
"components/#{component.base_name}/tests/unit/supplemental/*.{h,m,swift}"
576578
]
577579
unit_tests.resources = "components/#{component.base_name}/tests/unit/resources/*"
578-
unit_tests.dependency "MaterialComponents/ButtonBar+TypographyThemer"
579580
end
580581
end
581582

@@ -592,21 +593,6 @@ Pod::Spec.new do |mdc|
592593
extension.dependency "MaterialComponents/Themes"
593594
end
594595

595-
# ButtonBar is not intended to be themed as a standalone component.
596-
# Please theme it via the AppBar component's Theming extension instead.
597-
mdc.subspec "ButtonBar+TypographyThemer" do |extension|
598-
extension.ios.deployment_target = '9.0'
599-
extension.public_header_files = [
600-
"components/#{extension.base_name.split('+')[0]}/src/#{extension.base_name.split('+')[1]}/*.h"
601-
]
602-
extension.source_files = [
603-
"components/#{extension.base_name.split('+')[0]}/src/#{extension.base_name.split('+')[1]}/*.{h,m}"
604-
]
605-
606-
extension.dependency "MaterialComponents/#{extension.base_name.split('+')[0]}"
607-
extension.dependency "MaterialComponents/schemes/Typography"
608-
end
609-
610596
# Cards
611597

612598
mdc.subspec "Cards" do |component|
@@ -723,79 +709,10 @@ Pod::Spec.new do |mdc|
723709
"components/#{component.base_name}/tests/unit/supplemental/*.{h,m,swift}"
724710
]
725711
unit_tests.resources = "components/#{component.base_name}/tests/unit/resources/*"
726-
unit_tests.dependency "MaterialComponents/Chips+ChipThemer"
727-
unit_tests.dependency "MaterialComponents/Chips+FontThemer"
728712
unit_tests.dependency "MaterialComponents/Themes"
729713
end
730714
end
731715

732-
mdc.subspec "Chips+ChipThemer" do |extension|
733-
extension.ios.deployment_target = '9.0'
734-
extension.public_header_files = [
735-
"components/#{extension.base_name.split('+')[0]}/src/#{extension.base_name.split('+')[1]}/*.h"
736-
]
737-
extension.source_files = [
738-
"components/#{extension.base_name.split('+')[0]}/src/#{extension.base_name.split('+')[1]}/*.{h,m}"
739-
]
740-
741-
extension.dependency "MaterialComponents/#{extension.base_name.split('+')[0]}"
742-
extension.dependency "MaterialComponents/Chips+ColorThemer"
743-
extension.dependency "MaterialComponents/Chips+ShapeThemer"
744-
extension.dependency "MaterialComponents/Chips+TypographyThemer"
745-
end
746-
747-
mdc.subspec "Chips+ColorThemer" do |extension|
748-
extension.ios.deployment_target = '9.0'
749-
extension.public_header_files = [
750-
"components/#{extension.base_name.split('+')[0]}/src/#{extension.base_name.split('+')[1]}/*.h"
751-
]
752-
extension.source_files = [
753-
"components/#{extension.base_name.split('+')[0]}/src/#{extension.base_name.split('+')[1]}/*.{h,m}"
754-
]
755-
756-
extension.dependency "MaterialComponents/#{extension.base_name.split('+')[0]}"
757-
extension.dependency "MaterialComponents/schemes/Color"
758-
end
759-
760-
mdc.subspec "Chips+FontThemer" do |extension|
761-
extension.ios.deployment_target = '9.0'
762-
extension.public_header_files = [
763-
"components/#{extension.base_name.split('+')[0]}/src/#{extension.base_name.split('+')[1]}/*.h"
764-
]
765-
extension.source_files = [
766-
"components/#{extension.base_name.split('+')[0]}/src/#{extension.base_name.split('+')[1]}/*.{h,m}"
767-
]
768-
769-
extension.dependency "MaterialComponents/#{extension.base_name.split('+')[0]}"
770-
extension.dependency "MaterialComponents/Themes"
771-
end
772-
773-
mdc.subspec "Chips+ShapeThemer" do |extension|
774-
extension.ios.deployment_target = '9.0'
775-
extension.public_header_files = [
776-
"components/#{extension.base_name.split('+')[0]}/src/#{extension.base_name.split('+')[1]}/*.h"
777-
]
778-
extension.source_files = [
779-
"components/#{extension.base_name.split('+')[0]}/src/#{extension.base_name.split('+')[1]}/*.{h,m}"
780-
]
781-
782-
extension.dependency "MaterialComponents/#{extension.base_name.split('+')[0]}"
783-
extension.dependency "MaterialComponents/schemes/Shape"
784-
end
785-
786-
mdc.subspec "Chips+TypographyThemer" do |extension|
787-
extension.ios.deployment_target = '9.0'
788-
extension.public_header_files = [
789-
"components/#{extension.base_name.split('+')[0]}/src/#{extension.base_name.split('+')[1]}/*.h"
790-
]
791-
extension.source_files = [
792-
"components/#{extension.base_name.split('+')[0]}/src/#{extension.base_name.split('+')[1]}/*.{h,m}"
793-
]
794-
795-
extension.dependency "MaterialComponents/#{extension.base_name.split('+')[0]}"
796-
extension.dependency "MaterialComponents/schemes/Typography"
797-
end
798-
799716
mdc.subspec "Chips+Theming" do |extension|
800717
extension.ios.deployment_target = '9.0'
801718
extension.public_header_files = "components/#{extension.base_name.split('+')[0]}/src/#{extension.base_name.split('+')[1]}/*.h"
@@ -804,8 +721,6 @@ Pod::Spec.new do |mdc|
804721
"components/#{extension.base_name.split('+')[0]}/src/#{extension.base_name.split('+')[1]}/private/*.{h,m}"
805722
]
806723
extension.dependency "MaterialComponents/#{extension.base_name.split('+')[0]}"
807-
extension.dependency "MaterialComponents/#{extension.base_name.split('+')[0]}+ColorThemer"
808-
extension.dependency "MaterialComponents/#{extension.base_name.split('+')[0]}+ShapeThemer"
809724
extension.dependency "MaterialComponents/schemes/Container"
810725
extension.dependency "MaterialComponents/Typography"
811726

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