React material design - An accessible React component library built from the Material Design guidelines in Sass
Breaking Changes:
@react-md/core
no longer supports a single entrypoint and is ESM onlyFeatures:
react-md
package is now a convenience package for the @react-md/core
single entrypoint@react-md/code
package for most of the code functionality within the documentation stieBox
now sets the --rmd-box-columns
variable to the columns
prop when it is a numberNavigation
componentsuseExpandableLayout
and useResizableLayout
hooks support "static"
full height navigationuseExpandableLayout
and useResizableLayout
hooks support conditionally rendering the "static"
layouts while being SSR safeuseActiveHeadingId
hook to help re-create the Table of Contents behavior in the documentation stieBug fixes:
box-custom-grid
mixin should no longer errorLayoutAppBar
no longer causes layout shifts after rehydratingToastManager
handles repeated pause and resumes correctlyOther changes
Fixed styling issues, added additional configuration props, and added support for non-barrel file behavior
@react-md/core
to improve build performance in bundlers
import { Button } from "@react-md/core/dist/button/Button"
and import { useToggle } from "@react-md/core/dist/useToggle"
MenuItemCircularProgress
componentuseFuzzyMatch
hook to increase the performance around fuzzy matching in large listsuseListboxContext
will now throw an error if a parent ListboxProvider
does not existTableRow
hover state to no longer require the InteractionModeProvider
useDebouncedFunction
and useThrottledFunction
hooks to support manually cancelling timeoutsLabel
supports pointer-events
while floatingSelect
no longer displays the soft keyboard on mobile devicesTextArea
allows the containerProps
like the TextField
and added some fixes for the resizing behaviorSnackbar
supports absolute positioningResizeObserver
in tests so that the example is on the setupResizeObserverMock
instead of ResizeObserverMock.resizeElement
Added a RootHtml component for Next.js apps and a lot of changes to the Select component. The Select should be able to be autofilled by the browser and password managers now if I remember correctly. There's also a lot of work into getting started with the new Autocomplete API.
Fixed compile issue by reverting to @swc/[email protected]
.