321 Commits

Author SHA1 Message Date
Wenyu Zhang
45ef431efa Internal change
PiperOrigin-RevId: 318874595
2020-06-29 12:54:35 -07:00
Jeff Verkoeyen
d0809e93bf [FlexibleHeader] Mark more apis as to-be-deprecated.
PiperOrigin-RevId: 318869606
2020-06-29 12:38:18 -07:00
Wenyu Zhang
ea08067113 Bumped version number to 110.1.0. 2020-06-29 14:51:30 -04:00
Cody Weaver
feddcae8c3 Bumped version number to 110.0.0. 2020-06-22 13:40:07 -07:00
Cody Weaver
666a07db29 Bumped version number to 109.8.0. 2020-06-15 11:50:14 -07:00
Andrew Overton
fa723f9e3d Bumped version number to 109.7.0. 2020-06-09 15:30:02 -04:00
Andrew Overton
316c5507a3 Bumped version number to 109.6.0. 2020-06-01 17:58:08 -04:00
Bryan Oltman
4464b9aade Bumped version number to 109.5.0. 2020-05-26 16:31:21 -04:00
Bryan Oltman
9c26a7e67a Internal change
PiperOrigin-RevId: 312130396
2020-05-18 12:27:06 -07:00
Wenyu Zhang
4d76e54f83 Internal change.
PiperOrigin-RevId: 312123414
2020-05-18 12:24:47 -07:00
Bryan Oltman
1b36e16cb9 Bumped version number to 109.4.0. 2020-05-18 14:13:55 -04:00
Galia Kaufman
2d0d6a8faa - 51170612999194997e160654411ac87bb61d4764 Automatic changelog preparation for release. by Galia Kaufman <galiak@google.com>
- 85feb7896b37c0a93b8c5b5dbcde72403b379dee [Tabs] Update podspec to include new folders. by Galia Kaufman <galiak@google.com>
  - fbd3f81309b46b9d8e0a6a9dd03e4b63c7794f27 Hand-modified CHANGELOG.md API diff. by Galia Kaufman <galiak@google.com>
  - 27927ce42748c7afb3ac270b6d6ec64d1c50d3bc Bumped version number to 109.3.1. by Galia Kaufman <galiak@google.com>

PiperOrigin-RevId: 311544159
2020-05-14 09:16:05 -07:00
Andrew Overton
1fa6c77ee8 [MDC-iOS] Fix broken links
This CL fixes some longstanding and some newly broken links.

PiperOrigin-RevId: 311351416
2020-05-14 09:14:04 -07:00
Galia Kaufman
27927ce427 Bumped version number to 109.3.1. 2020-05-13 16:22:02 -04:00
Galia Kaufman
4023991b41 Bumped version number to 109.3.0. 2020-05-12 16:59:19 -04:00
Galia Kaufman
4394263aa1 [MDC-iOS] Sync to v109.2.0.
- 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
2020-05-05 12:40:56 -07:00
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