github material-components/material-components-android 1.9.0-alpha01

23 months ago

What's new

Dependency Updates

  • No dependency updates.

Library Updates

  • Carousel
    • Add developer documentation (be9f16c)
    • Release carousel component (4ecba81)
  • SideSheet
    • Add SideSheetCallback listener to SideSheetBehavior to track @SheetState state change events (2468d6c)
    • Disabled lift on scroll in Side Sheet demo. (e92414c)
    • Renamed references to "outwards" to "outer". (8e12e31)
    • Renamed private calculateSlideOffsetBasedOnOutwardEdge method to calculateSlideOffset in SheetDelegate and RightSheetDelegate. (e88e341)
    • Added accessibilityPaneTitle to side sheet. (3b61327)
    • Integrated tokens. (e7d757a)
    • Removed unused methods in SheetDialog and SideSheetDialog. (af16b05)
    • Add detached variant of modal side sheet. (ad3cf5a)
    • Added detached variants of standard and coplanar sheets. (938105a)
    • Fixed issue where sheet would jump to the far edge of the screen in RTL without temporary fix. (2fd2d66)
    • Added modal side sheet documentation. (2e9b39f)
    • Added explicit style definition to coplanar sheet catalog demo. (2752958)
    • Updated close sheet button content description in catalog. (7096161)
    • Added coplanar side sheet with APIs for setting a coplanar sibling view. (bc61d6d)
    • Set accessibility focus to the side sheet when expanded. (48a3a75)
    • Release Side Sheet catalog demo. (1081537)
    • Rebrand "Adaptive Sheets" demo to "Side Sheet". (f0a0538)
    • Fix vertically scrolling sheet swipe issue by deleting most of the nested scrolling code (401527f)
    • Cancel modal side sheet scrim on STATE_HIDDEN. (d481ddd)
    • Restrict SheetDialog methods from the public API surface and rename getDismissWithAnimation. (c64f572)
    • Renamed SheetEdge#RIGHT to SheetEdge#EDGE_RIGHT. (2ab5430)
    • Made SheetDialog abstract base class and Sheet interface package-private. (0f9c6fc)
    • Add @RestrictTo annotations to restrict SheetEdge annotation interface. (6476acd)
    • Made SideSheetBehavior extendable. (b384b9b)
  • Tokens
  • Badging
    • Integrated component tokens. (03bd77f)
  • MaterialCardView
  • TopAppBar
    • Integrated tokens. (44445fa)
    • Fix input rectangle being modified in onRequestChildRectangleOnScreen() (7b8faef)
  • Tabs
    • Fix confusing documentation (2465192)
    • Fix confusing documentation (1396004)
    • Fix bug with setScrollPosition not updating indicator due to onLayout call drawing the indicator below the selected tab. (3194671)
    • Fixing bug with animation flicker when using tabs with ViewPager2 (84b7bc3)
  • Material 3
    • Updated developer documentation. (5c23aff)
    • Fixed issue that caused the wrong component to be focused on automatically when talkback is active. (e2c8cba)
    • Updated search bar/view UI to match spec and cleaned up the API. (d0b616c)
    • Updated style to match updated M3 spec. (dc2e973)
  • BottomAppBar
    • Change Bottom App Bar to place FAB through y translation rather than through margins (f0053fd)
    • Request layout for FAB when BAB changes so that FAB will always be aware of BAB changes (4bdfb8b)
  • Color
    • Internal color updates (b892849)
    • Internal Color changes. (e7e9747)
    • Added support for missing color roles. (169bbca)
    • Updated content color implementation. (1825b04)
    • Internal Changes (bd89d83)
    • Added framework color roles support for content color (ce68ec6)
    • Internal changes (94c73cc)
    • Added tonal surface color theme attributes and updated themes. (989d574)
    • Interal changes (ef76670)
  • Catalog
    • Fix CardSelectionModeActivity sample (4bd5e61)
    • Applied edge-to-edge to modal side sheet (ee00523)
    • Fix incorrect time stamps (86fc5fa)
    • Updated search demo to change search bar hint (30cc7ce)
    • Updated Catalog demo to change search bar/view demo title. (4bff273)
    • Applied edge-to-edge to preferences bottom sheet (695fb4a)
  • Menu
  • Slider
    • Refactor RTL test utils into common package. (0af0368)
    • Add mouse support for slider control. (93f8ffb)
    • Fixed label breaking near edge. (484281f)
    • Added API for setting the radius of active/inactive tick in xml and Java. (7bbbe39)
  • TimePicker
    • Limit 24h input validation to 23 (7f1def6)
    • Integrated M3 tokens. (14fa66a)
  • Transitions / Motion
  • MaterialDatePicker
    • Fix headerTitle text size (09f2607)
    • Unhide setFirstDayOfWeek (11c1df9)
    • Capitalize standalone date (d4c16e8)
    • Update text appearances (bb3ea6e)
  • A11y
    • Fix incorrect state (3b99749)
    • Improve date input validation feedback follow up (cd5246f)
    • Improve date input validation feedback (e1688f3)
  • Switch
    • Use MaterialSwitch instead of SwitchCompat in Catalog. (68688e9)
  • BottomNavigationView
  • NavigationView
  • Dialog
  • RadioButton
  • Documentation
    • Updated inaccurate anatomy diagram labels and a couple of other minor tweaks. (d5a3701)
    • Add note about the minimum library version required to use the Search and Side Sheets components. (dcf2487)
    • Remove smart characters from doc comments (87ce239)
    • Added coplanar side sheet documentation. (07354f9)
    • Added warning about known issue in slider where label doesn't scroll along with the screen. (6c85b59)
    • Internal change (3dbffd3)
    • Update documentation (eebd04e)
    • Fixed package path in developer documentation. (ee52406)
  • Other
    • Changed the nav drawer's width from 232dp to wrap_content. (08595de)
    • Internal change (88a05f3)
    • Refactored status bar spacer edge-to-edge detection to work based on insets (a241ee9)
    • Internal clean up. (360af30)

Full list of changes

1.8.0-rc01...1.9.0-alpha01

Don't miss a new material-components-android release

NewReleases is sending notifications on new releases.