Janette James
16e9402a8f
Delete MDCBasicFontScheme
...
PiperOrigin-RevId: 676070248
2024-09-18 11:40:21 -07:00
Randall Li
98ccf1f376
[FontScaler] Change deprecation warning to point at newer recommendation.
...
PiperOrigin-RevId: 492042794
2022-11-30 16:04:50 -08:00
Randall Li
43103c060d
[MDCTypography] Change deprecation warning to add scriptable potential.
...
PiperOrigin-RevId: 490268130
2022-11-22 09:59:21 -08:00
Randall Li
a5f0f579d5
[Schemes] Change deprecation warning to add scriptable potential.
...
PiperOrigin-RevId: 490265704
2022-11-22 09:46:39 -08:00
Nobody
9e1c0c0a45
Internal change
...
PiperOrigin-RevId: 477458164
2022-09-28 08:26:32 -07:00
Jeff Verkoeyen
3180c15e86
[schemes] Optimize imports
...
PiperOrigin-RevId: 466547078
2022-08-09 20:05:09 -07:00
Randall Li
9100ba8f35
[Color blending] Delete colorBlending API from ColorSchemes. Use MDC Color component instead.
...
Migrate remaining colorBlending API use from ColorSchemes to the MDC Color component.
PiperOrigin-RevId: 464917740
2022-08-02 16:44:21 -07:00
Randall Li
9ff4459c27
Internal change
...
PiperOrigin-RevId: 464185158
2022-07-29 16:57:19 -07:00
Jeff Verkoeyen
b2bbd50350
Mark all To Be Deprecated APIs as Deprecated.
...
PiperOrigin-RevId: 460478209
2022-07-12 09:13:52 -07:00
Mila Green
00c9500f28
Marked APIs deprecated.
...
PiperOrigin-RevId: 458027138
2022-06-29 11:49:58 -07:00
Cody Weaver
9efe68a9c7
[BasicFontScheme] Annotate symbols as to be deprecated
...
PiperOrigin-RevId: 457994640
2022-06-29 09:30:04 -07:00
Nobody
a8f1e0a2be
Marked APIs deprecated.
...
PiperOrigin-RevId: 457650300
2022-06-27 23:09:41 -07:00
Mila Green
994a5fe3e1
Marked APIs deprecated.
...
PiperOrigin-RevId: 457639746
2022-06-27 21:41:55 -07:00
Wenyu Zhang
cbcea1c2cd
[Schemes] Annotate "to be deprecated" symbols for scheme related components.
...
PiperOrigin-RevId: 457600261
2022-06-27 17:07:11 -07:00
Janette James
ee16118705
[Color] Mark all APIs as To Be Deprecated
...
Use branding/tokens instead.
PiperOrigin-RevId: 454708150
2022-06-13 15:09:39 -07:00
Jeff Verkoeyen
fbf2f90376
[BottomSheet] Delete the ShapeThemer library.
...
Also removed examples that made use of the ShapeThemer and removed all of the ShapeScheme examples.
PiperOrigin-RevId: 404270856
2021-10-19 08:45:05 -07:00
Jeff Verkoeyen
c34de39e30
Internal change.
...
PiperOrigin-RevId: 397316843
2021-09-17 07:45:01 -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
Alyssa Weiss
d43fbda4bf
Cleanup.
...
PiperOrigin-RevId: 385551536
2021-07-19 07:43:37 -07:00
Dave MacLachlan
1d7b5f2e79
Removes unnecessary copy qualifier on immutable types (UIColor *).
...
PiperOrigin-RevId: 382335558
2021-06-30 10:36:18 -07:00
Cody Weaver
77961e2c80
[Typography] Delete MDCBasicFontScheme
...
PiperOrigin-RevId: 374871854
2021-05-20 08:07:12 -07:00
Jeff Verkoeyen
1abdf16760
Optimizing imports
...
PiperOrigin-RevId: 357185990
2021-02-12 07:36:41 -08:00
Jeff Verkoeyen
63988b35da
Optimizing imports
...
PiperOrigin-RevId: 356966165
2021-02-11 07:09:58 -08:00
Randall Li
4195a48cca
Delete elevationOverlayColor: It is not used in any theming extensions.
...
This property was added https://github.com/material-components/material-components-ios/pull/7924
PiperOrigin-RevId: 351828292
2021-01-14 10:34:45 -08:00
Jeff Verkoeyen
fbb1f20aa2
Internal change
...
PiperOrigin-RevId: 332151481
2020-09-16 21:01:21 -07:00
Yarden Eitan
719d688119
[Shapes] Add test demonstrating issue with calling borderWidth multiple times with same value.
...
PiperOrigin-RevId: 322911175
2020-07-23 18:30:36 -07:00
Wenyu Zhang
52ee290902
[schemes/Color]Add high contrast color to MDCColorSchemeDefaultsMaterial201907 scheme to support Increase Contrast feature.
...
PiperOrigin-RevId: 314657476
2020-06-03 20:44:32 -07:00
Andrew Overton
0a36a3a12b
[MDC-iOS] Fix broken links
...
This CL fixes some longstanding and some newly broken links.
PiperOrigin-RevId: 311351416
2020-05-13 10:09:44 -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
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
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
Cody Weaver
8176beb6b1
[MDC/ColorScheme] Delete init.
...
The Material iOS team recommends clients explicitly choose their defaults to initialize with. This removes the `init` that choose defaults for the client.
PiperOrigin-RevId: 304014850
2020-03-31 12:01:45 -07:00
Cody Weaver
086c1d590e
[MDC/ColorScheme] Mark init as deprecated.
...
We recommend teams initialize color and typography schemes with the `initWithDefaults` methods instead of the `init`. In order to remove this init we need to have a release with the `init` marked as deprecated and then remove it. This is step one in removing this method.
PiperOrigin-RevId: 303164822
2020-03-26 12:06:59 -07:00
Cody Weaver
fdf87c5995
[MDC/ColorScheme] Remove usage of init within MDC.
...
We recommend using `initWithDefaults` and we should follow the recommendation. This change removes all usage of `init` within MDC components in order to let us remove that initializer from the public surface.
PiperOrigin-RevId: 302958447
2020-03-25 13:36:51 -07:00
Bryan Oltman
14c9d903cf
[Buttons] Deletes deprecated MDCFloatingButtonShapeThemer ( #9746 )
...
* [Buttons] Deletes deprecated MDCFloatingButtonShapeThemer
* Remove MDCFloatingButtonShapeThemer from tests
* Update docs
* clang
2020-02-18 10:12:36 -05:00
Andrew Overton
ae6d6d9a90
[Material][Availability] Migrates Schemes to MDCAvailability ( #9736 )
...
Original CL: cl/293702425
2020-02-14 12:53:26 -05:00
Wenyu Zhang
ab901f7654
Revert "[ColorScheme] deprecate init method and update documentation to reflect its purpose. ( #9391 )" ( #9396 )
...
This reverts commit 5fc6ec2f96e69f1e4c579ca69344557ad83329f2.
2020-01-09 13:54:20 -05:00
Wenyu Zhang
5fc6ec2f96
[ColorScheme] deprecate init method and update documentation to reflect its purpose. ( #9391 )
...
closes https://github.com/material-components/material-components-ios/issues/9390
2020-01-08 18:07:01 -05:00
Bryan Oltman
f44e5d679d
[Cards] Delete Themer classes ( #9197 )
...
Deletes the deprecated Card shape and color themers. These files were removed from .podspec and BUILD files in https://github.com/material-components/material-components-ios/pull/9141
Fixes #9098
Fixes #9097
Fixes #9096
Fixes #9095
2019-12-09 12:41:31 -05:00
Robert Moore
8eb7296dab
[Catalog] Fix container scheme properties. ( #9192 )
...
Making remaining examples use protocol for container schemes to match the
project's expected convention.
Found while reviewing #9188
2019-12-09 10:48:25 -05:00
Bryan Oltman
f848eaf5ee
[Chips] Delete Themers ( #9028 )
...
* [Chips] Delete Themers
* clang
* Delete MDCChipViewTypographyThemer, update BUILD file
* Use correct MDCChipViewColorThemer applySemanticColorScheme implementation for applyThemeWithColorScheme
* Delete Chip imports from Shape BUILD file
* Delete Chips themers from podspec
* Preserve example behavior
* Fix Shape scheme BUILD file
2019-12-05 14:12:21 -05:00
Robert Moore
692c743f34
[TypographyScheme] Separate protocol target. ( #8798 )
...
Splits the `MDCTypographyScheming` protocol target from the implementation
target. This allows clients to conform to the protocol without depending on
the MDC-iOS implementation (and its dependencies).
Fixes #8445
2019-11-13 11:28:43 -05:00
featherless
8b9f0bbea6
[Cards] Deprecate the ShapeThemer extension. ( #8697 )
...
Part of https://github.com/material-components/material-components-ios/issues/8429
2019-10-30 19:46:20 -04:00
Robert Moore
0f7758dda7
[TypographyScheme] Replace mdc_adjustsFontForContentSizeCategory with ( #8476 )
...
Replaces the deprecated API `mdc_adjustsFontForContentSizeCategory` with its
stated replacement, `useCurrentContentSizeCategoryWhenApplied`. Also makes the
replacement API required to ensure there is an available API to communicate
this information to theming code.
This change has already been tested internally and the necessary changes are captured in cl/270386732.
Closes #7618
2019-09-23 11:58:44 -04:00
Bryan Oltman
39ec06ef5b
[MDCTypography] Separate the declaration of MDCTypopgraphyScheming from MDCTypography, as requested in https://github.com/material-components/material-components-ios/issues/8445 . ( #8460 )
...
PiperOrigin-RevId: 269555091
2019-09-19 12:49:28 -04:00
featherless
c5aac50a89
[schemes/Typography] Rename MaterialTypography+BasicFontScheme.h to MaterialTypographyScheme+BasicFontScheme.h. ( #8442 )
...
This is a follow-up to https://github.com/material-components/material-components-ios/pull/8425 and part of https://github.com/material-components/material-components-ios/issues/8424
2019-09-11 17:45:04 -04:00
featherless
c0e74b1d20
[Typography] Pull BasicFontScheme out to an extension. ( #8425 )
...
BasicFontScheme will eventually be deprecated and deleted. Moving it to a standalone target allows us to better isolate its use in prepartion for its deletion.
In order not to make this a breaking change, schemes/Typography depends on the new extension. This is a temporary dependency that will be removed once all existing internal usage has been updated to point to the new target.
First step of https://github.com/material-components/material-components-ios/issues/8424
2019-09-10 13:32:14 -04:00
Wenyu Zhang
cd4098cb65
[Typography] Add deprecation flag to mdc_adjustsFontForContentSizeCategory. ( #8312 )
...
This attribute was missing since the property was decided to be deprecated.
2019-08-15 11:00:44 -04:00
Wenyu Zhang
14aa5b9ac6
[Typography] add doc to clarify useCurrentContentSizeCategoryWhenApplied. ( #8311 )
...
Related to discussion in https://github.com/material-components/material-components-ios/pull/8285#discussion_r313948120 .
For clients who conform to `useCurrentContentSizeCategoryWhenApplied` property, it is implicit that its value needs to be the same as `mdc_adjustsFontForContentSizeCategory`. Adding instruction to clarify the migration path would remove the confusion.
2019-08-14 17:15:49 -04:00
Robert Moore
08ee58bcb3
[Shape] Use Starlark macros in BUILD file. ( #8209 )
...
Using more macros to make it easier to perform releases.
Part of #8150
2019-08-02 19:59:19 -07:00