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

Commit e9334fc

Browse files
committed
Merge branch 'release-candidate' into stable
2 parents 1dc20d1 + 4172763 commit e9334fc

File tree

91 files changed

+3972
-573
lines changed

Some content is hidden

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

91 files changed

+3972
-573
lines changed

CHANGELOG.md

Lines changed: 118 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,119 @@
1+
# 106.0.0
2+
3+
In this major release we deleted the deprecated themer: `MDCFloatingButtonShapeThemer`.
4+
5+
## Breaking changes
6+
7+
Deleted `MDCFloatingButtonShapeThemer` class, please use the theming extensions.
8+
Learn more at https://github.com/material-components/material-components-ios/blob/develop/docs/theming.md#migration-guide-themers-to-theming-extensions
9+
10+
## New features
11+
12+
In this release we added the `MDCFilledTextArea` and `MDCOutlinedTextArea` components, made improvements to our Dialogs component, and added other bug fixes.
13+
14+
## API changes
15+
16+
### BottomNavigation
17+
18+
*new* property: `itemsHorizontalPadding` in `MDCBottomNavigationBar`
19+
20+
### TextControls
21+
22+
*new* property: `label` in `MDCBaseTextArea`
23+
24+
*new* property: `labelBehavior` in `MDCBaseTextArea`
25+
26+
*new* property: `leadingAssistiveLabel` in `MDCBaseTextArea`
27+
28+
*new* property: `trailingAssistiveLabel` in `MDCBaseTextArea`
29+
30+
*new* property: `minimumNumberOfVisibleRows` in `MDCBaseTextArea`
31+
32+
*new* property: `maximumNumberOfVisibleRows` in `MDCBaseTextArea`
33+
34+
*new* method: `setFloatingLabelColor:forState:` in `MDCBaseTextArea`
35+
36+
*new* method: `floatingLabelColorForState` in `MDCBaseTextArea`
37+
38+
*new* method: `setNormalLabelColor:forState:` in `MDCBaseTextArea`
39+
40+
*new* method: `normalLabelColorForState:` in `MDCBaseTextArea`
41+
42+
*new* method: `setTextColor:forState:` in `MDCBaseTextArea`
43+
44+
*new* method: `textColorForState:` in `MDCBaseTextArea`
45+
46+
*new* method: `setLeadingAssistiveLabelColor:forState:` in `MDCBaseTextArea`
47+
48+
*new* method: `leadingAssistiveLabelColorForState:` in `MDCBaseTextArea`
49+
50+
*new* method: `setTrailingAssistiveLabelColor:forState:` in `MDCBaseTextArea`
51+
52+
*new* method: `trailingAssistiveLabelColorForState:` in `MDCBaseTextArea`
53+
54+
*new* class: `MDCFilledTextArea`
55+
56+
*new* class: `MDCOutlinedTextArea`
57+
58+
## Component changes
59+
60+
### BottomAppBar
61+
62+
* [Migrates BottomAppBar to MDCAvailability. (#9729)](https://github.com/material-components/material-components-ios/commit/a204ee6f8e9665cc3318822e58bb507a04232b1f) (Randall Li)
63+
64+
### BottomNavigation
65+
66+
* [Add horizontal padding property to MDCBottomNavigationBar (#9765)](https://github.com/material-components/material-components-ios/commit/c068063cadd2fd43caef5c09a4dbc0779495325c) (Andrew Overton)
67+
68+
### Buttons
69+
70+
* [Deletes deprecated MDCFloatingButtonShapeThemer (#9746)](https://github.com/material-components/material-components-ios/commit/14c9d903cfca915fe5580ae0c34e7961213cbe16) (Bryan Oltman)
71+
72+
### ButtonBar
73+
74+
* [Do not allow implicit downcasting of item views. (#9761)](https://github.com/material-components/material-components-ios/commit/2897baaafbf4e03b54e2b872e7e3b0334dd71cd5) (featherless)
75+
* [Fix crash when assigning tint color, title, or image to bar button item with custom view. (#9759)](https://github.com/material-components/material-components-ios/commit/e3df3459fc1ed8a381e39c1f61251284d96cc157) (featherless)
76+
77+
### Collections
78+
79+
* [Migrates Collections to MDCAvailability. (#9712)](https://github.com/material-components/material-components-ios/commit/b3f784f11e918b054104bf24882e1292b36fc22b) (Randall Li)
80+
81+
### Dialogs
82+
83+
* [Add orderVerticalActionsByEmphasis flag (#9775)](https://github.com/material-components/material-components-ios/commit/34d68a929cf6e08ed5b743e9a181f6a371f7394c) (Galia Kaufman)
84+
* [Fix adjustable insets for title icon. (#9752)](https://github.com/material-components/material-components-ios/commit/3d1b00cff67c54c63372ed2a41881616a4b88db9) (Galia Kaufman)
85+
* [Group UIViewController methods of MDCAlertController. (#9784)](https://github.com/material-components/material-components-ios/commit/7758ff5ea038802511e55bded689371d9a688b07) (Galia Kaufman)
86+
* [Refactor actions layout calculations. (#9783)](https://github.com/material-components/material-components-ios/commit/b0630b465330406a28563f12194395fe7b9d6be2) (Galia Kaufman)
87+
* [Updating adjustable action margins (#9782)](https://github.com/material-components/material-components-ios/commit/b1e6ee3326e2a1c1db88154b733fec77a1c73b67) (Galia Kaufman)
88+
89+
### Ink
90+
91+
* [Remove additional strong reference to self.layer (#9755)](https://github.com/material-components/material-components-ios/commit/8819916990738560ff3fcabdf4783e7b8820ae46) (Bryan Oltman)
92+
93+
### OverlayWindow
94+
95+
* [Migrates Overlay Window to MDCAvailability. (#9730)](https://github.com/material-components/material-components-ios/commit/7e4f9f61a9d362639d8d73383fd89af1e12a0ca6) (Randall Li)
96+
97+
### Shapes
98+
99+
* [Update MDCShapedShadowLayer color properties to use copy semantics (#9756)](https://github.com/material-components/material-components-ios/commit/d7e0e82b07d02f4da02ff97ccf09d4e40bd7e29a) (Bryan Oltman)
100+
101+
### TextControls
102+
103+
* [Add text area example (#9772)](https://github.com/material-components/material-components-ios/commit/3e5edeccecb8e4cc268d0e16820a8ee18b05e182) (Andrew Overton)
104+
* [Add first pass of unit tests for MDCBaseTextArea (#9754)](https://github.com/material-components/material-components-ios/commit/2c1669718c6437886c7f355ed93ad3210161953a) (Andrew Overton)
105+
* [Add outlined text areas (#9771)](https://github.com/material-components/material-components-ios/commit/79d0ba023115eb7a3818f497d1398355d51b48c2) (Andrew Overton)
106+
* [Add the rest of MDCBaseTextArea (#9731)](https://github.com/material-components/material-components-ios/commit/2f6b40a58811089e5bc8fcf69128e315faf7d96f) (Andrew Overton)
107+
* [MDCTextControlLabelState renamed to MDCTextControlLabelPosition and other changes (#9753)](https://github.com/material-components/material-components-ios/commit/a37edbf81a32645e4992cf599a8b990fc8ec491a) (Andrew Overton)
108+
* [add filled text areas (#9770)](https://github.com/material-components/material-components-ios/commit/beca30be4acfaca8fdfcbca86021204aa487a9e2) (Andrew Overton)
109+
110+
### private/ThumbTrack
111+
112+
* [Migrates Thumb Track to MDCAvailability. (#9714)](https://github.com/material-components/material-components-ios/commit/d19b024d322f4b0bb7ce624d73090ca8ebfac0c7) (Randall Li)
113+
114+
115+
---
116+
1117
# 105.0.2
2118

3119
This hotfix patch release fixes a crasher with ButtonBars when using custom item views and tint colors.
@@ -127,15 +243,15 @@ In this patch release we fixed the syntax of the TV_OS macro.
127243

128244
# 104.0.0
129245

130-
In this major release we removed the deprecated MDCFloatingActionButtonThemer, added APIs to AppBar flexible header, alert controllers, bottom drawers and sliders to make the more configurable for clients.
246+
In this major release we removed the deprecated MDCFloatingActionButtonThemer, added APIs to AppBar flexible header, alert controllers, bottom drawers and sliders to make the more configurable for clients.
131247

132248
## Breaking changes
133249

134250
Deleted the MDCFloatingActionButtonThemer class. Use the theming extension.
135251

136252
## New features
137253

138-
AppBar added an API for changing the stack view offset.
254+
AppBar added an API for changing the stack view offset.
139255
Flexible header added an API for showing the hairline and its color.
140256
Availability macro for internal use.
141257
AlertControllers added an API for titleIconView.

MaterialComponents.podspec

Lines changed: 96 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 |mdc|
44
mdc.name = "MaterialComponents"
5-
mdc.version = "105.0.2"
5+
mdc.version = "106.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"
@@ -717,6 +717,7 @@ Pod::Spec.new do |mdc|
717717
]
718718
component.framework = "CoreGraphics", "QuartzCore"
719719

720+
component.dependency "MaterialComponents/Availability"
720721
component.dependency "MaterialComponents/CollectionCells"
721722
component.dependency "MaterialComponents/CollectionLayoutAttributes"
722723
component.dependency "MaterialComponents/Ink"
@@ -1169,6 +1170,7 @@ Pod::Spec.new do |mdc|
11691170
"components/#{component.base_name}/src/private/*.{h,m}"
11701171
]
11711172

1173+
component.dependency "MaterialComponents/Availability"
11721174
component.dependency "MaterialComponents/private/Application"
11731175

11741176
component.test_spec 'UnitTests' do |unit_tests|
@@ -1574,6 +1576,13 @@ Pod::Spec.new do |mdc|
15741576
component.dependency "MaterialComponents/private/TextControlsPrivate+Shared"
15751577
component.dependency "MaterialComponents/private/TextControlsPrivate+BaseStyle"
15761578
component.dependency "MDFInternationalization"
1579+
1580+
component.test_spec 'UnitTests' do |unit_tests|
1581+
unit_tests.source_files = [
1582+
"components/#{component.base_name.split('+')[0]}/tests/unit/#{component.base_name.split('+')[1]}/*.{h,m,swift}"
1583+
]
1584+
unit_tests.dependency "MaterialComponents/schemes/Container"
1585+
end
15771586
end
15781587

15791588
# TextControls+BaseTextFields
@@ -1597,6 +1606,48 @@ Pod::Spec.new do |mdc|
15971606
end
15981607
end
15991608

1609+
# TextControls+FilledTextAreas
1610+
1611+
mdc.subspec "TextControls+FilledTextAreas" do |component|
1612+
component.ios.deployment_target = '9.0'
1613+
component.public_header_files = "components/#{component.base_name.split('+')[0]}/src/#{component.base_name.split('+')[1]}/*.h"
1614+
component.source_files = [
1615+
"components/#{component.base_name.split('+')[0]}/src/#{component.base_name.split('+')[1]}/*.{h,m}",
1616+
"components/#{component.base_name.split('+')[0]}/src/#{component.base_name.split('+')[1]}/private/*.{h,m}"
1617+
]
1618+
1619+
component.dependency "MaterialComponents/Availability"
1620+
component.dependency "MaterialComponents/TextControls+BaseTextAreas"
1621+
component.dependency "MaterialComponents/private/TextControlsPrivate+FilledStyle"
1622+
1623+
component.test_spec 'UnitTests' do |unit_tests|
1624+
unit_tests.source_files = [
1625+
"components/#{component.base_name.split('+')[0]}/tests/unit/#{component.base_name.split('+')[1]}/*.{h,m,swift}"
1626+
]
1627+
unit_tests.dependency "MaterialComponents/schemes/Container"
1628+
end
1629+
end
1630+
1631+
# TextControls+FilledTextAreasTheming
1632+
1633+
mdc.subspec "TextControls+FilledTextAreasTheming" do |component|
1634+
component.ios.deployment_target = '9.0'
1635+
component.public_header_files = "components/#{component.base_name.split('+')[0]}/src/#{component.base_name.split('+')[1]}/*.h"
1636+
component.source_files = [
1637+
"components/#{component.base_name.split('+')[0]}/src/#{component.base_name.split('+')[1]}/*.{h,m}",
1638+
"components/#{component.base_name.split('+')[0]}/src/#{component.base_name.split('+')[1]}/private/*.{h,m}"
1639+
]
1640+
1641+
component.dependency "MaterialComponents/TextControls+FilledTextAreas"
1642+
component.dependency "MaterialComponents/schemes/Container"
1643+
1644+
component.test_spec 'UnitTests' do |unit_tests|
1645+
unit_tests.source_files = [
1646+
"components/#{component.base_name.split('+')[0]}/tests/unit/#{component.base_name.split('+')[1]}/*.{h,m,swift}"
1647+
]
1648+
end
1649+
end
1650+
16001651
# TextControls+FilledTextFields
16011652

16021653
mdc.subspec "TextControls+FilledTextFields" do |component|
@@ -1639,6 +1690,49 @@ Pod::Spec.new do |mdc|
16391690
end
16401691
end
16411692

1693+
# TextControls+OutlinedTextAreas
1694+
1695+
mdc.subspec "TextControls+OutlinedTextAreas" do |component|
1696+
component.ios.deployment_target = '9.0'
1697+
component.public_header_files = "components/#{component.base_name.split('+')[0]}/src/#{component.base_name.split('+')[1]}/*.h"
1698+
component.source_files = [
1699+
"components/#{component.base_name.split('+')[0]}/src/#{component.base_name.split('+')[1]}/*.{h,m}",
1700+
"components/#{component.base_name.split('+')[0]}/src/#{component.base_name.split('+')[1]}/private/*.{h,m}"
1701+
]
1702+
1703+
component.dependency "MaterialComponents/Availability"
1704+
component.dependency "MaterialComponents/TextControls+BaseTextAreas"
1705+
component.dependency "MaterialComponents/private/TextControlsPrivate+OutlinedStyle"
1706+
1707+
component.test_spec 'UnitTests' do |unit_tests|
1708+
unit_tests.source_files = [
1709+
"components/#{component.base_name.split('+')[0]}/tests/unit/#{component.base_name.split('+')[1]}/*.{h,m,swift}"
1710+
]
1711+
unit_tests.dependency "MaterialComponents/schemes/Container"
1712+
end
1713+
end
1714+
1715+
# TextControls+OutlinedTextAreasTheming
1716+
1717+
mdc.subspec "TextControls+OutlinedTextAreasTheming" do |component|
1718+
component.ios.deployment_target = '9.0'
1719+
component.public_header_files = "components/#{component.base_name.split('+')[0]}/src/#{component.base_name.split('+')[1]}/*.h"
1720+
component.source_files = [
1721+
"components/#{component.base_name.split('+')[0]}/src/#{component.base_name.split('+')[1]}/*.{h,m}",
1722+
"components/#{component.base_name.split('+')[0]}/src/#{component.base_name.split('+')[1]}/private/*.{h,m}"
1723+
]
1724+
1725+
component.dependency "MaterialComponents/TextControls+OutlinedTextAreas"
1726+
component.dependency "MaterialComponents/schemes/Container"
1727+
1728+
component.test_spec 'UnitTests' do |unit_tests|
1729+
unit_tests.source_files = [
1730+
"components/#{component.base_name.split('+')[0]}/tests/unit/#{component.base_name.split('+')[1]}/*.{h,m,swift}"
1731+
]
1732+
unit_tests.dependency "MaterialComponents/Availability"
1733+
end
1734+
end
1735+
16421736
# TextControls+OutlinedTextFields
16431737

16441738
mdc.subspec "TextControls+OutlinedTextFields" do |component|
@@ -1974,6 +2068,7 @@ Pod::Spec.new do |mdc|
19742068
"components/private/#{component.base_name}/src/private/*.{h,m}"
19752069
]
19762070

2071+
component.dependency "MaterialComponents/Availability"
19772072
component.dependency "MaterialComponents/Ink"
19782073
component.dependency "MaterialComponents/Ripple"
19792074
component.dependency "MaterialComponents/ShadowElevations"

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 = "105.0.2"
3+
mdc.version = "106.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 = "105.0.2"
3+
s.version = "106.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 = "105.0.2"
3+
s.version = "106.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 = "105.0.2"
56+
s.version = "106.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-
105.0.2
1+
106.0.0

0 commit comments

Comments
 (0)