Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 25, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.android.material:material 1.7.0 -> 1.8.0 age adoption passing confidence

⚠ Dependency Lookup Warnings ⚠

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


Release Notes

material-components/material-components-android

v1.8.0

Compare Source

What's new since 1.7.0

  • Brand new Side Sheet component with standard, modal and coplanar variants! Check out the Side Sheet design guidance and developer documentation for more details.
  • Brand new Search component! Check out the Search design guidance and developer documentation for more details.
  • Integrated tokens for Bottom Sheet, Checkbox, Chip, Dialog, Divider, MaterialButton, NavigationRail, ProgressIndicator, Slider, Switch, Tabs, and TextInputLayout.

Dependency Updates

Dependency Previous version New version
ext.kotlinVersion 1.3.50 -
errorproneVersion - 2.15.0
compileSdkVersion 32 33
targetSdkVersion 32 33

Library Updates

  • A11y
    • Improve date input validation feedback follow up (1200e25)
    • Improve date input validation feedback (f394903)
    • Improve TalkBack focus order when selecting a day (dff70c0)
    • Improve date selection announcements (5c5b1e8)
    • Announce start/end dates (2f9844b)
    • Announce current year and day (c6539f2)
    • Fix TalkBack announcements when switching between year/day selection views (62b2b19)
    • Announce selection (be8b8d4)
    • Improve focus handling (ceacaa6)
    • Request focus on search menu when showing (968e035)
    • Fix focus when changing input mode (eca825f)
    • Update hour content description for 24h clock (ee19b01)
    • Make Clock text scale with system font size (e9fc0a0)
  • Badging
  • BottomAppBar
    • Request layout for FAB when BAB changes so that FAB will always be aware of BAB changes (10fe695)
    • Add attribute to remove shadow on container (1322e61)
    • Added the handle to the bottom sheet. (4c11606)
    • Update motion specs for show/hide bar (fdd8dae)
    • Updating catalog to remove M2 options (8bec167)
    • Small bugs and padding adjustments (63f98bf)
  • BottomNavigationView
    • Remove elevation shadows (e393748)
    • Updated active text label to use a bold typeface. (11e98f2)
    • Fix hardcoded number of children (a2ce1dd)
  • BottomSheet
    • Update motion attributes for bottom sheet dialog animation (1cdb371)
    • Token integration (e474cf4)
    • Update elevation to match specs (617e582)
    • Sync custom actions with drag handle views (0804031)
    • Only remove round corners in M3 styles when it's fullscreen (6631abb)
    • Add shouldRemoveExpandedCorners attribute (6e6c53a)
    • Add method to calculate slide offset (2958d8d)
    • Add attribute for significant velocity threshold (d845db8)
    • Corrected guidance to use modal bottom sheet default style theme attribute for standard bottom sheets and added a callout explaining that there is no default style theme attribute for standard bottom sheets. (4865639)
    • Disable drag handle when restricting expansion (c9e855e)
  • Catalog
    • Fix incorrect time stamps (305e19d)
    • Updated search demo to change search bar hint (fafee33)
    • Updated Catalog demo to change search bar/view demo title. (df85be2)
    • Applied edge-to-edge to preferences bottom sheet (c440d86)
    • Add themed icon (45a569f)
    • Add input mode selector (09f1ee5)
    • Fix navigation bar overlaps ui #​2927 (5c2eb45)
    • Replace android.support dependencies with androidx (3d32f73)
    • Update date picker demo text appearances to M3 (c19efa0)
    • Updated button demo to provide the correct content description for icon only buttons. (2697e0f)
    • Added search/filter functionality to MDC Catalog. (549fe19)
    • Fix the favorite icon vertical alignment on demo landing rows (745acfd)
    • Update Catalog preferences demo to use MaterialSwitch (229eb9d)
    • Fix favorite row button alignment in lower apis. (849be73)
    • Updated catalog preferences for shape corner sizes. (3daa028)
  • Checkbox
    • Update unselected outline color to ?attr/colorOnSurfaceVariant to match tokens. (5d261f5)
    • Integrated tokens (e67e68d)
    • Fixed NPE crash due to layer drawable's constant state issue in APIs < 23. (b8e1b57)
    • Fix a11y announcement for indeterminate state. (6f474b3)
    • Fixed pre 21 issue where the icon did not update its color according to its state properly (ccf67f7)
    • Added indeterminate state support to the checkbox. (8f149b1)
    • Fixed icon color not updating correctly in light mode in pre 21. (a4d6f51)
    • Fix pre-21 issue where a child of the layer drawable (the button and/or the icon drawables) may not have its constant state set up properly. (079371f)
    • Fixed issue where AppCompatCheckBox would not display its drawable when a Material theme was being used. (9ca8a80)
  • Chip
    • Integrate Chip component tokens to Chip styles in M3. (cb65cc6)
  • CollapsingToolbarLayout
    • Exposing methods to set text size for collapsed and expanded text size (29bed9a)
  • Color
    • Updated Builder class for content color (2351fd9)
    • Implement content color with resources loader (4619f31)
    • Added content color api (8ca326a)
    • Added the rest of the library for content color support. (8510596)
    • Updated material color utilities library implementation. (f0e5bda)
    • Refactored material color utilities library into its own directory. (9897bc2)
    • Add additional condition to check dynamic color supported devices (17ac05d)
  • Dialog
    • Updated enter/exit animation to use fade pattern and motion tokens. (8d8a0d1)
  • Divider
    • Change shouldDrawDivider from private to protected to allow for more user flexibility. (b08257b)
    • Integrated M3 tokens and updated color. (2f6ebb4)
    • Fixed logic of determining whether to draw divider in MaterialDividerItemDecoration. (6f547d4)
  • Documentation
    • Added warning about known issue in slider where label doesn't scroll along with the screen. (ca54c65)
    • Add android dev doc and source link to the Material dev doc (00c9ce5)
    • Update docs to remove links to Kotlin docs and remove Kotlin from dependency (bde2092)
    • Update text field doc to include information about android:textColorHighlight (ae788ac)
    • Changing the name for the AGP compatibility variable so that the IDE points to the right documentation. (2527cc2)
    • Update typography guideline to M3. (bc1ec5a)
  • ExposedDropdownMenu
    • Dismiss modal popup in dismissDropDown (644d141)
    • Fix MaterialAutoCompleteTextView.setDropDownBackgroundDrawable(Drawable). (db115f0)
    • Fixed missing icon activated color. (9147704)
  • ExtendedFloatingActionButton
    • Add a extendToWrapContent attribute that can disable the current eFAB behavior of extending to wrap content (thus allowing extend to return to its original width before shrinking) (d5b41c1)
    • Update extend/shrink motion spec (9db041c)
  • MaterialButton
    • Integrate M3 Tokens. (b9e8fb8)
    • Use Layout to measure text width. (3b333ee)
    • Added support for toggleable Icon buttons. (8a4af07)
  • MaterialButtonToggleGroup
    • handle setEnable childs (e8bfad5)
    • Added the default Material3 toggleGroupStyle (b6c6600)
  • MaterialCardView
    • Update motion specs for Z-shadow (3975a2e)
    • Add fade animation for checked icon drawable (7d129ea)
  • MaterialDatePicker
    • Fix headerTitle text size (147463f)
    • Update text appearances (ffbf835)
    • Update elevation to match specs (b813b2b)
    • Improve inputs validation (4046525)
    • Exposed method to set a custom formatter for text input fields. (276c117)
    • Enable auto-sizing of the date selection text (32f1118)
    • Update string translation for datepicker. (8dcdd26)
    • Add method to specify a content description to decorated views (7bc5689)
    • Make new public getter methods for start/end/openAt values with long return types for CalendarConstraints (6643695)
    • Update doc to include DayViewDecorator. (aff6a94)
    • Expose CalendarConstraints start and end getter methods (95ab979)
    • Add initialize() method to DayViewDecorator to better support configuration changes (be650c4)
    • Refactor header styling to allow for multiline title with description text (debe22e)
    • Hide month pagination from the year picker (51b6054)
    • Add ability to customize background color to DayViewDecorator (24201b4)
    • Add support for decorating day views and a demo for circle indicators (bca0f2e)
  • NavigationRail
    • Added design tokens for M3 NavigationRail Component. (d1b682f)
  • NavigationView
    • Disable drawing left and right insets if the nav bar is not edge to edge (cb384c5)
    • Fix subheaderInsetEnd setter (88c448e)
  • ProgressIndicator
    • Integrates tokens into M3 styles. (ab063b7)
    • Finish all visibility animations when animate = false (26aa22b)
  • Search
    • Added search bar component. (4e323fa)
    • Fixed issue that caused the wrong component to be focused on automatically when talkback is active. (8cbfd20)
    • Updated search bar/view UI to match spec and cleaned up the API. (d049b1b)
    • Updated style to match updated M3 spec. (be8ff16)
    • Renamed search style attributes to add "material" prefix. (978ffdf)
    • Added new SearchBar and SearchView components (d1bacf5)
    • Refactored status bar spacer edge-to-edge detection to work based on insets (38605f4)
    • Removed M3 search style references from Material theme. (2977a75)
    • Added Search Demo . (030fe32)
  • SideSheet
    • Disabled lift on scroll in Side Sheet demo. (99664aa)
    • Added accessibilityPaneTitle to side sheet. (516240d)
    • Fixed issue where sheet would jump to the far edge of the screen in RTL without temporary fix. (a24832a)
    • Added explicit style definition to coplanar sheet catalog demo. (35dfa92)
    • Updated close sheet button content description in catalog. (0538a3c)
    • Added coplanar side sheet with APIs for setting a coplanar sibling view. (8055a2c)
    • Set accessibility focus to the side sheet when expanded. (0949e9c)
    • Release Side Sheet catalog demo. (f707836)
    • Rebrand "Adaptive Sheets" demo to "Side Sheet". (7f17891)
    • Fix vertically scrolling sheet swipe issue by deleting most of the nested scrolling code (3bc1f6e)
    • Cancel modal side sheet scrim on STATE_HIDDEN. (0c4e4a7)
    • Restrict SheetDialog methods from the public API surface and rename getDismissWithAnimation. (9c8ea58)
    • Add SideSheetCallback listener to SideSheetBehavior to track @​SheetState state change events. (99e09b0)
    • Renamed SheetEdge#RIGHT to SheetEdge#EDGE_RIGHT. (35d6051)
    • Made SheetDialog abstract base class and Sheet interface package-private. (0c35d1d)
    • Add @​RestrictTo annotations to restrict SheetEdge annotation interface. (e6ca949)
    • Made SideSheetBehavior extendable. (f7b3aac)
    • Add STATE_HIDDEN to SideSheetBehavior#getState javadoc. (7a706cc)
    • Changed modal side sheet shape to large. (1653055)
    • Added initial modal side sheet. (10d72ee)
    • Add standard side sheet documentation. (4364c4f)
    • Moved behavior_draggable attribute to the resources package. (1d3e374)
  • Slider
    • Add current value to talkback for Slider (9e210ea)
    • Integrate component tokens (4a1e6bc)
    • Fix compat halo visibility (bcb551b)
    • Do not capture inflation parameters for reuse (a137c28)
    • Update motion attributes (c7a3d5e)
    • Release slider thumb if gesture has been cancelled (f3a5f2f)
    • Ensured the minimum touch size of handle is 48dp (f3952f8)
  • Switch
    • Update animations to use motion theming. (3fc3ec1)
    • Removed resources from deprecated tokens. (112378d)
  • Tabs
    • Fix bug with setScrollPosition not updating indicator due to onLayout call drawing the indicator below the selected tab. (1681b1d)
    • Fixing bug with animation flicker when using tabs with ViewPager2 (ab3f203)
    • Fix bug with selected tab text appearance when swiping in viewpager. (4a0e1a0)
    • Fix default tabTextAppearance (cb1905d)
    • Fixing bug with animation cancelling if tab is double-tapped (857f481)
    • Fix tab indicator animation (f9a37c5)
    • Integrated tokens into M3 styles. (d0460f3)
    • Fixed potential NPE when updating tab view. (34a1dde)
    • Add selectedTabTextAppearance attribute (00220d0)
    • Setting a custom view on the tab should replace the current custom view (3c0c9e7)
    • Do not impose margins in custom tab views (d68c0f8)
    • Update motion attributes for tab layout (d1c5a52)
    • Update AppCompat version to 1.5 stable (7f98ebc)
    • Fix icon position in icon-only tabs (cebf591)
    • Added AnimatableView Interface. (edcb7fb)
  • TextInputLayout
    • Fix label cutout doesn't work on API < 18 (a352178)
    • Fixed counter overflow text color getter (e76eaff)
    • Integrated tokens for text fields and the exposed dropdown menu. (e7697c2)
    • Updated cursor color on error for APIs >= 29. (fbd75ec)
    • Update motion attributes for textfield animations (c98480c)
    • Updated expanded label color to take error color when on error. (a85204e)
    • Added method to set corner family programmatically and a setShapeAppearanceModel method for greater customizability of the box background shape. (08c40d8)
    • Update motion specs for hint animation (6b53f62)
    • Add scale type setters/getters for start and end image buttons in the TextInputLayout (e284e57)
  • Theming
    • Added a theme attribute for outline-variant color. (ac6f13c)
  • TimePicker
    • Fix NumberFormatException (0c204b8)
    • Fix divider alignment on the clock display (6d956ed)
    • Pre-fill hour and minute edit texts in text input mode (56ea071)
    • Pre-fill hour and minute edit texts in text input mode (087da2f)
    • Fix keyboard not showing at first in text input mode (15c7128)
    • Update motion specs (a4f6a1e)
    • Fix text appearance on the clock display (0dbea2d)
    • Use a single layout for time input (60bc025)
    • Fix text and cursor alignment on the clock display (16edbb9)
    • Fix TimePicker appearance for RTL (b3acd17)
    • 2-ring support for 24H clock (cbc0711)
  • Tokens
    • Refresh the output to reflect the current version. (567cc54)
    • Added in formatter a new feature to format a resource string without handling the ordering. (4a24684)
    • Refreshed outdated component token resources files. (ed77ab3)
    • Upgraded to v0.126 for 1p and 3p. (1ef53e2)
    • Updated to correctly convert shape tokens with asymmetric shape value. (02327c3)
  • TopAppBar
    • Update motion specs (c8108b1)
    • Adding new attribute liftOnScrollColor that disables elevation overlay and allows users to change the app bar color (c587dd1)
    • Fix issue with a physical keyboard scroll not collapsing toolbar (9df6c9d)
    • Make a new setter for scroll effect and make SCROLL_EFFECT_COMPRESS public (14415a1)
    • Added documentation for status bar foreground on scrolling app bars. (32f41ff)
  • Transitions / Motion
  • Other
    • Update compileSdkVersion and targetSdkVersion to 33 (T) (090b988)
    • Updated active text label to use a bold typeface. (b1bd580)
    • Fix Gradle warnings (ba70cd7)
    • Fixed SwipeDissmissBehavior not work when down touch event consumed. (624543f)
    • Update string translations (7c56473)
    • Change relative corner size behavior for "vertical" shapes (158d9f0)
    • Updated SDK target version to 33 (89a2b6f)
    • Fixed drag view alpha not changing when swipeDirection is END_TO_START (39b4c76)
    • Add @CanIgnoreReturnValue to some APIs that return this. (44cc9b7)
    • Add errorprone dependency to our gradle file (52ebb77)
    • Fix rotation angle calculation (41eb6d0)
    • Add defensive null check for typeface passed in to util (2b1af84)
    • Update AppCompat dependency to 1.5.0-rc01 (5c6f0c8)
    • Update lerp to accept input ranges of any size. (1a336b5)

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, check this box

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

@itsaky itsaky merged commit 2319847 into dev Feb 12, 2023
@itsaky itsaky deleted the renovate/com.google.android.material branch February 12, 2023 03:05
itsaky added a commit that referenced this pull request Feb 13, 2023
* fix: attribute name not shown in delete attribute dialog

* chore: use collapsed versions in Nyx config

* refactor(lsp/java): remove unused imports and methods

* chore: fix jvmTarget warnings in subprojects

* fix: remove usage of partial reparser to reduce LSP errors

* fix: NPE in FindHelper while finding definition of a symbol

* fix: ensure openedFiles.json always exists

* chore: update crowdin contributors table

* tests: ignore PartialReparserTest

* fix(deps): update dependency com.google.code.gson:gson to v2.10.1

* chore: update bug report template

* chore: update feature request template

* tests: fix assertion error in CompilationTaskProcessor implementation

* refactor(lsp/java): refactor code in JavaParserUtils

* fix(lsp/java): fully qualified names are used in generated setters

* fix(lsp/java): type params not included in generated constructor parameter types

* Update FUNDING.yml

* fix(deps): update editor to v0.21.0

closes #731, closes #725

* fix: dynamic colors are not applied to main activity

* fix: try to fix #734

* chore(deps): update agp to v7.4.0

* fix(xml-inflater,uidesigner): attributes without namespaces are not handled

fixes #729

* fix(xml-inflater): log messages instead of throwing exceptions while parsing attribute values

While parsing attribute values, if the value is a reference to a resource and its type is unexpected, throwing exceptions will result in the IDE crash as the view adapters call these methods on the UI thread. Instead, logging warning messages would be a better option.

(closes #744)

* refactor: remove unused subprojects

* fix: remove unused 'scheme.langs' property from color schemes

* fix: undefined file types are not handled by TreeSitterLanguage

* chore(deps): update plugin com.mooltiverse.oss.nyx to v1.3.1

* fix(deps): update dependency androidx.appcompat:appcompat to v1.6.0

* fix(deps): update dependency org.jetbrains:annotations to v24

* fix: detect leaked closable objects

* feat: replace Toaster with Flashbar

* fix: address some memory leaks

* fix(editor,lsp/java): avoid reflective access to IDEEditor

* refactor: move hardcoded dependencies to version catalog

* fix(deps/tooling-api): update builder-model to v7.4.0

* tests: test tooling api implementation with minimum supported version by default

* tests: test AGP 7.4.0 with tooling API implementation

* chore: disable collapsed versions for mainline release

* chore: do not run publish job for pull requests

* fix(flashbar): always show on UI thread

* feat(actions): add API to destroy ActionItem instances

* fix: release dialog instance when RunTasksAction is destroyed

Not releasing the dialog instance causes a memory leak

* fix: memory leak caused due to retained ViewInfoSheet instance in DesignerWorkspaceFragment

* fix: fix memory leaks related to GradleBuildService and editor activity

* chore(deps): update plugin com.mooltiverse.oss.nyx to v1.3.2

* refactor: refactor

* refactor: remove 'Gradle daemon status' action

* fix: memory leak in APK installation callback

* docs: add docs for UI Designer

* docs: update docs

* docs(editor): update docs for color scheme

* docs(editor): update docs for color scheme

* docs: add docs for dark variant of a color scheme

* chore(deps): update plugin com.mooltiverse.oss.nyx to v1.3.3

* fix(tooling-api): register custom GSON adapter for java.io.File

* fix: update tests to be compatible with JDK 17

* refactor(javac): update nb-javac-android

This replaces the usage of 'com.sun' package from javac to 'openjdk'.

* fix(xml-inflater): attributes on <include> tag are not applied to IncludeView

* fix(xml-inflater): some required methods are not overridden by IncludeView

* fix(tooling-api): FileTypeAdapter is incorrectly implemented

* refactor: removed unnecessary JavacTaskUtil class

* fix: crash if the built application cannot be launched (closes #759)

* chore: run workflow build with JDK 17

* Add API 33 in Project Creator

* refactor: rename package 'javax' to 'jdkx'

* refactor: resolve some compiler warnings

* fix(xml-inflater,uidesigner): exclude unsupported view adapters from adapters index

* docs: update javadoc for IViewAdapter

* fix(xml-inflater): invalid IView instance is added to parent view in onCreateIncludedView

* fix(xml-inflater): invalid IView instance is added to parent view in onCreateIncludedView

* fix(tests): update LayoutInflaterTest

* fix: fix memory leak when application is closed while initializing project (closes #781)

* refactor: fix typo in method name

* fix: invalid path specified in :subprojects:tooling-api-model:copyToTestDir Gradle task

* fix: UTF-8 character in CharOperation causes build issues on Windows (closes #762)

* chore(deps): update plugin com.mooltiverse.oss.nyx to v2 (#767)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update kotlin monorepo to v1.8.10 (#776)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update agp to v7.4.1 (#773)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency com.google.devtools.ksp:symbol-processing-api to v1.8.10-1.0.9 (#765)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency androidx.appcompat:appcompat to v1.6.1 (#789)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency com.google.android.material:material to v1.8.0 (#761)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(resources): some unstranslatable strings are translatable

* fix(resources): some unstranslatable strings are translatable

* fix(deps): update tree-sitter to v1.2.1 (#791)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency com.github.javaparser:javaparser-symbol-solver-core to v3.25.0 (#769)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency com.android.tools.build:builder-model to v7.4.1 (#774)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(resources): some unstranslatable strings are translatable

* chore: update crowdin contributors table (#760)

Co-authored-by: itsaky <itsaky@users.noreply.github.com>

* New Crowdin updates (#728)

* New Crowdin updates (#793)

* chore: update crowdin contributors table (#792)

Co-authored-by: itsaky <itsaky@users.noreply.github.com>

* chore: add proguard rules to ignore 'jdkx.**' classes

---------

Co-authored-by: itsaky <itsaky@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Deep Kr. Ghosh <75083264+deepkrg17@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants