Skip to content

v3.1.0

Compare
Choose a tag to compare
@mlaursen mlaursen released this 10 Sep 23:35
· 228 commits to main since this release

Bug Fixes

  • @react-md/dialog: DialogFooter align prop applies correct classes (644971d)
  • @react-md/form: TooManyFilesError is only used if all the other validation has passed (6ed3f54)
  • @react-md/form: ensure file names end with a period for useFileUpload extensions (9238140)
  • @react-md/form: prevent infinite rerenders when calling useFileUpload's reset in useEffect (b2875b1)
  • @react-md/utils: useDropzone fix around onDragLeave behavior (fdff9f2)
  • typescript: updated all array types to be readonly (8f71bcb)

Features

  • @react-md/form: add isValidFileName option to useFileUpload (dbd0375)
  • @react-md/typography: override default typography without globals (ce89374), closes #1239

Documentation

  • react-md.dev: updated sassdoc for new module system (4746d26)
  • react-md.dev: updated SortableColumns example to import SortOrder type (b629e3e)

Other Internal Changes

  • ran yarn format to include new files (48d3d7f)
  • Simplifying format and covering json and yml files (#1227) (045ba5e)
  • @react-md/dev-utils: fixed spelling of gzipped (baad174)
  • examples: updated nextjs examples to latest version of next (b50d745)
  • react-md.dev: added sassdoc hot-reloading (9d58e09)
  • react-md.dev: updated sassdoc examples to be linkable (9ed096e)
  • react-md.dev: Updated fonts for latest nextjs build optimizations (ca9ecbd)
  • typescript: support [email protected] (5a9dd72)

Library Size Changes

yarn dev-utils libsize

The gzipped UMD bundle sizes are:
 - dist/umd/react-md.production.min.js 86.75 KB (+ 34 B)
 - dist/umd/react-md-with-font-icons.production.min.js 111.03 KB (+ 35 B)
 - dist/umd/react-md-with-svg-icons.production.min.js 176.83 KB (+ 37 B)

The min and max gzipped CSS bundle sizes are:
 - themes/react-md.grey-red-700-light.min.css 17.63 KB
 - themes/react-md.lime-teal-200-dark.min.css 17.7 KB