KunMinX / Jetpack-MVVM-Best-Practice

难得一见 Jetpack MVVM 最佳实践!在 "以简驭繁" 代码中,对 "视图控制器" 乃至 "标准化开发模式" 形成正确、深入理解!
8.87k stars 1.63k forks source link

Bump com.google.android.material:material from 1.9.0 to 1.11.0 #238

Open dependabot[bot] opened 11 months ago

dependabot[bot] commented 11 months ago

Bumps com.google.android.material:material from 1.9.0 to 1.11.0.

Release notes

Sourced from com.google.android.material:material's releases.

1.11.0

Important

Elevation Overlays within default component styles have been replaced by the new Tonal Surface Color system. 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.

Documentation for the affected components and which Surface color roles they use has been updated in https://github.com/material-components/material-components-android/commit/2114a11378fd801b32cd7431bb8a2c94de4f462c.

What's new since 1.10.0

Dependency Updates

None.

Note: Earlier versions of 1.11.0 used other versions of the androidx.activity 1.8.0 library dependency, but there is no change in the dependency from 1.10.0, the last stable MDC library version.

Library Updates

  • Badging
    • Adjusted badge vertical offset for certain components to fit design requirements (78cc54b8c39da437732ff3d7c96de8f345e09348)
    • 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)
  • BottomNavigationView
    • 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)
  • BottomSheet
    • Fix sheet corners animation (de271320e4ba046c73e35e18f687ee4637f3a6ac)
  • Carousel
    • Ensure that extra small size is not larger than the large size (17baf71972016cf4608d9c83b902bb2debee585b)
    • Fixed crash when recyclerview has a size of zero. (26c31292012868d7e9889f6ecee7559c61caa5b2)
    • When navigating with keyboard, scroll focused item to nearest focal keyline, not the first focal keyline (fb9c1c6edfbdbe4791043a128c03a7fad5fd99f0)
    • Force hero strategy to be start-aligned if there are not enough items to make it center-aligned (9a2347bda5312dd6dc3ab7818a6f71297dcf018b)
    • Add logic for multibrowse strategy to change strategy when number of items is less than the number of keylines (cbb380df61f8eb66273043b437582c8058df7088)
    • Fixed focus order when using keyboard navigation for hero carousels. (0356f24a63b5c47ee23cbf5c0fca4d817e4d6acd)
    • Cleaning up multi-browse strategy and removing compact arrangement (ed4647d5dfa42876063521546de2dbcf71914e01)
    • 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)
    • Fix issue with uncontained carousel not having a proper end scroll value due to assumption made in end scroll calculation (8cb444b26856fdb8b0c894eccbf90133efc2a2b6)
    • Added tests for hero and multibrowse strategies when the carousel container is very small. (8312162f533d1c9fc9e9b15ceca58e3d1d4b61b5)
    • Update scroll offset to scroll to the estimated position that it was at upon an initial load (4a6ae4d0b6969311b41b3878e3c0e7f7a0824a72)
    • Fixed strategies crashing when there is not enough available space for a large and a small item (c418063205d74233a6235d7f7fd39be7deeb4bc7)
    • Tweak uncontained strategy logic to adjust medium size items to improve motion (93660d424139642320c85a098f0fb728126d4838)
    • Fixed formatted for KeylineState and KeylineStateList (b80d9a5ef4d93567554d5aac85c4070b4577d9fc)
    • Fixed keyline shifting in RTL for uncontained carousels (71517147110227e8032f5b064d6b59c5e3f117de)
    • Reduce the number of truncations in intermediate calculations (4ce7e4c8fa84ce05a6c34591855dd1207e44e42b)
    • Update vertical scroll speed to be faster (c6ea2d404023ca1a92cb95eb3f177579df1c2d28)
    • Fix some a11y bugs in Carousel (3d84841caddd6e0127e67721844a3900225ab3a9)
    • Center aligned uncontained carousel (b6f6eb555a0477322aa1ab4115f90d74d25a2266)
    • Add left-aligned uncontained strategy (9d81cac125144576501ca19dafa835625e5cf5c7)
    • Fix orientation not correct in item decoration calculations (966f7daec9d02092aadc63324212be9ae6dc8f2a)
    • Update mask size on size change if mask x percentage has been set (dc91b39d7c9af5a531a4f2f761297c6e44b8f08c)
    • Fix issue with next carousel item not being masked properly (a16f180ce7da65107305ba3a8c85db3e149767c1)
    • Add a layout listener to recyclerview to refresh keyline state upon size change (ff528621b3b550979c64f41aaec47438de30f061)
    • Remove default list from Carousel catalog demos as it is not an example of a carousel (0171624c16c799ca4e2dbe01e647a706fe7b895e)

... (truncated)

Commits
  • 967e682 [Release] Updated library version to 1.11.0.
  • 8bf55e7 [Release] Update library version to 1.11.0-rc01
  • 4b669c1 [Release] Bump MDC library version to 1.11.0-beta01
  • 541df07 [Color] Delete unused contrast resources
  • ad63d3f [M3][Color] Introduce U color tokens
  • 2590c42 [TextInputLayout] Fix editText paddings on pre-Lollipop
  • 17baf71 [Carousel] Ensure that extra small size is not larger than the large size
  • ad2b5f8 [Docs][Predictive Back] Add note to clarify that automatic back handling in c...
  • 2c53952 [Catalog][BottomSheet] Use BottomSheetDialogFragment
  • 26c3129 [Carousel] Fixed crash when recyclerview has a size of zero.
  • 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 show 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)