Nobody
e7a6b602b4
Add new item layout to align image and text to top with padding in between, and a new property to manage which image-and-text item layout to use.
...
PiperOrigin-RevId: 735890394
2025-03-11 14:27:52 -07:00
Nobody
719af90592
Add properties to customize tab bar item view content insets, padding between image and title, and minimum height for title and image layout.
...
PiperOrigin-RevId: 734585238
2025-03-07 09:28:26 -08:00
Janette James
ac53ebbc14
Delete Tabs TypographyThemer
...
PiperOrigin-RevId: 714995832
2025-01-13 09:23:36 -08:00
Janette James
3f82e5f3b0
Delete TabBarViewTheming
...
PiperOrigin-RevId: 714301345
2025-01-10 18:48:24 -08:00
Nobody
24a0ffbd03
Annotate various Delegate protocols as NS_SWIFT_UI_ACTOR
...
PiperOrigin-RevId: 708413470
2024-12-20 13:33:55 -08:00
Nobody
bedb68e169
Added X and Y coordinates to the current API which will change the badge position.
...
You can set the badge position for your default badge by using tabBar.badgeOffset = CGPoint(x: 10, y: 10)
PiperOrigin-RevId: 683056798
2024-10-06 23:58:44 -07:00
Cody Weaver
48cd681b5c
#Tabs Add IconSize parameter to MDCTabBarView
...
PiperOrigin-RevId: 620265575
2024-03-29 09:45:17 -07:00
Cody Weaver
69f2f02f77
#Tabs Add nullability annotations
...
PiperOrigin-RevId: 620068266
2024-03-28 15:06:37 -07:00
Wenyu Zhang
fdfeaf6de1
Delete TabBar Theming.
...
PiperOrigin-RevId: 618287193
2024-03-22 14:26:05 -07:00
Nobody
07a7f30967
Internal change.
...
PiperOrigin-RevId: 614054040
2024-03-08 15:00:26 -08:00
Nobody
ce2ef97f2c
Internal change
...
PiperOrigin-RevId: 583160453
2023-11-16 14:12:48 -08:00
Nobody
58f6375b10
Internal change
...
PiperOrigin-RevId: 565513516
2023-09-14 16:45:39 -07:00
Nobody
7f5bf12911
Internal change
...
PiperOrigin-RevId: 561371031
2023-08-30 09:58:27 -07:00
Nobody
9a00663990
Fixes an unrecognized selector on UIInteraction due to an assumption that all interactions were UIPointerInteraction.
...
PiperOrigin-RevId: 539165426
2023-06-09 13:43:40 -07:00
Wenyu Zhang
2cdac2db58
Clarify the behavior of disableRippleBehavior API that there is not default system highlight behavior when this flag is turned YES.
...
PiperOrigin-RevId: 502698050
2023-01-17 15:03:43 -08:00
Randall Li
c90c964fa7
[TapBar] Change deprecation warning to point at newer recommendation.
...
PiperOrigin-RevId: 492206196
2022-12-01 08:46:34 -08:00
Randall Li
ed7b94740e
[MDCTabs] Change deprecation warning to point at newer recommendation of branded MDCTabs.
...
PiperOrigin-RevId: 491991555
2022-11-30 12:43:31 -08:00
Jeff Verkoeyen
78b4109e6a
[Tabs] Add the ability to disable ripple behavior.
...
PiperOrigin-RevId: 477358412
2022-09-27 22:31:19 -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
Nobody
4052eb4373
Fixed up imports for Tabs
...
PiperOrigin-RevId: 472482951
2022-09-06 09:47:41 -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
f12d519b49
[Tabs] Update badge layout to not overlap items with only a title
...
PiperOrigin-RevId: 458480466
2022-07-01 09:04:18 -07:00
Wenyu Zhang
72287f8311
[Material iOS] Annotate "deprecated" symbols for Tab related components.
...
PiperOrigin-RevId: 456549480
2022-06-22 10:40:52 -07:00
David Collazo
f7e9469907
Mark symbols to be deprecated
...
Use MDCTabBarView instead (go/material-ios-tabs)
PiperOrigin-RevId: 456534407
2022-06-22 09:36:19 -07:00
Mila Green
44c7dcb62a
Mark symbols to be deprecated
...
Use MDCTabBarView instead (go/material-ios-tabs)
PiperOrigin-RevId: 456374088
2022-06-21 16:13:50 -07:00
Nobody
b3d5dee561
[MDC] Adding badge view into MDCTabBarView.
...
PiperOrigin-RevId: 446074338
2022-05-02 17:53:19 -07:00
Nobody
5583bb006b
Fix text color when reseting items while maintaining the selected tab.
...
If tab bar items are updated while there is already a selected item the early exit path in `setSelectedItem:` will be taken. This will bypass styling for the selected item (which will have a corresponding newly constructed MDCTabBarViewItemView that needs styling). This results in the MDCTabBarViewItemView's textColor being incorrect.
The fix proposed in this CL resets the selectedItem to nil so that the early exit check fails and allows the tab to be themed.
PiperOrigin-RevId: 440864525
2022-04-11 05:50:48 -07:00
Nobody
ec85dac78d
Fix a bug in MDCTabBarView that prevents it from consistently scrolling to the initially-selected item.
...
PiperOrigin-RevId: 422590793
2022-01-18 10:31:14 -08:00
Wenyu Zhang
b457b13005
Internal change.
...
PiperOrigin-RevId: 417635153
2021-12-21 09:32:05 -08:00
Jeff Verkoeyen
7be840e93b
Remove all pre-iOS 12 logic.
...
PiperOrigin-RevId: 401264011
2021-10-06 09:29:27 -07:00
Jeff Verkoeyen
08051b7bda
Remove all pre-iOS 12 logic.
...
PiperOrigin-RevId: 400798440
2021-10-04 13:20:55 -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
502bc5d910
Ran a Swift formatter
...
PiperOrigin-RevId: 395947664
2021-09-10 09:48:14 -07:00
Cody Weaver
272781fd85
[MDFInternationalziation] Remove mdf_semanticContentAttribute in favor of system API semanticContentAttribute.
...
PiperOrigin-RevId: 392680954
2021-08-24 09:29:08 -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
Nobody
a97c3860a0
Expose scrollToItem:animated: to resolve rotation bug in MDCTabBarView.
...
PiperOrigin-RevId: 382695044
2021-07-02 01:50:59 -07:00
Nobody
c78150e3b3
Set MDCTabBarView.scrollsToTop to NO.
...
UIScrollView documentation says:
When a user makes this gesture, the system asks the scroll view closest to the status bar to scroll to the top. On iPhone, the scroll-to-top gesture has no effect if there is more than one scroll view on-screen that has scrollsToTop set to true.
PiperOrigin-RevId: 382314983
2021-06-30 09:01:50 -07:00
Jeff Verkoeyen
9638b0bfa4
Annotate APIs with tvOS availability.
...
PiperOrigin-RevId: 368748687
2021-04-15 17:17:22 -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
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
b64b0ec231
Internal change
...
PiperOrigin-RevId: 360230236
2021-03-01 11:04:51 -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
Cody Weaver
6028ffe879
Optimizing imports
...
PiperOrigin-RevId: 356984061
2021-02-11 08:53:50 -08:00
Jeff Verkoeyen
b3fa42005b
Optimizing imports
...
PiperOrigin-RevId: 356966407
2021-02-11 07:12:37 -08:00
Alyssa Weiss
738a505dac
Remove iOS 10 check in accessibilityTrait handling since only iOS 10 + is supported now
...
PiperOrigin-RevId: 351847371
2021-01-14 12:01:06 -08:00
Nobody
8343349fd9
Fix an issue where the indicator was shown moving in, rather than already at the selected item, when the tab bar items are recreated and the tab selected.
...
PiperOrigin-RevId: 347559147
2020-12-15 00:53:51 -08:00
Andrew Overton
7de109ee81
[Tabs] Add missing div tag
...
PiperOrigin-RevId: 346779071
2020-12-10 07:26:28 -08:00