314 Commits

Author SHA1 Message Date
Andrew Overton
526088b82e Bumped version number to 117.0.0. 2020-09-28 13:37:21 -04:00
Andrew Overton
29d036ba11 Bumped version number to 116.0.1. 2020-09-22 14:05:37 -04:00
Bryan Oltman
118e0cca26 Bumped version number to 116.0.0. 2020-09-14 16:45:47 -04:00
Nobody
e79fd9b191 [MDCBottomDrawerViewController] Optional dismiss on accessibilityPerformEscape.
This adds a dismissOnAccessibilityPerformEscape bit that allows clients to control whether the bottom drawer should dismiss or not on Z swipe. This is useful for when clients have an extra step before dismissal (e.g. confirmation on dismiss).

PiperOrigin-RevId: 331594189
2020-09-14 20:32:48 +00:00
Bryan Oltman
bb515f43f6 Bumped version number to 116.0.0. 2020-09-14 13:46:02 -04:00
Yarden Eitan
9f62e64603 Internal change
PiperOrigin-RevId: 331212418
2020-09-11 13:33:36 -07:00
Andrew Overton
0907c19623 [TextControls] Add containerRadius support to filled text field
PiperOrigin-RevId: 331211129
2020-09-11 13:26:29 -07:00
Yarden Eitan
f9b08994dd Bumped version number to 115.1.0. 2020-09-11 15:34:29 -04:00
Bryan Oltman
6450a7854e Bumped version number to 115.0.0. 2020-09-08 16:27:59 -04:00
Galia Kaufman
8134189745 Bumped version number to 114.0.0. 2020-08-31 10:32:56 -04:00
Galia Kaufman
5c462e375b Bumped version number to 113.2.0. 2020-08-25 18:52:21 -04:00
Yarden Eitan
5d54632e3b Bumped version number to 113.1.0. 2020-08-17 17:51:53 -04:00
Yarden Eitan
feecc3679e Bumped version number to 113.0.0. 2020-08-12 09:32:34 -04:00
Jeff Verkoeyen
d7ff705337 Drop support for iOS 9.
PiperOrigin-RevId: 326015653
2020-08-11 07:21:40 -07:00
Jeff Verkoeyen
e3ee0426fb Bump the release. 2020-08-03 15:46:42 -04:00
Jeff Verkoeyen
e2fd01ccdc Internal change.
PiperOrigin-RevId: 324655496
2020-08-03 12:21:46 -07:00
Wenyu Zhang
1a4412cdbe [Banner] Remove AppBar example snapshot tests because the animation involved causes flakiness.
PiperOrigin-RevId: 324623184
2020-08-03 12:18:54 -07:00
Jeff Verkoeyen
3c8cf5dd42 Bump the release. 2020-08-03 13:23:18 -04:00
Jeff Verkoeyen
af602310f1 Bump the release. 2020-07-30 09:03:19 -04:00
Randall Li
5a0d592bd8 Bumped version number to 111.0.0. 2020-07-20 14:06:28 -04:00
Randall Li
15e9e4cebc Bumped version number to 110.3.0. 2020-07-13 16:40:33 -04:00
Wenyu Zhang
6a6231c134 Bumped version number to 110.2.0. 2020-07-06 13:00:23 -04:00
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