Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency com.google.android.material:material to v1.7.0 #195

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

juul-mobile-bot
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
com.google.android.material:material dependencies minor 1.6.1 -> 1.7.0

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the logs for more information.


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


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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

@github-actions
Copy link

Test Results

14 files  14 suites   13s ⏱️
45 tests 45 ✔️ 0 💤 0
90 runs  90 ✔️ 0 💤 0

Results for commit 315543c.

@codecov
Copy link

codecov bot commented Oct 21, 2022

Codecov Report

Merging #195 (315543c) into main (8c86321) will increase coverage by 9.44%.
The diff coverage is 72.44%.

@@             Coverage Diff              @@
##               main     #195      +/-   ##
============================================
+ Coverage     70.47%   79.91%   +9.44%     
- Complexity       67       90      +23     
============================================
  Files            31       25       -6     
  Lines           918     1240     +322     
  Branches         83      124      +41     
============================================
+ Hits            647      991     +344     
+ Misses          236      190      -46     
- Partials         35       59      +24     
Impacted Files Coverage Δ
color/src/commonMain/kotlin/NextColor.kt 75.00% <ø> (ø)
kanvas/src/commonMain/kotlin/svg/PathString.kt 0.00% <0.00%> (-43.59%) ⬇️
shape/src/commonMain/kotlin/curve/Linear.kt 0.00% <0.00%> (ø)
kanvas/src/commonMain/kotlin/Ellipse.kt 81.25% <25.00%> (-4.47%) ⬇️
kanvas/src/commonMain/kotlin/Clip.kt 66.66% <40.00%> (+6.66%) ⬆️
...vas/src/commonMain/kotlin/svg/PathStringBuilder.kt 56.00% <56.00%> (ø)
kanvas/src/commonMain/kotlin/SegmentedPath.kt 58.76% <58.76%> (ø)
color/src/commonMain/kotlin/Color.kt 89.47% <83.33%> (+1.23%) ⬆️
kanvas/src/commonMain/kotlin/svg/StringToPath.kt 83.53% <83.53%> (ø)
kanvas/src/commonMain/kotlin/svg/SvgKanvas.kt 60.13% <85.71%> (+9.19%) ⬆️
... and 20 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@cedrickcooke cedrickcooke enabled auto-merge (squash) October 21, 2022 17:06
@cedrickcooke cedrickcooke merged commit 4386867 into main Oct 21, 2022
@juul-mobile-bot juul-mobile-bot deleted the renovate/com.google.android.material branch October 28, 2022 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants