Releases: viclafouch/mui-otp-input
Releases · viclafouch/mui-otp-input
V5.0.0
v4.0.1
Fix
- Peerdeps
v4.0.0
Feature
- Enable compatibility with React 19 (React 18 is still maintained).
- Update deps
No breaking change.
V3.0.2
Chore
- Update to Eslint V9
- Update deps
- Prepare to update to React 19 (some deps are not ready yet).
v3.0.1
V3.0.0
🚨 BREAKING CHANGE
- Upgrade to MUI V6 ONLY. V5 is no more compatible. If you want more features and bug fixes from this package, you should consider upgrade your codebase to V6.
Fixes
v2.0.3
- Update dependencies
v2.0.2
Breaking change
TextFieldsProps is now : MuiTextFieldProps | ((index: number) => MuiTextFieldProps)
Now, you can add differents aria-label, aria-describeby, etc... depending on the index of the textfield in order to improve accessibility.
Example:
<MuiColorInput TextFieldsProps={{ size: 'small' }} /> <MuiColorInput TextFieldsProps={index => ({ size: 'small', placeholder: String(index) })} /> Chore
- Update deps
v2.0.1
v2.0.0
Breaking change
- Drop UMD version. Now only ES module version is exported.