13 Commits

Author SHA1 Message Date
Cody Weaver
c4e442c1f2 #MDC Delete failing unit tests due to xcode 15.1
PiperOrigin-RevId: 606695775
2024-02-13 11:43:49 -08:00
Alyssa Weiss
7fa200758d Delete mdc_adjustsFontForContentSizeCategory from MDCBannerView.
PiperOrigin-RevId: 372545111
2021-05-07 06:42:15 -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
Wenyu Zhang
1591b68564 [Banner] Apply primary color to icon in theming.
PiperOrigin-RevId: 314159312
2020-06-01 10:50:45 -07:00
Randall Li
fa62718bc5
add deps on availability for a bunch of components (#9679)
* add Availability build file

* add Button deps on availability

* added elevation

* corrected include statements to use import of the umbrella files

* revert unwanted changes

* spaces

* clangformat

* add availability dep

* added buttom nav deps on availibility

* Add FeatureHighlight build dep for Availability

* Add Availability build dep to FeatureHighlight private

* Add missing =

* fixed tabs spacing

Co-authored-by: Bryan Oltman <bryanoltman@gmail.com>
2020-02-11 13:14:09 -05:00
Nobody
081fd7a6b4 [Material][Availability] Migrates the Banner to MDCAvailability.
PiperOrigin-RevId: 293864905
2020-02-07 16:05:59 -05:00
Wenyu Zhang
8a2650d5c3
[Banner] Add unit test to test background color change when user interface changes. (#9073)
closes https://github.com/material-components/material-components-ios/issues/9058.

This test ensure not only the block exists when setting it (originally supported behavior), it adds the test to test the real behavior of what should happen to the background color of banner when user interface changes.
2019-12-05 11:43:49 -05:00
Wenyu Zhang
68f5b9d1e4
[Banner] Add theming extension. (#8285)
Closes https://github.com/material-components/material-components-ios/issues/7811. 

This PR adds a theming extension for Banner with elevation support and corresponding tests.
2019-08-15 15:03:11 -04:00
Cody Weaver
534649a1cd
[Banner] Add MaterialElevation support (#8142)
Adds conformance to MDCElevatable and MDCElevationOverriding to
MDCBannerView.

Closes #8028
2019-07-31 09:15:33 -07:00
Wenyu Zhang
e58c550a21
[Banner] use UITextView for text instead of UILabel. (#7993)
closes #7990 

This API change enables more flexibility on the text configuration on banner. Minor visual difference was generated by UITextView's implementation.
2019-07-24 16:23:50 -04:00
Wenyu Zhang
a0c0b2b314
[Banner] Add traitCollectionDidChangeBlock API. (#7948) 2019-07-17 17:24:04 -04:00
Wenyu Zhang
7c1b055ab9
[Banner] Support Dynamic Type in Banner (#7709)
Closes https://github.com/material-components/material-components-ios/issues/7621.

Screenshot:

|Adjusted Sizing Category 1 | Adjusted Sizing Category 2|
|---|---|
|![IMG_0789](https://user-images.githubusercontent.com/8836258/60121196-8a996f80-9750-11e9-818c-b82073d51e2c.PNG)|![IMG_0788](https://user-images.githubusercontent.com/8836258/60121199-8c633300-9750-11e9-824e-6ff2f5c95706.PNG)|
2019-06-26 16:10:48 -04:00