Cody Weaver
d3a4164630
Internal change
...
PiperOrigin-RevId: 748103951
2025-04-15 18:53:54 -07:00
Cody Weaver
8788382546
Internal change
...
PiperOrigin-RevId: 748102561
2025-04-15 18:46:30 -07:00
Randall Li
ec2d41dfdb
[MDCCollections] Change deprecation warning to point at migration guide.
...
PiperOrigin-RevId: 490282427
2022-11-22 10:54:27 -08: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
f59169aba0
[Lists] Annotate symbols as to be deprecated
...
PiperOrigin-RevId: 457759896
2022-06-28 10:11:21 -07:00
Wenyu Zhang
b457b13005
Internal change.
...
PiperOrigin-RevId: 417635153
2021-12-21 09:32:05 -08: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
Jeff Verkoeyen
96cfc7e331
Internal change
...
PiperOrigin-RevId: 394241967
2021-09-01 08:56:53 -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
6794ff0a39
Remove adjustsFontForContentSizeCategoryWhenScaledFontIsUnavailable API from MDCSelfSizingStereoCell.
...
PiperOrigin-RevId: 376274535
2021-05-27 16:34:55 -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
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
b64b0ec231
Internal change
...
PiperOrigin-RevId: 360230236
2021-03-01 11:04:51 -08:00
Jeff Verkoeyen
29803522c6
Optimizing imports
...
PiperOrigin-RevId: 357185525
2021-02-12 07:27:05 -08:00
Jeff Verkoeyen
39c20e15f8
Optimizing imports
...
PiperOrigin-RevId: 356967514
2021-02-11 07:17:45 -08:00
Jeff Verkoeyen
b3fa42005b
Optimizing imports
...
PiperOrigin-RevId: 356966407
2021-02-11 07:12:37 -08:00
Yarden Eitan
d5bba14e9a
[List] Use isKindOfClass to ensure there is support for all MDCShadowLayer's subclasses.
...
PiperOrigin-RevId: 353292179
2021-01-22 12:11:45 -08:00
Andrew Overton
bdeb1f7e9d
[List] Support vertically centered image views in MDCSelfSizingStereoCell
...
PiperOrigin-RevId: 349420776
2020-12-29 07:31:28 -08:00
Andrew Overton
08ca10b078
[Multiple components] Ensure swift snippets always come before objc
...
Closes https://github.com/material-components/material-components-ios/pull/10145
It looks like the diff is pretty easy to comprehend, except for in the LIST file :/ All I'm doing is moving Swift snippets to be in front of Objective-C snippets.
COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/10145 from andrewoverton:material-io-bugs 291c5ea23ccb24c3698b67d09896637a3d1130fe
PiperOrigin-RevId: 347868718
2020-12-16 12:05:38 -08:00
Andrew Overton
fb4d874f62
[Multiple components] Change component README ToCs to bold paragraph style
...
PiperOrigin-RevId: 346365613
2020-12-08 11:09:33 -08:00
Andrew Overton
62ccb5c72f
[Multiple components] Audit recent docs changes, part 2
...
Closes https://github.com/material-components/material-components-ios/pull/10135
PiperOrigin-RevId: 345473101
2020-12-03 09:54:14 -08:00
Jeff Verkoeyen
fbb1f20aa2
Internal change
...
PiperOrigin-RevId: 332151481
2020-09-16 21:01:21 -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
Yarden Eitan
8d7bc88a11
[Ink] Official deprecation of Ink.
...
Please use the Ripple component.
PiperOrigin-RevId: 329771765
2020-09-02 13:07:40 -07:00
Andrew Overton
0ec073f1bc
[List] Replace list docs
...
This PR replaces the List docs for b/152926192.
Closes https://github.com/material-components/material-components-ios/pull/10023
COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/10023 from andrewoverton:material-io-list-doc 365ad20f1c043386056acb7cb405857f745a83b3
PiperOrigin-RevId: 317154737
2020-06-18 12:21:05 -07:00
Yarden Eitan
f425b8995b
[Ripple] Update alpha value of Ripple to 0.12 instead of 0.16
...
PiperOrigin-RevId: 316850177
2020-06-17 02:23:19 -07:00
Wenyu Zhang
a3381717f7
Fix the bazel BUILD files and snapshot that were restored unintentionally.( #9983 )
2020-04-29 11:00:00 -04:00
Jeff Verkoeyen
92254ea119
Rename all icons to an ic_<#name#> convention.
...
PiperOrigin-RevId: 308232277
2020-04-24 04:33:51 -07:00
Randall Li
0100cfe414
[MDC-iOS/BottomSheet] Fix dismissOnDraggingDownSheet behavior
...
The bottom sheet incorrectly allowed the sheet to be drag dismissed when `dismissOnDraggingDownSheet` was set to NO.
This change permits the gesture to dismiss to begin but prevents it from actually closing the sheet.
https://github.com/material-components/material-components-ios/issues/9723
Closes https://github.com/material-components/material-components-ios/pull/9885
PiperOrigin-RevId: 307802500
2020-04-22 06:21:26 -07:00
Dave MacLachlan
ebac2a8eb7
As of iOS 9/macOS 10.11 (circa 2015) removing objective C objects from the NSNotificationCenter in - (void)dealloc. is no longer required (the classic example is: [[NSNotificationCenter defaultCenter] removeObserver:self] but there are several variations).
...
In many cases this is the only thing being done in - (void)dealloc, so we can remove the whole thing.
PiperOrigin-RevId: 307663440
2020-04-21 13:00:30 -07:00
Jeff Verkoeyen
5957dd223a
[Lists] Use standard "List Items" name for all Lists examples.
...
The CollectionListCellExampleTypicalUse was using "Lists" as its top-level breadcrumb instead of "List Items", which was causing it to appear in its own category in the catalog. This does not appear to be intentional, so this change aligns the example with the component's conventional name.
PiperOrigin-RevId: 306422785
2020-04-14 06:01:11 -07:00
Jeff Verkoeyen
8abbb099a9
Delete all bazel support.
...
We no longer support bazel.
This PR deletes everything related to bazel support from our repo.
Closes https://github.com/material-components/material-components-ios/pull/9968
PiperOrigin-RevId: 306227127
2020-04-13 07:13:47 -07:00
Andrew Overton
79c96ec26f
Add MDCSelfSizingLayoutAttributes ( #9823 )
...
Add MDCSelfSizingLayoutAttributes
This protocol allows custom UICollectionViewLayouts to let the cell know how to self-size. For example, a column layout might have fixed column widths, but allow the cells to self-size vertically, so it can return YES from isFixedWidth and the cell will then only resize vertically.
Cells can either manually implement this behavior, or subclass MDCBaseCell to get it automatically.
PiperOrigin-RevId: 298369495
2020-03-04 11:09:10 -05:00
Andrew Overton
f3c66548f7
This change makes rippleColor null_resettable on MDCBaseCell
...
PiperOrigin-RevId: 293430561
2020-02-05 12:56:37 -08:00
Andrew Overton
cea950de09
Make padding between title label and detail label smaller
...
This change gets rid of the dynamic padding between labels in MDCSelfSizingStereoCell. With larger fonts it's too big.
PiperOrigin-RevId: 293427754
2020-02-05 12:42:01 -08:00
featherless
162a063bda
[bazel] Remove all unused mdc_objc_library loads. ( #9376 )
...
Found by searching for all references to `\bmdc_objc_library` and removing load statements from files that only returned one result.
Clean up as part of https://github.com/material-components/material-components-ios/issues/9363
2020-01-02 14:34:36 -05:00
featherless
b7cf0de915
[bazel] Remove all unused swift_library load statements. ( #9369 )
...
Found by searching for all references to `\bswift_library` and removing load statements from files that only returned one result.
Clean up as part of https://github.com/material-components/material-components-ios/issues/5491
2020-01-02 11:01:31 -05:00
Galia Kaufman
71ee6bd77e
[List] Fix typo in doc ( #9301 )
...
Fix typo in MDCList readme.
2019-12-18 13:03:44 -05:00
Galia Kaufman
d5863ef1b5
[List] Remove MDCListTypographyThemer ( #9190 )
...
Delete symbol MDCListTypographyThemer from our library (b/145204420).
2019-12-18 12:38:16 -05:00
Galia Kaufman
ef9887f735
[List] Removing Themers from documentation ( #9296 )
...
Removing MDCList Themers from documentation, replacing them with theming extensions. (b/145204420, b/145204461)
2019-12-18 12:36:47 -05:00
Galia Kaufman
7119b49862
[List] Remove MDCListColorThemer ( #9188 )
...
* Removing MDCListColorThemer
* Removing ColorThemer targets from BUILD file
2019-12-16 14:56:03 -05:00
Galia Kaufman
6e8fdfff36
[List] Deprecaet MDCListColorThemer ( #9265 )
...
Deprecating MDCListColorThemer (b/145204461).
2019-12-13 12:40:13 -05:00
Galia Kaufman
20c4cad529
[List] Deprecate MDCListTypographyThemer ( #9269 )
...
Deprecate symbol MDCListTypographyThemer (Issue #9222 )
2019-12-13 12:36:54 -05:00
Galia Kaufman
6271396e6c
Remove usage of MDCListTypographyThemer within our library ( #9189 )
...
Removing calls to MDCListTypographyThemer from within our library. (b/145204420)
2019-12-11 16:02:33 -05:00
Galia Kaufman
36f6a30fa6
[List] Removing MDCListThemer ( #9187 )
...
Removing MDCListThemer from within our library.
2019-12-09 19:49:21 -05:00
Galia Kaufman
5c4884261f
removing use of MDCListColorThemer before deprecating it. ( #9145 )
...
Removing calls to MDCListColorThemer from within our library (b/145204432).
2019-12-06 11:49:01 -05:00
Robert Moore
90fcc9281a
[ListItems] Make Base Cell example more accessible. ( #8982 )
...
Provides accessibility labels and distinguishing colors for each cell. Voice
Over users can now scroll the example.
Closes #8898
2019-11-18 08:29:05 -05:00