Skip to content

Commit

Permalink
Bump com.google.android.material:material from 1.10.0 to 1.11.0 (#176)
Browse files Browse the repository at this point in the history
Bumps
[com.google.android.material:material](https://github.com/material-components/material-components-android)
from 1.10.0 to 1.11.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/material-components/material-components-android/releases">com.google.android.material:material's
releases</a>.</em></p>
<blockquote>
<h2>1.11.0</h2>
<h1>Important</h1>
<p>Elevation Overlays within default component styles have been replaced
by the new <a
href="https://material.io/blog/tone-based-surface-color-m3">Tonal
Surface Color system</a>. Instead of blending the Primary color with the
Surface color based on an elevation value, components now use a specific
Surface color role that can be more easily understood and
customized.</p>
<p>Documentation for the affected components and which Surface color
roles they use has been updated in <a
href="https://github.com/material-components/material-components-android/commit/2114a11378fd801b32cd7431bb8a2c94de4f462c">https://github.com/material-components/material-components-android/commit/2114a11378fd801b32cd7431bb8a2c94de4f462c</a>.</p>
<h1>What's new since 1.10.0</h1>
<ul>
<li>New <a
href="https://material.io/blog/tone-based-surface-color-m3">Tonal
Surface Color system</a>! Check out the <a
href="https://material.io/blog/tone-based-surface-color-m3">design
guidance</a> and the <a
href="https://github.com/material-components/material-components-android/commit/2114a11378fd801b32cd7431bb8a2c94de4f462c">commit
with documentation updates</a> for more details.</li>
<li>New Carousel variants! 1.11.0 introduces three new Carousel
variants: center-aligned hero, uncontained, and fullscreen. Check out
the <a
href="https://github.com/material-components/material-components-android/blob/master/docs/components/Carousel.md">Carousel
documentation</a> for more details.</li>
</ul>
<h2>Dependency Updates</h2>
<p>None.</p>
<p><em>Note: Earlier versions of 1.11.0 used other versions of the
<code>androidx.activity</code> 1.8.0 library dependency, but there is no
change in the dependency from 1.10.0, the last stable MDC library
version.</em></p>
<h2>Library Updates</h2>
<ul>
<li><code>Badging</code>
<ul>
<li>Adjusted badge vertical offset for certain components to fit design
requirements (78cc54b8c39da437732ff3d7c96de8f345e09348)</li>
<li>Added note in attachBadgeDrawable method docs about menu item views
being re-used when there is a structural change in the menu. Since
badges are attached to the views, this may change the menu item that the
badge is intended for (5e6ea582801ebfe2af8457261581a2ad43c8051a)</li>
</ul>
</li>
<li><code>BottomNavigationView</code>
<ul>
<li>Set badges to be null instead of removing them from the sparse array
so that removing badges before restoring badge states will not override
the current state (9f2e6864d2170d633709e7aa66b9e8e178352ef0)</li>
</ul>
</li>
<li><code>BottomSheet</code>
<ul>
<li>Fix sheet corners animation
(de271320e4ba046c73e35e18f687ee4637f3a6ac)</li>
</ul>
</li>
<li><code>Carousel</code>
<ul>
<li>Ensure that extra small size is not larger than the large size
(17baf71972016cf4608d9c83b902bb2debee585b)</li>
<li>Fixed crash when recyclerview has a size of zero.
(26c31292012868d7e9889f6ecee7559c61caa5b2)</li>
<li>When navigating with keyboard, scroll focused item to nearest focal
keyline, not the first focal keyline
(fb9c1c6edfbdbe4791043a128c03a7fad5fd99f0)</li>
<li>Force hero strategy to be start-aligned if there are not enough
items to make it center-aligned
(9a2347bda5312dd6dc3ab7818a6f71297dcf018b)</li>
<li>Add logic for multibrowse strategy to change strategy when number of
items is less than the number of keylines
(cbb380df61f8eb66273043b437582c8058df7088)</li>
<li>Fixed focus order when using keyboard navigation for hero carousels.
(0356f24a63b5c47ee23cbf5c0fca4d817e4d6acd)</li>
<li>Cleaning up multi-browse strategy and removing compact arrangement
(ed4647d5dfa42876063521546de2dbcf71914e01)</li>
<li>Disallowing center aligned hero strategy with only 2 items since it
does not make any sense. With only 2 items there can only be a start
state and end state with the hero strategy.
(d5d604d0ccfd73b4345dbea8fd3f833410fd2958)</li>
<li>Fix issue with uncontained carousel not having a proper end scroll
value due to assumption made in end scroll calculation
(8cb444b26856fdb8b0c894eccbf90133efc2a2b6)</li>
<li>Added tests for hero and multibrowse strategies when the carousel
container is very small. (8312162f533d1c9fc9e9b15ceca58e3d1d4b61b5)</li>
<li>Update scroll offset to scroll to the estimated position that it was
at upon an initial load (4a6ae4d0b6969311b41b3878e3c0e7f7a0824a72)</li>
<li>Fixed strategies crashing when there is not enough available space
for a large and a small item
(c418063205d74233a6235d7f7fd39be7deeb4bc7)</li>
<li>Tweak uncontained strategy logic to adjust medium size items to
improve motion (93660d424139642320c85a098f0fb728126d4838)</li>
<li>Fixed formatted for KeylineState and KeylineStateList
(b80d9a5ef4d93567554d5aac85c4070b4577d9fc)</li>
<li>Fixed keyline shifting in RTL for uncontained carousels
(71517147110227e8032f5b064d6b59c5e3f117de)</li>
<li>Reduce the number of truncations in intermediate calculations
(4ce7e4c8fa84ce05a6c34591855dd1207e44e42b)</li>
<li>Update vertical scroll speed to be faster
(c6ea2d404023ca1a92cb95eb3f177579df1c2d28)</li>
<li>Fix some a11y bugs in Carousel
(3d84841caddd6e0127e67721844a3900225ab3a9)</li>
<li>Center aligned uncontained carousel
(b6f6eb555a0477322aa1ab4115f90d74d25a2266)</li>
<li>Add left-aligned uncontained strategy
(9d81cac125144576501ca19dafa835625e5cf5c7)</li>
<li>Fix orientation not correct in item decoration calculations
(966f7daec9d02092aadc63324212be9ae6dc8f2a)</li>
<li>Update mask size on size change if mask x percentage has been set
(dc91b39d7c9af5a531a4f2f761297c6e44b8f08c)</li>
<li>Fix issue with next carousel item not being masked properly
(a16f180ce7da65107305ba3a8c85db3e149767c1)</li>
<li>Add a layout listener to recyclerview to refresh keyline state upon
size change (ff528621b3b550979c64f41aaec47438de30f061)</li>
<li>Remove default list from Carousel catalog demos as it is not an
example of a carousel (0171624c16c799ca4e2dbe01e647a706fe7b895e)</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/967e682326825b7135557ec36cd2757f05d41731"><code>967e682</code></a>
[Release] Updated library version to 1.11.0.</li>
<li><a
href="https://github.com/material-components/material-components-android/commit/8bf55e7cb249d1274040caf697bfd4714af5a282"><code>8bf55e7</code></a>
[Release] Update library version to 1.11.0-rc01</li>
<li><a
href="https://github.com/material-components/material-components-android/commit/4b669c12890856aaf8e8cc92a465282c513f3e10"><code>4b669c1</code></a>
[Release] Bump MDC library version to 1.11.0-beta01</li>
<li><a
href="https://github.com/material-components/material-components-android/commit/541df074a7c9a08dbde19e32778e7f05624355af"><code>541df07</code></a>
[Color] Delete unused contrast resources</li>
<li><a
href="https://github.com/material-components/material-components-android/commit/ad63d3ff7e2e0fa6a6c23a9c4f50a2f40fc723f1"><code>ad63d3f</code></a>
[M3][Color] Introduce U color tokens</li>
<li><a
href="https://github.com/material-components/material-components-android/commit/2590c42764fc2178114bcd53c339b5368ba2c5d3"><code>2590c42</code></a>
[TextInputLayout] Fix editText paddings on pre-Lollipop</li>
<li><a
href="https://github.com/material-components/material-components-android/commit/17baf71972016cf4608d9c83b902bb2debee585b"><code>17baf71</code></a>
[Carousel] Ensure that extra small size is not larger than the large
size</li>
<li><a
href="https://github.com/material-components/material-components-android/commit/ad2b5f8f8bba4d7ad44c26ba26d1036e2fd81144"><code>ad2b5f8</code></a>
[Docs][Predictive Back] Add note to clarify that automatic back handling
in c...</li>
<li><a
href="https://github.com/material-components/material-components-android/commit/2c539524ec62713028e9521ca7b80c38c6aabf9c"><code>2c53952</code></a>
[Catalog][BottomSheet] Use BottomSheetDialogFragment</li>
<li><a
href="https://github.com/material-components/material-components-android/commit/26c31292012868d7e9889f6ecee7559c61caa5b2"><code>26c3129</code></a>
[Carousel] Fixed crash when recyclerview has a size of zero.</li>
<li>Additional commits viewable in <a
href="https://github.com/material-components/material-components-android/compare/1.10.0...1.11.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.10.0&new-version=1.11.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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Dec 22, 2023
1 parent fb19b6b commit 75d730d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spotless = "6.23.3"

[libraries]
android = { module = "com.google.android:android", version.ref = "android" }
android-material = { module = "com.google.android.material:material", version = "1.10.0" }
android-material = { module = "com.google.android.material:material", version = "1.11.0" }
android-multidex = { module = "com.android.support:multidex", version = "1.0.3" }
android-plugin = { module = "com.android.tools.build:gradle", version = "8.2.0" }
androidx-annotations = { module = "androidx.annotation:annotation", version = "1.7.1" }
Expand Down

0 comments on commit 75d730d

Please sign in to comment.