Nobody
24a0ffbd03
Annotate various Delegate protocols as NS_SWIFT_UI_ACTOR
...
PiperOrigin-RevId: 708413470
2024-12-20 13:33:55 -08:00
David Collazo
5d6a6c8630
Rename SnackbarManagerTests to MDCSnackbarManagerTests with cleanup.
...
PiperOrigin-RevId: 684235249
2024-10-09 17:57:31 -07:00
Frank Wang
8c0ddb0da5
[Snackbar] Remove flaky test
...
PiperOrigin-RevId: 678800704
2024-09-25 12:20:24 -07:00
Nobody
142d22b4ad
Internal change.
...
PiperOrigin-RevId: 662202896
2024-08-12 13:19:27 -07:00
Nobody
b3d136542e
[Snackbar] Fix dismissalAccessibilityAffordance not performing action on double tap.
...
PiperOrigin-RevId: 627385462
2024-04-23 07:46:54 -07:00
Jeff Verkoeyen
91ff4bfb83
Delete flaky tests.
...
PiperOrigin-RevId: 607353431
2024-02-15 09:09:32 -08:00
Nobody
06c14484db
Expose some API in snackbar public header
...
PiperOrigin-RevId: 598975602
2024-01-16 15:26:34 -08:00
Janette James
8a2b62a055
Make all snackbars with actions persist until explicitly dismissed
...
PiperOrigin-RevId: 598973358
2024-01-16 15:18:51 -08:00
Janette James
7c9f210d0e
Add option to use legacy auto-dismissal behavior
...
PiperOrigin-RevId: 597555199
2024-01-11 07:53:08 -08:00
Janette James
21ffd39eb6
Do not allow actions with nil or empty titles
...
PiperOrigin-RevId: 597262536
2024-01-10 08:49:39 -08:00
Wenyu Zhang
c4c73b5452
[Snackbar] Add messageAnimationEnabled to control the animation behavior of snackbar.
...
PiperOrigin-RevId: 591368769
2023-12-15 15:02:31 -08:00
Nobody
7952b5beeb
[Snackbar] Delete the unused disabledButtonAlpha property.
...
PiperOrigin-RevId: 584147997
2023-11-20 15:49:11 -08:00
Nobody
107548ab97
Internal change
...
PiperOrigin-RevId: 578848649
2023-11-02 07:39:25 -07:00
Nobody
58f6375b10
Internal change
...
PiperOrigin-RevId: 565513516
2023-09-14 16:45:39 -07:00
Janette James
d656f6bd80
Default to low-priority announcements
...
PiperOrigin-RevId: 562794503
2023-09-05 09:01:10 -07:00
Nobody
7f5bf12911
Internal change
...
PiperOrigin-RevId: 561371031
2023-08-30 09:58:27 -07:00
Wenyu Zhang
af5c56f80b
Change voiceNotificationText to be NSAttributedString to allow it set priority for announcement.
...
PiperOrigin-RevId: 559904885
2023-08-24 16:30:42 -07:00
Cody Weaver
17a0a79321
#Snackbar Set all examples to delay snapshots for 1 second
...
PiperOrigin-RevId: 556804131
2023-08-14 08:48:21 -07:00
Janette James
655952346a
Stop using safeAreaInsets in content margin calculation
...
PiperOrigin-RevId: 546329551
2023-07-07 11:07:04 -07:00
Janette James
0e3b249d1c
Improve touch response on content view
...
PiperOrigin-RevId: 544371179
2023-06-29 08:59:36 -07:00
Janette James
d7c8234a06
Allow handling button gutter taps for non-legacy snackbars
...
PiperOrigin-RevId: 544089460
2023-06-28 10:08:46 -07:00
Janette James
973011dd3d
Allow highlight color
...
PiperOrigin-RevId: 543529733
2023-06-26 13:44:54 -07:00
Janette James
63cfd8c6b2
Update snackbar layout
...
PiperOrigin-RevId: 542884080
2023-06-23 09:46:22 -07:00
Janette James
e44e970142
Only return the action button as an a11y element if there is an action
...
PiperOrigin-RevId: 537091711
2023-06-01 12:12:52 -07:00
David Collazo
80ea6b0ad5
Add snapshot delay of 1 second to Snackbar example.
...
PiperOrigin-RevId: 536794296
2023-05-31 12:52:35 -07:00
Janette James
7a21b147b2
Fix accessibility hint when setting enableDismissalAccessibilityAffordance
...
PiperOrigin-RevId: 535645166
2023-05-26 10:06:22 -07:00
Janette James
329d9b5d27
Make left/right margins equal for full-width text
...
PiperOrigin-RevId: 528769662
2023-05-02 06:58:49 -07:00
Janette James
4684f7ad55
Internal change
...
PiperOrigin-RevId: 524018565
2023-04-13 09:15:27 -07:00
Janette James
665d4977d0
Allow action buttons with long text to appear below the message text
...
PiperOrigin-RevId: 521796439
2023-04-04 10:14:48 -07:00
Janette James
187763f381
Add customization options to MDCSnackbarManager and MDCSnackbarMessageView
...
PiperOrigin-RevId: 519748966
2023-03-27 09:47:18 -07:00
Janette James
ba1e10d39b
Delete deprecated MDCSnackbarMessageView.actionButtons API
...
PiperOrigin-RevId: 518894043
2023-03-23 10:15:45 -07:00
Nobody
c9eba0ffc7
Add missing type cast in MDCSnackbarMessageView
...
PiperOrigin-RevId: 518659141
2023-03-22 13:35:56 -07:00
Janette James
79985f2a71
Change MDCSnackbarMessageView.actionButton to a UIButton
...
PiperOrigin-RevId: 518592822
2023-03-22 09:41:15 -07:00
Janette James
cb051b826b
Allow snackbar managers to be scoped to a window scene.
...
This is fully backwards compatible -- the behavior managers with no scene specified will not change.
PiperOrigin-RevId: 516564511
2023-03-14 10:29:54 -07:00
Janette James
f1150a9d8e
Allow snackbar managers to be scoped to a window scene.
...
This is fully backwards compatible -- the behavior managers with no scene specified will not change.
PiperOrigin-RevId: 516228394
2023-03-13 09:13:08 -07:00
Janette James
0ef5016e62
Allow snackbar managers to be scoped to a window scene.
...
This is fully backwards compatible -- the behavior managers with no scene specified will not change.
PiperOrigin-RevId: 515651606
2023-03-10 09:08:01 -08:00
David Collazo
7395c5c77b
Change snackbarView's accessibilityElementsHidden to match its manager's setting when a snackbar is not focusable.
...
PiperOrigin-RevId: 505692142
2023-01-30 07:55:02 -08:00
Wenyu Zhang
dc7eeff752
[Snackbar] Add vertical alignment support so that snackbar can be positioned at the top of the screen.
...
PiperOrigin-RevId: 505690239
2023-01-30 07:45:10 -08:00
Wenyu Zhang
fd6c2dda04
[Snackbar] Rename alignment to horizontalAlignment to reflect its intended usage.
...
This prepares us for adding a verticalAlignment if/when needed.
PiperOrigin-RevId: 504853313
2023-01-26 08:49:34 -08:00
Louis Romero
416a8ce75b
Add missing nullability annotations
...
PiperOrigin-RevId: 480910571
2022-10-13 09:28:43 -07:00
Morgan Redding
0997c9ddf6
Pass SnackbarManager to MDCSnackbarManagerDelegate methods.
...
This is a breaking change as it changes to the methods in the MDCSnackbarManagerDelegate protocol.
PiperOrigin-RevId: 480429735
2022-10-11 12:52:25 -07:00
Wenyu Zhang
cbe2384696
[MDC-iOS/Snackbar] Void token variable from test.
...
PiperOrigin-RevId: 474824538
2022-09-16 08:49:15 -07:00
Nobody
b91f6db084
Fixed up imports for Snackbar
...
PiperOrigin-RevId: 469479347
2022-08-23 09:32:25 -07:00
Nobody
d95c18e406
[Snackbar] Disable deprecation warnings in headers.
...
This avoids propagation of warnings to non-Material compilation units which may have deprecation warnings enabled as errors.
PiperOrigin-RevId: 463229747
2022-07-25 19:12:51 -07:00
Jeff Verkoeyen
425d641798
[Snackbar] Disable deprecation warnings in headers.
...
This avoids propagation of warnings to non-Material compilation units which may have deprecation warnings enabled as errors.
PiperOrigin-RevId: 461746303
2022-07-18 16:49:23 -07:00
Janette James
d71f3d5162
Update accessibilityElementsHidden when VoiceOver status changes
...
PiperOrigin-RevId: 449760487
2022-05-19 09:20:49 -07:00
David Collazo
6ed1991aad
Fix Snackbar dismissal when VoiceControl is enabled
...
PiperOrigin-RevId: 446320910
2022-05-03 16:48:07 -07:00
Jeff Verkoeyen
86a8c97dc7
Remove all pre-iOS 12 logic.
...
PiperOrigin-RevId: 400788645
2021-10-04 12:41:07 -07:00
Jeff Verkoeyen
e1c88bec2a
[Snackbar] Expand documentation for the category property.
...
PiperOrigin-RevId: 398515079
2021-09-23 10:14:19 -07:00
Nobody
95c4fb354e
Return the button width instead of the label width when availbleWidth is less than 0.
...
PiperOrigin-RevId: 398366964
2021-09-22 17:16:49 -07:00