Releases: mlaursen/react-md
v2.0.4
v2.0.3
This release fixed a few styling issues for the #form package and correctly passing the disabled
prop to the TextField
's <input>
element:
Tree shaking improvements with Webpack + sideEffects and build speed improvements
This release added sideEffects: ["dist/**/*"]
to each package's package.json
which helps webpack with tree shaking, dead code elimination, and quicker builds. For more information, check out #877 since it goes into great detail into build speed and size differences.
Otherwise, this release changed a few other things:
- Main README Layout example (bcc8405)
- LICENSE: Removed the time range from license since it was incorrect (50c9021)
- Added unpkg url for base react-md package (d0efc59)
- sideEffects formatting (78a7b6b)
- The CHANGELOG.md is now a combined changelog for each package and automatically updated for each new publish.
Fix UMD Bundles
This release just updated the UMD bundle to be separated into three parts to keep the library as small as possible. This really should not affect anyone even though it is a "breaking" change.
Base react-md library (no material icons)
Development:
Production:
Base react-md library with the Font Icon components for material icons
Development:
Production:
Base react-md library with the SVG Icon components for material icons
Development:
Production:
Fixed and updated GZip Size
v1 size
The gzipped UMD bundle size is:
- dist/v1/umd/react-md.min.js 98.68 KB
The min and max gzipped CSS bundle sizes are:
- dist/v1/css/react-md.yellow-red.min.css 13.2 KB
- dist/v1/css/react-md.blue_grey-deep_purple.min.css 13.23 KB
v2 size
The gzipped UMD bundle size is:
- dist/umd/react-md.production.min.js 86.49 KB
- dist/umd/react-md-with-font-icons.production.min.js 196.05 KB
- dist/umd/react-md-with-svg-icons.production.min.js 196.03 KB
The min and max gzipped CSS bundle sizes are:
- dist/css/react-md.grey-deep_orange-200-light.min.css 15.65 KB
- dist/css/react-md.indigo-blue-400-dark.min.css 15.71 KB
v2.0.0
This was a complete re-write of react-md in Typescript and to use hooks. I highly recommend reviewing the v2 release blog for a summary of changes.