- c8ba09ff95259644b70481a90681de38d5d1e184 [BottomSheet]Set MDCSheetStateExtended for MDCBottomSheet... by Wenyu Zhang <wenyuz@google.com>
- a866a00f778d73c44261327a86914e2ed73d40be Internal change. by Wenyu Zhang <wenyuz@google.com>
- f4b7c8eb2cd04e2afe8437772c5f85b0b0aceb47 [Cards] Add example snapshot tests. by Jeff Verkoeyen <featherless@google.com>
- 1920b96b2ab03f2ba2faf89b62396e71777b1303 [Dialogs] Add example snapshot tests. by Jeff Verkoeyen <featherless@google.com>
- 81bd1dd07f3029dd7850fdfa299a58e06216b109 Internal change. by Wenyu Zhang <wenyuz@google.com>
- 4a22863ca074ee5c5d1db7d7cd3e909e9feaf6ec [FlexibleHeader] Add example snapshot tests. by Jeff Verkoeyen <featherless@google.com>
- 9e3ab8703b8d7f2f124ceb90e9ceb01d7a60be99 [NavigationBar] Add example snapshot tests. by Jeff Verkoeyen <featherless@google.com>
- 5b5156eab6bb4412ebef0f95b87c96308afb413b [Dialogs] Document icon image scaling condition by Galia Kaufman <galiak@google.com>
- fb10ae1b1fc70a689949ac5e46e72a54751116c5 Add borderRadius property by Nobody <no-reply@google.com>
- 99d6facc5bd41455bb86e6246745be29b699d67d No public changes, just a test that reproduces the issue. by Iryna Berezan <iberezan@google.com>
- da54c6f67a28691ecb3962e963f36d50ec501358 [Dialogs] Allow MDCAlertController to become first respon... by Wenyu Zhang <wenyuz@google.com>
- d30de4507cf9dd80bd1cf487fa0d3f09cc931416 [MDC/ActionSheet] Add test showcasing how when an Action'... by Cody Weaver <codyleeweaver@google.com>
- b9822411b97730324dedca19492d895c68fc880a [MDC/ActionSheet] Support setting image later in lifecycle by Cody Weaver <codyleeweaver@google.com>
- 65b749fb56fc15fad14ff7f71c0fb432337ee033 [BottomSheet] Have the container sheet be laid out by the... by Yarden Eitan <yar@google.com>
- 9220d5b801487df51560e61327e8c47305c02bdf [BottomAppBar] Have BottomAppBar respect safe area by Andrew Overton <andrewoverton@google.com>
- ee22d2cea472fb9451ae6fcd6b3f314d10972a3e Automatic changelog preparation for release. by Galia Kaufman <galiak@google.com>
PiperOrigin-RevId: 310000080
This minor release includes several API additions to BottomSheet, Dialogs, and NavigationDrawer, along with a bug fix to Snackbar and improved Buttons documentation.
## New deprecations
MDCSemanticColorScheme's `init` was deprecated. Please use initWithDefaults: instead.
## New features
### Creating a Dialog with attributed text
```objc
NSAttributedString *attributedStr =
[[NSAttributedString alloc] initWithString:@"attributed message" attributes:@{}];
self.attributedAlert = [MDCAlertController alertControllerWithTitle:@"title"
attributedMessage:attributedStr];
```
### Positioning subviews of a Dialog
The default insets of dialogs work well for the majority of use cases. Use the adjustable insets APIs to accommodate special use cases:
```objc
// Get a reference to the alert's view.
MDCAlertControllerView *alertView =
(MDCAlertControllerView *)mdcAlertController.view;
// Set the insets of the alert's title icon:
alertView.titleIconInsets = UIEdgeInsetsMake(10.0f, 10.0f, 10.0f, 10.0f);
// Set the insets of the alert's title:
alertView.titleInsets = UIEdgeInsetsMake(10.0f, 10.0f, 10.0f, 10.0f);
// Set the insets of the alert's content:
alertView.contentInsets = UIEdgeInsetsMake(10.0f, 10.0f, 10.0f, 10.0f);
// Set the insets of the insets's actions:
alertView.actionsInsets = UIEdgeInsetsMake(10.0f, 10.0f, 10.0f, 10.0f);
```
## API changes
The following properties were added to `MDCAlertController`:
* `titleIconAlignment`
* `attributedMessage`
`MDCAlertController` also has a new initializer:
* `alertControllerWithTitle:attributedMessage:`
The following previously private `MDCAlertControllerView` properties are now exposed:
* `titleIconInset`
* `titleInsets`
* `contentInsets`
* `actionsInsets`
* `actionsHorizontalMargin`
* `actionsVerticalMargin`
* `accessoryViewVerticalInset`
## Component changes
### BottomSheet
* [Give MDCBottomSheetPresentationController an opt-in mechanism to propagate presentingViewController safeAreaInsets to the presentedViewController.](3b7dfcd48c) (Andrew Overton)
### Buttons
* [Internal change.](d11159f59c) (Jeff Verkoeyen)
* [Replace Buttons documentation](91595a819a) (Andrew Overton)
### Chips
* [Allow ending touch animation to proceed if chip is disabled on tap.](a23ac94062) (Bryan Oltman)
### Dialogs
* [Add support for attributed dialog message text](19a973ff44) (Vladimir Pomsztein)
* [Calculate title Insets independently of content insets (resolve scuba diff)](6b790fe2e1) (Galia Kaufman)
* [Calculate title Insets independently of content insets](144b2f61dc) (Galia Kaufman)
* [Moving static c helper functions outside of test classes.](8c7be049e9) (Galia Kaufman)
* [Publish Adjustable Insets API](a477732a95) (Galia Kaufman)
* [Publish Customize API](2a0d0febc5) (Galia Kaufman)
* [Remove the logic that sets accessibilityFrame manually on messageLabel.](db06c081c3) (Wenyu Zhang)
* [Rollback of PR #9877 to fix the message text disappearing on device rotation when voiceover is active.](75fc33afc2) (Galia Kaufman)
* [Support custom alignment for the title image (independent of title)](a4d690cb1c) (Galia Kaufman)
* [snapshot test for custom insets.](0c1910ec64) (Galia Kaufman)
### NavigationDrawer
* [Update `MDCBottomDrawerContainerViewController` to account for non-full screen presentation styles when the content is large enough to scroll to fullscreen, by adjusting the container and scroll view height rather than just adjusting the scroll view offset.](a7451b084c) (Jake Rockland)
### ProgressView
* [Adding default accessibility label](a8a560da42) (Yarden Eitan)
### Snackbar
* [Add additional nil checks in SnackBar display/dismissal](5a03fc07ab) (Andrew Overton)
* [Only use self.snackbarView for dismissing snackbars, not presenting them](1d30c3ee1f) (Andrew Overton)
### Tabs
* [Have an option in MDCTabBarView to not adjust for safe are insets (default is to adjust).](27d333c749) (Alvin Wong)
### TextFields
* [Update TextFields docs](d26c963b75) (Andrew Overton)
### schemes/Color
* [Mark init as deprecated.](086c1d590e) (Cody Weaver)
## Multi-component changes
* [Remove usage of `init` within MDC.](fdf87c5995) (Cody Weaver)
PiperOrigin-RevId: 303812657
In #9776 we removed the DialogThemer but did not remove it from the CocoaPods podspec file. This causes pod validation to fail rather than reverting #9776 we should remove this target from the podspec.
This PR adds the TextControl filled text areas, as well as their theming extensions, and a bunch of unit tests. Snapshot tests to follow.
Related to #9407.
This PR adds the TextControl outlined text areas, as well as their theming extensions, and a bunch of unit tests. Snapshot tests to follow.
Related to #9407.
These commits were accidentally added to stable due to a `git pull` command.
```
git reset --hard v104.0.1
git reset --soft e2252009a850ea6d5e2a02efaa2add2f7f295aac
git commit
```
https://github.com/material-components/material-components-ios/pull/9711 causes the library to fail pod lib lint validations because there are currently no source files in the test spec. This will of course change very soon but in case there's a release before it does we should land this PR.
Related to #9407.