09/14/2020 (16 days ago)
v1.18.0 today but didn't realize that npm uses
v1.18.0 was released under
latest instead of
previous. This release is only to ensure that
v2 is set to
latest and has
no other changes.
09/10/2020 (20 days ago)
This release is kind of a breaking change since the base
react-md package no
longer has a
dist/css folder for all the pre-compiled themes due to CDNs and
package managers rejecting this package for being too big. All the pre-compiled
themes will now be available through jsDelivr
instead. Check out the CDN Links for more info.
This release also changed the
ResizeObserver to use a subscription model to
slightly increase performance when multiple
ResizeObservers are used on a
single page as well as fix some errors related to the
ResizeObserver loop has been exceeded. The
useResizeObserver has been
updated to use the new API which requires
refs, but is still backwards
compatible. Due to this change, the
ResizeObserver component has been
deprecated in favor of the
useResizeObserver hook implementation.
@react-md/formpackage to show how to use react-hook-form with
react-mdfor form validation. Check out the new example here.
onClicklike other state hooks (82cd676)
TextAreato use the new
smallstate to the
defaultTreeItemRendererfor class names (3c61f3c), closes #920
LabelRequiredForA11ytype definition (b7aa4fa)
Dircomponent to help determine current writing direction (a929e04)
useAppSizeusage error message (2c81982)
cloneStylesprop so grid styles can be applied to any child (ca913e7)
09/02/2020 (28 days ago)
09/02/2020 (28 days ago)
This release was just a re-publish of
v2.2.0 to try fixing a publishing error.
08/11/2020 (50 days ago)
0as a valid display value (d02b7a9)
<img>(11848ee), closes #908
Radioinput element (b6d2318)
Radio components have updated their default inactive
color to be the
rmd-theme-var(text-secondary-on-background) instead of
rmd-theme-var(secondary) to better match the v1 styles.
08/01/2020 (60 days ago)
This release was mostly internal changes and documentation updates including a
new Writing Tests guide, but also fixed the
component to allow for the
useCrossFade hook to transition the
07/28/2020 (64 days ago)
The GitHub repo has been updated to now include an
examples folder to show how you can use
react-md along with other build tools such as
Create React App,
Next.js, Gatsby, and others.
These examples can be used to spin up boilerplate projects by following the
First download the specific example:
# replace EXAMPLE_NAME with the specific example you want to use curl https://codeload.github.com/mlaursen/react-md/tar.gz/master | tar -xz --strip=2 react-md-master/examples/EXAMPLE_NAME cd EXAMPLE_NAME
Next, install any dependencies:
npm install # or with yarn yarn
Next, initialize the git repository and add the first commit:
git init git add . git commit -m "Initial commit"
Finally, follow any instructions in the
README.md about how to run the
07/21/2020 (71 days ago)
07/11/2020 (81 days ago)
This release added a new and improved dark mode that can be used by enabling a
AppBartext color now defaults to
07/10/2020 (82 days ago)
07/07/2020 (85 days ago)
06/30/2020 (92 days ago)
This release focused on fixing bundle sizes with webpack as well as increasing
build performance with the
sideEffects field for each
package.json. For more
information, check out the v2.0.2 release PR #877 which goes into details about
build time and sizing changes.
This release also includes the following changes:
06/17/2020 (105 days ago)
This is technically a breaking change for the UMD bundle since this splits the material-icon component wrappers into separate bundles to minimize the library's size. I'm going with a patch bump though since it's only been two days since the v2 release and it's highly doubtful that consumers of the library have fully upgraded to v2 or even using the UMD bundle to begin with.
react-md will now be available as these bundles:
06/15/2020 (107 days ago)
The v2 release is a complete re-write of react-md to address the majority of problems encountered while using v1. Unfortunately, this took a lot longer than I had hoped since I ended up using this project to learn Typescript as well as the new React hooks API. Even though there are some missing components from v1, I think the new functionality outweighs it and the components are scoped for a later release.
The 2.0.0 release of react-md features: