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

Commit cbc6ec3

Browse files
author
Ian Gordon
committed
Merge branch 'release-candidate'
2 parents 5d7ad46 + 8511728 commit cbc6ec3

File tree

147 files changed

+2546
-1318
lines changed

Some content is hidden

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

147 files changed

+2546
-1318
lines changed

CHANGELOG.md

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,123 @@
1+
# 13.1.0
2+
3+
## API diffs
4+
5+
Auto-generated by running:
6+
7+
scripts/api_diff -o 5d7ad466b9e1429ad6242272958b149ded34da63 -n 205b1b49fd311af9246133e1499007dec0957e4b
8+
9+
### AnimationTiming
10+
11+
**New component.**
12+
13+
### Switch
14+
15+
- [new] [`MDCSwitch.offAccessibilityValue`](https://github.com/google/material-components-ios/blob/205b1b49fd311af9246133e1499007dec0957e4b/components/Switch/src/MDCSwitch.h#L78)
16+
- [new] [`MDCSwitch.onAccessibilityValue`](https://github.com/google/material-components-ios/blob/205b1b49fd311af9246133e1499007dec0957e4b/components/Switch/src/MDCSwitch.h#L70)
17+
18+
## Component changes
19+
20+
### ActivityIndicator
21+
22+
#### Changes
23+
24+
* [Add RTL to activity indicator.](https://github.com/google/material-components-ios/commit/457ea7c3cb49cfb954b2f42ea2ff7cde0b5bda8d) (Ian Gordon)
25+
* [Fix commonInit method.](https://github.com/google/material-components-ios/commit/fc4e0a4827c7f265d827fb9d7e46c8f5acd79cc8) (Ian Gordon)
26+
* [Removing the last few remaining references to using id as a return type (#671)](https://github.com/google/material-components-ios/commit/bee2af6211586a044415a57e1a66b737df21beb3) (Sean O'Shea)
27+
28+
### AnimationTiming
29+
30+
#### Changes
31+
32+
* [Add animation timing curves and examples, update use of animation timing in snackbar](https://github.com/google/material-components-ios/commit/22cfb756faf4e6c6e39913ca6b88e43839af447f) (Junius Gunaratne)
33+
34+
### AppBar
35+
36+
#### Changes
37+
38+
* [[Catalog, NavigationBar] Update catalog to set custom title color using titleTextAttributes; only set attributedText when title is set](https://github.com/google/material-components-ios/commit/205b1b49fd311af9246133e1499007dec0957e4b) (Junius Gunaratne)
39+
40+
### Buttons
41+
42+
#### Changes
43+
44+
* [[MDCButton] Add UI_APPEARANCE_SELECTOR to customTextColor.](https://github.com/google/material-components-ios/commit/1aaa85381dfd1416f8e43a1b33ae6e8e5e53927b) (Ian Gordon)
45+
46+
### CollectionCells
47+
48+
#### Changes
49+
50+
* [Fix RTL layout for Collection Cells](https://github.com/google/material-components-ios/commit/9a0804f8ab2062429c4fe15c19dafc0649b245cb) (Ed Chin)
51+
52+
### Dialogs
53+
54+
#### Changes
55+
56+
* [Minor formatting issues which mostly impact the catalog app. (#666)](https://github.com/google/material-components-ios/commit/a944e1f354e0b05a78c207c69ce73eadbd985be2) (Sean O'Shea)
57+
* [[MDCButton] Add UI_APPEARANCE_SELECTOR to customTextColor.](https://github.com/google/material-components-ios/commit/1aaa85381dfd1416f8e43a1b33ae6e8e5e53927b) (Ian Gordon)
58+
59+
### FlexibleHeader
60+
61+
#### Changes
62+
63+
* [Add example with UIKit components in flexible header](https://github.com/google/material-components-ios/commit/93171fa87c87fd79572805fa9dc861ace2fda4ef) (Junius Gunaratne)
64+
* [Add page control in flexible header example](https://github.com/google/material-components-ios/commit/b118dcd97e25c9a18b7574142962c1ba904929d7) (Junius Gunaratne)
65+
* [Add wrapped view controller example](https://github.com/google/material-components-ios/commit/41feee6549aefa64c8386e1e2bcc68d228fecc08) (Junius Gunaratne)
66+
* [Prevent retain cycle in CADisplayLink in shift behavior.](https://github.com/google/material-components-ios/commit/1432c3cb78a51120815b32741456a55526c763fb) (randallli)
67+
* [Update legal text to include Material Components for iOS authors](https://github.com/google/material-components-ios/commit/09cfde15ac055ca7d270556016b41c421659e3d1) (Junius Gunaratne)
68+
69+
### NavigationBar
70+
71+
#### Changes
72+
73+
* [[Catalog, NavigationBar] Update catalog to set custom title color using titleTextAttributes; only set attributedText when title is set](https://github.com/google/material-components-ios/commit/205b1b49fd311af9246133e1499007dec0957e4b) (Junius Gunaratne)
74+
* [[MDCNavigationBar] Allow tintColor to change navigation bar title text by applying titleTextAttributes](https://github.com/google/material-components-ios/commit/d6b8c54ab09bfa14574c69154c610bcbbe5178ee) (Junius Gunaratne)
75+
* [[MDCNavigationBar] Revert change that sets titleTextAttributes when tintColorDidChange is called](https://github.com/google/material-components-ios/commit/0591ee9f62360f9acc40c263a41669a5e4c67b0e) (Junius Gunaratne)
76+
77+
### OverlayWindow
78+
79+
#### Changes
80+
81+
* [Removing the last few remaining references to using id as a return type (#671)](https://github.com/google/material-components-ios/commit/bee2af6211586a044415a57e1a66b737df21beb3) (Sean O'Shea)
82+
83+
### PageControl
84+
85+
#### Changes
86+
87+
* [Removing the last few remaining references to using id as a return type (#671)](https://github.com/google/material-components-ios/commit/bee2af6211586a044415a57e1a66b737df21beb3) (Sean O'Shea)
88+
89+
### ShadowLayer
90+
91+
#### Changes
92+
93+
* [Removing the last few remaining references to using id as a return type (#671)](https://github.com/google/material-components-ios/commit/bee2af6211586a044415a57e1a66b737df21beb3) (Sean O'Shea)
94+
95+
### Slider
96+
97+
#### Changes
98+
99+
* [Delegate method for shouldJumpToValue:](https://github.com/google/material-components-ios/commit/2d6fc623edb90a9150e59f657635a9538227fa93) (Max Luzuriaga)
100+
* [Expose filled track anchor value property](https://github.com/google/material-components-ios/commit/9b0d87f07f12653436269bdb86695dc01fa7bd9b) (Max Luzuriaga)
101+
* [Expose thumbTrack to subclasses of MDCSlider](https://github.com/google/material-components-ios/commit/7045fa4e68eb1c1e5165ca803e7a5c870d24ba7f) (Max Luzuriaga)
102+
* [Property for displaying discrete value label or not](https://github.com/google/material-components-ios/commit/eaff59d916e64a298a4ca10a83c6ca81eb549d12) (Max Luzuriaga)
103+
104+
### Snackbar
105+
106+
#### Changes
107+
108+
* [Minor formatting issues which mostly impact the catalog app. (#666)](https://github.com/google/material-components-ios/commit/a944e1f354e0b05a78c207c69ce73eadbd985be2) (Sean O'Shea)
109+
* [[AnimationTiming] Add animation timing curves and examples, update use of animation timing in snackbar](https://github.com/google/material-components-ios/commit/22cfb756faf4e6c6e39913ca6b88e43839af447f) (Junius Gunaratne)
110+
* [[README] Changing documentation to aid with compilation (#667)](https://github.com/google/material-components-ios/commit/acda73aff13e62ac72e1646ff7193116f4ac56a8) (Sean O'Shea)
111+
112+
### Switch
113+
114+
#### Changes
115+
116+
* [Add RTL support to Switch](https://github.com/google/material-components-ios/commit/8ab45d01b359e759ce7554a8fd7ec8c1b0c61a13) (Ian Gordon)
117+
* [Custom accessibility labels](https://github.com/google/material-components-ios/commit/09b9fcc739329cf8f1a281b66ead482e0d7ded55) (Max Luzuriaga)
118+
* [Switch init cleanup.](https://github.com/google/material-components-ios/commit/934b367452a432587669747a5c8aceadf2f5cf4d) (Ian Gordon)
119+
120+
1121
# 13.0.2
2122

3123
## API diffs

MaterialComponents.podspec

Lines changed: 13 additions & 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 |s|
44
s.name = "MaterialComponents"
5-
s.version = "13.0.2"
5+
s.version = "13.1.0"
66
s.authors = { 'Apple platform engineering at Google' => 'appleplatforms@google.com' }
77
s.summary = "A collection of stand-alone production-ready UI libraries focused on design details."
88
s.homepage = "https://github.com/google/material-components-ios"
@@ -43,6 +43,8 @@ Pod::Spec.new do |s|
4343
ss.public_header_files = "components/#{ss.base_name}/src/*.h"
4444
ss.source_files = "components/#{ss.base_name}/src/*.{h,m}", "components/#{ss.base_name}/src/private/*.{h,m}"
4545
ss.header_mappings_dir = "components/#{ss.base_name}/src/*"
46+
47+
ss.dependency "MaterialComponents/private/RTL"
4648
end
4749

4850
s.subspec "AppBar" do |ss|
@@ -65,6 +67,12 @@ Pod::Spec.new do |s|
6567
ss.dependency "MaterialComponents/private/RTL"
6668
end
6769

70+
s.subspec "AnimationTiming" do |ss|
71+
ss.public_header_files = "components/#{ss.base_name}/src/*.h"
72+
ss.source_files = "components/#{ss.base_name}/src/*.{h,m}", "components/#{ss.base_name}/src/private/*.{h,m}"
73+
ss.header_mappings_dir = "components/#{ss.base_name}/src"
74+
end
75+
6876
s.subspec "Buttons" do |ss|
6977
ss.ios.deployment_target = '7.0'
7078
ss.public_header_files = "components/#{ss.base_name}/src/*.h"
@@ -138,6 +146,7 @@ Pod::Spec.new do |s|
138146
ss.public_header_files = "components/#{ss.base_name}/src/*.h"
139147
ss.source_files = "components/#{ss.base_name}/src/*.{h,m}", "components/#{ss.base_name}/src/private/*.{h,m}"
140148
ss.header_mappings_dir = "components/#{ss.base_name}/src"
149+
141150
ss.dependency "MaterialComponents/Buttons"
142151
ss.dependency "MaterialComponents/ShadowElevations"
143152
ss.dependency "MaterialComponents/ShadowLayer"
@@ -263,6 +272,7 @@ Pod::Spec.new do |s|
263272
ss.source_files = "components/#{ss.base_name}/src/*.{h,m}", "components/#{ss.base_name}/src/private/*.{h,m}"
264273
ss.header_mappings_dir = "components/#{ss.base_name}/src"
265274

275+
ss.dependency "MaterialComponents/AnimationTiming"
266276
ss.dependency "MaterialComponents/Buttons"
267277
ss.dependency "MaterialComponents/OverlayWindow"
268278
ss.dependency "MaterialComponents/private/KeyboardWatcher"
@@ -286,6 +296,7 @@ Pod::Spec.new do |s|
286296
}
287297

288298
ss.dependency "MaterialComponents/private/ThumbTrack"
299+
ss.dependency "MaterialComponents/private/RTL"
289300
end
290301

291302
s.subspec "Typography" do |ss|
@@ -339,6 +350,7 @@ Pod::Spec.new do |s|
339350
ss.dependency "MaterialComponents/Ink"
340351
ss.dependency "MaterialComponents/ShadowElevations"
341352
ss.dependency "MaterialComponents/ShadowLayer"
353+
ss.dependency "MaterialComponents/Typography"
342354
ss.dependency "MaterialComponents/private/Color"
343355
end
344356

MaterialComponentsCatalog.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 = "MaterialComponentsCatalog"
3-
s.version = "13.0.2"
3+
s.version = "13.1.0"
44
s.authors = { 'Apple platform engineering at Google' => 'appleplatforms@google.com' }
55
s.summary = "A collection of stand-alone production-ready UI libraries focused on design details."
66
s.homepage = "https://github.com/google/material-components-ios"

MaterialComponentsUnitTests.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 = "MaterialComponentsUnitTests"
3-
s.version = "13.0.2"
3+
s.version = "13.1.0"
44
s.authors = { 'Apple platform engineering at Google' => 'appleplatforms@google.com' }
55
s.summary = "A collection of stand-alone production-ready UI libraries focused on design details."
66
s.homepage = "https://github.com/google/material-components-ios"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Choose from Objective-C or Swift:
112112
#### Swift
113113
114114
~~~swift
115-
import material_components_ios
115+
import MaterialComponents
116116
117117
class MDCBuildTestViewController: UIViewController {
118118

0 commit comments

Comments
 (0)