Randall Li
ece2779e05
[MDCCards] Change deprecation warning to point at potential script.
...
PiperOrigin-RevId: 491953507
2022-11-30 10:21:36 -08:00
Janette James
7a222459db
Mark as to be deprecated
...
PiperOrigin-RevId: 468758723
2022-08-19 12:19:23 -07:00
Jeff Verkoeyen
4c6aea2a4e
[Buttons+Dialogs] 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: 460832988
2022-07-13 16:47:50 -07:00
Jeff Verkoeyen
b2bbd50350
Mark all To Be Deprecated APIs as Deprecated.
...
PiperOrigin-RevId: 460478209
2022-07-12 09:13:52 -07:00
Jeff Verkoeyen
03ae874ff6
[Cards] Annotate all Ripple/Ink/Shape APIs as To Be Deprecated.
...
Ripple/Ink will be replaced with more straightforward highlighting behavior, and shape configuration other than corner radii is no longer going to be supported.
PiperOrigin-RevId: 445289349
2022-04-28 17:32:04 -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
Yarden Eitan
381db186fe
[Cards] Fix broken examples
...
PiperOrigin-RevId: 367980757
2021-04-12 05:09:19 -07:00
Jeff Verkoeyen
1c14fb5e7b
Internal change.
...
PiperOrigin-RevId: 363294413
2021-03-16 16:23:36 -07:00
Jeff Verkoeyen
1abdf16760
Optimizing imports
...
PiperOrigin-RevId: 357185990
2021-02-12 07:36:41 -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
63988b35da
Optimizing imports
...
PiperOrigin-RevId: 356966165
2021-02-11 07:09:58 -08:00
Cody Weaver
4b7c446e7e
[Cards] Update setting corner radius to match team style guide
...
PiperOrigin-RevId: 348676582
2020-12-22 12:35:05 -08:00
Andrew Overton
b42de42c87
Additional requested docs changes
...
Closes https://github.com/material-components/material-components-ios/pull/10147
COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/10147 from andrewoverton:material-io-bugs-2 d0e70d8a8c4b66e6d3b22c2fbe3408a60d8771ee
PiperOrigin-RevId: 348026588
2020-12-17 08:33:58 -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
Andrew Overton
8d8763ef71
[Multiple components] Audit recent docs changes, part 1
...
Closes https://github.com/material-components/material-components-ios/pull/10132
PiperOrigin-RevId: 345256835
2020-12-02 10:10:55 -08:00
Bryan Oltman
da4b8f7c7f
Fix mdc_elevationDidChangeBlock block parameter types for Xcode 12
...
PiperOrigin-RevId: 331843566
2020-09-15 13:39:15 -07:00
Jeff Verkoeyen
eb82984224
Internal change
...
PiperOrigin-RevId: 331764642
2020-09-15 07:31:56 -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
Jeff Verkoeyen
d7ff705337
Drop support for iOS 9.
...
PiperOrigin-RevId: 326015653
2020-08-11 07:21:40 -07:00
Andrew Overton
0448a330e3
Replace tabs docs
...
This PR replaces the tabs docs for material.io.
Closes https://github.com/material-components/material-components-ios/pull/10055
COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/10055 from andrewoverton:material-io-tabs 4b9dec39c00803ab6c32846c7557523df4252fe3
PiperOrigin-RevId: 325487657
2020-08-07 12:41:57 -07:00
Andrew Overton
07c46757cc
Replace material.io API doc links with links to the relevant header f…
...
This PR replaces API links containing "/api-docs/" with links to suitable header files in GitHub because the site previously linked to is being taken down and replaced with something that won't handle API docs.
Closes https://github.com/material-components/material-components-ios/pull/10045
COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/10045 from andrewoverton:replace-mio-api-docs-with-github-links 0d6e56cc11d0c147366a4f6cde829d8b51567ecc
PiperOrigin-RevId: 323424362
2020-07-27 13:09:23 -07:00
Andrew Overton
b205164477
Delete obsolete markdown files
...
As I've gone through and replaced all the READMEs I haven't always been good at deleting the markdown files that were stitched together to make the old READMEs. This PR removes all the ones I forgot to remove. All the relevant material in these files is already in the new READMEs, so we're not losing anything by doing this.
Closes https://github.com/material-components/material-components-ios/pull/10029
COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/10029 from andrewoverton:delete-unused-docs 65ea55253af300ea7a4c13ea4ce14976097a6253
PiperOrigin-RevId: 318079032
2020-06-24 09:31:01 -07:00
Jeff Verkoeyen
f4b7c8eb2c
[Cards] Add example snapshot tests.
...
PiperOrigin-RevId: 309247001
2020-04-30 10:06:12 -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
Andrew Overton
54723a16a4
[Cards] Replace Cards documentation
...
This PR replaces the Cards documentation with different Cards documentation. To preview the docs, see [here](https://github.com/andrewoverton/material-components-ios/tree/cards-docs/components/Cards ).
Closes https://github.com/material-components/material-components-ios/pull/9965
COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/9965 from andrewoverton:cards-docs 140637c2f4f7c24ba25099352c5f9c066d84035b
PiperOrigin-RevId: 306670257
2020-04-15 10:34:23 -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
Bryan Oltman
395ad9b395
[Catalog] Remove traitCollection overrides from examples. ( #9851 )
...
It's not clear to me why these existed – I can't see any visual difference before vs. after on an iPad in portrait orientation.
Fixes #7683
2020-03-05 17:16:59 -05:00
Randall Li
b677a3629e
[Material][Availability] Migrates cards to MDCAvailability. ( #9728 )
...
[Material][Availability] Migrates cards to MDCAvailability.
2020-02-14 15:15:09 -05: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
Bryan Oltman
900ace5c7b
[Cards] Properly use headings for 'Swift' and 'Objective C' above sample code ( #9353 )
...
Updates code sample headings for consistency with other documentation.
2019-12-30 12:24:21 -05:00
Bryan Oltman
d658b7cced
[Cards] Remove leading space before Swift and ObjC example headers ( #9295 )
...
Removes leading spaces before "Swift" and "Objective C" to ensure proper layout on material.io/develop/ios/components/cards (related to https://github.com/material-components/material-components-ios/pull/9294 )
2019-12-16 14:15:57 -05:00
Bryan Oltman
08a2b20d70
[Cards] Remove references to Themer from README ( #9261 )
...
Card Themer classes were deleted, and our documentation should be updated to reflect that.
Fixes #9197
2019-12-13 10:28:51 -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
Andrew Overton
394a518d3e
[Cards] Deprecate MDCCardThemer ( #9054 )
...
This PR deprecates MDCCardThemer, MDCCardTheming, and MDCCardScheme, and updates docs.
Related to #9052 .
Related to #9067 .
Related to #9066 .
Related to #9065 .
2019-12-06 15:41:00 -05:00
Andrew Overton
1a067127a2
Delete old docs ( #9163 )
...
Tangentially related #9066
2019-12-06 15:40:32 -05:00
Bryan Oltman
4e41462438
[Cards] Migrate MDCCardsColorThemer to theming extensions ( #9141 )
...
Migrating Cards Themer code to theming extensions as part of the deprecation and deletion of `MDCCardsColorThemer`.
Part of #9098 , #9097 , #9096 , and #9095
2019-12-06 10:24:00 -05:00
Bryan Oltman
0c529fd53d
[Cards] Deprecate MDCCardThemer ( #9108 )
...
Deprecates MDCCardThemer and silences deprecation warnings.
Part of #9095 , #9096 , #9097 , and #9098 .
2019-12-05 17:14:07 -05:00
Bryan Oltman
285c8898c0
[Cards] Deprecate MDCCardsColorThemer ( #9078 )
2019-12-04 20:35:15 -05:00
featherless
be33d3196a
[Cards] Fix bug in the "Typical use" example where the image would not appear. ( #8943 )
...
The image was not appearing because the card using a custom image view that was trying to inherit the mask of the card's shape layer.
This change removes the custom image view and instead applies custom corner radii to the image view directly. This is not ideal, but is an improvement. Ideally, the card would provide a content view that is clipped to the card's shape. It's not possible to enable clipping on the card itself because this causes the shadow to go away.
| Before | After |
|:--|:--|
|  |  |
Part of https://github.com/material-components/material-components-ios/issues/8861
2019-11-15 16:44:28 -05:00
featherless
f6f2ff2821
[Cards] Make the "Typical use" example title label an a11y heading. ( #8945 )
...
Closes https://github.com/material-components/material-components-ios/issues/8861
2019-11-15 14:06:21 -05:00
featherless
28b838cc9d
[Cards] Make the shaped collection cell an accessibility button. ( #8901 )
...
Fixes https://github.com/material-components/material-components-ios/issues/8866
2019-11-15 11:54:13 -05:00
featherless
ae7db6f03d
[Cards] Make the Shaped Edit/Reorder example class/files match the name of the example. ( #8899 )
...
Cleanup as part of https://github.com/material-components/material-components-ios/issues/8866
2019-11-15 11:00:50 -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
Galia Kaufman
8c103b0fc9
[Cards] New toggle-button example ( #8663 )
...
Adding an exampled for a custom Toggle Button in Cards.
2019-10-28 12:47:22 -04:00