8949 Commits

Author SHA1 Message Date
Andrew Overton
9cc66610ec [Chips] Replace Chips docs
Closes https://github.com/material-components/material-components-ios/pull/10088

COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/10088 from andrewoverton:material-io-chips-docs b7710bfeee624db847b3c8fdb4075e208c9d9f00
PiperOrigin-RevId: 335025863
2020-10-02 07:57:33 -07:00
Jeff Verkoeyen
791596b851 [ActionSheet] Update all test and example files to match conventions.
PiperOrigin-RevId: 334822431
2020-10-01 08:54:27 -07:00
Jeff Verkoeyen
ab1ea86eef [ActionSheet] Flatten the unit tests into a single directory.
This aligns with our test directory organizational conventions.

PiperOrigin-RevId: 334808133
2020-10-01 07:21:20 -07:00
Nobody
cbfa5400ed Fix an issue that alertController:didTapAction:withEvent: delegate method is not called if the action doesn't have completion handler.
PiperOrigin-RevId: 334301214
2020-09-28 21:54:37 -07:00
Andrew Overton
f1085b0639 merged release-candidate 2020-09-28 14:49:05 -04:00
Andrew Overton
9515588d19 Merge branch 'stable' into release-candidate 2020-09-28 14:49:04 -04:00
Andrew Overton
50a1edb21b Merge branch 'release-candidate' into stable v117.0.0 2020-09-28 14:49:04 -04:00
Andrew Overton
526088b82e Bumped version number to 117.0.0. 2020-09-28 13:37:21 -04:00
Andrew Overton
e017caefb9 Hand-modified CHANGELOG.md API diff. 2020-09-28 13:36:07 -04:00
Jeff Verkoeyen
166e7ca6cb [Snackbar] Delete all deprecated APIs.
PiperOrigin-RevId: 334175572
2020-09-28 09:39:46 -07:00
Andrew Overton
71546da48f Automatic changelog preparation for release. 2020-09-28 11:41:27 -04:00
Galia Kaufman
9d9bd93847 [Dialogs] Adding accessoryViewHorizontalInset API
The API allows setting horizontal insets for the accessory view that are different from the message. This is most often used for dialogs that have both a message and an accessory view, as demonstrated in the attached example.

Additionally, this example demonstrates how to add an horizontal hairline as shown on the material.io spec for Confirmation Dialogs.

Note:
This new API is needed because clients do not always have control over the view that is being used as an accessory view, or that the view is used in multiple areas in the app, and cannot be customized.
Additionally, there's no way currently to set 0 insets for the accessory view, while still keeping the 24 value insets for the message, which is a relatively common scenario.
PiperOrigin-RevId: 334142026
2020-09-28 06:12:48 -07:00
Yarden Eitan
89b43fd8ff [TabBarView] Scroll to selected item when there is an orientation/size change.
We do not update needsScrollToSelectedItem to YES in every setBounds or just remove the flag and have it scroll to the selected item in every layoutSubviews because this is a UIScrollView so every scroll updates the contentOffset which then triggers these methods. We want to only trigger this code path in orientation/size changes.

PiperOrigin-RevId: 333731208
2020-09-25 07:46:14 -07:00
Alyssa Weiss
bd6484925b Delete deprecated buttonFont for MDCAlert and make all appropriate changes following deletion
PiperOrigin-RevId: 333566191
2020-09-24 12:03:36 -07:00
Jeff Verkoeyen
e1afe22cfb [Math] Deprecate all APIs that have a direct standard library equivalent.
Prefer using tgmath.h to get double/float-based APIs instead.

PiperOrigin-RevId: 333511426
2020-09-24 07:39:16 -07:00
Galia Kaufman
e9b0eee25d [Dialogs] Add an accessoryView with a collection example
This example demonstrates adding a collection view as an accessory view of a Material alert.  It also demonstrates adding a horizontal line above the actions, as shown on material.io's spec for Confirmation Dialogs. The line will be fixed to reach the edges of the dialogs in a followup PR (cl/331128888).

PiperOrigin-RevId: 333376220
2020-09-23 14:43:24 -07:00
Yarden Eitan
5a4f5baac6 [AppBar] Deprecate AppBar color themer APIs.
PiperOrigin-RevId: 333371966
2020-09-23 14:23:36 -07:00
Yarden Eitan
caafdae217 [FlexibleHeader] Deprecate pre iOS 8 ToBeDeprecated APIs.
PiperOrigin-RevId: 333367145
2020-09-23 14:19:34 -07:00
Yarden Eitan
70f2368ffc [TabBar] Deprecate typography themer API.
PiperOrigin-RevId: 333367012
2020-09-23 14:14:34 -07:00
Yarden Eitan
9a176d6c07 [ThumbTrack] Deprecate Ink APIs.
Use Ripple instead.

PiperOrigin-RevId: 333366984
2020-09-23 14:12:34 -07:00
Yarden Eitan
654c6cfdd7 [NavigationBar] Deprecate typography themer APIs.
PiperOrigin-RevId: 333366922
2020-09-23 14:10:35 -07:00
Yarden Eitan
bf90886353 [AppBar] Deprecate API from MDCAppBarNavigationController.
PiperOrigin-RevId: 333366853
2020-09-23 14:08:37 -07:00
Yarden Eitan
c5c231c879 [MDCAlertController] Deprecate button styling APIs.
PiperOrigin-RevId: 333366774
2020-09-23 14:06:39 -07:00
Yarden Eitan
39e7aed49c [FlexibleHeader] Deprecate MDCFlexibleHeaderMinMaxHeight API.
PiperOrigin-RevId: 333366623
2020-09-23 14:04:35 -07:00
Yarden Eitan
2294616a4d [NavigationBar] Deprecate color themer APIs.
PiperOrigin-RevId: 333366577
2020-09-23 14:01:52 -07:00
Yarden Eitan
8960677221 [FeatureHighlight] Deprecate color themer APIs.
PiperOrigin-RevId: 333366448
2020-09-23 13:59:45 -07:00
Yarden Eitan
30b6cc1703 [ButtonBar] Deprecate inkColor API.
Please use rippleColor instead.

PiperOrigin-RevId: 333366306
2020-09-23 13:57:08 -07:00
Alyssa Weiss
f87b98f26b Update default stroke width to be 2.5
PiperOrigin-RevId: 333293466
2020-09-23 08:09:35 -07:00
Andrew Overton
ea59fefa1c [TextControls] Translate frame to window coordinates in accessibilityPath
PiperOrigin-RevId: 333289355
2020-09-23 07:40:03 -07:00
Jeff Verkoeyen
09a07ca6d2 Internal change
PiperOrigin-RevId: 333130898
2020-09-22 12:11:00 -07:00
Andrew Overton
df42ee0465 merged release-candidate 2020-09-22 14:37:29 -04:00
Andrew Overton
1a287255e8 Merge branch 'release-candidate' into stable v116.0.1 2020-09-22 14:37:28 -04:00
Andrew Overton
663fef98a9 Merge branch 'stable' into release-candidate 2020-09-22 14:37:28 -04:00
Andrew Overton
29d036ba11 Bumped version number to 116.0.1. 2020-09-22 14:05:37 -04:00
Andrew Overton
a056971996 Hand-modified CHANGELOG.md API diff. 2020-09-22 14:03:13 -04:00
Andrew Overton
94b4cc5ccb Automatic changelog preparation for release. 2020-09-22 13:11:23 -04:00
Alyssa Weiss
8842f55760 Update the testing for the localization snapshot tests.
PiperOrigin-RevId: 332912160
2020-09-21 12:52:20 -07:00
Alyssa Weiss
8ef317c162 Update ink and ripple handling for long press when LargeContentViewer is enabled
PiperOrigin-RevId: 332909523
2020-09-21 12:40:28 -07:00
Wenyu Zhang
8e0ed49dc6 [Slider] Set thumbIsSmallerWhenDisabled to NO to match Material spec.
PiperOrigin-RevId: 332867778
2020-09-21 09:36:43 -07:00
Alyssa Weiss
d40c6d8608 Remove iOS 10+ checks now that the minimum support contract is iOS 10.
PiperOrigin-RevId: 332836975
2020-09-21 06:28:30 -07:00
Andrew Overton
873c0b78d8 [TextControls] Override accessibilityPath in MDCBaseTextField
PiperOrigin-RevId: 332544566
2020-09-18 16:01:10 -07:00
Andrew Overton
588d9d2fe5 [BottomSheet] Mask elevation on bottom edge
PiperOrigin-RevId: 332461973
2020-09-18 09:08:35 -07:00
Bryan Oltman
39af7115f7 [private/ThumbTrack] Remove ability for thumb view to grow while dragging.
PiperOrigin-RevId: 332327230
2020-09-17 15:19:40 -07:00
Bryan Oltman
2a13da0373 [Slider] Do not adjust thumb size on touch down.
PiperOrigin-RevId: 332260546
2020-09-17 10:19:22 -07:00
Bryan Oltman
bc81b052ab Internal change
PiperOrigin-RevId: 332239270
2020-09-17 08:31:42 -07:00
Jeff Verkoeyen
fbb1f20aa2 Internal change
PiperOrigin-RevId: 332151481
2020-09-16 21:01:21 -07:00
Bryan Oltman
c861bd32c9 [Slider] Remove checks for iOS 10 availability.
PiperOrigin-RevId: 332074254
2020-09-16 13:24:05 -07:00
Bryan Oltman
da4b8f7c7f Fix mdc_elevationDidChangeBlock block parameter types for Xcode 12
PiperOrigin-RevId: 331843566
2020-09-15 13:39:15 -07:00
Bryan Oltman
ad93160b84 [Dragons] Add explicit self to properties referenced in closures.
PiperOrigin-RevId: 331841180
2020-09-15 13:28:17 -07:00
Bryan Oltman
5da1486c9f [Slider] Add call to [super prepareForReuse] in example.
PiperOrigin-RevId: 331836270
2020-09-15 13:06:13 -07:00