Skip to content

Releases: nishkohli96/rhf-mui-components

v2.0.1 - Fix import resolution for component folders #11

10 Jan 23:01
344cd33
Compare
Choose a tag to compare
  • Update exports and typesVersions to fix resolution of default imports from the individual folder of a component.
  • Remove unused imports
  • Update homePage in package.json

v2.0.0 - New Components, Features, Enhancements, Fixes & Compatability

14 Dec 00:45
a7c37c0
Compare
Choose a tag to compare

2.0.0

Released - 14 Dec, 2024

New Components 🔥

New Features 🎉

  • Add allLabelsAboveFields prop in ConfigProvider component to set showLabelAboveFormField to true for all components.
  • Added required prop for all components to indicate in the formLabel that the field needs to be filled with the relevant value before submission.
  • Add fontSize, fontFamily, fontColor, fontBackgroundColor options in the toolbar for RHFRichTextEditor.
  • Introduce form-helpers module which exposes internal utility functions to the developers.

Enhancements ✨

  • Added a new form example containing all components with validation handled through the registerOptions prop.
  • Added a checkbox to enable or disable all form fields in the forms that include every component of this package.
  • Version-Specific Documentation.

Fixes 🛠️

  • Code optimization
  • Upgrade MUI Versions
  • Checkbox default label now renders with label prop
  • Add disabled prop in RHFCheckboxGroup & RHFRadioGroup
  • Improve implementation for RHFNativeSelect & RHFColorPicker. Check Migration Guide for more details.
  • Update v1 docs

Compatibility with MUI v6 and above

Introduced a flag isAboveMuiV5 in the code to handle the deprecation of the following props when using this package with MUI v6 or above. The dependencies have also been upgraded to care care of this.

Mui Component Deprecated Prop in v5 Use Instead Components Affected
Autocomplete ChipProps slotProps.chip RHFAutocomplete, RHFMultiAutocomplete, RHFCountrySelect
TextField inputProps slotProps.htmlInput RHFAutocomplete, RHFMultiAutocomplete, RHFCountrySelect
TextField InputProps slotProps.input RHFPasswordInput, RHFTagsInput, RHFPhoneInput

Upgrade Dependencies

Package Name Previous Version Current Version
Docusaurus 3.5.2 3.6.3
@mui/material, @mui/icons-material 5.16.7 6.1.10
@mui/material-nextjs 5.16.6 6.1.9
@mui/x-tree-view 6.17.0 7.23.0
@mui/x-date pickers 7.23.0 7.23.2
react-color-palette 7.2.2 7.3.0

v1.0.3 - Bug fixes, update docs and internal improvements

01 Nov 16:36
13b829f
Compare
Choose a tag to compare

Released - 1 Nov, 2024

  • Fix defaultFormHelperTextSx bug in ConfigProvider.
  • Handle snake-case convention to render default form label text.
  • Added Examples and Playground links on appbar in docs website.
  • Added downloads per month metric in README.
  • Use tsc-alias for alias imports.
  • Lint package using my own eslint config.
  • Update search keywords in package.json.
  • Change next version from 14.2.3 to 14.2.16.
  • Remove badges from demo website homepage due to size inconsistency.

v1.0.2 - First Release

26 Sep 20:35
cd7fa11
Compare
Choose a tag to compare
  1. Reorganise imports for components and docs under 3 categories
  2. Update docs
  3. Lint demo and docs apps
  4. Add setup script