Skip to content

Releases: collegepulse/material-react-components

v2.0.5

03 Oct 23:06
acbb5b4
Compare
Choose a tag to compare
  • [Tabs] Implementation detail changes to reduce bundle size

v2.0.4

29 Sep 04:32
546748a
Compare
Choose a tag to compare
  • [Switch] [TextField] enhancements to support Preact

v2.0.3

29 Sep 01:04
6496dc2
Compare
Choose a tag to compare
  • [Dialog] fix for better support for Preact

v2.0.2

22 Sep 04:19
f404148
Compare
Choose a tag to compare

v2.0.1

16 Aug 06:32
Compare
Choose a tag to compare
  • Exclude require statements to CSS files in CommonJS build

v2.0.0

16 Aug 04:30
6accf72
Compare
Choose a tag to compare

API Changes

  • Switch and TextField no longer autogenerate an aria-labelledby attribute for their input fields. They can be supplied via the labelId prop. This change was needed to fix server-side rendering hydration errors on the client. uuid was also removed from dependencies, so expect a slightly smaller bundle size.

Build Changes

For versions 1.2.3 (inclusive) and prior, the distributions were incorrect.

  • The commonjs dist/index.js file had module ES module import/export syntax.
  • The commonjs source files had their css inlined (poor for performance and causes bundle size bloat).
  • The module build couldn't be tree-shaken since {sideEffects: false} was not set in package.json.
  • Both builds missed other opportunities for reducing bundle size, like removing prop types.

This PR addresses all of these things.

v1.2.3

16 Aug 01:51
Compare
Choose a tag to compare
  • remove deep-assign from dependencies
  • remove keycode from dependencies

v1.2.2

16 Aug 01:47
Compare
Choose a tag to compare

No changes.

v1.2.1

15 Aug 06:08
Compare
Choose a tag to compare
  • Upgrade from babel 6 to 7
  • switch linter from eslint to xo
  • upgrade to webpack 4
  • move babel dependencies to devDependencies (where applicable)

v1.2.0

08 Jun 20:26
Compare
Choose a tag to compare

-SelectField component implementation