Releases: mlaursen/react-md
Releases · mlaursen/react-md
@react-md/[email protected]
"@react-md/core": patch
Fixed a bunch of styling issues, being unable to disable styles, being unable to remove styles, and missing types for the MenuItemInputToggle components.
@react-md/[email protected]
"@react-md/core": patch
Fixed form layer application
@react-md/[email protected]
"@react-md/core": patch
Fixed missing use client directives, styling issues in labels and expansion panels, and removing unused layers.
@react-md/[email protected]
Fixed compile issue by reverting to @swc/[email protected]
.
@react-md/[email protected]
- Fixed Sass variable issues and other CSS tweaks.
@react-md/[email protected]
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
v5.1.6
@react-md/[email protected]
"@react-md/core": patch
Fixed TextField styling
@react-md/[email protected]
"@react-md/core": patch
-
The
constrast-color
mixin no longer throws an error with some colors due tocolor.channel
not returning an int -
Fixed some type definitions for the React 19 release
-
Disable line wrapping for the current selected option in the
Select
component -
Updated docs for lots of hooks and components
-
Added docs for testing with Jest
v5.1.5
Bug Fixes
- @react-md/autocomplete: Prevent event default when pressing enter with open
AutoComplete
(#1439) (c505642)
Documentation
Library Size Changes
yarn dev-utils libsize
The gzipped UMD bundle sizes are:
- dist/umd/react-md.production.min.js 92.34 kB (+ 78 B)
- dist/umd/react-md-with-font-icons.production.min.js 211.32 kB (+ 734 B)
- dist/umd/react-md-with-svg-icons.production.min.js 211.38 kB (+ 735 B)
The min and max gzipped CSS bundle sizes are:
- themes/react-md.grey-red-700-light.min.css 18.08 kB
- themes/react-md.lime-teal-200-dark.min.css 18.15 kB