Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Update com.google.android.material #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 31, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.android.material:material 1.6.0 -> 1.7.0 age adoption passing confidence
com.google.android.material:compose-theme-adapter 1.1.10 -> 1.2.1 age adoption passing confidence

Release Notes

material-components/material-components-android

v1.7.0

Compare Source

What's new since 1.6.1

  • All new Switch component with a new look! Check out the updated documentation for details.
  • New Shape system that is now being used by all components. Learn about the shape system and see how its used in the Material3 theme and components by checking out the updated documentation
  • Checkbox has been redesigned and now supports indeterminate and error states! Check out the updated documentation.
  • BottomAppBar has been redesigned! Check out the updated documentation
  • New Icon Button support has been added including outlined, tonal, and filled variants!
New minimum requirements for your app's project:

Dependency Updates

Dependency Previous version New version
androidx.appcompat 1.5.0-beta01 1.5.0
androidx.core 1.5.0 1.6.0
androidx.test 1.1.0 1.4.0
Android Gradle Plugin (AGP) 4.0.0 7.2.0
Gradle 6.1.1 7.3.3
Java Version 1.7 (7) 1.8 (8)

Other highlights

  • MaterialButton
    • Added methods to not toggle checked state on buttons on click (a601107)
    • Updated M3 button style to add outlined icon button style (467a2c9)
    • Updated M3 button style to add filled tonal icon button style (14578ed)
    • Updated M3 button style to add filled icon button style (25606cf)
    • Fix icon textStart/End alignment with multiline text (b6b895a)
    • Fix icon position with multiline text (19d0500)
  • Documentation
    • Updated typography guidelines to M3 (104a342)
    • Added an example to demonstrate how to make bottom sheet dialog in edge-to-edge mode (57a3c98)
    • Updated Snackbar doc regarding CoordinatorLayout (ef2c2fa)
    • Add status bar / edge-to-edge section to Top App Bar doc (b8e1f97)
  • TopAppBar
    • Fixed bug in HeaderScrollingViewBehavior that causes child translation Y not to be reset to default if the behavior is changed from an overlapping to non-overlapping behavior in layoutParams.setBehavior (00c62d2)
    • Excluded views that are GONE from scroll range calculation (687e735)
    • Fixed collapsing title issue with different fonts (0c341c4)
    • Added setLiftOnScrollTargetView() method (d6c4354)
  • A11y
    • Made multi-selection Chips announce as Buttons (d4c2c95)
    • Made drawer announce its number of items (b1f7d5b)
  • TextInputLayout
    • Added a new custom length counter field and getters/setters to switch how text length is calculated for the counter. (4ded01e)
    • Fixed hint is not displayed when expanding space is limited (73cb1b6)
    • Fixed icon ripples shown behind the edit text (2c0e42f)
    • Updated shapes to use M3 attrs/styles. (0e4e44e)
  • Color
    • Fixed HarmonizedColorsOptions.Builder#setColorAttributes is marked as nullable (824a12b)
  • Transitions / Motion
    • Updated container transform to use new motion system. (f2f454b)
    • Opened MotionUtils and update resolveThemeInterpolator to load both new and legacy easing attributes. (894edb6)
  • Chip
    • Migrated M3 chip styles to new shape system. (3fc53ac)
    • Fixed chip layout not updating when programmatically setting text size (788866e)
  • Snackbar
    • Added shape theming support and update M3 style to use new shapeAppearanceCornerExtraSmall (a717813)
    • Made dismiss direction the same as swipe direction (5b9f27a)
  • TimePicker
    • Properly align text vertically in MaterialTimePicker on S+. (703249d)
    • Migrated to new shape system (f302da7)
    • Fixed restoring hour/minute selection when switch to text mode (72abed0)
  • BottomSheet
    • Disable drag handle when restricting expansion (d4da5b1)
    • Handle half-expanded state when drag handle clicked (f0e6625)
    • Created a drag handle view which support accessibility control (ac7b761)
    • Exposed bottom sheet hide friction with get/set methods. (be1b38c)
    • Migrated to to new shape system. (921868d)
  • Divider
    • Fixed lastItemDecorated not being applied to horizontal orientation (92caa19)
    • Fixed extra space when lastItemDecorated = false (714521b)
  • Slider
    • Fixed label visibility when slider is hidden (ed11e69)
    • Updated tooltip shape style to use M3 shape system. (75af80c)
  • MaterialCardView
    • Migrated shape appearance to new shape system. (bfce84a)
  • CollapsingToolbarLayout
    • Added experimental API to allow generic customizations of the StaticLayout.Builder used for the title text (241aa5c)
    • Added ability to set ellipsis on title in CollapsingToolBar (7b043c3)
  • NavigationRail
    • Updated active indicator to use new shape system. (f700e6d)
  • ProgressIndicator
    • Fixed indeterminate progress indicator not working on API 22 (61cbb8c)
  • BottomNavigationView
    • Updated item ripple to be contained within active indicator shape when enabled. (11578b3)
    • Updated active indicator to use new motion system. (1995438)
    • Updated active indicator to new shape system. (9a16aa4)
  • ExposedDropdownMenu
    • Added support for default/ripple background colors for the selected item of the exposed dropdown menu when the default MaterialAutoCompleteArrayAdapter is being used. (6206ff5)
  • Switch
    • Update dev doc with the new switch design (f469720)
    • Added thumb icon tint to the new switch styles (2f33cfc)
    • Added associated text styles (06bba00)
    • Added material switch style to M3 themes (1e08c68)
    • Created an icon style for the new switch design (a3ca744)
    • Support tinting thumb & track according to thumb position (3b257c0)
  • MaterialDatePicker
    • Migrated to new shape system (91a2550)
    • Hide the keyboard when switching to calendar mode (5d6678c)
  • FloatingActionButton
    • Migrated "regular/default" sized styles to new shape system. (25482b1)
    • Migrated "Large" styles to use new shape system. (30bb583)
    • Migrated "Small" styles with new shape system. (acc7569)
    • Updated FAB to use new motion attributes. (934985e)
  • BottomAppBar
    • Changed default Material3 theme to follow use BottomAppBar M3 specs (53b3001)
    • Added an attribute to remove embedded FAB elevation (f2423de)
    • Added fab end margin attribute (88a73eb)
    • Added menu alignment attribute (397e48f)
    • Generated resources from tokens. (4188995)
    • Added new anchor mode attribute for FAB for an embedded option (cab45dd)
  • ExtendedFloatingActionButton
    • Updated show and hide motion specs to use motion tokens. (5c0003c)
  • Checkbox
    • Added indeterminate state support to the checkbox. (4da7ce1)
    • Updated checkbox to M3 look. (1666fbc)
    • Added support for error state. (8dd9c7e)
  • Tabs
    • Fixed indicator not updating when a tab to the start/left of the selected tab is removed. (2fc2e6a)
  • NavigationView
    • Update foreground boundaries of menu items when setting a new foreground (4dc3d93)
  • ShapeableImageView
    • Updated to not layer type when view is detached from the window (74b7706)

Full list of changes

Full list of release notes

v1.6.1

Compare Source

Dependency Updates

  • No dependency updates

Library Updates

  • TopAppBar
    • Add null check for logo ConstantState check (299c8e1)
    • Loosen check for scrollable child when adding a11y actions (dff14ca)
    • Fix scrolling for a11y (a5a738b)
  • Color
    • Fix Resources Loader bug for color harmonization (bef8ca1)
    • Provide better logging for ColorResourcesTableCreator (b33cf80)
  • Chip
    • Fix ChipGroup.getCheckedChipIds() returns wrong state (0356d7c)
  • TextInputLayout
    • Fix for TextInputLayout leak via AccessibilityManager. (#​2718) (948d5da)
  • Other
    • Update library version to 1.6.1 (248d4c8)

Full list of changes


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/com.google.android.material branch from 9d72972 to a53a34b Compare June 1, 2022 17:32
@renovate renovate bot changed the title Update dependency com.google.android.material:material to v1.6.1 Update com.google.android.material Jun 6, 2022
@renovate renovate bot force-pushed the renovate/com.google.android.material branch from a53a34b to 0fe3654 Compare June 6, 2022 18:03
@renovate renovate bot force-pushed the renovate/com.google.android.material branch 4 times, most recently from 86777c0 to 6af75de Compare June 22, 2022 17:00
@renovate renovate bot force-pushed the renovate/com.google.android.material branch 2 times, most recently from dba4e81 to 61e44c6 Compare June 30, 2022 16:12
@renovate renovate bot force-pushed the renovate/com.google.android.material branch from 61e44c6 to 2d64db1 Compare July 12, 2022 15:41
@renovate renovate bot force-pushed the renovate/com.google.android.material branch from 2d64db1 to 184fc86 Compare July 28, 2022 17:06
@renovate renovate bot changed the title Update com.google.android.material Update com.google.android.material to v1.6.1 Aug 9, 2022
@renovate renovate bot changed the title Update com.google.android.material to v1.6.1 Update com.google.android.material Aug 10, 2022
@renovate renovate bot force-pushed the renovate/com.google.android.material branch from 184fc86 to 1688ed6 Compare August 11, 2022 18:53
@renovate renovate bot force-pushed the renovate/com.google.android.material branch from 1688ed6 to 2dfdca4 Compare August 26, 2022 12:10
@renovate renovate bot force-pushed the renovate/com.google.android.material branch 3 times, most recently from 86dcbb5 to 24f696b Compare September 8, 2022 14:36
@renovate renovate bot force-pushed the renovate/com.google.android.material branch from 24f696b to 872a179 Compare September 22, 2022 13:46
@renovate renovate bot force-pushed the renovate/com.google.android.material branch from 872a179 to 9f64279 Compare October 6, 2022 14:47
@renovate renovate bot force-pushed the renovate/com.google.android.material branch 2 times, most recently from 39f078d to 397e51e Compare October 24, 2022 15:57
@renovate renovate bot force-pushed the renovate/com.google.android.material branch from 397e51e to 7118815 Compare November 20, 2022 20:27
@renovate renovate bot force-pushed the renovate/com.google.android.material branch from 7118815 to 49f7a5c Compare January 20, 2023 08:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants