255 Commits

Author SHA1 Message Date
Rob Moore
5b2b452bb5 [BottomNavigation] Correct accessibilityLabel docs
The documentation for `accessibilityLabel` did not reflect the latest support for receiving it from the UITabBarItem.

PiperOrigin-RevId: 309999763
2020-05-05 12:37:47 -07:00
Galia Kaufman
c257e6e853 Bumped version number to 109.2.0. 2020-05-05 09:16:42 -04:00
Wenyu Zhang
c99259ac5f Bumped version number to 109.1.0. 2020-04-29 17:19:30 -04:00
Wenyu Zhang
5f9b5eb984 Bumped version number to 109.0.0. 2020-04-21 01:11:12 -04:00
Wenyu Zhang
346bae9589 Revert "Bumped version number to 108.2.0."
This reverts commit 9b8810cd49f73defbd717295b99bdc86905efa64.
2020-04-21 01:10:37 -04:00
Wenyu Zhang
9b8810cd49 Bumped version number to 108.2.0. 2020-04-20 19:41:16 -04:00
Jeff Verkoeyen
a0a6643d92 v108.1.0 release
PiperOrigin-RevId: 306239278
2020-04-13 08:44:39 -07:00
Jeff Verkoeyen
c577ec898c Remove stale code coverage badge.
PiperOrigin-RevId: 306236804
2020-04-13 08:28:32 -07:00
Jeff Verkoeyen
23de723d65 Bump the release. 2020-04-13 09:54:03 -04:00
Jeff Verkoeyen
b08ae64cad Bump the release. 2020-04-07 08:43:04 -04:00
Bryan Oltman
7c99769c68 # 107.5.0
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
2020-03-30 13:43:11 -07:00
Bryan Oltman
d9340a2952 Internal change
PiperOrigin-RevId: 303789586
2020-03-30 13:40:59 -07:00
Bryan Oltman
7dace35f69 Update version to 107.5.0 2020-03-30 16:18:41 -04:00
Bryan Oltman
3e471a67d0 Bumped version number to 108.0.0. 2020-03-30 15:39:24 -04:00
Bryan Oltman
0062096ee1 Bump version to 107.4.0, update release notes 2020-03-23 13:54:13 -04:00
Jeff Verkoeyen
3f68089cc2 Bump the release. 2020-03-16 09:43:41 -04:00
Andrew Overton
06cef309d3 Bumped version number to 107.2.0. 2020-03-09 12:49:52 -04:00
Cody Weaver
5e9c0ff782 Bumped version number to 107.1.0. 2020-03-03 08:51:32 -08:00
Cody Weaver
fa72a5317f Bumped version number to 107.0.0. 2020-02-28 14:06:12 -05:00
Cody Weaver
7e98293c13 Bumped version number to 106.0.0. 2020-02-25 17:31:53 -05:00
Jeff Verkoeyen
f863392c73 Bump release. 2020-02-19 17:25:00 -05:00
Jeff Verkoeyen
e445f4af4b Bump the version correctly. 2020-02-19 16:23:23 -05:00
Jeff Verkoeyen
9dcf356ef3 Bump the release. 2020-02-19 16:19:24 -05:00
Jeff Verkoeyen
d6009552b2 Revert "Revert all commits to stable since v104.0.1."
This reverts commit c205cc4d2df00050349e689c9c83314ade138e83.
2020-02-19 16:15:09 -05:00
Jeff Verkoeyen
c205cc4d2d Revert all commits to stable since v104.0.1.
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
```
2020-02-19 13:55:16 -05:00
Yarden Eitan
3882b62bd0 Bumped version number to 105.0.0. 2020-02-19 13:57:04 +02:00
Randall Li
46462d825c Bumped version number to 104.0.1. 2020-02-14 00:16:07 -05:00
Randall Li
b2e2a257ca modified version number to 104.0.0 2020-02-12 01:23:24 -05:00
Randall Li
4515ab61c3 Revert "Bumped version number to 103.2.0."
This reverts commit 6663feb418da9b7c8c67e42e64ca65b91b85fcfe.
2020-02-12 01:22:22 -05:00
Randall Li
6663feb418 Bumped version number to 103.2.0. 2020-02-11 14:58:34 -05:00
Jeff Verkoeyen
8fa9bdb8fd Bump the release. 2020-01-27 13:13:12 -05:00
Jeff Verkoeyen
11139a8477 Bump the release. 2020-01-24 08:25:15 -05:00
Jeff Verkoeyen
9899fe10e1 Bump to major. 2020-01-17 14:20:40 -05:00
Jeff Verkoeyen
0044bea7bf Bump the release. 2020-01-17 14:09:10 -05:00
Robert Moore
dd383f662f Bumped version number to 101.1.1. 2020-01-16 09:23:57 -05:00
Jeff Verkoeyen
06a8b12d24 Bump the release. 2020-01-15 07:47:35 -05:00
Yarden Eitan
a37c3dcf33 Bumped version number to 101.0.1. 2020-01-12 14:21:22 +02:00
Cody Weaver
7876a61984 Bumped version number to 101.0.0. 2020-01-10 06:04:04 -08:00
Cody Weaver
d3efdaf835 Bumped version number to 100.1.0. 2020-01-09 09:32:53 -08:00
Cody Weaver
cb3d8eab26 Bumped version number to 100.0.2. 2020-01-08 22:37:15 -08:00
Cody Weaver
9d0dfd5a6b Bumped version number to 100.0.1. 2020-01-08 12:06:18 -08:00
Cody Weaver
385a6c0efc Bumped version number to 100.0.0. 2019-12-30 08:36:36 -08:00
Jeff Verkoeyen
85c05ea2f4 Bump the release. 2019-12-26 16:18:15 -05:00
Jeff Verkoeyen
f2e7fe3f10 Bump the release. 2019-12-26 10:50:44 -05:00
Galia Kaufman
68245e2c85 Bumped version number to 99.0.0. 2019-12-23 12:46:30 -05:00
Randall Li
c13c0cbbcc Bumped version number to 98.0.0. 2019-12-18 01:22:08 -05:00
Randall Li
75d00c62bc Bumped version number to 97.0.1. 2019-12-13 09:57:34 -05:00
Randall Li
dcf25eb40e Bumped version number to 97.0.0. 2019-12-12 02:31:09 -05:00
Randall Li
09d42d331d Bumped version number to 96.0.0. 2019-12-10 00:13:43 -05:00
Randall Li
acdf5353db Bumped version number to 95.0.1. 2019-12-06 17:55:20 -05:00