The next v6 alpha release.
Changes
AppBar
- Updated
AppBar
to use theBox
component and additionalcssUtils
- Added a
$nav-keyline
variable for theAppBarTitle
offset
Avatar
- Fixed the
color
prop definition
Badge
- Simplified the offset variables
Button
- Added a
TooltippedButton
component
Card
- Added a
ClickableCard
component - Fixed the
CardSubtitle
color
Dialog
- Fixed the background colors
Divider
- Removed the
vertical-sizing
variable and updated the vertical divider to update the same way as a horizontal divider
Expansion Panel
- Renamed
preventAllClosed
topreventAllCollapsed
to better match naming schemes
Form
- Updated
MenuItemInputToggle
to usemultiline
instead ofthreeLines
- Fixed the
Select
focus behavior when rendering within aSheet
Icon
- Fixed the styling for the
IconRotator
by setting the default rotate variables - Fixed the styling for the
IconSpacing
component when usingabove
orbelow
List
- Renamed
threeLines
tomultiline
and updated the CSS variables to match - Fixed some styling by correctly passing all props down
- Added the ability to disable the spacing for the left addons
Portal
- Updated
PortalContainerProvider
to support aRefObject
Table
- Fixed the
TableCheckbox
andTableRadio
components to be client components instead of server components
Tabs
- Added support for rendering vertically
- Added support to render a tab as a link instead of a button
- Renamed the
--rmd-tab-width
to--rmd-tab-size
Tooltip
- Fixed some type definition issues for event handlers
Transition
- Updated
SkeletonPlaceholder
toforwardRef
- Updated
SkeletonPlaceholder
anduseSkeletonPlaceholder
to supportanimation-delay
- Added
randomSkeletonPlaceholder
util to generate SSR-only skeletons - Fixed the naming of the Sass variables since they weren't prefixed by
transition-
Tree
- Fixed the type definitions for the
DefaultTreeItemRenderer
for thedata
prop after switching toRenderRecursively
- Fixed the
Tree
components to start the--rmd-tree-depth
at0
instead of-1
- Removed the
--padded
style since it's no longer needed
Typography
- Updated the base typography to default to
overflow-wrap: break-word
- Fixed the
TextContainer
styling to include the padding in the line length
Other
- Uses
:has
selectors and:focus-visible
since all major browsers support them now - Uses
@media(hover: hover) and (pointer: fine)
for hover states instead of.mouse-mode
- Refactored some draggable utils and fixed bugs around dragging
- Added a
useElementSize
wrapper for theuseResizeObserver
hook - Fixed
useElementSize
to trigger immediately on mount - Updated
useWindowSize
to support SSR values