386 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
eb0edee9f7 Internal change.
PiperOrigin-RevId: 663080530
2024-08-14 15:44:04 -07:00
Nobody
142d22b4ad Internal change.
PiperOrigin-RevId: 662202896
2024-08-12 13:19:27 -07:00
Nobody
54fbd86891 Removing unused, empty classes
PiperOrigin-RevId: 643131947
2024-06-13 15:02:24 -07:00
Nobody
70f7544c73 Importing classes used by test.
PiperOrigin-RevId: 642265937
2024-06-11 07:41:42 -07:00
Nobody
8f69468a2f Update Material iOS to compile for visionOS
PiperOrigin-RevId: 641364760
2024-06-07 14:52:13 -07:00
Nobody
10161d455b [MDCKeyboardWatcher] Migrate off of deprecated mainScreen usage.
PiperOrigin-RevId: 596024734
2024-01-05 10:17:46 -08:00
Nobody
ce2ef97f2c Internal change
PiperOrigin-RevId: 583160453
2023-11-16 14:12:48 -08:00
Wenyu Zhang
43b542a0fd Internal change.
PiperOrigin-RevId: 582362890
2023-11-14 10:19:06 -08:00
Wenyu Zhang
d8b8bcdb1c [MDCKeyboardWatcher] Migrate off of deprecated mainScreen usage.
PiperOrigin-RevId: 582028164
2023-11-13 11:24:19 -08:00
Wenyu Zhang
f9baa22307 [MDCKeyboardWatcher] Add nullability annotations.
PiperOrigin-RevId: 580962995
2023-11-09 10:58:55 -08:00
Wenyu Zhang
ef42474d00 Delete deprecated keyboardOffset API.
PiperOrigin-RevId: 580949184
2023-11-09 10:20:09 -08:00
Nobody
481f11fd35 Internal change
PiperOrigin-RevId: 559840945
2023-08-24 12:53:08 -07:00
Wenyu Zhang
4f49af7c18 Internal change
PiperOrigin-RevId: 540666237
2023-06-15 13:07:13 -07:00
Randall Li
9bbeab6aa6 [MDCIcons] Change deprecation warning to point at potential script.
PiperOrigin-RevId: 492002362
2022-11-30 13:26:31 -08:00
Randall Li
44270b4ed2 Internal change
PiperOrigin-RevId: 491961103
2022-11-30 10:48:05 -08:00
Randall Li
b87824a588 [KeyboardWatcher] Change deprecation warning to point at potential script.
PiperOrigin-RevId: 491956441
2022-11-30 10:30:43 -08:00
Randall Li
58b4d28099 [Slider] Change deprecation warning to point at potential script.
PiperOrigin-RevId: 491940566
2022-11-30 09:30:41 -08:00
Randall Li
9b7c57c89c [MDCTextFields] Change deprecation warning to point at migration guide.
PiperOrigin-RevId: 490318418
2022-11-22 13:15:44 -08:00
Nobody
ff7d4d0192 Fixed up imports for private/TextControlsPrivate
PiperOrigin-RevId: 475303310
2022-09-19 09:04:47 -07:00
Nobody
79b2c20369 Ignore strict warnings on unused functions in private/Math
PiperOrigin-RevId: 474968977
2022-09-16 22:42:14 -07:00
Nobody
9ed57c2f2d Remove unused variables labelMinX and floatingLabelMinX
PiperOrigin-RevId: 473842334
2022-09-12 14:21:34 -07:00
Nobody
da096e800a Replace (trackHeight - dotHeight) / 2 with circleOriginY to fix -Wunused-but-set-variable warning.
PiperOrigin-RevId: 473842186
2022-09-12 14:18:37 -07:00
Nobody
3713e0d61e Add void to functions in C missing parameters to fix -Wstrict-prototypes warnings.
This warning became more strict after updates in the clang compiler.

The error message that this change fixes is:

```
error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
```
PiperOrigin-RevId: 472723024
2022-09-07 07:52:30 -07:00
Randall Li
c2607a4213 [MDC Color] Graduated color blending component to public folder
PiperOrigin-RevId: 463647015
2022-07-27 12:14:33 -07:00
Jeff Verkoeyen
22861e3594 [Math] Delete unused MDCDegreesToRadians.
PiperOrigin-RevId: 462516724
2022-07-21 18:55:28 -07:00
Jeff Verkoeyen
b2bbd50350 Mark all To Be Deprecated APIs as Deprecated.
PiperOrigin-RevId: 460478209
2022-07-12 09:13:52 -07:00
Janette James
8491655e82 Mark as to be deprecated
PiperOrigin-RevId: 458393868
2022-06-30 23:28:18 -07:00
Wenyu Zhang
fdb05bb379 [MDC-iOS / private/Icons] Annotate private Icons API as "to be deprecated".
PiperOrigin-RevId: 458055192
2022-06-29 13:55:52 -07:00
Cody Weaver
a169a26638 [TextControls] Annotate symbols as to be deprecated
PiperOrigin-RevId: 457764325
2022-06-28 10:27:57 -07:00
Janette James
c6d4682d32 Mark component To Be Deprecated
Use a UISlider instead.

PiperOrigin-RevId: 454877471
2022-06-14 09:16:39 -07:00
Janette James
679faa474a Update dots when active segment shrinks and thumb crosses anchor
PiperOrigin-RevId: 448971493
2022-05-16 08:53:48 -07:00
Janette James
a1eb7facdf Adjust slider animation for external UIView animation block
PiperOrigin-RevId: 448952315
2022-05-16 07:31:48 -07:00
Yingwei Fan
90cd2149d5 [MDCTextControl] Fix the outline path animation for the MDC text view.
Previously, changing the size of the text view will not have animation on the border. This change will enable the animation if there is a size change.

PiperOrigin-RevId: 445022809
2022-04-27 18:34:22 -07:00
Nobody
6b4484343a [MDCTextControl] Rollback the fix for the outline path animation for the MDC text view.
PiperOrigin-RevId: 443660262
2022-04-22 07:29:12 -07:00
Yingwei Fan
25af60c2fd [MDCTextControl] Fix the outline path animation for the MDC text view.
Previously, changing the size of the text view will not have animation on the border. This change will enable the animation if there is a size change.

PiperOrigin-RevId: 443535273
2022-04-21 18:29:08 -07:00
Jeff Verkoeyen
9ecefd04e7 Delete deprecated math functions.
PiperOrigin-RevId: 404810846
2021-10-21 09:23:57 -07:00
Jeff Verkoeyen
a798879555 Add an MDCFloatIsApproximatelyZero method.
PiperOrigin-RevId: 404793427
2021-10-21 07:53:00 -07:00
Jeff Verkoeyen
51cd81651e Remove all pre-iOS 12 logic.
PiperOrigin-RevId: 401011227
2021-10-05 10:12:04 -07:00
Jeff Verkoeyen
c34de39e30 Internal change.
PiperOrigin-RevId: 397316843
2021-09-17 07:45:01 -07:00
Randall Li
502bc5d910 Ran a Swift formatter
PiperOrigin-RevId: 395947664
2021-09-10 09:48:14 -07:00
Nobody
78d8ee9c08 Improve dynamic type support in Snackbars (variable height + scroll view).
* Adds variable height to Snackbars (up to 50% of screen height).
* Adds support for scrolling content when content is too large to fit in the available height.

PiperOrigin-RevId: 395705280
2021-09-09 08:14:37 -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
Andrew Overton
df09e7b521 [TextControls] Fix bug where outline was misplaced when label text was empty string
PiperOrigin-RevId: 388706359
2021-08-04 08:51:41 -07:00
Andrew Overton
ab888ec4b5 [TextControls] Keep floating label within bounds of outlined text controls
PiperOrigin-RevId: 385013413
2021-07-15 14:47:18 -07:00
Andrew Overton
73c27ca0f0 [TextControls] Fix right edge padding in RTL
PiperOrigin-RevId: 375097172
2021-05-21 09:11:30 -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
Andrew Overton
2a31a3162f [TextControls] Disable label animation when label is truncated
PiperOrigin-RevId: 367256976
2021-04-07 11:12:32 -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
Jeff Verkoeyen
1abdf16760 Optimizing imports
PiperOrigin-RevId: 357185990
2021-02-12 07:36:41 -08:00