Bump material from 1.5.0 to 1.6.0 #383

Merged
dependabot[bot] merged 1 commits from dependabot/gradle/com.google.android.material-material-1.6.0 into master 2022-05-05 16:51:24 +02:00
dependabot[bot] commented 2022-05-05 06:27:05 +02:00 (Migrated from github.com)

Bumps material from 1.5.0 to 1.6.0.

Release notes

Sourced from material's releases.

1.6.0

What's new since 1.5.0

Other highlights

  • Material 3
    • Hide shadows on all M3 Toolbar styles, not just Surface style (b49284ec75ab16a9f649b97cb26aa4a17bc82512)
    • Migrate action bar popup themes to M3 (2ae3ca42985722900f53de9d9a1ef61c143767eb)
    • Update M3 card elevation according to the spec (bb23e2d6ad7888713d51e1dc53f36a69b0db62ff)
    • Add missing attributes to M3 button styles (3c9b45292d78a80f511d672bb5fe4ef1431dd8bd)
    • Update M3 navigation rail text appearances (6b57c52973c2ceb97c88da1df1b72859ed28775a)
    • Fix M3 date picker styles (fba1a341c31cbe2c5d71c239afc8bcc14af9d968)
    • Change checkedIconGravity values to enum (bc56d5b43b93ab6dbed4d561ad8b8b1351f9535c)
  • Badging
    • Prevent multiple badges being attached to a menu item at the same time (b3db1cc02855453f91353fca9e9cb11ccf0db9cc)
    • Refactored Badge state managing logic (bbbeacd64e3b1cc64e8edc6adf430aad45d03e32)
    • Added support for different locale on badges (b8f2dd53e0e19ea376639a610a0b51faabf0f9af)
  • BottomNavigationView
    • Added supported NavigationBarView#LabelVisibilityMode alternative to deprecated BottomNavigationView#LabelVisibilityMode. (12222684370dfb6c3400fd984578059d22741bb3)
    • Removed font scaling from NavigationBarView item labels. (d66676fd6bb93556c2cb3b0d9f7885821ac5bd8f)
    • Set backgroundTint explicitly to @​null in M3 bottom navigation styles (adbcf8cbbc6e95921d233c87eb87dc01b6cc8f0d)
  • BottomSheet
    • Fix bottom sheets in EXPANDED state when the expanded height is the same as the collapsed height (493243ea1e5a2a0eee675b652cae0eeaec73b6a3)
    • Simplify state transition logic (04c483cf3466cd0a7bf4835cadccc2372ba0da2b)
    • Fix activity leak when setting states on destroying activities (43114c4f7c9ca0c70c48c777dbd2957386d539e5)
    • Update edge-to-edge paddings when bottom sheet is laid out (19af0ac9d98cc3c504ce69ae38fbc00570cc85f5)
  • Chip
    • Refactored chip group selection logic to a standalone class (f3c6430f94bb7f82afc740e5545fd6302e9bf3aa)
    • Added missing attributes to M3 chip styles (cc18f3f7e8ff097b80d774911c2ede92d4b30698)
    • Update M3 chip styles with spec (8ed0ac9fd383bbb53fac100e74b2a0e9ee41bc9a)
  • CollapsingToolbarLayout
    • Fixed shadow issues when transition between expanded and collapsed states. (86e8b00ecdc9f9c5212e5a7e0700bd95be4da94b)
    • Constrain adjusted font weight to acceptable values (5dce006a5c1649df4eb6631c85619017728726af)
  • Color
    • Fix resources being re-harmonized when wrapContextIfAvailable() is used. (b402cb3c032ea10beb941284b49a9667ee7abe1e)
    • Added ColorGrid classes for color harmonization demo. (fcc10914f2b87c0e5f28761e8316bba2d9d1a318)
    • Add kyocera to dynamic colors allowlist and reorganized based on alphabetical order. (1dad5f65d4c54952a3a63efa4b9fd81b9c46d4a2)
    • Fix HarmonizedColorsOptions.Builder#setColorAttributes is marked as nullable (44054aaf3ab11d815e4086b37575e829e0b626db)
    • Added support for color resources harmonization in XML (869d9430677e66f9007bee65960dc0539627fd4a)
    • Refactor DynamicColors overloading methods and added DynamicColorsOptions class to support color harmonization. (bdbf052aaf1e824f221057ca3c3acae80d1a521d)
    • Update DynamicColors to use peekDecorView() instead of getDecorView() when applying dynamic color theme overlay (56ed07008ba0bff682e99c5d91126596fe9e6ddf)
    • Update DynamicColors util to applyStyle() on window decorView theme as well to fix potential ContextMenu issue (f6c8fa5aefc84a1543eca3056a538120de0b4297)
    • Update DynamicColors util to use activity.getTheme().applyStyle() instead of activity.setTheme() to workaround Force Dark issue (b84f35f1211028e7c456ce1ca91685a938f0ffcc)
    • Avoid Short#compare usage in ColorResourcesTableCreator.java since it requires API level 19 (48741b4e16236ee8ac9dc0052204e6a7be32c0f4)
    • Add Resource Table format for XML color Harmonization. (822a5b2cb2dedf133618d981140edf30db0058ef)
  • Dialog
    • Fixed crashes when colorControlHighlight is a CSL (1c5c054b70a55c2567cdfee460d3876158b2945a)
    • Added date and time picker themes to M3 dialog themes (8342f9025eefe64ca24312467d021a522e833769)

... (truncated)

Commits
  • 1dbd3dd [M3][Color] Updated color harmonization demo
  • b402cb3 [M3][Color] Fix resources being re-harmonized when wrapContextIfAvailable() i...
  • fcc1091 [M3][Color] Added ColorGrid classes for color harmonization demo.
  • 207cb53 [M3][Color] Refactored MaterialColorSpec to take @​ColorRes or @​ColorInt for t...
  • 1dad5f6 [M3][Color] Add kyocera to dynamic colors allowlist and reorganized based on ...
  • 2bfc7ba [SnackBar] Fix margins are added multiple times when show() is called
  • d6cd0e6 Update library version to 1.6.0
  • a8256c2 [Gradle] Changed gradle so that tests run in parallel, preventing OutOfMemory...
  • 9be224b [Gradle] Make sure targetSdkVersion is applied to all Gradle sub projects
  • aeed987 [Tests] Update Robolectric to 4.7.3
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps [material](https://github.com/material-components/material-components-android) from 1.5.0 to 1.6.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/material-components/material-components-android/releases">material's releases</a>.</em></p> <blockquote> <h2>1.6.0</h2> <h1>What's new since 1.5.0</h1> <ul> <li>Color harmonization support! Check out the following resources for more information: <ul> <li><a href="https://material.io/blog/dynamic-color-harmony">Designing Harmony into Dynamic Color</a> blog post</li> <li><a href="https://github.com/material-components/material-components-android/blob/master/docs/theming/Color.md#using-color-harmonization">Using color harmonization</a> documentation</li> </ul> </li> </ul> <h2>Other highlights</h2> <ul> <li><code>Material 3</code> <ul> <li>Hide shadows on all M3 Toolbar styles, not just Surface style (b49284ec75ab16a9f649b97cb26aa4a17bc82512)</li> <li>Migrate action bar popup themes to M3 (2ae3ca42985722900f53de9d9a1ef61c143767eb)</li> <li>Update M3 card elevation according to the spec (bb23e2d6ad7888713d51e1dc53f36a69b0db62ff)</li> <li>Add missing attributes to M3 button styles (3c9b45292d78a80f511d672bb5fe4ef1431dd8bd)</li> <li>Update M3 navigation rail text appearances (6b57c52973c2ceb97c88da1df1b72859ed28775a)</li> <li>Fix M3 date picker styles (fba1a341c31cbe2c5d71c239afc8bcc14af9d968)</li> <li>Change checkedIconGravity values to enum (bc56d5b43b93ab6dbed4d561ad8b8b1351f9535c)</li> </ul> </li> <li><code>Badging</code> <ul> <li>Prevent multiple badges being attached to a menu item at the same time (b3db1cc02855453f91353fca9e9cb11ccf0db9cc)</li> <li>Refactored Badge state managing logic (bbbeacd64e3b1cc64e8edc6adf430aad45d03e32)</li> <li>Added support for different locale on badges (b8f2dd53e0e19ea376639a610a0b51faabf0f9af)</li> </ul> </li> <li><code>BottomNavigationView</code> <ul> <li>Added supported NavigationBarView#LabelVisibilityMode alternative to deprecated BottomNavigationView#LabelVisibilityMode. (12222684370dfb6c3400fd984578059d22741bb3)</li> <li>Removed font scaling from NavigationBarView item labels. (d66676fd6bb93556c2cb3b0d9f7885821ac5bd8f)</li> <li>Set backgroundTint explicitly to <a href="https://github.com/null"><code>@​null</code></a> in M3 bottom navigation styles (adbcf8cbbc6e95921d233c87eb87dc01b6cc8f0d)</li> </ul> </li> <li><code>BottomSheet</code> <ul> <li>Fix bottom sheets in EXPANDED state when the expanded height is the same as the collapsed height (493243ea1e5a2a0eee675b652cae0eeaec73b6a3)</li> <li>Simplify state transition logic (04c483cf3466cd0a7bf4835cadccc2372ba0da2b)</li> <li>Fix activity leak when setting states on destroying activities (43114c4f7c9ca0c70c48c777dbd2957386d539e5)</li> <li>Update edge-to-edge paddings when bottom sheet is laid out (19af0ac9d98cc3c504ce69ae38fbc00570cc85f5)</li> </ul> </li> <li><code>Chip</code> <ul> <li>Refactored chip group selection logic to a standalone class (f3c6430f94bb7f82afc740e5545fd6302e9bf3aa)</li> <li>Added missing attributes to M3 chip styles (cc18f3f7e8ff097b80d774911c2ede92d4b30698)</li> <li>Update M3 chip styles with spec (8ed0ac9fd383bbb53fac100e74b2a0e9ee41bc9a)</li> </ul> </li> <li><code>CollapsingToolbarLayout</code> <ul> <li>Fixed shadow issues when transition between expanded and collapsed states. (86e8b00ecdc9f9c5212e5a7e0700bd95be4da94b)</li> <li>Constrain adjusted font weight to acceptable values (5dce006a5c1649df4eb6631c85619017728726af)</li> </ul> </li> <li><code>Color</code> <ul> <li>Fix resources being re-harmonized when wrapContextIfAvailable() is used. (b402cb3c032ea10beb941284b49a9667ee7abe1e)</li> <li>Added ColorGrid classes for color harmonization demo. (fcc10914f2b87c0e5f28761e8316bba2d9d1a318)</li> <li>Add kyocera to dynamic colors allowlist and reorganized based on alphabetical order. (1dad5f65d4c54952a3a63efa4b9fd81b9c46d4a2)</li> <li>Fix HarmonizedColorsOptions.Builder#setColorAttributes is marked as nullable (44054aaf3ab11d815e4086b37575e829e0b626db)</li> <li>Added support for color resources harmonization in XML (869d9430677e66f9007bee65960dc0539627fd4a)</li> <li>Refactor DynamicColors overloading methods and added DynamicColorsOptions class to support color harmonization. (bdbf052aaf1e824f221057ca3c3acae80d1a521d)</li> <li>Update DynamicColors to use peekDecorView() instead of getDecorView() when applying dynamic color theme overlay (56ed07008ba0bff682e99c5d91126596fe9e6ddf)</li> <li>Update DynamicColors util to applyStyle() on window decorView theme as well to fix potential ContextMenu issue (f6c8fa5aefc84a1543eca3056a538120de0b4297)</li> <li>Update DynamicColors util to use activity.getTheme().applyStyle() instead of activity.setTheme() to workaround Force Dark issue (b84f35f1211028e7c456ce1ca91685a938f0ffcc)</li> <li>Avoid Short#compare usage in ColorResourcesTableCreator.java since it requires API level 19 (48741b4e16236ee8ac9dc0052204e6a7be32c0f4)</li> <li>Add Resource Table format for XML color Harmonization. (822a5b2cb2dedf133618d981140edf30db0058ef)</li> </ul> </li> <li><code>Dialog</code> <ul> <li>Fixed crashes when colorControlHighlight is a CSL (1c5c054b70a55c2567cdfee460d3876158b2945a)</li> <li>Added date and time picker themes to M3 dialog themes (8342f9025eefe64ca24312467d021a522e833769)</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/material-components/material-components-android/commit/1dbd3dd2e988462711718010dd80241b0779739b"><code>1dbd3dd</code></a> [M3][Color] Updated color harmonization demo</li> <li><a href="https://github.com/material-components/material-components-android/commit/b402cb3c032ea10beb941284b49a9667ee7abe1e"><code>b402cb3</code></a> [M3][Color] Fix resources being re-harmonized when wrapContextIfAvailable() i...</li> <li><a href="https://github.com/material-components/material-components-android/commit/fcc10914f2b87c0e5f28761e8316bba2d9d1a318"><code>fcc1091</code></a> [M3][Color] Added ColorGrid classes for color harmonization demo.</li> <li><a href="https://github.com/material-components/material-components-android/commit/207cb53617f7014c55443ecb05a5f16e6c5646d8"><code>207cb53</code></a> [M3][Color] Refactored MaterialColorSpec to take <a href="https://github.com/ColorRes"><code>@​ColorRes</code></a> or <a href="https://github.com/ColorInt"><code>@​ColorInt</code></a> for t...</li> <li><a href="https://github.com/material-components/material-components-android/commit/1dad5f65d4c54952a3a63efa4b9fd81b9c46d4a2"><code>1dad5f6</code></a> [M3][Color] Add kyocera to dynamic colors allowlist and reorganized based on ...</li> <li><a href="https://github.com/material-components/material-components-android/commit/2bfc7bae0778c8fa20308d2bf434ca1f5cc38cce"><code>2bfc7ba</code></a> [SnackBar] Fix margins are added multiple times when show() is called</li> <li><a href="https://github.com/material-components/material-components-android/commit/d6cd0e6910c07536ee8b08c1399e2eb4f41f02da"><code>d6cd0e6</code></a> Update library version to 1.6.0</li> <li><a href="https://github.com/material-components/material-components-android/commit/a8256c23a61ac508ca8834e77c2175c28ec645b4"><code>a8256c2</code></a> [Gradle] Changed gradle so that tests run in parallel, preventing OutOfMemory...</li> <li><a href="https://github.com/material-components/material-components-android/commit/9be224b51af4836851692b7b5bcfd51b88d070a1"><code>9be224b</code></a> [Gradle] Make sure targetSdkVersion is applied to all Gradle sub projects</li> <li><a href="https://github.com/material-components/material-components-android/commit/aeed98758a848765abbf6c1a22f1842c6aa5a26e"><code>aeed987</code></a> [Tests] Update Robolectric to 4.7.3</li> <li>Additional commits viewable in <a href="https://github.com/material-components/material-components-android/compare/1.5.0...1.6.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.android.material:material&package-manager=gradle&previous-version=1.5.0&new-version=1.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Amab (Migrated from github.com) approved these changes 2022-05-05 16:50:56 +02:00
Sign in to join this conversation.
No description provided.