616 Commits

Author SHA1 Message Date
Nobody
24a0ffbd03 Annotate various Delegate protocols as NS_SWIFT_UI_ACTOR
PiperOrigin-RevId: 708413470
2024-12-20 13:33:55 -08:00
Nobody
8f69468a2f Update Material iOS to compile for visionOS
PiperOrigin-RevId: 641364760
2024-06-07 14:52:13 -07:00
Jeff Verkoeyen
26b93a614e [Buttons] Delete flaky shaped buttons example.
PiperOrigin-RevId: 610455542
2024-02-26 10:41:30 -08:00
Nobody
000990204c [Floating Action Button][VoiceOver] Ignore taps when not the actively focused element.
PiperOrigin-RevId: 576314859
2023-10-24 16:08:55 -07:00
David Collazo
0c637e0da8 Add M3CAnimationActions to MDCButton
PiperOrigin-RevId: 532099155
2023-05-15 07:10:23 -07:00
Nobody
e87240717e Test Cleanup
PiperOrigin-RevId: 516253403
2023-03-13 10:38:56 -07:00
Randall Li
caa24f9ee5 [MDCButton] Change deprecation warning to point at newer recommendation of branded M3CButtons.
PiperOrigin-RevId: 489489890
2022-11-18 09:10:33 -08:00
Wenyu Zhang
71dbf5f8ae [Shadow] Merge shadow color (UIColor) into MDCShadow class.
PiperOrigin-RevId: 487427548
2022-11-09 21:21:48 -08:00
Nobody
9e1c0c0a45 Internal change
PiperOrigin-RevId: 477458164
2022-09-28 08:26:32 -07:00
Jeff Verkoeyen
b2bbd50350 Mark all To Be Deprecated APIs as Deprecated.
PiperOrigin-RevId: 460478209
2022-07-12 09:13:52 -07:00
Cody Weaver
a408d5b2a1 [DynamicType] Mark mdc_adjustsFontForContentSizeCategory as deprecated.
PiperOrigin-RevId: 450432566
2022-05-23 07:26:15 -07:00
Janette James
d9e1e681e1 Prevent button images from changing color when presenting a modal view
PiperOrigin-RevId: 448480941
2022-05-13 06:29:11 -07:00
Jeff Verkoeyen
3da435425d [Buttons] Change support status to To Be Deprecated.
Use branded UIButton on iOS 13/14 and UIButtonConfiguration on iOS 15+.

PiperOrigin-RevId: 445156549
2022-04-28 08:22:08 -07:00
Nobody
7b8b54a3cf [MDCButton] titleFontForState: return value is never null, mark as nonnull.
PiperOrigin-RevId: 425549752
2022-02-01 00:14:07 -08:00
Wenyu Zhang
b457b13005 Internal change.
PiperOrigin-RevId: 417635153
2021-12-21 09:32:05 -08:00
Sarah Read
95b6a7436b Update minimum MDCButton size.
PiperOrigin-RevId: 417619582
2021-12-21 07:51:17 -08:00
Randall Li
787b5fb459 [MDCButton] Clear the values from setImageTintColor:forState: when you use setTintColor: otherwise the image color stays.
PiperOrigin-RevId: 416572980
2021-12-15 09:09:57 -08:00
Alyssa Weiss
2c8d5d5fe8 Remove custom pointer interaction handling from MDCButton.
PiperOrigin-RevId: 410787812
2021-11-18 06:42:53 -08:00
Wenyu Zhang
50030f31b5 Fixes alignment issues for multiline buttons by adding constraints conditionally depending on the alignment.
PiperOrigin-RevId: 410243093
2021-11-16 07:06:51 -08:00
Nobody
2fedfe9810 Fixes alignment issues for multiline buttons by adding constraints conditionally depending on the alignment.
PiperOrigin-RevId: 410032023
2021-11-15 11:17:58 -08:00
Jeff Verkoeyen
9f11d31e21 [Buttons] Remove titleEdgeInsets from title label constraints.
PiperOrigin-RevId: 408648469
2021-11-09 10:43:32 -08:00
Jeff Verkoeyen
a0a1017b79 [Button] Add support for multiline button titles.
PiperOrigin-RevId: 408575696
2021-11-09 04:30:07 -08:00
Jeff Verkoeyen
7f8f9b2cc1 [Buttons] Optimize imports.
PiperOrigin-RevId: 407890929
2021-11-05 13:07:43 -07:00
Jeff Verkoeyen
86a8c97dc7 Remove all pre-iOS 12 logic.
PiperOrigin-RevId: 400788645
2021-10-04 12:41:07 -07:00
Jeff Verkoeyen
c34de39e30 Internal change.
PiperOrigin-RevId: 397316843
2021-09-17 07:45:01 -07:00
Randall Li
1f3bc857d8 Internal change.
PiperOrigin-RevId: 397081595
2021-09-16 07:59:43 -07:00
Randall Li
502bc5d910 Ran a Swift formatter
PiperOrigin-RevId: 395947664
2021-09-10 09:48:14 -07:00
Jeff Verkoeyen
ec44b12ee9 Internal change
PiperOrigin-RevId: 394725753
2021-09-03 11:44:01 -07:00
Alyssa Weiss
1b69273926 Delete MDCTypography font opacities.
PiperOrigin-RevId: 394494448
2021-09-02 10:44:20 -07:00
Cody Weaver
08d01596df [MultipleComponents] Remove mdf_effectiveUserInterfaceLayoutDirection in favor of the system API effectiveUserInterfaceLayoutDirection that was added in iOS 10.
PiperOrigin-RevId: 391307973
2021-08-17 09:30:47 -07:00
Alyssa Weiss
6ccb268a37 Move FontScaler APIs in MDCTypography to a separate directory.
PiperOrigin-RevId: 390642325
2021-08-13 10:33:45 -07:00
Nobody
ec5124c182 MDCButton ripple effect fix
MDCButton ripple effect was not working properly when layer's maskedCorners were applied.

PiperOrigin-RevId: 390490755
2021-08-12 16:51:48 -07:00
Alyssa Weiss
830853be30 Fix typo that read depricated instead of deprecated.
PiperOrigin-RevId: 385167363
2021-07-16 09:57:07 -07:00
Alyssa Weiss
5bbcd44dbd Mark mdc_adjustsFontForContentSizeCategory as to be deprecated for multiple components.
PiperOrigin-RevId: 385145075
2021-07-16 07:47:24 -07:00
Alyssa Weiss
07075f8e7a Remove adjustsFontForContentSizeCategoryWhenScaledFontIsUnavailable property from MDCButton.
PiperOrigin-RevId: 377352366
2021-06-03 12:53:33 -07:00
Yarden Eitan
f7a90670fc [Button] With the new shadow, the layerClass needs to be [super layerClass] and not [super class]. This was an error in the previous change.
PiperOrigin-RevId: 371105528
2021-04-29 06:17:08 -07:00
Yarden Eitan
c9904413f7 [Button] Add opt-in new performant shadow support.
PiperOrigin-RevId: 369820180
2021-04-22 01:06:02 -07:00
Jeff Verkoeyen
a8e4831fd0 Flattening all unit tests into single directories as per convention.
PiperOrigin-RevId: 367426300
2021-04-08 07:33:29 -07:00
Alyssa Weiss
924c49e43b Remove all iOS 10 availability checks from material_components_ios now that only iOS 10+ is supported.
PiperOrigin-RevId: 366437050
2021-04-02 06:33:16 -07:00
Yarden Eitan
84b83bdb8b Internal Change
PiperOrigin-RevId: 364584460
2021-03-23 10:11:16 -07:00
Jeff Verkoeyen
8465222386 [Buttons] Attempt to reduce flakiness of the buttons screenshot tests.
PiperOrigin-RevId: 364466639
2021-03-22 19:46:29 -07:00
Jeff Verkoeyen
1c14fb5e7b Internal change.
PiperOrigin-RevId: 363294413
2021-03-16 16:23:36 -07:00
Andrew Overton
4e245ac6dc [Multiple components] Miscellaneous doc updates
This PR closes out all current doc change requests.

Closes https://github.com/material-components/material-components-ios/pull/10181

COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/10181 from andrewoverton:dev-docs-03-15-cherry-pick 00414a4f89e39dfc8d47623ee95e0311db1c7ae7
PiperOrigin-RevId: 363178361
2021-03-16 07:30:36 -07:00
Jeff Verkoeyen
1abdf16760 Optimizing imports
PiperOrigin-RevId: 357185990
2021-02-12 07:36:41 -08:00
Jeff Verkoeyen
4c86b139e4 Optimizing imports
PiperOrigin-RevId: 357185900
2021-02-12 07:35:17 -08:00
Jeff Verkoeyen
8ce743ce8a Optimizing imports
PiperOrigin-RevId: 357185751
2021-02-12 07:33:30 -08:00
Jeff Verkoeyen
c53f44398e Optimizing imports
PiperOrigin-RevId: 357185618
2021-02-12 07:29:28 -08:00
Jeff Verkoeyen
29803522c6 Optimizing imports
PiperOrigin-RevId: 357185525
2021-02-12 07:27:05 -08:00
Andrew Overton
8f2917d525 [Buttons] Add inferMinimumAndMaximumSizeWhenMultiline
PiperOrigin-RevId: 356970306
2021-02-11 07:35:48 -08:00
Jeff Verkoeyen
63988b35da Optimizing imports
PiperOrigin-RevId: 356966165
2021-02-11 07:09:58 -08:00